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: 119
Joined: 03 Dec 2013, 19:16
Location: Georgia, USA
Has thanked: 19 times
Been thanked: 48 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: 881
Joined: 07 Dec 2012, 03:58
Has thanked: 1281 times
Been thanked: 947 times


Return to Bug Reports 6.x

Who is online

Users browsing this forum: No registered users and 1 guest