On Fri October 12 2007 11:46:41 am Petter Reinholdtsen wrote: > [John Goerzen] > > > I believe hpodder is doing the right thing. If you look inside the > > RSS file, you see: > > Thanks for bringing this to my attention. I've sent an email to NRK > asking them to change the type to video/mpeg, but suspect it might > take forever before a change. > > But I must admit I do not share your belief that hpodder is doing the > right thing. It is taking a working video file and corrupting it,
I haven't seen anything that hpodder is actually corrupting the file. Just changing its name, right? > when it could see if the file actually was a MP3 or not, and only > modify it if it is an MP3. Blindly trusting the mime type as reported > by the RSS file is obviously not completely safe, and detecting if the > file is an MP3 or not is fairly easy (for example by using the file > utility). hpodder is not restricted to Linux, and things like that involve third-party libraries that are not as portable as hpodder is. Not to mention that this approach is not completely reliable, either. hpodder is naming things based on what type the feed says they are, which I think is the best it can do. I think that giving users the option to disable or alter the renaming on a per-podcast basis is the best option here. Wouldn't that solve it for you? > > Happy hacking, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

