Commit Graph

21 Commits

Author SHA1 Message Date
Bryan Schumaker 6863318d5b plugins: Web radio drop down selector
The drop down selector provides a way of changing stations while on
another station.  It's much more convenient.
2011-05-01 11:54:40 -04:00
Bryan Schumaker 377c1a496d ocarina: Set header / footer visibility when adding page
This allows me to store the visible settings in the Page() class, rather
than having to store it with the rest of the content.
2011-05-01 11:54:23 -04:00
Bryan Schumaker c185524d62 ocarina: Selectively add header and footer to tab pages
If I don't want the header or footer on a tab page, I shouldn't have to
draw it.  This patch gives me a way to do that.
2011-05-01 11:54:06 -04:00
Bryan Schumaker c78f806244 plugins: All plugins have a __NAME__ value 2011-05-01 11:43:50 -04:00
Bryan Schumaker 23cd4da304 Track version in libsaria
Tracking two different versions for Ocarina and libsaria was too much
work.  From now on, Ocarina and libsaria will have the same version.
Ocarina's version string will be set based on libsaria.
2011-05-01 11:40:09 -04:00
Bryan Schumaker 40ed7d60ca Bump plugin minimum version
Plugins should now check for v4.3 instead of v4.2
2010-12-05 15:48:33 -05:00
Bryan Schumaker 7638fea8de Bump versions
Bump the minimum version required for plugins.  Also marked __dev__ =
False in Ocarina and Libsaria
2010-12-05 12:54:32 -05:00
Bryan Schumaker 5d17242912 Clean up web radio
I removed most of the comments from the web radio plugin.
2010-12-03 08:35:15 -05:00
Bryan Schumaker e894ce10fc Web radio improvements
The web radio now exists as a single tab.  I eventually need some way of
moving to and from radio stations.
2010-12-03 08:35:15 -05:00
Bryan Schumaker 8747f20bb3 Update the web radio plugin
The web radio plugin now uses the correct add and remove page functions
2010-12-03 08:35:13 -05:00
Bryan Schumaker c1c00f72d7 Began new tab interface
Right now, I am calling it body.py.  When I am done, I won't have to go
through ocarina/__init__.py to access the tabs.  Instead, I will just
have to import ocarina.body.
2010-12-03 08:31:04 -05:00
Bryan Schumaker 2dc7f58206 Rename libsaria.music
I decided that libsaria.music should be known as libsaria.audio.  It
makes more sense to me.
2010-12-03 08:29:14 -05:00
Bryan Schumaker 6dca550697 fix check_version() in some plugins
The conditions for returning True and returning False were off
2010-12-03 08:28:05 -05:00
Bryan Schumaker 66cc3ea639 Plugins bump version
Plugins should now allow Ocarina 4.2
2010-12-03 08:28:05 -05: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 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