support new args: --quality and --cdn (#18)
This commit is contained in:
@@ -69,6 +69,7 @@ ENV PUID=1000 \
|
|||||||
use_lazystream=yes \
|
use_lazystream=yes \
|
||||||
include_nhl=yes\
|
include_nhl=yes\
|
||||||
include_mlb=yes \
|
include_mlb=yes \
|
||||||
|
cdn=akc \
|
||||||
use_guide2go=no \
|
use_guide2go=no \
|
||||||
JsonList="CBLguide.json SATguide.json SATSport.json" \
|
JsonList="CBLguide.json SATguide.json SATSport.json" \
|
||||||
use_embyAPI=no \
|
use_embyAPI=no \
|
||||||
|
|||||||
@@ -14,20 +14,24 @@ echo "Running scripts..."
|
|||||||
### Generate playlist and XML data from Lazystream
|
### Generate playlist and XML data from Lazystream
|
||||||
if [ "$use_lazystream" = "yes" ]; then
|
if [ "$use_lazystream" = "yes" ]; then
|
||||||
|
|
||||||
|
args=""
|
||||||
|
if [ -z $quality ]; then args+=" --quality $quality"; fi
|
||||||
|
if [ "$cdn" = "l3c" ]; then args+=" --cdn l3c"; fi
|
||||||
|
|
||||||
if [ "$include_nhl" = "yes" ]; then
|
if [ "$include_nhl" = "yes" ]; then
|
||||||
echo "Running Lazystream (NHL)..."
|
echo "Running Lazystream (NHL $quality via $cdn)..."
|
||||||
mkdir -p /playlists/lazystream
|
mkdir -p /playlists/lazystream
|
||||||
lazystream generate xmltv \
|
lazystream generate xmltv \
|
||||||
--channel-prefix Lazystream:\ NHL \
|
--channel-prefix Lazystream:\ NHL \
|
||||||
--start-channel 1000 \
|
--start-channel 1000 $args \
|
||||||
/playlists/lazystream/lazystream-nhl
|
/playlists/lazystream/lazystream-nhl
|
||||||
fi
|
fi
|
||||||
if [ "$include_mlb" = "yes" ]; then
|
if [ "$include_mlb" = "yes" ]; then
|
||||||
echo "Running Lazystream (MLB)..."
|
echo "Running Lazystream (MLB $quality via $cdn)..."
|
||||||
mkdir -p /playlists/lazystream
|
mkdir -p /playlists/lazystream
|
||||||
lazystream --sport mlb generate xmltv \
|
lazystream --sport mlb generate xmltv \
|
||||||
--channel-prefix Lazystream:\ MLB \
|
--channel-prefix Lazystream:\ MLB \
|
||||||
--start-channel 2000 \
|
--start-channel 2000 $args \
|
||||||
/playlists/lazystream/lazystream-mlb
|
/playlists/lazystream/lazystream-mlb
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ use_xTeveAPI=yes
|
|||||||
use_lazystream=yes
|
use_lazystream=yes
|
||||||
include_nhl=yes
|
include_nhl=yes
|
||||||
include_mlb=yes
|
include_mlb=yes
|
||||||
|
cdn=akc
|
||||||
|
#quality=720p60
|
||||||
|
|
||||||
### Guide2go Config
|
### Guide2go Config
|
||||||
use_guide2go=no
|
use_guide2go=no
|
||||||
|
|||||||
Reference in New Issue
Block a user