todo work
[watersofshiloah] / src / mormonchannel_gtk.py
index c29a982..1624f1c 100755 (executable)
@@ -2,16 +2,19 @@
 # -*- coding: utf-8 -*-
 
 """
 # -*- 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
 @todo Need to confirm id's are persistent (not just for todos but broken behavior on transition)
        @todo Track recent
        @todo Persisted Pause
        @todo Favorites
 @todo Sleep timer
 @todo Need to confirm id's are persistent (not just for todos but broken behavior on transition)
        @todo Track recent
        @todo Persisted Pause
        @todo Favorites
 @todo Sleep timer
-@todo Reverse order option.  Toggle between playing ascending/descending chronological order
 @todo Podcast integration
 @todo Podcast integration
+       @todo Default with BYU Devotionals, http://speeches.byu.edu/?act=help&page=podcast
+       @todo Mormon Messages
+@todo Reverse order option.  Toggle between playing ascending/descending chronological order
+@todo Jump to website
+@todo Offline mode
+@todo Re-use windows for better performance
+@todo Make radio program updates only happen when the app has focus to reduce CPU wakes
 """
 
 from __future__ import with_statement
 """
 
 from __future__ import with_statement
@@ -117,6 +120,7 @@ class MormonChannelProgram(hildonize.get_app_class()):
        def quit(self):
                self._save_settings()
 
        def quit(self):
                self._save_settings()
 
+               self._player.stop()
                self._index.stop()
                self._store.stop()
 
                self._index.stop()
                self._store.stop()
 
@@ -149,7 +153,7 @@ def run():
        gtk.gdk.threads_init()
        l = dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 
        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:
        app = MormonChannelProgram()
        if not PROFILE_STARTUP:
                try: