Podcast : encoding and feed url redirection problems

*nix specific usage questions
harisson
Blank Cone
Blank Cone
Posts: 23
Joined: 17 Jan 2006 13:07

Podcast : encoding and feed url redirection problems

Postby harisson » 17 Jan 2006 14:00

Hi,

I'm on Debian Etch and i've tested the podcast module (the top hype new cool feature ;-) ).

The module works fine except for feeds using ISO-8859-1 encoding.
The feed below, for example (french radio podcast : l'atelier numérique radio BFM), is using ISO-8859-1.

Code: Select all

$ vlc -S podcast --podcast-urls http://www.1001podcast.com/podcast/BFM/channel9/BFMchannel9.xml VLC media player 0.8.5-svn Janus [00000283] xml private error: XML parser error (line 3) : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE9 0x72 0x69 0x71
There is an other minor problem when a website does a redirection to the feed url, the playlist doesn't appear and when i save it in the GUI and restart, vlc segfault (i've deleted the feed url in my vlcrc to restart properly).

Code: Select all

$ vlc -S podcast --podcast-urls http://www.arteradio.com/servlet/RSSMakerServlet VLC media player 0.8.5-svn Janus Erreur de segmentation
p.s : could you please consider xml/rdf Atom 1.0 format for future podcast module releases ?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 17 Jan 2006 17:36

1/ If you look at the xml file, it doesn't define an encoding. So we use the default xml encoding which is UTF8. The BFMchannel9.xml file isn't valid. As a workarround, we could try guessing the encoding used but this isn't available in VLC yet as we didn't manage to find a good method to do it.

2/ I'll have a look at this bug. It's nice to know that someone is actually trying to use the podcast thing :)

Could you also provide me with a link to an xml/rdf Atom podcast source (or definition) ? Last time i checked, apple only defined it for rss.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

harisson
Blank Cone
Blank Cone
Posts: 23
Joined: 17 Jan 2006 13:07

Postby harisson » 17 Jan 2006 21:24

1/ If you look at the xml file, it doesn't define an encoding. So we use the default xml encoding which is UTF8. The BFMchannel9.xml file isn't valid. As a workarround, we could try guessing the encoding used but this isn't available in VLC yet as we didn't manage to find a good method to do it.

2/ I'll have a look at this bug. It's nice to know that someone is actually trying to use the podcast thing :)

Could you also provide me with a link to an xml/rdf Atom podcast source (or definition) ? Last time i checked, apple only defined it for rss.
Hi dionoea,

1) The xml header of this file (BFMchannel9.xml) in gedit says :

Code: Select all

<?xml version="1.0" encoding="iso-8859-1" ?> <rss xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:itunes="http://www.itunes.com/DTDs/Podcast-1.0.dtd" version="2.0"> <channel> <title>BFM : Atelier Numérique</title> <itunes:author>BFM</itunes:author> ...
I don't know if this is a valid xml encoding declaration or not.

2) The podcast thing is, for me, a killer feature ;-)

Just "one more thing", Apple didn't invent Podcasting and the Apple's "spec" is a degraded commercial spec of the Harvard' s RSS 2.0 spec ( http://blogs.law.harvard.edu/tech/rss )

The Atom 1.0 is another sydication feed format which supports enclosure elements (like the RSS2.0 and iTunes RSS) : IETF spec,
The Atom website

It's not so hurry to implement Atom 1.0 (this feed format is a little bit more "complicated" and less "popular" than the RSS 2.0 ) maybe for vlc 0.9 ;-) .

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 18 Jan 2006 09:44

1/ oh ... right. I somehow didn't see the encoding specification when i first looked at the file. Seems weird that i doesn't work. I'll have to check.

Do you have any info concerning podcasting over atom ? (not just the regular atom specs.... just in case podcast uses some private attributes/tags/whatever atom uses)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

harisson
Blank Cone
Blank Cone
Posts: 23
Joined: 17 Jan 2006 13:07

Postby harisson » 18 Jan 2006 22:28

Do you have any info concerning podcasting over atom ? (not just the regular atom specs.... just in case podcast uses some private attributes/tags/whatever atom uses)
I have two links :

-an overview of Atom 1.0 from an IBM member (with RSS 2.0 and ATOM 1.0 podcast) : http://www-128.ibm.com/developerworks/x ... tom10.html
-on Apple mailing-list, there is an Atom Feed Example from Mark Pilgrim :
http://lists.apple.com/archives/syndica ... 00000.html

The major difference, imho, between RSS 2.0/iTunes RSS and Atom 1.0 concerning the podcast thing : it's clearly specified in the Atom 1.0 spec that a feed can handle multiple enclosure elements in the same entry (cf the IBM article).

By the way, thanks for implementing this service, i think it's a better solution than the traditional podcast apps ;-)

O.T : i didn't get any answer for flac files and sout module, is it a bug or is it formely impossible to use flac and sout ?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests