Skip to content

Elisa Viihde Python library with usage examples

Notifications You must be signed in to change notification settings

tjtuom/elisaviihde

 
 

Repository files navigation

Elisa Viihde Python library

This library is not maintained by Elisa so read it unofficial.

Elisa Viihde is a registered trademark of ©Elisa Oyj

License: GPLv3 http://www.gnu.org/copyleft/gpl.html

Requires: Requests http://docs.python-requests.org/

Developed for: Python 2.7.6

Build Status Coverage Status Gitter

Latest release package

Download 1.3 zip

sha256sum: 07d19b2b96e92c0b29a10b11abf952a433e641c68e458228a884e91619753174

Download 1.3 tar.gz

sha256sum: 7a937aa25f8bf7b7d6e2216870877ea603969e48c4f66ccb652dfbedc2321b5c

KODI/XBMC Python module addon

Download script.module.elisaviihde-1.3.0.zip

sha256sum: c9b91aeb85733a3b30ff07a86614138b6c7f7c7cbf0585aec48d24d63ced20ff

API documentation

https://github.com/enyone/elisaviihde/wiki

Simple example

$ cp examples/example.py .
$ python example.py -u username
Found folders:
3603265: Ajankohtainen kakkonen
2540806: Dokumentit
2540838: Elokuvat

Found recordings from folder 3603265:
1812084: Ajankohtainen kakkonen (ke 25.02.2015 13.25)
1811241: Ajankohtainen kakkonen (ti 24.02.2015 21.00)
1797570: Ajankohtainen kakkonen (ke 18.02.2015 14.45)

Found stream uri from recording 1812084:
http://netpvrpa.cdn.elisaviihde.fi/stream.php?id=1812084&...

VLC playlist example

$ cp examples/example_vlc.py .
$ python example_vlc.py -u username -f myplaylist.xspf

Creates XSPF playlist file (XML Shareable Playlist Format) containing recording stream links from first level folders. Item count for every folder is limited to 50 newest recordings for faster operation.

http://en.wikipedia.org/wiki/XML_Shareable_Playlist_Format

Build Status

About

Elisa Viihde Python library with usage examples

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.0%
  • Shell 1.0%