Bryan Schumaker
82e3698a2b
Save recently played songs
...
In addition to the playlist, I am also saving the list of recently
played songs between sessions.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
558ee3dabe
Remove from playlist
...
I can now remove songs from the playlist.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
2e6adfa15a
Playlist deduplication
...
We shouldn't add the same song to the playlist twice. The song id set
we are keeping helps with this.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
ed13a467ea
Rename ocarina.collection
...
I have ocarina.collection to ocarina.source to reflect the naming change
in libsaria.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
763b161299
Teased apart old ocarina.collection code
...
The new code is easier to read, and much less intimidating. I also
changed the Library() and Playlist() classes into python modules to make
them easier to read.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
4122672a4f
Delete tabs.py
...
This has been replaced with ocarina.body.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
a526aa6c8a
Fix playlist saving
...
The playlist was trying to save itself using the old save functions
2010-12-03 08:35:13 -05:00
Bryan Schumaker
54c2528e48
Remove commented out code
2010-12-03 08:35:13 -05:00
Bryan Schumaker
4cfc014f90
Library multiple sources list
...
Tracking multiple sources makes more sense as a list, rather than an
FSTree().
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
c664e1cadb
Made a remove page function
...
The remove page function will remove a page from the notebook.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
e2f0af1ac1
Remove old tab related code
...
I have relocated all of these features to ocarina.body, so the old code
in __init__.py is no longer needed.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
04b24f94e3
Delete ocarina/info.py
2010-12-03 08:34:48 -05:00
Bryan Schumaker
4657c96179
Changed up and down buttons
...
I have replaced the plus and minus icons with up and down arrows.
2010-12-03 08:32:04 -05:00
Bryan Schumaker
3bf990f8c8
Up and Down buttons
...
The up and down buttons have been re-added. They store their state
between sessions.
2010-12-03 08:32:04 -05:00
Bryan Schumaker
6d9d3e0cb9
Web controls updates
...
The web controls need to be updated to call the control functions in
libsaria.controls
2010-12-03 08:32:04 -05:00
Bryan Schumaker
d74d294ea1
Footer add page
...
I can now add generic pages to the footer displayed on each main tab.
2010-12-03 08:32:04 -05:00
Bryan Schumaker
070ea3e465
Added page footer
...
This is the second half of my old ocarina.info file. So far it is just
the toolbar.
2010-12-03 08:32:04 -05:00
Bryan Schumaker
f0604ffa83
Formatting fixes
...
I remove the old filter bar from ocarina.info, and fix some spacing
issues in ocarina.header
2010-12-03 08:31:36 -05:00
Bryan Schumaker
79244acb07
Added header
...
The header is shown at the top of each notebook page.
2010-12-03 08:31:04 -05:00
Bryan Schumaker
856a0935c6
ocarina.body improvements
...
The current tab is saved between sessions, and the visible / invisible
functions are called for each page.
2010-12-03 08:31:04 -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
efe45371db
Move set_volume() and toggle_rand()
2010-12-03 08:31:04 -05:00
Bryan Schumaker
cc6772d596
Move stop features to libsaria.controls.py
2010-12-03 08:31:04 -05:00
Bryan Schumaker
fefde40e82
Moved play and pause to libsaria/controls.py
...
They have been moved from libsaria/audio/__init__.py.
2010-12-03 08:31:04 -05:00
Bryan Schumaker
6f7381c221
pre-lookup libsaria.event.invite for buttons
2010-12-03 08:31:04 -05:00
Bryan Schumaker
b5da80d6c2
Add libsaria/controls.py
...
I will eventually be moving things over to here. The general rule: if
it has to do with buttons on the gui, then it should probably be
considered a control.
2010-12-03 08:31:03 -05:00
Bryan Schumaker
986ece1943
Move more things to components
2010-12-03 08:31:03 -05:00
Bryan Schumaker
65edef6baf
Move entry and pbar to ocarina.components
2010-12-03 08:31:03 -05:00
Bryan Schumaker
5e84823b23
Move buttons and image
...
They now live in ocarina.components, since they are used to build higher
level objects
2010-12-03 08:31:03 -05:00
Bryan Schumaker
5bde98ec88
Move ocarina.box
...
This has been moved to ocarina.components.box. I don't think it has
been used recently, though. Maybe it is safe to delete.
2010-12-03 08:31:03 -05:00
Bryan Schumaker
b3add42ed4
Optimize a little bit
2010-12-03 08:31:03 -05:00
Bryan Schumaker
7efbe9b76c
Window standalone module
...
The window is now a standalone module, and no longer accessed through
ocarina.__init__.py
2010-12-03 08:31:03 -05:00
Bryan Schumaker
aa685005c9
init_pref returns value
...
When I initialize a preference, the actual value of the preference
should be returned to the caller.
2010-12-03 08:31:03 -05:00
Bryan Schumaker
b0a6e5c36e
OpenButton() needed the new location of universal_open()
2010-12-03 08:31:03 -05:00
Bryan Schumaker
9e82d32489
Move lastfm to path/
2010-12-03 08:31:03 -05:00
Bryan Schumaker
487e8c39be
Move generic saving / loading functions
...
These belong under path/
2010-12-03 08:31:03 -05:00
Bryan Schumaker
80deb45a3e
Move cache into path/
...
The cache modifies files, so it can be part of path/
2010-12-03 08:31:03 -05:00
Bryan Schumaker
1e7f63aa2d
Moved backup.py to path/
...
This moves the backup functions to a more reasonable place.
2010-12-03 08:31:03 -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
f30793f545
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-12-03 08:30:14 -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
adbac1c245
url formatting: don't escape the quote
...
We don't need to do this. It causes problems with last.fm
2010-12-03 08:30:14 -05:00
Bryan Schumaker
f723d35eea
library tag accessor functions
...
I have created functions to make it easy to get at titles and song ids
from known tags.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
fe2b5970b4
lastfm return None on error
...
lastfm album art fetching should return None if there is a problem
opening the image url.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
1ea1cae552
Web album display beginnings
...
I have begun working on a way to display information about albums.
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
2fdb568584
Added slogan
...
"Your music everywhere" reflects my goal of making my music available to
me everywhere I go.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
cd156db6fc
Link to the library page.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
6062a2e65e
Library viewer
...
This gives the web interface a list of artists and albums currently in
the library.
2010-12-03 08:30:14 -05:00