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
9f0d8efbb7
libsaria: playlist uses correct prefs.get() function
...
I forgot to change it over from get_pref()
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
3dc0b208cf
libsaria: Integrate new preferences and storage code
...
This patch re-enables most of the libsaria startup procedures. To allow
this, I had to switch over to the new preferences and object storage
code I recently came up with.
2011-05-01 12:46:16 -04:00
Bryan Schumaker
063869c7ca
libsaria: Remove old file management code
...
I have new code for loading / saving objects, so I can remove the old
stuff.
2011-05-01 12:46:16 -04:00
Bryan Schumaker
5199a26006
libsaria: Remove old preferences code
...
I don't need it anymore with the new code.
2011-05-01 12:46:16 -04:00
Bryan Schumaker
457bea2ff3
libsaria: New preferences functions
...
The new preferences code is much easier to work with. Rather than
inheriting from a complicated tree class, I just set values in a python
dictionary directly.
2011-05-01 12:46:16 -04:00
Bryan Schumaker
af5947b088
libsaria: Save and load python objects
...
I do this using cPickle. load_obj() takes a default constructor
function in case the object cannot be created.
2011-05-01 12:46:16 -04:00
Bryan Schumaker
1921e78e55
libsaria: Comment out most code, begin new preferences
...
I commented out most of the code in libsaria/__init__.py to make it
easier to clean up. I also began work on libsaria/prefs.py for managing
preferences.
NOTE: For the next several commits, the best way to test changes is by
importing libsaria through the python interpreter. Trying to run
ocarina will probably fail.
2011-05-01 12:46:16 -04:00
Bryan Schumaker
d2d894a2e4
libsaria: Bump minor version, mark dev as True
...
This means I am beginning v4.5
2011-05-01 12:46:16 -04:00
Bryan Schumaker
7818379349
ocarina: Fix makefile
...
This allows me to install / update a current install
2011-05-01 12:28:46 -04:00
Bryan Schumaker
fb24a0cb32
libsaria: Mark __dev__ as False
2011-05-01 12:28:38 -04:00
Bryan Schumaker
7e83108c6a
ocarina: Show attrs for song loaded on startup
...
I was annoyed that this wasn't happening.
2011-05-01 12:28:28 -04:00
Bryan Schumaker
3bc5c05ab1
libsaria: disable plugins
...
With my recent changes, my old plugins are incompatible. I'm going to
come up with a new system in a few releases, so I'm going to wait until
then.
2011-05-01 12:28:19 -04:00
Bryan Schumaker
34f2ffe227
ocarina: enable window drag-n-drop
...
This calls universal_open() to open whatever file is dropped onto the
window
2011-05-01 12:28:09 -04:00
Bryan Schumaker
2c5d873cd0
ocarina: Remove settings directory
...
I can add in a settings tab later. Cleaning up code is a higher
priority
2011-05-01 12:27:58 -04:00
Bryan Schumaker
19f2597936
ocarina: Remove components directory
...
I've implemented everything that was here. Time to remove it
2011-05-01 12:27:49 -04:00
Bryan Schumaker
cf164deb44
ocarina: Remove old code from library and playlist
2011-05-01 12:27:38 -04:00
Bryan Schumaker
dc8a69bc0d
ocarina: Refresh library after loading
...
To show changes. I also use the v1.3 decoder function to decode
exported libraries.
2011-05-01 12:27:30 -04:00
Bryan Schumaker
9684ecce40
ocarina: Refresh playlist when loaded
2011-05-01 12:27:21 -04:00
Bryan Schumaker
3b131f33ef
ocarina: Added universal open button
...
I want to redo the chooser for this, but I'll need to redo the sources
first. I guess it'll have to wait for 4.5?
2011-05-01 12:27:11 -04:00
Bryan Schumaker
8891cb8c36
ocarina: Added new save button
...
This saves playlists
2011-05-01 12:27:03 -04:00
Bryan Schumaker
df3c9702be
ocarina: Remove old image file
...
It's been replaced
2011-05-01 12:26:54 -04:00
Bryan Schumaker
71d73ecdd1
ocarina: Manually set album art when image clicked
2011-05-01 12:26:44 -04:00
Bryan Schumaker
091aa3972c
ocarina: Added update button
...
I think it works... I may not have gotten updating the library correct
in v<4.3. I'll fix it in 4.5 when I rewrite libsaria.
2011-05-01 12:26:34 -04:00
Bryan Schumaker
3f173b9468
ocarina: remove old volume button
...
not needed anymore...
2011-05-01 12:26:24 -04:00
Bryan Schumaker
5ff0419633
ocarina: Added volume button to header
2011-05-01 12:25:44 -04:00
Bryan Schumaker
6291cb6686
ocarina: clean up like / dislike button functions
...
these functions are now created as part of the button generating
functions
2011-05-01 12:25:34 -04:00
Bryan Schumaker
1a86edca35
ocarina: clean up button generating code
...
I use a generic "set attributes" function to set the default attributes,
rather than having this function essentially twice (once for normal
buttons and once for toggle buttons)
2011-05-01 12:25:25 -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
40751a9eed
ocarina: Remove old body code
2011-05-01 12:24:57 -04:00
Bryan Schumaker
3b8411f175
ocarina: Remove old listview code
2011-05-01 12:24:48 -04:00
Bryan Schumaker
b2e7054458
ocarina: Remove old window init code
...
Everything is covered now
2011-05-01 12:24:37 -04:00
Bryan Schumaker
0aa618ee5a
ocarina: remove old shortcut code
...
The new code is more generic and easier to maintain / add new shortcuts
2011-05-01 12:24:27 -04:00
Bryan Schumaker
a4d27d0b0f
ocarina: Catch exception on empty album art file
...
I don't want to set the image to an empty file. Improving the cache so
that it doesn't store empty files is the best solution, so for now I
just check the error (and keep the function from uninviting itself from
the POSTGETART event)
2011-05-01 12:24:17 -04:00
Bryan Schumaker
29a47e84ad
Ocarina: g key goes to currently playing song
2011-05-01 12:24:04 -04:00
Bryan Schumaker
2b0c7792d0
ocarina: f key toggles footer
2011-05-01 12:23:53 -04:00
Bryan Schumaker
dc418df572
ocarina: Window grabs focus on escape
...
Pressing the escape key will cause the window to grab focus
2011-05-01 12:23:43 -04:00
Bryan Schumaker
a639c520f5
ocarina: Added control shortcuts
2011-05-01 12:23:33 -04:00
Bryan Schumaker
72e59c9263
ocarina: Added shortcut famework
...
Now to add more shortcuts...
2011-05-01 12:23:22 -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
be3f8845fe
ocarina: Remove some of the old album art code
...
It was commented out and no longer necessary.
2011-05-01 12:21:16 -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
5b8b7a8a46
ocarina: Added image tooltip
...
It shows the full sized image
2011-05-01 12:20:28 -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