Commit Graph

58 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 44fee8c8b3 web_server: Remove print statements
These have been commented out in case I need them later.
2011-05-01 11:05:55 -04:00
Bryan Schumaker 5a4aab5869 Change web server devel port
The development port is now 4243
2010-12-24 12:33:13 -05:00
Bryan Schumaker 32e417e4b5 Remove the pause_after.py plugin
Pause after current song is now a built-in feature, so I don't need a
plugin too.
2010-12-17 23:02:35 -05:00
Bryan Schumaker ed9d853065 Added notify plugin
This plugin will display a notification when the song is changed.
2010-12-12 16:47:42 -05:00
Bryan Schumaker 0722045bdb Lyrics generic get_attrs
It can be used here too!
2010-12-07 08:17:56 -05:00
Bryan Schumaker 9f7e838ec2 wm_tweaks with generic get_attrs()
Another use for the generic get_attrs()!  This is making things much
easier...
2010-12-07 08:13:29 -05:00
Bryan Schumaker f063da5b56 Began work on virtual sources
Virtual sources should make it easier to do things with the current song
without having to know anything about it (such as a song id or file
path).
2010-12-05 17:11:41 -05:00
Bryan Schumaker 8c2151b862 Web server dev port
When we are in "development mode" the web server should connect using a
different port.  Without this, we get an error when running two
instances of Ocarina.
2010-12-05 17:09:41 -05: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 3eeb35d81c Stop using file_to_id
We should now use file_id located in libsaria.path
2010-12-05 13:40:39 -05:00
Bryan Schumaker 1972b1d7fa Fix minor version check of pause_after 2010-12-05 13:00:22 -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 a3749a9591 Removed GTK based remote
I am choosing to focus on the web remote for now.  I eventually do want
a "remote library" feature, but not as a different application.
2010-12-03 08:36:13 -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 7fdfb73cd7 wm_tweaks fixes
I need to update wm_tweaks to make use of the new ocarina.window
functions.
2010-12-03 08:35:14 -05:00
Bryan Schumaker d3444c04db Remove tag labels
I was having trouble with the artist / album / title labels, so they
have been removed to give more room for lyrics.
2010-12-03 08:35:13 -05:00
Bryan Schumaker 9198ad130e Tooltip correct attributes
We should use the correct attributes for setting the list tooltip
2010-12-03 08:35:13 -05:00
Bryan Schumaker cfd135c299 Pause after plugin fixes
The pause after current song plugin was using the old pause function,
and not the new one.
2010-12-03 08:35:13 -05:00
Bryan Schumaker 2998e13d6c Lyrics show tags
The lyrics page now shows artist / album / title tags and the album art
for the currently playing song
2010-12-03 08:35:13 -05:00
Bryan Schumaker 252cf9d4d4 Lyrics plugin
We can fetch and store lyrics for each song.
2010-12-03 08:35:13 -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 d768e65a4f Web remote controls
I can play, pause, stop, and advance to the next song through the web
interface.
2010-12-03 08:30:15 -05:00
Bryan Schumaker 12238758a4 Web server improvements
The web server can now handle album art, ogg and mp3 files, and do it
all from functions within the class instead of external functions.
2010-12-03 08:30:14 -05:00
Bryan Schumaker 63ac3f3353 Break get request handling into parts
This makes it easier to format the requested path before replying to the
requester.
2010-12-03 08:30:14 -05:00
Bryan Schumaker 3275f435e8 Web server album art
The web server can now serve up album art from the artwork cache.
2010-12-03 08:30:14 -05:00
Bryan Schumaker 79ea4ab7a0 Renamed web_remote.py
web_server is a better name than web_remote, since I will be doing more
than just remote functions.
2010-12-03 08:30:14 -05:00
Bryan Schumaker 50dd9d784f Added python support to web remote
Now I can write web pages in python!  Whoo!!
2010-12-03 08:30:13 -05:00
Bryan Schumaker 2cd2f4f742 pause_after.py undefined do_pause error 2010-12-03 08:30:12 -05:00
Bryan Schumaker ac96553e25 Pause after in local variable
The pause after current track plugin should store its variables in
something local to the plugin and not in the libsaria.vars map.
2010-12-03 08:30:12 -05:00
Bryan Schumaker 701306fef6 libsaria sources change
Change files to reflect the rename of libsaria.collection to
libsaria.sources
2010-12-03 08:30:12 -05:00
Bryan Schumaker e8fabe3401 Bind remote server by ip address
This should worke better than binding by hostname or 'localhost'
2010-12-03 08:29:16 -05:00
Bryan Schumaker 880e621fcb Make remote visible to outside world
I have to use socket.gethostname() to make the remote server available
to the outside world.
2010-12-03 08:29:16 -05:00
Bryan Schumaker 4672711a47 Added remote plugin
This plugin will allow me to control Ocarina using an app on another
computer.
2010-12-03 08:29:16 -05:00
Bryan Schumaker eaa4d65a06 Began working on a web remote plugin
This plugin will eventually allow me to control ocarina through a web
interface.  So far, it can serve up web pages located in
current_working_directory/HTML.
2010-12-03 08:29:16 -05:00
Bryan Schumaker 02704b4d7e Use get_attrs
This changes various parts of ocarina / libsaria to use get_attrs()
instead of get_attr().
2010-12-03 08:29:14 -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 8356c58493 Library class -> library module
I think that the library will be cleaner if I turn it into a module
instead of keeping it a class.
2010-12-03 08:29:13 -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 02bca17790 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-12-03 08:26:06 -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 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