https://bugs.gpodder.org/show_bug.cgi?id=255


Jacob <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #12 from Jacob <[email protected]> 2009-08-08 18:41:28 BST ---
I tested the attached patch and fs based mp3s still fail to sync.

I think it's missing this function from gui.py, couldn't find a device.purge()
equiv for mp3 in sync.py.

def ipod_delete_played(self, device):
  all_episodes = self.get_all_episodes( exclude_nonsignificant=False )
  episodes_on_device = device.get_all_tracks()
  for local_episode in all_episodes:
    device_episode = device.episode_on_device(local_episode)
    if device_episode and ( local_episode.is_played and not
local_episode.is_locked or local_episode.state == db.STATE_DELETED ):
      log("mp3_player_delete_played: removing %s" % device_episode.title)
        device.remove_track(device_episode)

-- 
Configure bugmail: https://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