http://bugs.gpodder.org/show_bug.cgi?id=388





--- Comment #3 from [email protected]  2009-04-24 13:09:50 ---
Here's a simple patch that seems to work:


config.py, add an option:


 76     'ipod_purge_old_episodes': (bool, False),
 77     'mp3_player_delete_played': (bool, False),
 78+    'sync_by_publication_date': (bool, True),
 79 
 80     # Tray icon and notification settings

sync.py, beginning of add_tracks function:

177     def add_tracks(self, tracklist=[], force_played=False):
178     
179+        if gl.config.sync_by_publication_date:
180+           tracklist.sort(cmp=lambda x, y: cmp(x.pubDate, y.pubDate))
181

-- 
Configure bugmail: http://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to