Fix guide2go binary; remove g2g json references (#24)
This commit is contained in:
@@ -71,7 +71,7 @@ ENV PUID=1000 \
|
||||
include_mlb=yes \
|
||||
cdn=akc \
|
||||
use_guide2go=no \
|
||||
JsonList="CBLguide.json SATguide.json SATSport.json" \
|
||||
YamlList="CBLguide.yaml SATguide.yaml SATSport.yaml" \
|
||||
use_embyAPI=no \
|
||||
embyIP= \
|
||||
embyPORT=8096 \
|
||||
|
||||
@@ -39,14 +39,14 @@ fi
|
||||
# run guide2go in a loop
|
||||
if [ "$use_guide2go" = "yes" ]; then
|
||||
echo "Running guide2Go..."
|
||||
for jsons in $JsonList
|
||||
for yamls in $YamlList
|
||||
do
|
||||
jsonefile="${jsons%.*}"
|
||||
filecache=' "file.cache": "/guide2go/cache_'$jsons'",'
|
||||
fileoutput=' "file.output": "/guide2go/'$jsonefile'.xml",'
|
||||
sed -i "/file.cache/c $filecache" /guide2go/$jsons
|
||||
sed -i "/file.output/c $fileoutput" /guide2go/$jsons
|
||||
guide2go -config /guide2go/$jsons
|
||||
yamlfile="${yamls%.*}"
|
||||
filecache=' "file.cache": "/guide2go/cache_'$yamls'",'
|
||||
fileoutput=' "file.output": "/guide2go/'$yamlfile'.xml",'
|
||||
sed -i "/file.cache/c $filecache" /guide2go/$yamls
|
||||
sed -i "/file.output/c $fileoutput" /guide2go/$yamls
|
||||
guide2go -config /guide2go/$yamls
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
Binary file not shown.
@@ -18,12 +18,12 @@ cdn=akc
|
||||
### Guide2go Config
|
||||
use_guide2go=no
|
||||
|
||||
## List of created lineup json files in /guide2go
|
||||
## List of created lineup yaml files in /guide2go
|
||||
# Exmaple with 3 lineups
|
||||
JsonList="CBLguide.json SATguide.json SATSport.json"
|
||||
YamlList="CBLguide.yaml SATguide.yaml SATSport.yaml"
|
||||
|
||||
## to create your lineups run the below command and follow the on-screen instructions
|
||||
# docker exec -it <yourdockername> guide2go -configure /guide2go/<lineupnamehere>.json
|
||||
# docker exec -it <yourdockername> guide2go -configure /guide2go/<lineupnamehere>.yaml
|
||||
|
||||
### Emby
|
||||
# Only necessary if xTeVe API is active
|
||||
|
||||
Reference in New Issue
Block a user