Commit Graph

38 Commits

Author SHA1 Message Date
Bryan Schumaker a84bd85a04 Make 4.10 less likely to crash
I used it over christmas, but I didn't want it to blow up when setting
album art.
2012-03-03 11:19:51 -05:00
Bryan Schumaker 66d4d4979f ocarina: Set album art from on_load() attrs
It's available here, so I might as well.  Hopefully this will cut down
on the number of crashes I get, too...
2011-06-17 23:44:28 -04:00
Bryan Schumaker 5fcb590f53 ocarina: Pass attributes throughout the gui
This avoids repeated calls to the get_attrs() function at every step.
2011-06-17 20:03:13 -04:00
Bryan Schumaker 7c39b9ccd1 ocarina: Fix now playing label order
I initially had length and play count switched.
2011-05-26 09:02:44 -04:00
Bryan Schumaker a6bd531aee ocarina: Fetch image during load
I also set absolute sizes for album art.  Scaling to size 1 was causing
scale_simple() to block forever.
2011-05-01 12:46:17 -04:00
Bryan Schumaker 889e17fab9 libsaria: Remove event system from controls
This is a big step forward for reving the event system entirely.
2011-05-01 12:46:17 -04:00
Bryan Schumaker 34dcb7998f libsaria: Add in absolute seeking by percentage
I give a percentage and gstreamer will seek to that position in the
song.
2011-05-01 12:46:17 -04:00
Bryan Schumaker 99771a34fb libsaria: on_like() callback
This replaces the LIKE event for setting if the user likes the current
song.
2011-05-01 12:46:16 -04:00
Bryan Schumaker 8574cda529 libsaria: Ported over Ocarina 5.0 audio functions
The new audio code I developed makes more sense and should be easier to
work with.  It makes sense to port it over.
2011-05-01 12:46:16 -04:00
Bryan Schumaker 6cb857d988 ocarina: Switch over to new preferences methods
I removed the old methods, so I need to use the new methods for ocarina
to start up.  This patch switches everything over.

NOTE: As of this patch, ocarina should work again.
2011-05-01 12:46:16 -04:00
Bryan Schumaker 71d73ecdd1 ocarina: Manually set album art when image clicked 2011-05-01 12:26:44 -04:00
Bryan Schumaker 97af3d50e4 ocarina: Call toggle buttons without toggling enabled
I disable the toggle callback, call a function, and then reconnect the
callback.
2011-05-01 12:25:15 -04:00
Bryan Schumaker 55730d3dbf ocarina: Remove old footer code 2011-05-01 12:25:06 -04:00
Bryan Schumaker 2b0c7792d0 ocarina: f key toggles footer 2011-05-01 12:23:53 -04:00
Bryan Schumaker 2feb354631 ocarina: Remove old tiny footer code 2011-05-01 12:23:12 -04:00
Bryan Schumaker 349d4fc1bd ocarina: Album art in tiny footer 2011-05-01 12:23:02 -04:00
Bryan Schumaker 8e4e17f0df ocarina: Remove old now playing page code
It has been reimplemented in a new file
2011-05-01 12:21:28 -04:00
Bryan Schumaker cc3d95d9a0 ocarina: Reset album art when new song loaded
I set it to the ocarina logo, it can change again later.
2011-05-01 12:21:04 -04:00
Bryan Schumaker 6482dc157b ocarina: Maximum album art size
Change song while on tiny footer
Expand to large footer
Look at the HUGE album art image

To fix this, I set a maximum size that album art can be
2011-05-01 12:20:52 -04:00
Bryan Schumaker e60848c119 ocarina: Fix cur song display on tiny footer
It used to be "$TITLE $ARTIST".  I changed it to "$TITLE by $ARTIST"
2011-05-01 12:20:40 -04:00
Bryan Schumaker 3d1b8773d5 ocarina: Added album art
I put it on the now playing page for now.  Eventually I'll put it in
other places, too.
2011-05-01 12:19:49 -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 3fa902186b Ocarina: Added progress slider
Click to seek
2011-05-01 12:17:08 -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 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 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 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 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