Podcast Receiver Can't handle episodes with same name

Post your Server Bug Report

Podcast Receiver Can't handle episodes with same name

Unread postby 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.
User avatar
troycarpenter
 
Posts: 120
Joined: 03 Dec 2013, 19:16
Location: Georgia, USA
Has thanked: 19 times
Been thanked: 49 times

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

Unread postby Madevil » 31 Jan 2017, 08:41

confirmed, will be fixed with next release. :thumbsup:
User avatar
Madevil
Administrator
Administrator
 
Posts: 913
Joined: 07 Dec 2012, 03:58
Has thanked: 1331 times
Been thanked: 952 times

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

Unread postby 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.
User avatar
troycarpenter
 
Posts: 120
Joined: 03 Dec 2013, 19:16
Location: Georgia, USA
Has thanked: 19 times
Been thanked: 49 times

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

Unread postby Madevil » 18 May 2017, 07:31

This is fixed with the next 6.3 release. :thumbsup:
User avatar
Madevil
Administrator
Administrator
 
Posts: 913
Joined: 07 Dec 2012, 03:58
Has thanked: 1331 times
Been thanked: 952 times


Return to Bug Reports 6.x

Who is online

Users browsing this forum: No registered users and 3 guests