Commit Graph

12 Commits

Author SHA1 Message Date
Bryan Schumaker
bf014d92c6 pause_after.py use common menu
The plugin for pausing playback after the current song should use the
new common menu, instead of individual menus.
2010-11-05 19:07:24 -04:00
Bryan Schumaker
f93b8178d5 Plugins check_version()
Plugins need a check_version() to return True if we are using a
compatible version and False if we aren't.
2010-11-05 08:14:31 -04:00
Bryan Schumaker
aa098080ff wm_tweaks icon changing
Grab the gdk lock before changing the icon.  For some reason changing
the title already gets the lock, but changing the icon doesn't.
2010-11-03 22:30:40 -04:00
Bryan Schumaker
101e833690 wm_tweaks.py set title less often
Only set the title once when a song is loaded, using a default argument
if no title is provided.
2010-11-02 17:03:57 -04:00
Bryan Schumaker
81277d83b8 PLUGIN: Pause after current song
This plugin will wait for the NEXT event, and then check if playback
should be paused.
2010-10-30 13:53:18 -04:00
Bryan Schumaker
b2c5ad96cb PLUGIN: wm_tweaks.py
This plugin will change the window title and icon whenever a song
changes.
2010-10-30 13:42:45 -04:00
Bryan Schumaker
d56f3b2d0a Multiple changes
- Remove google from the web radio plugin
- Change ocarina.py to use python2
- Seek in song using slider
2010-10-18 21:04:39 -04:00
Bryan Schumaker
1139ba09c3 Declassify Tabs()
We only have one instance of the main tabs, so there is no reason for it
to be a class.  I have changed this into a set of functions that do
everything the old class did.
2010-08-22 09:07:09 -04:00
Bryan Schumaker
3a764343d0 Generic TabPage for the main tabs
The main tabs now have a generic TabPage class that contains the content
added to the tab.  This TabPage will control visibility of the content
and make it easier to find a page with specific content (no looping
through gtk boxes!)
2010-08-20 22:00:15 -04:00
Bryan Schumaker
15cc5d22f0 Backend and frontend changes
Libsaria events now support starting specific callback functions in a
background thread.  This replaces starting a specific event in the
background.

I have a library tab that is added to the main window through use of the
ocarina.add_tab function.

I have new tests for walking the tree and running multiple threads with
locks.
2010-08-19 23:02:30 -04:00
Bryan Schumaker
66a8c5169e Web Radio Plugin
The web radio plugin can load pandora and grooveshark.  This happens
when a web radio tab is selected.  After the web document is loaded,
playing music will be paused.
2010-08-15 13:39:31 -04:00
Bryan Schumaker
853dde3ea7 Plugins Install
I can now install plugins through drag and drop / universal open.  For
now, installing plugins involves copying the file to ~/.saria/plugins/.
2010-08-15 01:05:37 -04:00