there's another fallback way to deteermine extension I guess - file(1): file -i <filename> returns filename: mimetype On 16/06/2008, Thomas Perl <thp at perli.net> wrote: > > Hello, Nick! > > > On Sun, 2008-06-15 at 22:38 -0400, nikosapi wrote: > > The attached patch allows gPodder to use the mimetype found in the > > episode's feed to guess the file extension if none is found using the > > current method (parsing the url). > > > You can commit it to the repository. Please make sure you have updated > all calls to the functions in gpodder.utils for which you changed the > parameter signature, so this doesn't break things in odd ways. > > Thanks, > Thomas > > _______________________________________________ > gpodder-devel mailing list > gpodder-devel at lists.berlios.de > https://lists.berlios.de/mailman/listinfo/gpodder-devel > -- Best regards, Leonid "PhoeniX" Ponomarev Jabber: Leonid.phoenix at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.berlios.de/pipermail/gpodder-devel/attachments/20080616/e72d8ea8/attachment.html>