Skip to content

Commit

Permalink
remove channel number customization
Browse files Browse the repository at this point in the history
  • Loading branch information
maddox committed Nov 18, 2020
1 parent 0f49db4 commit 6dd7d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ This simple Docker image will generate an M3U playlist and EPG optimized for use

Running the container is easy. Fire up the container as usual. You can set which port it runs on.

docker run -d --name pluto-for-channels -p 8080:80 -e START_CHANNEL_NUMBER=500 jonmaddox/pluto-for-channels

You can optionally set the start channel number via the `START_CHANNEL_NUMBER` env var.
docker run -d --name pluto-for-channels -p 8080:80 jonmaddox/pluto-for-channels

You can retrieve the playlist and EPG via:

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NGINX_ROOT=/usr/share/nginx/html

while :
do
node index.js $START_CHANNEL_NUMBER
node index.js
LAST_RAN=date
sed "s/XXX/$($LAST_RAN)/g" index.html > "$NGINX_ROOT/index.html"
mv playlist.m3u "$NGINX_ROOT/playlist.m3u"
Expand Down

0 comments on commit 6dd7d05

Please sign in to comment.