Skip to content
/ tv7 Public

EPG/m3u creator for timeshifted content on tv7

Notifications You must be signed in to change notification settings

Zirafarafa/tv7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Convert tv7 http URLs to m3u and xmltv format, allowing timeshifting.

Compatible with tivimate and kodi. Additional contributions welcome.

Usage

Edit config.yml, and set guide_url and catchup_redirect_url to values appropriate for your environment.

M3U URL to use is http://your.server/api/channels?app=

Note: appname currently can be one of tivimate, kodi or testing

EPG Url to use is http://your.server/api/guide?app=

Note: You can set this in your app manually, or in the config (guide_url). In this case, the generated M3U will contain a link to the guide (x-tvg-url)

Testing

First set up a python virtualenv, and run pip install -r requirements.txt

Unit Tests

Run pytest

Manual

File generation:

  • Generate sample m3u and epg files using python3 tv7.py <path to config>

Web service:

  • Start the server: python3 app.py config-testing.yml
  • The following URLS are exposed:
    • /api/status
    • /api/channels?app=
    • /api/guide?app=
    • /api/catchup?channel=<channel_uuid>&start=<unix_timestamp>&duration=

Additional Info

TV7 Web api

M3U format

About

EPG/m3u creator for timeshifted content on tv7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published