Chapter management tool with support for magnet links and filenames
Project description
Chapter management tool with support for magnet links and filenames
Free software: BSD license
Documentation: https://pychapter.readthedocs.org.
Features
TODO
Given a magnet link, return TV a Chapter object with tv chapter data (filename, series, season, chapter)
Usage
This is a simple library, to use it just:
>>> Chapter(magnet='magnet:?xt=urn:btih:57aebdc26ceebf6f3c0ae69666fdd7fcfe09a1fd&dn=Ghost.Adventures.S11E02.Old.Montana.State.Prison.720p.HDTV.x264-DHD%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710') Chapter 11x2 - Old Montana State Prison
This returns the Chapter object representation for a given magnet link, wich is “Chapter {Season}x{episode} - {SeriesName}”
You can also play it using http://github.com/XayOn/python-SimpleTorrentStreaming/ with “play” method:
>> Chapter(magnet='magnet:?xt=urn:btih:57aebdc26ceebf6f3c0ae69666fdd7fcfe09a1fd&dn=Ghost.Adventures.S11E02.Old.Montana.State.Prison.720p.HDTV.x264-DHD%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710').play()
This will launch the episode with mplayer
History
0.1.5
Brown
0.1.4
Caching guessit output
0.1.3
Brown version
0.1.2
Added series property
0.1.1
Fixed bug preventing files not correctly recognized by guessit to work
0.1.0 (2015-08-30)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.