Podcast Receiver Can't handle episodes with same name

Post your Server Bug Report
User avatar
troycarpenter
Posts: 126
Joined: 03 Dec 2013, 19:16
Has thanked: 20 times
Been thanked: 49 times

Podcast Receiver Can't handle episodes with same name

Unread post by troycarpenter » 27 Jan 2017, 17:40

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

User avatar
Madsonic
Administrator
Administrator
Posts: 943
Joined: 07 Dec 2012, 03:58
Has thanked: 1124 times
Been thanked: 434 times

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

Unread post by Madsonic » 31 Jan 2017, 08:41

confirmed, will be fixed with next release. :thumbsup:
These users thanked the author Madsonic for the post:
troycarpenter

User avatar
troycarpenter
Posts: 126
Joined: 03 Dec 2013, 19:16
Has thanked: 20 times
Been thanked: 49 times

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

Unread post by troycarpenter » 08 May 2017, 20:50

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

User avatar
Madsonic
Administrator
Administrator
Posts: 943
Joined: 07 Dec 2012, 03:58
Has thanked: 1124 times
Been thanked: 434 times

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

Unread post by Madsonic » 18 May 2017, 07:31

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

Post Reply