New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Podlove Simple Chapters (http://podlove.org/simple-chapters) #6

Merged
merged 2 commits into from Jan 13, 2013

Conversation

Projects
None yet
3 participants
@brot

brot commented Sep 6, 2012

Implemented support for the extension of the Atom Syndication and RSS 2.0 file format with simple chapter information described in this specification:
http://podlove.org/simple-chapters/

Example:
In [1]: import feedparser

In [2]: feed = feedparser.parse('http://hoersuppe.de/vorcast/')

In [3]: feed['entries'][0]['sc_chapters']
Out[3]: 
{'chapters': [{'start': u'00:00:12.000',
   'start_parsed': datetime.timedelta(0, 12),
   'title': u'Livekalender'},
  {'start': u'00:02:24.000',
   'start_parsed': datetime.timedelta(0, 144),
   'title': u'Podcatcher'}],
 'version': u'1.0'}
@erlehmann

This comment has been minimized.

erlehmann commented Nov 11, 2012

@kurtmckee

This comment has been minimized.

Owner

kurtmckee commented Nov 20, 2012

Thanks for that link, erlehmann! I don't have an opinion on one format versus the other, however, and there appears to be demand for PSC support. Its inclusion in feedparser won't affect anyone's ability to add CMML support as well.

@brot: I'll review this as soon as possible.

@erlehmann

This comment has been minimized.

erlehmann commented Nov 20, 2012

I'll see if i can add CMML support then – GNOME media player Totem outputs chapter marks in it.

@brot

This comment has been minimized.

brot commented Nov 21, 2012

@kurtmckee
Thanks. I will try to also include the version 1.1 in the next days if I find the time :-)

@kurtmckee kurtmckee merged commit 9a9a0f7 into kurtmckee:master Jan 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment