After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600504 - Storing podcast base names can overwrite files from the same podcast
Storing podcast base names can overwrite files from the same podcast
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: Podcast
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 623340 626880 631818 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-03 02:34 UTC by Robert Ancell
Modified: 2018-05-24 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use escaped URI instead of basename for downloaded podcasts (1.40 KB, patch)
2010-06-22 06:32 UTC, Robert Ancell
none Details | Review

Description Robert Ancell 2009-11-03 02:34:25 UTC
Currently podcast files are stored in $XDG_MUSIC_DIR/$podcast_title/$filename where $filename is the filename on the URL for that track.

This is not safe as $filename can be the same for multiple tracks in a given podcast, e.g.
The podcast:
http://deimos3.apple.com/WebObjects/Core.woa/Feed/cmu.edu.1335575211.01335575214
Has tracks:
http://deimos3.apple.com/WebObjects/Core.woa/FeedEnclosure/cmu.edu.1335575211.01335575214.1380083777/enclosure.mp3
http://deimos3.apple.com/WebObjects/Core.woa/FeedEnclosure/cmu.edu.1335575211.01335575214.1379722751/enclosure.mp3
Which will both be written as "enclosure.mp3"

Playing either of those tracks in Rhythmbox will play the last downloaded one.

From Ubuntu:
https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/445141
Comment 1 lb1.3 2010-06-10 03:40:22 UTC
Looks like a good number of podcasts are broken in Rhythmbox because of this.
Worse yet, there is no error message to show that this isn't working!
I can try to download many files in one of the podcasts reported here:
https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/445141
They appear to download fine, but after transferring to a portable player you'll see that there is only ONE of the many episodes that were supposed to be downloaded... and trying to play them on the computer gives the wrong episode for all but one file.

I really like Rhythmbox, I'd like to use it for all audio podcasts, but this bug breaks several podcasts I would like to subscribe to :(
Comment 2 Robert Ancell 2010-06-22 06:32:13 UTC
Created attachment 164278 [details] [review]
Use escaped URI instead of basename for downloaded podcasts
Comment 3 Jonathan Matthew 2010-07-02 07:06:57 UTC
*** Bug 623340 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Matthew 2010-08-01 04:07:14 UTC
Bug 551298 and bug 625741 in the gvfs http backend are making this much more of a problem than it should be.
Comment 5 Jonathan Matthew 2010-09-10 08:33:53 UTC
*** Bug 626880 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Matthew 2010-09-10 08:35:26 UTC
Bug 626880 was caused by this patch.  The resulting filename was too long, so the download failed.
Comment 7 Jonathan Matthew 2010-10-10 20:34:35 UTC
*** Bug 631818 has been marked as a duplicate of this bug. ***
Comment 8 GNOME Infrastructure Team 2018-05-24 14:48:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/828.