Continually update the selected row in the radio program, switching to a new day...
[watersofshiloah] / src / mormonchannel_gtk.py
index c29a982..fb7749d 100755 (executable)
@@ -2,9 +2,12 @@
 # -*- coding: utf-8 -*-
 
 """
-@todo backgrounds need some resizing
-@todo Re-use windows for better performance
 @bug For some reason, the back/close button doesn't work when I nest multiple levels
+@bug When switching from conference to magazines, it randomly jumps around and duplicates windows
+@bug fullscreen does not propgate
+
+@todo Re-use windows for better performance
+@todo Make radio program updates only happen when the app has focus to reduce CPU wakes
 @todo Need to confirm id's are persistent (not just for todos but broken behavior on transition)
        @todo Track recent
        @todo Persisted Pause
@@ -12,6 +15,7 @@
 @todo Sleep timer
 @todo Reverse order option.  Toggle between playing ascending/descending chronological order
 @todo Podcast integration
+       @todo Default with BYU Devotionals, http://speeches.byu.edu/?act=help&page=podcast
 """
 
 from __future__ import with_statement
@@ -117,6 +121,7 @@ class MormonChannelProgram(hildonize.get_app_class()):
        def quit(self):
                self._save_settings()
 
+               self._player.stop()
                self._index.stop()
                self._store.stop()
 
@@ -149,7 +154,7 @@ def run():
        gtk.gdk.threads_init()
        l = dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 
-       hildonize.set_application_title(constants.__pretty_app_name__)
+       hildonize.set_application_name("FMRadio") # Playback while silent on Maemo 5
        app = MormonChannelProgram()
        if not PROFILE_STARTUP:
                try: