updated dockerfile, readme and settings

This commit is contained in:
2019-01-26 23:15:41 +01:00
parent 4db904643c
commit ff33aac61e
4 changed files with 50 additions and 16 deletions

43
README.md Normal file
View File

@@ -0,0 +1,43 @@
# TV7-Playlist
## Summary
This little application is used to rewrite the TV7 multicast channel list by fiber7 m3u.
The updated list will proxy the multicast stream through udpxy and builds a stream that plex can handle.
Others have changed the code in telly. As I did not want to change any external source, I just
wrote this little application.
There are more features than just changing the URL:
- Resorting of the channel list
- Enable or disable a channel
- Override the channel number -> better EPG Detection support in plex
- Override the channel name -> better EPG Detection support in plex
This is licensed under GPLv2. See License file.
## Docker
### Run the application
You may run this application using docker. If you want to persist the database when doing some updates, create a volume and use this as data storage.
```shell
docker volume create tv7playlist_data
```
Next you have to create and run the docker container.
```shell
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
docker run -t --name="tv7playlist" -p 8000:80 -e "UdpxyUrl=http://your.host.ip.of.udpxy:4022/udp" -v tv7playlist_data:/data --restart=unless-stopped phaefelfinger/tv7playlist:latest
```
### Environment variables
- SourceType: "M3U" or "Xspf"
- SqLiteConnectionString: "Data Source=/data/playlist.db"
- TV7Url: "https://api.init7.net/tvchannels.m3u" or "https://api.init7.net/tvchannels.xspf" or any other provider
- UdpxyUrl: "http://your.host.ip.of.udpxy:4022/udp" or empty
- DownloadFileName: "PlaylistTV7udpxy.m3u" or any name that should be sent as filename while downloading the list