Podcast Receiver Can't handle episodes with same name

Post your Server Bug Report
User avatar
troycarpenter
Posts: 138
Joined: 03 Dec 2013, 19:16
Has thanked: 28 times
Been thanked: 50 times

Podcast Receiver Can't handle episodes with same name

Unread post by troycarpenter »

I have an XML feed from a provider where the final filename for all the podcast episodes are the same. The differentiator is in the download URL. For instance:

Code: Select all

http://example.com/wednesday/episode.mp3
http://example.com/thursday/episode.mp3
http://example.com/friday/episode.mp3
You can see that the URL path is different even though the filename is the same.

The problem is that Madsonic wants to dump these files into the same podcast directory on the server, which results in a collision. Once the first episode is downloaded, the remaining episode downloads are aborted claiming the file has already been downloaded. However, in the podcast web interface in Madsonic (and in the database), it shows all queued episodes have been downloaded.

It would seem like in this situation, the podcast downloader could detect the filename collision, generate a new filename using some type of algorithm to save the file, and save that into the database.

For the filename algorithm, a possibility would be to concatenate the podcast date + server time (in case the dates are also the same) to the filename provided in the xml feed.
These users thanked the author troycarpenter for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Podcast Receiver Can't handle episodes with same name

Unread post by Madsonic »

confirmed, will be fixed with next release. :thumbsup:
These users thanked the author Madsonic for the post:
troycarpenter
Rating: 7.69%
User avatar
troycarpenter
Posts: 138
Joined: 03 Dec 2013, 19:16
Has thanked: 28 times
Been thanked: 50 times

Re: Podcast Receiver Can't handle episodes with same name

Unread post by troycarpenter »

Using MADSONIC 6.2.9260.

This is still happening. Podcast example:

http://feeds.podtrac.com/EJbKUnHP5ywQ

In this case, all the episodes are called "download.mp3", but the path is different for each one. It appears that whatever is downloading the episodes is appending an extra number to the episode filename, but not including it in the database.

I'm looking to see if there is another feed that doesn't include the duplicates, but I doubt there is.
These users thanked the author troycarpenter for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Podcast Receiver Can't handle episodes with same name

Unread post by Madsonic »

This is fixed with the next 6.3 release. :thumbsup:
Post Reply