http://bugs.gpodder.org/show_bug.cgi?id=57





--- Comment #8 from Jérôme Chabod <[EMAIL PROTECTED]>  2008-07-01 10:14:15 ---
 I have tested this experimental feature. I encountered problems with the feed
http://www.europe1.fr/podcast/actualite_divertissement.jsp (a very popular
french podcast).Download works correctly, but all episodes file name are
identified as "europe1pod_v.mp3". It means every new download will overwrite
the previous one, and once the first one is downloaded, all are marked as
downloaded.

 I you look at the feed, you'll notice that the urls are in the form
 *
http://stat3.cybermonitor.com/m/media/europe1pod_v.mp3?R=divertissement&amp;S=podcast&amp;media_url=http%3A%2F%2Fviphttp.yacast.net%2Flgdf%2Feurope1%2Fmedia%2Fson%2Fvideo%2F0000148%2F148511_BD.mp3
 *
http://stat3.cybermonitor.com/m/media/europe1pod_v.mp3?R=divertissement&amp;S=podcast&amp;media_url=http%3A%2F%2Fviphttp.yacast.net%2Flgdf%2Feurope1%2Fmedia%2Fson%2Fvideo%2F0000148%2F148051_BD.mp3
 ...

 I can see 3 problems here:
 * the base url (http://stat3.cybermonitor.com/m/media/europe1pod_v.mp3),
altought it ends with .mp3, does not link to a media file, but to the jsp
server
 * the real url to the media is one parameter (media_url) within the
querystring 
 * the real url does not contain "http://"; but "http%3A%2F%2". "/" are also
encoded as "%2" and "&" as "&amp;"

Maybe the best solution would be to get the file name by querying the url (I
mean, send a request to the server), instead of trying to parse it from the url
field. After all, I think nothing prevents somebody to provide url like
http://myserver?id=1234. But I don't know how difficult it is to implement.


-- 
Configure bugmail: http://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to