There are characters in that log that prevent posting, I deleted them.
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 5.526940072s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428, latency: 40.233618847s, status: 200
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 1.304014181s
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 153
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '++ awk -F~ '{print $2}'
++ echo CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
+ channelID=d3603aea-f5d8-e789-786c-43c5e8799428
++ awk -F~ '{print $1}'
++ echo CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
+ channelName=CNNHD
+ specialID=CNNHD
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
+ echo 153
+ echo 'Current PID for this script is 153'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' CNNHD = exit ']'
+ '[' CNNHD = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=CNNHD
+ lastAwake=1742231087
++ date +%s
+ timeNow=1742231170
+ timeElapsed=83
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 83 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo CNNHD
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/CNNHD/d3603aea-f5d8-e789-786c-43c5e8799428
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 367.049366ms
[IOINFO] Successfully copied 27072 bytes
[IOINFO] Transfer speed: 0.1891792637200288 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=153
+ ps -p 153
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 4.709110685s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428, latency: 7.179433708s, status: 200
[GIN-debug] Loaded HTML Templates (11):
- edit.html
- editm3u.html
- index.html
- m3us.html
- status.html
-
- config.html
- logs.html
- routes.html
- status_and_logs.html
- stream.html
[GIN-debug] Request: 172.18.0.1 GET /, latency: 44.794927ms, status: 200
[GIN-debug] Request: 172.18.0.1 GET /static/logos/androidhdmi-for-channels.jpeg, latency: 108.778551ms, status: 200
[GIN-debug] Request: 172.18.0.1 GET /favicon.ico, latency: 501.919µs, status: 200
[GIN-debug] Request: 172.18.0.1 GET /logs, latency: 69.538233ms, status: 200
[GIN-debug] Request: 172.18.0.1 GET /status/andlogs, latency: 519.623µs, status: 200
[GIN-debug] Request: 172.18.0.1 GET /status, latency: 1.901583ms, status: 200
[GIN-debug] Request: 172.18.0.1 GET /logs?notime, latency: 984.644µs, status: 200
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 1.143980514s
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 191
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '++ awk -F~ '{print $2}'
++ echo CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
+ channelID=d3603aea-f5d8-e789-786c-43c5e8799428
++ awk -F~ '{print $1}'
++ echo CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
+ channelName=CNNHD
+ specialID=CNNHD
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
+ echo 191
+ echo 'Current PID for this script is 191'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' CNNHD = exit ']'
+ '[' CNNHD = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=CNNHD
+ lastAwake=1742231176
++ date +%s
+ timeNow=1742231291
+ timeElapsed=115
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 115 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo CNNHD
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/CNNHD/d3603aea-f5d8-e789-786c-43c5e8799428
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 130.928119ms
[IOINFO] Successfully copied 23312 bytes
[IOINFO] Transfer speed: 0.1872143784513504 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=191
+ ps -p 191
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 4.967697537s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428, latency: 7.117058522s, status: 200
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 977.015986ms
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 230
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '++ awk -F~ '{print $2}'
++ echo GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db
+ channelID=23f0fc84-d285-c4a1-a4c9-dfb383ed77db
++ awk -F~ '{print $1}'
++ echo GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db
+ channelName=GET
+ specialID=GET
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
+ echo 230
+ echo 'Current PID for this script is 230'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' GET = exit ']'
+ '[' GET = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=CNNHD
+ lastAwake=1742231297
++ date +%s
+ timeNow=1742231316
+ timeElapsed=19
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 19 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo GET
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/GET/23f0fc84-d285-c4a1-a4c9-dfb383ed77db
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 114.098179ms
[IOINFO] Successfully copied 22560 bytes
[IOINFO] Transfer speed: 0.16395096804298584 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=230
+ ps -p 230
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 4.950536413s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/GET~23f0fc84-d285-c4a1-a4c9-dfb383ed77db, latency: 7.036770829s, status: 200
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 foodHD~7822f08f-c09d-d890-2b46-948766f9f571
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 foodHD~7822f08f-c09d-d890-2b46-948766f9f571]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 1.02599347s
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh foodHD~7822f08f-c09d-d890-2b46-948766f9f571 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 267
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '++ awk -F~ '{print $2}'
++ echo foodHD~7822f08f-c09d-d890-2b46-948766f9f571
+ channelID=7822f08f-c09d-d890-2b46-948766f9f571
++ awk -F~ '{print $1}'
++ echo foodHD~7822f08f-c09d-d890-2b46-948766f9f571
+ channelName=foodHD
+ specialID=foodHD
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
+ echo 267
+ echo 'Current PID for this script is 267'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' foodHD = exit ']'
+ '[' foodHD = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=GET
+ lastAwake=1742231322
++ date +%s
+ timeNow=1742231334
+ timeElapsed=12
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 12 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo foodHD
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/foodHD/7822f08f-c09d-d890-2b46-948766f9f571
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 261.545525ms
[IOINFO] Successfully copied 24440 bytes
[IOINFO] Transfer speed: 0.1593590544922141 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 foodHD~7822f08f-c09d-d890-2b46-948766f9f571]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=267
+ ps -p 267
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 5.127452577s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/foodHD~7822f08f-c09d-d890-2b46-948766f9f571, latency: 7.389183775s, status: 200
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 1.071399245s
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 308
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '++ awk -F~ '{print $2}'
++ echo SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac
+ channelID=148e9301-574b-e202-9f1d-5eaac40731ac
++ echo SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac++
awk -F~ '{print $1}'
+ channelName=SyfyHD
+ specialID=SyfyHD
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
+ echo 308
+ echo 'Current PID for this script is 308'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' SyfyHD = exit ']'
+ '[' SyfyHD = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=foodHD
+ lastAwake=1742231340
++ date +%s
+ timeNow=1742231370
+ timeElapsed=30
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 30 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo SyfyHD
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/SyfyHD/148e9301-574b-e202-9f1d-5eaac40731ac
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 238.588837ms
[IOINFO] Successfully copied 22560 bytes
[IOINFO] Transfer speed: 0.18518738803251972 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=308
+ ps -p 308
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 5.084773498s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/SyfyHD~148e9301-574b-e202-9f1d-5eaac40731ac, latency: 7.139412366s, status: 200
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 1.117804334s
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 346
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
'
[EXECUTE] Stderr: '++ awk -F~ '{print $2}'
++ echo OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d
+ channelID=a7ee26db-54eb-601b-b8df-1a67ad0cff4d
++ ++ echo OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d
awk -F~ '{print $1}'
+ channelName=OXGNHD
+ specialID=OXGNHD
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
+ echo 346
+ echo 'Current PID for this script is 346'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' OXGNHD = exit ']'
+ '[' OXGNHD = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=SyfyHD
+ lastAwake=1742231376
++ date +%s
+ timeNow=1742231390
+ timeElapsed=14
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 14 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo OXGNHD
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/OXGNHD/a7ee26db-54eb-601b-b8df-1a67ad0cff4d
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 160.608166ms
[IOINFO] Successfully copied 24064 bytes
[IOINFO] Transfer speed: 0.17763214051768225 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=346
+ ps -p 346
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 4.665585128s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/OXGNHD~a7ee26db-54eb-601b-b8df-1a67ad0cff4d, latency: 6.875720598s, status: 200
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00:: ip6-localnet
ff00:: ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.18.0.2 ah4c
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
connected to 192.168.4.220:5555
No existing ./scripts/firetv/directv/prebmitune.sh found or UPDATE_SCRIPTS set to true
No existing ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh found or UPDATE_SCRIPTS set to true
No existing ./scripts/firetv/directv/bmitune.sh found or UPDATE_SCRIPTS set to true
No existing ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh found or UPDATE_SCRIPTS set to true
No existing ./scripts/firetv/directv/stopbmitune.sh found or UPDATE_SCRIPTS set to true
No existing ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh found or UPDATE_SCRIPTS set to true
Existing directv.m3u found, and will be preserved
Existing dtvdeeplinks.m3u found, and will be preserved
Existing dtvosprey.m3u found, and will be preserved
Existing dtvstream.m3u found, and will be preserved
Existing dtvstreamdeeplinks.m3u found, and will be preserved
Existing foo-fighters.m3u found, and will be preserved
Existing fubo.m3u found, and will be preserved
Existing hulu.m3u found, and will be preserved
Existing livetv.m3u found, and will be preserved
Existing nbc.m3u found, and will be preserved
Existing npo.m3u found, and will be preserved
Existing pbs-seatac.m3u found, and will be preserved
Existing pbs-worcester.m3u found, and will be preserved
Existing silicondust.m3u found, and will be preserved
Existing sling.m3u found, and will be preserved
Existing spectrum.m3u found, and will be preserved
Existing xfinity.m3u found, and will be preserved
Existing youtubetv_shield.m3u found, and will be preserved
Existing youtubetv.m3u found, and will be preserved
[START] ah4c is starting
[ENV] Not loading env
[ENV] IPADDRESS 192.168.4.35:7654
[ENV] ALERT_SMTP_SERVER
[ENV] ALERT_AUTH_SERVER
[ENV] ALERT_EMAIL_FROM
[ENV] ALERT_EMAIL_PASS
[ENV] ALERT_EMAIL_TO
[ENV] ALERT_WEBHOOK_URL
[ENV] ALLOW_DEBUG_VIDEO_PREVIEW
[ENV] Creating tuner 1
[ENV] ENCODER1_URL http://192.168.4.89:81/ts/1_0
[ENV] TUNER1_IP 192.168.4.220:5555
[ENV] CMD1
[ENV] TEECMD1
[ENV] PRE SCRIPT ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh
[ENV] START SCRIPT ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh
[ENV] STOP SCRIPT ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh
[ENV] REBOOT SCRIPT ./scripts/firetv/dtvstreamdeeplinks/reboot.sh
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /favicon.ico --> github.com/gin-gonic/gin.(*RouterGroup).StaticFile.func1 (2 handlers)
[GIN-debug] HEAD /favicon.ico --> github.com/gin-gonic/gin.(*RouterGroup).StaticFile.func1 (2 handlers)
[GIN-debug] Loaded HTML Templates (11):
- status.html
- status_and_logs.html
-
- edit.html
- editm3u.html
- index.html
- m3us.html
- routes.html
- stream.html
- config.html
- logs.html
[GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] GET / --> main.run.func1 (2 handlers)
[GIN-debug] GET /routes --> main.run.func2 (2 handlers)
[GIN-debug] GET /play/tuner:tuner/:channel --> main.run.func3 (2 handlers)
[GIN-debug] GET /m3u/:channel --> main.run.func4 (2 handlers)
[GIN-debug] GET /env --> main.run.func5 (2 handlers)
[GIN-debug] GET /logs/text --> main.run.func6 (2 handlers)
[GIN-debug] GET /logs --> main.run.func7 (2 handlers)
[GIN-debug] GET /status/andlogs --> main.run.func8 (2 handlers)
[GIN-debug] GET /logs/json --> main.run.func9 (2 handlers)
[GIN-debug] GET /video --> main.run.func10 (2 handlers)
[GIN-debug] GET /status --> main.statusPageHandler (2 handlers)
[GIN-debug] GET /api/status --> main.apiStatusHandler (2 handlers)
[GIN-debug] GET /stream --> main.run.func11 (2 handlers)
[GIN-debug] GET /test/webhook --> main.run.func12 (2 handlers)
[GIN-debug] GET /test/email --> main.run.func13 (2 handlers)
[GIN-debug] GET /status/channelsactivity --> main.run.func14 (2 handlers)
[GIN-debug] GET /edit --> main.run.func15 (2 handlers)
[GIN-debug] POST /save --> main.run.func16 (2 handlers)
[GIN-debug] POST /m3usave/:file --> main.run.func17 (2 handlers)
[GIN-debug] GET /m3us --> main.run.func18 (2 handlers)
[GIN-debug] GET /editm3u/:file --> main.run.func19 (2 handlers)
[GIN-debug] GET /config --> main.run.func20 (2 handlers)
[GIN-debug] POST /configsave --> main.run.func21 (2 handlers)
[START] ah4c is ready
[GIN-debug] Listening and serving HTTP on :7654
> [email protected] start
> node ./index.js
Listening on:
http://ah4c:8000 http://localhost:8000
http://127.0.0.1:8000 http://172.18.0.2:8000
http://[::1]:8000
Attempting network tune for device http://192.168.4.89:81/ts/1_0 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428]
[EXECUTE] Stdout: 'already connected to 192.168.4.220:5555
Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
Confirming com.att.tv on 192.168.4.220:5555
prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ mkdir -p 192.168.4.220
+ trap finish EXIT
+ main
+ adbConnect
+ adb connect 192.168.4.220:5555
+ local -i adbMaxRetries=2
+ local -i adbCounter=0
+ true
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_WAKEUP
+ local adbEventSuccess=0
+ [[ 0 -eq 0 ]]
+ break
e
+ packageLaunch=com.clientapp.MainActivity
+ packageName=com.att.tv
++ adb -s 192.168.4.220:5555 shell pidof com.att.tv
+ packagePID=7901
+ '[' '!' -z 7901 ']'
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
Warning: Activity not started, its current task has been brought to the front
+ echo 'Confirming com.att.tv on 192.168.4.220:5555'
+ touch 192.168.4.220/adbAppRunning
+ finish
+ echo 'prebmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/prebmitune.sh in 1.018557794s
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/bmitune.sh CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428 192.168.4.220:5555]
[EXECUTE] Stdout: 'Current PID for this script is 89
Not a special channel (exit nor reboot)
Starting: Intent { act=android.intent.action.VIEW (has data) cmp=com.att.tv/com.clientapp.MainActivity }
bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0
[EXECUTE] Stderr: '++ echo ++ CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
awk -F~ '{print $2}'
+ channelID=d3603aea-f5d8-e789-786c-43c5e8799428
++ awk -F~ '{print $1}'
++ echo CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428
+ channelName=CNNHD
+ specialID=CNNHD
+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ packageAction=com.clientapp.MainActivity
+ [[ '' == '' ]]
+ speedMode=true
+ trap finish EXIT
+ main
+ updateReferenceFiles
+ mkdir -p 192.168.4.220
+ [[ -f 192.168.4.220/stream_stopped ]]
+ [[ -f 192.168.4.220/last_channel ]]
9
+ echo 'Current PID for this script is 89'
+ matchEncoderURL
+ case "$streamerIP" in
+ encoderURL=http://192.168.4.89:81/ts/1_0
+ specialChannels
+ '[' CNNHD = exit ']'
+ '[' CNNHD = reboot ']'
+ [[ -f 192.168.4.220/adbCommunicationFail ]]
+ echo 'Not a special channel (exit nor reboot)'
+ launchDelay
+ local lastChannel
+ local lastAwake
+ local timeNow
+ local timeElapsed
+ local maxTime=14400
+ lastChannel=OXGNHD
+ lastAwake=1742231396
++ date +%s
+ timeNow=1742231595
+ timeElapsed=199
+ '[' -f 192.168.4.220/adbAppRunning ']'
+ (( 199 < 14400 ))
+ rm 192.168.4.220/adbAppRunning
+ echo CNNHD
+ tuneChannel
+ adb -s 192.168.4.220:5555 shell am start -n com.att.tv/com.clientapp.MainActivity dtvnow://deeplink.directvnow.com/play/channel/CNNHD/d3603aea-f5d8-e789-786c-43c5e8799428
Warning: Activity not started, intent has been delivered to currently running top-most instance.
+ finish
+ echo 'bmitune.sh is exiting for 192.168.4.220:5555 with exit code 0'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/bmitune.sh in 192.719487ms
[IOINFO] Successfully copied 24816 bytes
[IOINFO] Transfer speed: 0.1630691102130814 Mbits/second
Performing Close() for 192.168.4.220:5555
[EXECUTE] Running [./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh 192.168.4.220:5555 CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428]
[EXECUTE] Stdout: 'Streaming stopped for 192.168.4.220:5555
Sleep initiated for 192.168.4.220:5555
192.168.4.220/stream_stopped written with epoch stop time
'
[EXECUTE] Stderr: '+ streamerIP=192.168.4.220:5555
+ streamerNoPort=192.168.4.220
+ adbTarget='adb -s 192.168.4.220:5555'
+ packageName=com.att.tv
+ main
+ bmituneDone
+ bmitunePID=89
+ ps -p 89
p
+ stop='input keyevent KEYCODE_BACK; input keyevent KEYCODE_HOME'
+ adb -s 192.168.4.220:5555 shell input keyevent 'KEYCODE_BACK;' input keyevent KEYCODE_HOME
2
+ echo 'Streaming stopped for 192.168.4.220:5555'
+ adbSleep
+ sleep='input keyevent KEYCODE_SLEEP'
+ adb -s 192.168.4.220:5555 shell input keyevent KEYCODE_SLEEP
+ echo 'Sleep initiated for 192.168.4.220:5555'
+ date +%s
+ echo '192.168.4.220/stream_stopped written with epoch stop time'
'
[EXECUTE] Finished running ./scripts/firetv/dtvstreamdeeplinks/stopbmitune.sh in 4.931756741s
[GIN-debug] Request: 172.18.0.1 GET /play/tuner/CNNHD~d3603aea-f5d8-e789-786c-43c5e8799428, latency: 7.176593956s, status: 200