diff options
| -rwxr-xr-x | iptv.sh | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -78,9 +78,9 @@ make_epg () { ensure_jq_is_installed # Default variables - output_file="epg.xml" - endpoint="http://120.87.12.38:8083/epg/api/page/biz_59417088.json" - curl_args="" + local output_file='epg.xml' + local endpoint='http://120.87.12.38:8083/epg/api/page/biz_59417088.json' + local curl_args='' while [ $# -gt 0 ]; do case "$1" in @@ -144,11 +144,15 @@ make_playlist () { ensure_openssl_is_installed # Default values - ip_address="127.0.0.1" - udpxy_endpoint="http://127.0.0.1:4022" - output_file="playlist.M3U8" - curl_args="" - endpoint="http://eds1.unicomgd.com:8082" + local user_id='' + local password='' + local device_id='' + local mac_address='' + local ip_address='127.0.0.1' + local udpxy_endpoint='http://127.0.0.1:4022' + local output_file='playlist.M3U8' + local curl_args='' + local endpoint='http://eds1.unicomgd.com:8082' while [ $# -gt 0 ]; do case "$1" in |
