Commit Graph

1028 Commits

Author SHA1 Message Date
Bryan Schumaker ad734ae8d3 ocarina: clean up export button 2011-05-01 12:19:39 -04:00
Bryan Schumaker a5dfe5302c ocarina: new export button
I also removed the old code
2011-05-01 12:19:31 -04:00
Bryan Schumaker 7c772e5315 ocarina: remove some more commented out code 2011-05-01 12:19:21 -04:00
Bryan Schumaker 4f129cae03 ocarina: don't expand long attribute list to variables
keep it as a tuple and pass it as a generic argument instead
2011-05-01 12:17:29 -04:00
Bryan Schumaker 832aec4daf ocarina: remove old pbar.py
The new slider code is smaller and more readable.
2011-05-01 12:17:18 -04:00
Bryan Schumaker 3fa902186b Ocarina: Added progress slider
Click to seek
2011-05-01 12:17:08 -04:00
Bryan Schumaker f9c1538a58 ocarina: Remove components/box.py
What was this file even used for...?
2011-05-01 12:16:58 -04:00
Bryan Schumaker 97189d7b93 Ocarina: Remove old menu code
Because nothing uses it anymore...
2011-05-01 12:16:47 -04:00
Bryan Schumaker de1fafcbc1 Ocarina: Added common menu items
Right now, it's just the "pause after current track" feature.
Eventually there may be more.
2011-05-01 12:16:38 -04:00
Bryan Schumaker 096564c942 ocarina: remove commented out code from footer 2011-05-01 12:16:27 -04:00
Bryan Schumaker 02d2b5c621 ocarina: remember footer state 2011-05-01 12:16:17 -04:00
Bryan Schumaker f8fb785ad0 ocarina: Remove old button code
This removes the old LikeButton(), DislikeButton(), and ToggleButton()
2011-05-01 12:16:05 -04:00
Bryan Schumaker a519ad62ab ocarina: Added like and dislike buttons 2011-05-01 12:15:56 -04:00
Bryan Schumaker 27c3d2b3f1 ocarina: Remove commented out code
This includes all of ocarina/components/label.py
2011-05-01 12:15:46 -04:00
Bryan Schumaker aac05e92b5 Ocarina: Added year, length and playcount attrs to nowplaying
It's begining to look like the Ocarina 4.3 style now playing page...
2011-05-01 12:15:34 -04:00
Bryan Schumaker 6c20398699 ocarina: Show some attributes on the now playing page
Title, album, and artist for now.
2011-05-01 12:15:22 -04:00
Bryan Schumaker 8ea0036df0 Ocarina: Added now playing page to detailed view
This is the first of (probably) multiple notebook pages that will be
added.  It still needs to show more information, but this is a start.
2011-05-01 12:15:12 -04:00
Bryan Schumaker 103c6bea35 ocarina: Added notebook for detailed information
I eventually want to support multiple pages and other stuff.
2011-05-01 12:15:00 -04:00
Bryan Schumaker 5297991b89 ocarina: Hide info bar when up button clicked
Once I make my expanded display, I will show that as well
2011-05-01 12:13:11 -04:00
Bryan Schumaker 21d6f57e89 Ocarina: Remove commented out code from library / playlist / queue
I was keeping this code as a reference, but I already implement
everything it does.  It can be removed now.
2011-05-01 12:12:55 -04:00
Bryan Schumaker 864f64cc84 ocarina: Move goto and clear functions
Now they are created right before the buttons are.  This makes it so I
can return buttons that do exactly what I want every time.
2011-05-01 12:12:41 -04:00
Bryan Schumaker f8c64e0f78 ocarina: Added random button
I also added code for creating toggle buttons easily.
2011-05-01 12:12:30 -04:00
Bryan Schumaker 86bac243d2 ocarina: clear current page
This clears whatever is on the current page and saves changes (in the
case of the playlist and library)
2011-05-01 12:12:22 -04:00
Bryan Schumaker 3b50c4071c ocarina: goto current song
I do this when the goto button is pressed and also when the song
changes.
2011-05-01 12:12:13 -04:00
Bryan Schumaker bce7651be5 ocarina: Set text on footer labels
This sets (title, album), position and duration values
2011-05-01 12:12:02 -04:00
Bryan Schumaker 5b5a232b43 ocarina: Add more callbacks
This should make the code more readable and useable
2011-05-01 12:11:52 -04:00
Bryan Schumaker d72d16f39d ocarina: Added callback methods
I eventually want to remove the event system from libsaria.  My first
step in doing this is to move usage of the event system in Ocarina to
one place.
2011-05-01 12:11:42 -04:00
Bryan Schumaker a8421b8226 libsaria: Fix removing songs from queue
If I'm going to attempt to remove the song id from the queue whenever a
song song is loaded, I need to check if the song is in the queue before
trying to remove it.
2011-05-01 12:11:24 -04:00
Bryan Schumaker 5ab592dcda ocarina: Add buttons to tiny footer
The new buttons are much simpler than my old ones.  This should work out
better.
2011-05-01 12:11:14 -04:00
Bryan Schumaker b5665b016f Ocarina: Began redoing footer
The new code should be more maintainable and less confusing /
intimidating.
2011-05-01 12:11:03 -04:00
Bryan Schumaker 5d4d86275e Ocarina: move footer.py to new directory
I will split it up into multiple files
2011-05-01 12:10:43 -04:00
Bryan Schumaker f5eed60d78 ocarina: Play double clicked songs
Otherwise, what's the point of a gui?
2011-05-01 12:10:28 -04:00
Bryan Schumaker 1e7d992848 ocarina: Remove commented out code from ocarina/__init__.py
Not needed anymore.
2011-05-01 12:10:12 -04:00
Bryan Schumaker 35bb4a0ab3 ocarina: Remove dead code
This code was commented out for my gui revamp.  I don't need it anymore.
2011-05-01 12:10:00 -04:00
Bryan Schumaker 9a1a0471c5 ocarina: Re-added queue
Once again, using Ocarina-5.0 concepts (such as hiding the tab when the
queue is  empty)
2011-05-01 12:09:47 -04:00
Bryan Schumaker 13a74e47c3 Ocarina: Remove from playlist
I can remove multiple songs from the playlist now.
2011-05-01 12:09:32 -04:00
Bryan Schumaker bcd42cfea4 Ocarina: Add songs to playlist
Using a right click menu from the library
2011-05-01 12:09:09 -04:00
Bryan Schumaker 33b7f1ba0e Ocarina: Re-added playlist tab
The new tab uses my ocarina 5.0 concepts
2011-05-01 12:08:52 -04:00
Bryan Schumaker f902c11f9a ocarina: Filter the library again
This time, I use concepts I played with for Ocarina 5.0
2011-05-01 12:07:56 -04:00
Bryan Schumaker 0c02d6eff3 ocarina: Remove old, commented out code
It's not needed any more...
2011-05-01 12:07:38 -04:00
Bryan Schumaker 9c6db9ba9b ocarina: New listview code
I can fill in the listview from the library.
2011-05-01 12:07:23 -04:00
Bryan Schumaker 6385c1f342 Ocarina: Begin rewriting header
I show the entry, and I call a filter function for the current page.
2011-05-01 12:05:59 -04:00
Bryan Schumaker d20d4c3fcd Ocarina: Playlist and library tabs
I've readded these tabs, but I don't fill them in yet.  That'll wait
until I rewrite sources.
2011-05-01 12:05:46 -04:00
Bryan Schumaker b2db7d3327 Began gui rewrite
Cleaning up the code was proving to be more difficult than I initially
thought.  I have decided to rewrite the gui to make it less intimidating
and more easily modified.
2011-05-01 12:05:31 -04:00
Bryan Schumaker e726f166a1 add ocarina.py to .gitignore
It's auto-generated, so I don't need to track it.
2011-05-01 12:04:41 -04:00
Bryan Schumaker 8255c17ad1 Initialize library, playlist, queue from ocarina/__init__.py
It can't be done in ocarina.py anymore, so it has to be moved there.
2011-05-01 12:04:23 -04:00
Bryan Schumaker e84cbdf42e Generate new ocarina.py
I detect what version of python to use and write ocarina.py based on
that.
2011-05-01 12:04:10 -04:00
Bryan Schumaker 36c3770e4b ocarina: Initialize from ocarina/__init__.py
This will allow me me to replace ocarina.py easily..
2011-05-01 12:03:54 -04:00
Bryan Schumaker dfa3eb0af1 Move Page() class to new file
This helps with my cleanup
2011-05-01 12:03:42 -04:00
Bryan Schumaker 3aee2cd867 move body.py to new directory
This should help to clean up everything a bit more.
2011-05-01 12:03:27 -04:00