diff --git a/Dockerfile b/Dockerfile index 76ceb87..9f6b5aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/root/cronjob.sh b/root/cronjob.sh index 3d8d1b3..3901089 100755 --- a/root/cronjob.sh +++ b/root/cronjob.sh @@ -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 diff --git a/root/usr/bin/guide2go b/root/usr/bin/guide2go index ef9f3da..0421562 100755 Binary files a/root/usr/bin/guide2go and b/root/usr/bin/guide2go differ diff --git a/sample.env b/sample.env index 5cbc5ae..7b5cbd0 100644 --- a/sample.env +++ b/sample.env @@ -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 guide2go -configure /guide2go/.json +# docker exec -it guide2go -configure /guide2go/.yaml ### Emby # Only necessary if xTeVe API is active