Bryan Schumaker
a88f8225a7
Web remote controls
...
I can play, pause, stop, and advance to the next song through the web
interface.
2010-11-19 22:47:41 -05:00
Bryan Schumaker
acecb18120
Album page improvements
...
I have improved the album art page. It shows the songs in a given
album, and clicking the song will cause it to play.
2010-11-17 23:34:18 -05:00
Bryan Schumaker
63ec0030e7
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-11-17 23:33:37 -05:00
Bryan Schumaker
9f20a17228
url formatting: don't escape the quote
...
We don't need to do this. It causes problems with last.fm
2010-11-17 23:32:23 -05:00
Bryan Schumaker
2ab7ace608
library tag accessor functions
...
I have created functions to make it easy to get at titles and song ids
from known tags.
2010-11-17 23:31:02 -05:00
Bryan Schumaker
3eff3c6aee
lastfm return None on error
...
lastfm album art fetching should return None if there is a problem
opening the image url.
2010-11-17 23:29:51 -05:00
Bryan Schumaker
41a73bdda0
Web album display beginnings
...
I have begun working on a way to display information about albums.
2010-11-17 19:21:51 -05:00
Bryan Schumaker
f01fbecee3
Break get request handling into parts
...
This makes it easier to format the requested path before replying to the
requester.
2010-11-17 19:21:05 -05:00
Bryan Schumaker
ce68907b9a
Added slogan
...
"Your music everywhere" reflects my goal of making my music available to
me everywhere I go.
2010-11-16 23:21:12 -05:00
Bryan Schumaker
64e3534820
Link to the library page.
2010-11-16 23:06:25 -05:00
Bryan Schumaker
f0f6573d09
Library viewer
...
This gives the web interface a list of artists and albums currently in
the library.
2010-11-16 23:05:10 -05:00
Bryan Schumaker
ac8c4abd9e
Web server album art
...
The web server can now serve up album art from the artwork cache.
2010-11-16 23:04:09 -05:00
Bryan Schumaker
849f071d58
Get artist and album lists from the library
...
This patch makes it easy to get an artist or album list out of the
library.
2010-11-16 23:03:01 -05:00
Bryan Schumaker
629f940796
Import trees from libsaria.trees
2010-11-16 23:02:35 -05:00
Bryan Schumaker
f8e8837d3c
Get artwork by (artist, album)
...
This makes it easier to find artwork using (artist, album) as a key.
This will probably be the best way to use artwork in the web interface.
2010-11-16 23:01:19 -05:00
Bryan Schumaker
86715614c9
Renamed web_remote.py
...
web_server is a better name than web_remote, since I will be doing more
than just remote functions.
2010-11-16 21:20:10 -05:00
Bryan Schumaker
25aae84f0b
Managed to get index.html working on android
2010-11-16 21:19:47 -05:00
Bryan Schumaker
49b459f4d3
Added test.py
...
Right now, this file will make a table with all my music.
2010-11-16 21:19:11 -05:00
Bryan Schumaker
f8e32ed9c9
Added favicon to html/
2010-11-16 21:18:51 -05:00
Bryan Schumaker
d9f9c73903
Added python support to web remote
...
Now I can write web pages in python! Whoo!!
2010-11-16 21:16:36 -05:00
Bryan Schumaker
778945fea5
Added basename() to path
...
This will be useful for finding the file referred to by a path.
2010-11-16 21:14:45 -05:00
Bryan Schumaker
4f1b1d0162
Moved libsaria.path to a package
...
This is the beginning of moving file related code into a single package
and out of the main libsaria directory.
2010-11-16 08:19:23 -05:00
Bryan Schumaker
f13e10e862
Make sure playlist is initialized properly
...
This stops an error when ocarina is run with an empty library. Because
the library is empty, the playlist was never being initialized.
2010-11-15 21:30:58 -05:00
Bryan Schumaker
02115050eb
Don't reload playlist every time it changes
2010-11-15 21:30:41 -05:00
Bryan Schumaker
971238ddf2
Removed Table() class
...
I don't know why this wasn't removed earlier. It hasn't been used since
Ocarina 4.0
2010-11-15 21:12:37 -05:00
Bryan Schumaker
40597b9cb3
Removed Map()
...
I don't need the Map() class anymore
2010-11-15 21:12:03 -05:00
Bryan Schumaker
5650f2d750
Finish new prefrences moveover
...
I have renamed libsaria.prefs2 to libsaria.prefs
2010-11-15 21:11:12 -05:00
Bryan Schumaker
a149b2f360
Info pane with new prefs
...
The information pane uses the new preferences tree now.
2010-11-15 21:05:58 -05:00
Bryan Schumaker
4335c1a111
Volume through new preferences tree
...
The volume is now controlled through the preferences tree.
2010-11-15 08:29:25 -05:00
Bryan Schumaker
3cd7f4b20f
Random new preferences
...
The random feature uses the new preferences tree, rather than the
preferences map.
2010-11-15 08:24:45 -05:00
Bryan Schumaker
5a02227e99
Ocarina window new preferences tree
...
The main window will set its size based on the new preferences tree,
instead of the old preferences map.
2010-11-15 08:17:31 -05:00
Bryan Schumaker
38026a43c5
Optimize rand_candidate
...
The set of searchable songs shouldn't change while selecting songs. We
can determine which list of songs to look at up front and always use
that as an argument to rand_candidate()
2010-11-14 19:32:47 -05:00
Bryan Schumaker
654cd9c418
pause_after.py undefined do_pause error
2010-11-14 19:32:05 -05:00
Bryan Schumaker
56ffa217e5
Tree prefs test persistance
2010-11-14 17:50:57 -05:00
Bryan Schumaker
a53f2740c3
Correctly get the preference tree when initializing
2010-11-14 17:50:37 -05:00
Bryan Schumaker
a95e94936d
Load preference trees
...
Preference trees should be able to load from disk if associated with a
file.
2010-11-14 17:49:23 -05:00
Bryan Schumaker
133a5eb63d
Tree prefs test
...
This was used for developing the preferences tree.
2010-11-14 17:33:08 -05:00
Bryan Schumaker
63211fb1c8
Libsaria initialization
...
I now initialize libsaria during import, rather than as a separate step
afterwards.
2010-11-14 17:32:09 -05:00
Bryan Schumaker
b8d6d918a1
libsaria.collection cleanup
...
I found more places using libsaria.collection instead of
libsaria.sources
2010-11-14 17:31:32 -05:00
Bryan Schumaker
8fb2b45ac8
Add prefs2 variable / remove vars
...
The prefs2 structure is where I will store my new tree-based
preferences. I'll use this for now until everything gets moved over. I
also remove the vars variable since nothing uses it.
2010-11-14 17:29:31 -05:00
Bryan Schumaker
5594825502
Preference trees
...
Preference trees are used to store various preferences. Each component
can have its own set of preferences that use overlapping names.
2010-11-14 17:26:52 -05:00
Bryan Schumaker
edd5d2b39b
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-11-14 17:24:54 -05:00
Bryan Schumaker
6124296f70
libsaria sources change
...
Change files to reflect the rename of libsaria.collection to
libsaria.sources
2010-11-14 13:50:35 -05:00
Bryan Schumaker
fe787dfd6b
Rename libsaria.collection to libsaria.sources
2010-11-14 13:50:10 -05:00
Bryan Schumaker
ee8106e373
Bind remote server by ip address
...
This should worke better than binding by hostname or 'localhost'
2010-11-13 22:12:37 -05:00
Bryan Schumaker
d6d1c5f56c
Make remote visible to outside world
...
I have to use socket.gethostname() to make the remote server available
to the outside world.
2010-11-13 21:57:20 -05:00
Bryan Schumaker
77e9cf13ee
Added remote plugin
...
This plugin will allow me to control Ocarina using an app on another
computer.
2010-11-13 21:40:55 -05:00
Bryan Schumaker
dcdbab8e55
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-11-13 21:39:27 -05:00
Bryan Schumaker
9167e6441c
Quit plugins on exit
...
Plugins should have a chance to clean up after themselves when we are
shutting down.
2010-11-13 21:38:16 -05:00
Bryan Schumaker
a31f4b609f
current working directory function
...
This has been added to libsaria.path as libsaria.path.cwd()
2010-11-13 21:37:38 -05:00