feat: adds configurable starting channel number (#81)
* feat: adds configurable starting channel number * fix: adds default values for start channel * fix: forgot my fi
This commit is contained in:
@@ -30,7 +30,11 @@ if [ "$use_lazystream" = "yes" ]; then
|
|||||||
nhl_args+=("--channel-prefix")
|
nhl_args+=("--channel-prefix")
|
||||||
nhl_args+=("Lazystream: NHL")
|
nhl_args+=("Lazystream: NHL")
|
||||||
nhl_args+=("--start-channel")
|
nhl_args+=("--start-channel")
|
||||||
|
if [ -z "$nhl_start_channel" ]; then
|
||||||
nhl_args+=("1000")
|
nhl_args+=("1000")
|
||||||
|
else
|
||||||
|
nhl_args+=("$nhl_start_channel")
|
||||||
|
fi
|
||||||
nhl_args+=("/playlists/lazystream/lazystream-nhl")
|
nhl_args+=("/playlists/lazystream/lazystream-nhl")
|
||||||
|
|
||||||
if [ "$nhl_exclude_home" = "yes" ]; then nhl_args+=("--exclude-feeds" "HOME"); fi
|
if [ "$nhl_exclude_home" = "yes" ]; then nhl_args+=("--exclude-feeds" "HOME"); fi
|
||||||
@@ -54,7 +58,11 @@ if [ "$use_lazystream" = "yes" ]; then
|
|||||||
mlb_args+=("--channel-prefix")
|
mlb_args+=("--channel-prefix")
|
||||||
mlb_args+=("Lazystream: MLB")
|
mlb_args+=("Lazystream: MLB")
|
||||||
mlb_args+=("--start-channel")
|
mlb_args+=("--start-channel")
|
||||||
|
if [ -z "$mlb_start_channel" ]; then
|
||||||
mlb_args+=("2000")
|
mlb_args+=("2000")
|
||||||
|
else
|
||||||
|
nhl_args+=("$mlb_start_channel")
|
||||||
|
fi
|
||||||
mlb_args+=("/playlists/lazystream/lazystream-mlb")
|
mlb_args+=("/playlists/lazystream/lazystream-mlb")
|
||||||
|
|
||||||
if [ "$mlb_exclude_home" = "yes" ]; then mlb_args+=("--exclude-feeds" "HOME"); fi
|
if [ "$mlb_exclude_home" = "yes" ]; then mlb_args+=("--exclude-feeds" "HOME"); fi
|
||||||
|
|||||||
@@ -15,12 +15,14 @@ use_xTeveAPI=yes
|
|||||||
trim_xmltv=no
|
trim_xmltv=no
|
||||||
use_lazystream=yes
|
use_lazystream=yes
|
||||||
include_nhl=yes
|
include_nhl=yes
|
||||||
|
nhl_start_channel=1000
|
||||||
#nhl_exclude_home=yes
|
#nhl_exclude_home=yes
|
||||||
#nhl_exclude_away=yes
|
#nhl_exclude_away=yes
|
||||||
#nhl_exclude_national=yes
|
#nhl_exclude_national=yes
|
||||||
#nhl_exclude_french=yes
|
#nhl_exclude_french=yes
|
||||||
#nhl_exclude_composite=yes
|
#nhl_exclude_composite=yes
|
||||||
include_mlb=yes
|
include_mlb=yes
|
||||||
|
mlb_start_channel=2000
|
||||||
#mlb_exclude_home=yes
|
#mlb_exclude_home=yes
|
||||||
#mlb_exclude_away=yes
|
#mlb_exclude_away=yes
|
||||||
#mlb_exclude_national=yes
|
#mlb_exclude_national=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user