AIMP Forum

AIMP for Windows => Ошибки и замечания / Bugs => Обработано / Processed => Topic started by: suqma on April 10, 2021, 04:27:15

Title: [+] Podcast subscription downloads file without extension
Post by: suqma on April 10, 2021, 04:27:15
The following podcast: https://non-duality.rupertspira.com/itunes/audio
When I subscribe to the podcast, it downloads the file without the extension. So "Three Possibilities of Our Self" instead of "Three Possibilities of Our Self.mp3"
Other podcasts are working fine. The file plays ok. The links in the .rss file specify the format. using the newest version of AIMP. Why doesn't it write the extension (.mp3)?
Title: Re: Podcast subscription downloads file without extension
Post by: Artem on April 11, 2021, 13:50:39
Hello,
What is your version of player?
I have tried to reproduce an issue, but failed. In my case, downloaded file has correct extension.
Title: Re: [?] Podcast subscription downloads file without extension
Post by: suqma on April 11, 2021, 19:05:56
v.4.70 build 2248. Also happened for me on previous build. I'll try deleting the subscription and resubscribing to see if that does it.
Title: Re: Podcast subscription downloads file without extension
Post by: suqma on April 14, 2021, 08:01:00
Hello,
What is your version of player?
I have tried to reproduce an issue, but failed. In my case, downloaded file has correct extension.

I have tracked down the issue. It affects multiple podcasts, but only certain files. It has something to do with the File Name Template. When I have F:\Podcasts\%FeedTitle%\%EpisodeTitle%    it will sometimes create a file without an extension. If I switch to F:\Podcasts\%FeedTitle%\%EpisodeFileName%    it will download with the .mp3 extension.
This is the podcast I tried it on:http://rupert-spira-complete-audio.s3.amazonaws.com/RS13001-A-a_The_Sense_of_Being_is_a_Subtle_Object.mp3
If I use %EpisodeTitle% I get no .mp3.  If I use %EpisodeFileName% I get .mp3

Some files work whether I use %EpisodeFileName% or %EpisodeTitle% such as this one:
https://anchor.fm/2-non-doctors/episodes/Get-To-Know-Your-Non-Doctors-efgo8n

Title: Re: [?] Podcast subscription downloads file without extension
Post by: suqma on April 14, 2021, 08:15:40
It would be nice to be able to use %EpisodeTitle% instead of %EpisodeFileName% because sometimes %EpisodeFileName% is less ideal. For this podcast it names the file audio.mp3 if I use %EpisodeFileName%, but The scent of a rose and a news roundup.mp3 if I use %EpisodeTitle% (which is better).

https://traffic.omny.fm/d/clips/aaea4e69-af51-495e-afc9-a9760146922b/95ab13e7-f709-4a58-acad-aaea01775538/86342e85-5904-4ef1-be56-aaea017a8d51/audio.mp3?utm_source=Podcast&in_playlist=974a9512-19b3-4589-b531-aaea01775557
Title: Re: [?] Podcast subscription downloads file without extension
Post by: Artem on April 14, 2021, 18:15:43
%EpisodeTitle% - is user friendly episode name, of course if the title was not specified in feed, the %EpisodeTitle% macro will return URL. So, its mean that the EpisodeTitle macro should not have a file extension at all. I suggest you to try to use following template: %EpisodeTitle%%ExtractFileExt(%EpisodeFileName%)
Title: Re: [+] Podcast subscription downloads file without extension
Post by: suqma on April 15, 2021, 00:36:41
Thank you! I appreciate it. :)