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





--- Comment #40 from Paul Rudkin <[EMAIL PROTECTED]>  2008-06-20 05:40:59 ---
(In reply to comment #39)
> The updated patch works okay, but downloaded episodes are not marked as such.
> It worked before, so could you please have a look at it? (probably in the
> migration code) Thanks!
I see this issue too, also those episodes that have never been downloaded are
also marked as new, for example in a feed of say 50 episodes which I recently
added and only downloaded the last 1, the previous 49 get marked as new. 

Although the import worked fine, if I shutdown gPodder and re-run I get the
following output:

[   0.438] (gPodder) auto_update_procedure() got called
Traceback (most recent call last):
  File "bin/gpodder", line 166, in <module>
    sys.exit( main())
  File "bin/gpodder", line 162, in main
    gui.main()
  File "/home/paul/Source/gpodder-trunk/src/gpodder/gui.py", line 3297, in main
    gPodder().run()
  File "/home/paul/Source/gpodder-trunk/src/gpodder/gui.py", line 128, in
__init__
    SimpleGladeApp.SimpleGladeApp.__init__( self, path, root, domain, **kwargs)
  File "/home/paul/Source/gpodder-trunk/src/gpodder/SimpleGladeApp.py", line
110, in __init__
    self.new()
  File "/home/paul/Source/gpodder-trunk/src/gpodder/gui.py", line 513, in new
    old_episodes = self.get_old_episodes()
  File "/home/paul/Source/gpodder-trunk/src/gpodder/gui.py", line 1451, in
get_old_episodes
    for episode in channel.get_downloaded_episodes():
  File "/home/paul/Source/gpodder-trunk/src/gpodder/libpodcasts.py", line 237,
in get_downloaded_episodes
    return [episode for episode in db.load_episodes(self, factory=lambda c:
podcastItem.create_from_dict(c, self)) if episode.is_downloaded and not
episode.is_deleted and os.path.exists(episode.local_filename())]
AttributeError: 'podcastItem' object has no attribute 'is_downloaded'


-- 
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