HDMI for Channels

Did you use the slider to re-pull and redeploy the container when you updated in Portainer-Stacks so you got the image I just uploaded?

It's possible my "Error Type 3" handling isn't working right yet of course -- but I just want to be sure you're using the latest bnhf/ah4c:test...

1 Like

yes did a repull and re-deploy
at least it did not crash it went home
let me take a look at the script to be sure

  packageLaunch="tv.youi.clientapp.AppActivity"
  packageLaunchAlternate="com.clientapp.MainActivity"
  packageName="com.att.tv"
  packagePID=$($adbTarget shell pidof $packageName)```

I should have thought of this before, but I switched the two package names so that one that works for me would error out -- and my logic isn't working. So, I'll get it sorted and get back to you shortly...

@gfhartzell

Sorted now I believe. Pull the test image again, and let's see where we're at. Not sure if this package launcher difference is related to a stream vs satellite account or an app update that I haven't gotten yet, but I made your package launcher the primary. And, it's still working fine for me as the alternate -- after it errors out on the primary.

I may change this to some sort of true/false env var, once we figure out the root of this name difference. It'd be cleaner to not have to process an error on every tune.

Just came back from a dinner break. I just ran the update and it appears to be working like it is supposed to.
changed channel worked also. .

2023-08-28T22:59:03.898830888Z [EXECUTE] Running [./scripts/firetv/directv/prebmitune.sh 192.168.1.231:5555]
2023-08-28T22:59:06.527187133Z [EXECUTE] Stdout: 'already connected to 192.168.1.231:5555
2023-08-28T22:59:06.527204234Z Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
2023-08-28T22:59:06.527207234Z Warning: Activity not started, its current task has been brought to the front
2023-08-28T22:59:06.527209834Z Waking 192.168.1.231:5555
2023-08-28T22:59:06.527211934Z prebmitune.sh is exiting for 192.168.1.231:5555 with exit code 0
2023-08-28T22:59:06.527214134Z '
2023-08-28T22:59:06.527216234Z [EXECUTE] Stderr: '+ streamerIP=192.168.1.231:5555
2023-08-28T22:59:06.527218434Z + streamerNoPort=192.168.1.231
2023-08-28T22:59:06.527220534Z + adbTarget='adb -s 192.168.1.231:5555'
2023-08-28T22:59:06.527222634Z + mkdir -p 192.168.1.231
2023-08-28T22:59:06.527224735Z + trap finish EXIT
2023-08-28T22:59:06.527226835Z + main
2023-08-28T22:59:06.527228935Z + adbConnect
2023-08-28T22:59:06.527231035Z + adb connect 192.168.1.231:5555
2023-08-28T22:59:06.527233235Z + local -i adbMaxRetries=25
2023-08-28T22:59:06.527235335Z + local -i adbCounter=0
2023-08-28T22:59:06.527237435Z + true
2023-08-28T22:59:06.527239535Z + adb -s 192.168.1.231:5555 shell input keyevent KEYCODE_WAKEUP
2023-08-28T22:59:06.527241735Z + local adbEventSuccess=0
2023-08-28T22:59:06.527243835Z + [[ 0 -eq 0 ]]
2023-08-28T22:59:06.527245935Z + break
2023-08-28T22:59:06.527247935Z + adbWake
2023-08-28T22:59:06.527250035Z + packageLaunch=com.clientapp.MainActivity
2023-08-28T22:59:06.527252535Z + packageLaunchAlternate=tv.youi.clientapp.AppActivity
2023-08-28T22:59:06.527254636Z + packageName=com.att.tv
2023-08-28T22:59:06.527256736Z ++ adb -s 192.168.1.231:5555 shell pidof com.att.tv
2023-08-28T22:59:06.527258836Z + packagePID=19404
2023-08-28T22:59:06.527260936Z + '[' '!' -z 19404 ']'
2023-08-28T22:59:06.527263036Z + adb -s 192.168.1.231:5555 shell input keyevent KEYCODE_WAKEUP
2023-08-28T22:59:06.527265236Z ++ adb -s 192.168.1.231:5555 shell am start -n com.att.tv/com.clientapp.MainActivity
2023-08-28T22:59:06.527267436Z + packageError='Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
2023-08-28T22:59:06.527269636Z Warning: Activity not started, its current task has been brought to the front'
2023-08-28T22:59:06.527280836Z + echo 'Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
2023-08-28T22:59:06.527283236Z Warning: Activity not started, its current task has been brought to the front'
2023-08-28T22:59:06.527285337Z + echo 'Starting: Intent { cmp=com.att.tv/com.clientapp.MainActivity }
2023-08-28T22:59:06.527287437Z Warning: Activity not started, its current task has been brought to the front'
2023-08-28T22:59:06.527289637Z + grep -q 'Error type 3'
2023-08-28T22:59:06.527291737Z + echo 'Waking 192.168.1.231:5555'
2023-08-28T22:59:06.527293837Z + touch 192.168.1.231/adbAppRunning
2023-08-28T22:59:06.527296037Z + finish
2023-08-28T22:59:06.527298137Z + echo 'prebmitune.sh is exiting for 192.168.1.231:5555 with exit code 0'
2023-08-28T22:59:06.527300337Z '
2023-08-28T22:59:06.527302437Z [EXECUTE] Finished running ./scripts/firetv/directv/prebmitune.sh in 2.628536352s
2023-08-28T22:59:06.527610847Z [EXECUTE] Running [./scripts/firetv/directv/bmitune.sh 242 192.168.1.231:5555]
2023-08-28T22:59:32.093067541Z [IO] io.Copy: write tcp 192.168.32.2:7654->192.168.32.1:49530: write: broken pipe
2023-08-28T22:59:32.093134542Z [IOINFO] Successfully copied 28077260 bytes
2023-08-28T22:59:32.093144042Z [IOINFO] Transfer speed: 8.78581465699478 Mbits/second
2023-08-28T22:59:32.093150843Z Performing Close() for 192.168.1.231:5555
2023-08-28T22:59:32.093157343Z [EXECUTE] Running [./scripts/firetv/directv/stopbmitune.sh 192.168.1.231:5555]
2023-08-28T22:59:37.547658668Z Tuner 0 is active - skipping
2023-08-28T22:59:37.547933068Z [ERR] Failed to tune device(s) not available
2023-08-28T22:59:37.548235468Z [GIN-debug] Request: 192.168.32.1 GET /play/tuner/281, latency: 552.3ยตs, status: 500
2023-08-28T22:59:47.987664327Z [EXECUTE] Stdout: 'Not a special channel (exit nor reboot)
2023-08-28T22:59:47.987685327Z Current app in focus is mCurrentFocus=null
2023-08-28T22:59:47.987689827Z Current PID for this script is 91
2023-08-28T22:59:47.987693427Z Active audio stream not yet detected -- loudness is -70.0 LUF. Continuing...
2023-08-28T22:59:47.987697128Z Active audio stream not yet detected -- loudness is -70.0 LUF. Continuing...
2023-08-28T22:59:47.987700628Z Active audio stream detected with -13.4 LUF.
2023-08-28T22:59:47.987704128Z bmitune.sh is exiting for 192.168.1.231:5555 with exit code 0
2023-08-28T22:59:47.987711028Z '
2023-08-28T22:59:47.987716628Z [EXECUTE] Stderr: '+ channelID='"242"'
2023-08-28T22:59:47.987721328Z + specialID=242
2023-08-28T22:59:47.987725428Z + streamerIP=192.168.1.231:5555
2023-08-28T22:59:47.987729628Z + streamerNoPort=192.168.1.231
2023-08-28T22:59:47.987733528Z + adbTarget='adb -s 192.168.1.231:5555'
2023-08-28T22:59:47.987737228Z + trap finish EXIT
2023-08-28T22:59:47.987741128Z + main
2023-08-28T22:59:47.987756728Z + matchEncoderURL
2023-08-28T22:59:47.987762728Z + case "$streamerIP" in
2023-08-28T22:59:47.987765728Z + encoderURL=http://192.168.1.227/0.ts
2023-08-28T22:59:47.987767828Z + specialChannels
2023-08-28T22:59:47.987770028Z + packageName=com.att.tv
2023-08-28T22:59:47.987772128Z + '[' 242 = exit ']'
2023-08-28T22:59:47.987774229Z + '[' 242 = reboot ']'
2023-08-28T22:59:47.987776729Z + [[ -f 192.168.1.231/adbCommunicationFail ]]
2023-08-28T22:59:47.987778829Z + echo 'Not a special channel (exit nor reboot)'
2023-08-28T22:59:47.987780929Z ++ adb -s 192.168.1.231:5555 shell dumpsys window windows
2023-08-28T22:59:47.987783029Z ++ grep -E mCurrentFocus
2023-08-28T22:59:47.987785129Z ++ cut -d / -f1
2023-08-28T22:59:47.987787329Z ++ sed 's/.* //g'
2023-08-28T22:59:47.987789429Z + appFocus=mCurrentFocus=null
2023-08-28T22:59:47.987791529Z + echo 'Current app in focus is mCurrentFocus=null'
2023-08-28T22:59:47.987793629Z + launchDelay
2023-08-28T22:59:47.987795729Z + local lastChannel
2023-08-28T22:59:47.987797829Z + local lastAwake
2023-08-28T22:59:47.987799929Z + local timeNow
2023-08-28T22:59:47.987802029Z + local timeElapsed
2023-08-28T22:59:47.987804129Z + local maxTime=14400
2023-08-28T22:59:47.987806229Z + mkdir -p 192.168.1.231
2023-08-28T22:59:47.987808329Z + [[ -f 192.168.1.231/stream_stopped ]]
2023-08-28T22:59:47.987810429Z + echo 0
2023-08-28T22:59:47.987812529Z + [[ -f 192.168.1.231/last_channel ]]
2023-08-28T22:59:47.987814629Z + echo 0
2023-08-28T22:59:47.987816629Z + echo 91
2023-08-28T22:59:47.987818729Z + echo 'Current PID for this script is 91'
2023-08-28T22:59:47.987820829Z + lastChannel=0
2023-08-28T22:59:47.987822929Z + lastAwake=0
2023-08-28T22:59:47.987825029Z ++ date +%s
2023-08-28T22:59:47.987827129Z + timeNow=1693263547
2023-08-28T22:59:47.987829229Z + timeElapsed=1693263547
2023-08-28T22:59:47.987831329Z + ((  0 == 242  ))
2023-08-28T22:59:47.987833429Z + '[' -f 192.168.1.231/adbAppRunning ']'
2023-08-28T22:59:47.987835529Z + ((  1693263547 < 14400  ))
2023-08-28T22:59:47.987838029Z + activeAudioCheck
2023-08-28T22:59:47.987840129Z ++ date +%s
2023-08-28T22:59:47.987842229Z + local startTime=1693263547
2023-08-28T22:59:47.987846329Z + local maxDuration=50
2023-08-28T22:59:47.987848429Z + local minimumLoudness=-50
2023-08-28T22:59:47.987850430Z + local sleepDuration=1
2023-08-28T22:59:47.987852530Z + true
2023-08-28T22:59:47.987858730Z ++ ffmpeg -t 1 -i http://192.168.1.227/0.ts -filter:a ebur128 -map 0:a ++ -f awk null -hide_banner -
2023-08-28T22:59:47.987861130Z '/I:        /{print $2}'
2023-08-28T22:59:47.987863230Z + checkLoudness=-70.0
2023-08-28T22:59:47.987865330Z ++ date +%s
2023-08-28T22:59:47.987867430Z + ((  1693263552 - 1693263547 > 50  ))
2023-08-28T22:59:47.987869530Z ++ echo '-70.0 > -50'
2023-08-28T22:59:47.987871730Z ++ bc -l
2023-08-28T22:59:47.987873830Z + ((  0  ))
2023-08-28T22:59:47.987875930Z + echo 'Active audio stream not yet detected -- loudness is -70.0 LUF. Continuing...'
2023-08-28T22:59:47.987878130Z + sleep 1
2023-08-28T22:59:47.987880230Z + true
2023-08-28T22:59:47.987883330Z ++ ffmpeg -t 1 -i http://192.168.1.227/0.ts -filter:a ebur128 -map 0:a -f null -hide_banner -
2023-08-28T22:59:47.987885630Z ++ awk '/I:        /{print $2}'
2023-08-28T22:59:47.987887630Z + checkLoudness=-70.0
2023-08-28T22:59:47.987889730Z ++ date +%s
2023-08-28T22:59:47.987891830Z + ((  1693263558 - 1693263547 > 50  ))
2023-08-28T22:59:47.987893930Z ++ echo '-70.0 > -50'
2023-08-28T22:59:47.987896030Z ++ bc -l
2023-08-28T22:59:47.987898130Z + ((  0  ))
2023-08-28T22:59:47.987900230Z + echo 'Active audio stream not yet detected -- loudness is -70.0 LUF. Continuing...'
2023-08-28T22:59:47.987902330Z + sleep 1
2023-08-28T22:59:47.987904430Z + true
2023-08-28T22:59:47.987906530Z ++ ffmpeg -t 1 -i http://192.168.1.227/0.ts -filter:a ebur128 -map 0:a -f null -hide_banner -
2023-08-28T22:59:47.987908630Z ++ awk '/I:        /{print $2}'
2023-08-28T22:59:47.987910730Z + checkLoudness=-13.4
2023-08-28T22:59:47.987912830Z ++ date +%s
2023-08-28T22:59:47.987914830Z + ((  1693263563 - 1693263547 > 50  ))
2023-08-28T22:59:47.987916930Z ++ echo '-13.4 > -50'
2023-08-28T22:59:47.987919030Z ++ bc -l
2023-08-28T22:59:47.987921130Z + ((  1  ))
2023-08-28T22:59:47.987923130Z + echo 'Active audio stream detected with -13.4 LUF.'
2023-08-28T22:59:47.987925330Z + break
2023-08-28T22:59:47.987927431Z + echo 242
2023-08-28T22:59:47.987929531Z + tuneChannel
2023-08-28T22:59:47.987931631Z ++ awk -F, '/channel-id="242"/ {print $2}' m3u/directv.m3u
2023-08-28T22:59:47.987933831Z + channelName=USA
2023-08-28T22:59:47.987935931Z ++ echo USA
2023-08-28T22:59:47.987937931Z ++ sed 's/^/"/;s/$/"/'
2023-08-28T22:59:47.987940131Z + channelName='"USA"'
2023-08-28T22:59:47.987942431Z + directvMenu='input keyevent KEYCODE_MENU;         input keyevent KEYCODE_MENU;         input keyevent KEYCODE_MENU;         input keyevent KEYCODE_MENU'
2023-08-28T22:59:47.987946831Z + directvSearch='input keyevent KEYCODE_DPAD_RIGHT;         input keyevent KEYCODE_DPAD_RIGHT;         input keyevent KEYCODE_DPAD_RIGHT;         input keyevent KEYCODE_DPAD_RIGHT;
2023-08-28T22:59:47.987949231Z         input keyevent KEYCODE_DPAD_DOWN; sleep 3;         input keyevent KEYCODE_DPAD_CENTER; sleep 3'
2023-08-28T22:59:47.987951431Z + directvTune='input keyevent KEYCODE_MEDIA_PLAY_PAUSE; sleep 3;         input keyevent KEYCODE_DPAD_DOWN;         input keyevent KEYCODE_DPAD_DOWN;         input keyevent KEYCODE_DPAD_CENTER'
2023-08-28T22:59:47.987954431Z + adb -s 192.168.1.231:5555 shell input keyevent 'KEYCODE_MENU;' input keyevent 'KEYCODE_MENU;' input keyevent 'KEYCODE_MENU;' input keyevent KEYCODE_MENU
2023-08-28T22:59:47.987956931Z + adb -s 192.168.1.231:5555 shell input keyevent 'KEYCODE_DPAD_RIGHT;' input keyevent 'KEYCODE_DPAD_RIGHT;' input keyevent 'KEYCODE_DPAD_RIGHT;' input keyevent 'KEYCODE_DPAD_RIGHT;' input keyevent 'KEYCODE_DPAD_DOWN;' sleep '3;' input keyevent 'KEYCODE_DPAD_CENTER;' sleep 3
2023-08-28T22:59:47.987959331Z + adb -s 192.168.1.231:5555 shell input text '"USA"'
2023-08-28T22:59:47.987961831Z + adb -s 192.168.1.231:5555 shell input keyevent 'KEYCODE_MEDIA_PLAY_PAUSE;' sleep '3;' input keyevent 'KEYCODE_DPAD_DOWN;' input keyevent 'KEYCODE_DPAD_DOWN;' input keyevent KEYCODE_DPAD_CENTER
2023-08-28T22:59:47.987964231Z + finish
2023-08-28T22:59:47.987966331Z + echo 'bmitune.sh is exiting for 192.168.1.231:5555 with exit code 0'
2023-08-28T22:59:47.987968431Z '
2023-08-28T22:59:47.987970631Z [EXECUTE] Finished running ./scripts/firetv/directv/bmitune.sh in 41.46060947s
2023-08-28T22:59:52.020314228Z [EXECUTE] Stdout: 'Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020331428Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020334228Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020336528Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020338528Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020340628Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020342628Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020344728Z Waiting for bmitune.sh to complete...
2023-08-28T22:59:52.020346928Z Streaming stopped for 192.168.1.231:5555
2023-08-28T22:59:52.020349028Z Sleep initiated for 192.168.1.231:5555
2023-08-28T22:59:52.020351128Z 192.168.1.231/stream_stopped written with epoch stop time
2023-08-28T22:59:52.020353328Z '
2023-08-28T22:59:52.020355428Z [EXECUTE] Stderr: '+ streamerIP=192.168.1.231:5555
2023-08-28T22:59:52.020357528Z + streamerNoPort=192.168.1.231
2023-08-28T22:59:52.020359528Z + adbTarget='adb -s 192.168.1.231:5555'
2023-08-28T22:59:52.020361628Z + main
2023-08-28T22:59:52.020363728Z + bmituneDone
2023-08-28T22:59:52.020365828Z + bmitunePID=91
2023-08-28T22:59:52.020367828Z + ps -p 91
2023-08-28T22:59:52.020375828Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020378228Z + sleep 2
2023-08-28T22:59:52.020380328Z + ps -p 91
2023-08-28T22:59:52.020382328Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020384428Z + sleep 2
2023-08-28T22:59:52.020386528Z + ps -p 91
2023-08-28T22:59:52.020388628Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020390728Z + sleep 2
2023-08-28T22:59:52.020392728Z + ps -p 91
2023-08-28T22:59:52.020394828Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020396828Z + sleep 2
2023-08-28T22:59:52.020398928Z + ps -p 91
2023-08-28T22:59:52.020400928Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020403028Z + sleep 2
2023-08-28T22:59:52.020405428Z + ps -p 91
2023-08-28T22:59:52.020407528Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020409628Z + sleep 2
2023-08-28T22:59:52.020411728Z + ps -p 91
2023-08-28T22:59:52.020413728Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020415828Z + sleep 2
2023-08-28T22:59:52.020417829Z + ps -p 91
2023-08-28T22:59:52.020419929Z + echo 'Waiting for bmitune.sh to complete...'
2023-08-28T22:59:52.020422029Z + sleep 2
2023-08-28T22:59:52.020424029Z + ps -p 91
2023-08-28T22:59:52.020426129Z + adbStop
2023-08-28T22:59:52.020429129Z + stop='input keyevent KEYCODE_HOME'
2023-08-28T22:59:52.020432229Z + adb -s 192.168.1.231:5555 shell input keyevent KEYCODE_HOME
2023-08-28T22:59:52.020435429Z + sleep 2
2023-08-28T22:59:52.020438629Z + echo 'Streaming stopped for 192.168.1.231:5555'
2023-08-28T22:59:52.020442429Z + adbSleep
2023-08-28T22:59:52.020445729Z + sleep='input keyevent KEYCODE_SLEEP'
2023-08-28T22:59:52.020449029Z + adb -s 192.168.1.231:5555 shell input keyevent KEYCODE_SLEEP
2023-08-28T22:59:52.020452429Z + echo 'Sleep initiated for 192.168.1.231:5555'
2023-08-28T22:59:52.020456829Z + date +%s
2023-08-28T22:59:52.020460329Z + echo '192.168.1.231/stream_stopped written with epoch stop time'
2023-08-28T22:59:52.020464329Z '
2023-08-28T22:59:52.020468529Z [EXECUTE] Finished running ./scripts/firetv/directv/stopbmitune.sh in 19.927371321s
2023-08-28T22:59:52.020632230Z [GIN-debug] Request: 192.168.32.1 GET /play/tuner/242, latency: 48.243818591s, status: 200 ```
1 Like

spoke to soon its hanging up switching back to usa or a different channel
works ok on "last channel used"

Is Motortrend a channel? Also, did you modify the directv.m3u file? It should have been trying to tune "USA Network HD" not "USA". This particular set of actions requires the search to match exactly one channel name -- which is the name used in the DirecTV guide:

When you go into the guide and navigate to the channel number and logo box, you'll see the name that needs to be in the M3U towards the top of the screen. That needs to be entered in the m3u exactly like that.

If you've modified the m3u, go ahead and post it here so I can have a look at your additions/changes.

that explans it

#EXTINF:-1 channel-id="3" tvc-guide-stationid="19611",KYW CBS 3
http://{{ .IPADDRESS }}/play/tuner/3
#EXTINF:-1 channel-id="6" tvc-guide-stationid="19612",WPVI ABC 6
http://{{ .IPADDRESS }}/play/tuner/6
#EXTINF:-1 channel-id="10" tvc-guide-stationid="19613",WCAU NBC 10
http://{{ .IPADDRESS }}/play/tuner/10
#EXTINF:-1 channel-id="12" tvc-guide-stationid="24114",WHYY PBS 12
http://{{ .IPADDRESS }}/play/tuner/12
#EXTINF:-1 channel-id="29" tvc-guide-stationid="19614",WTXF FOX 29
http://{{ .IPADDRESS }}/play/tuner/29
#EXTINF:-1 channel-id="39" tvc-guide-stationid="24783",WLVT PBS 39
http://{{ .IPADDRESS }}/play/tuner/39
#EXTINF:-1 channel-id="57" tvc-guide-stationid="34628",WPSG CW 57
http://{{ .IPADDRESS }}/play/tuner/57
#EXTINF:-1 channel-id="206" tvc-guide-stationid="32645",ESPN
http://{{ .IPADDRESS }}/play/tuner/206
#EXTINF:-1 channel-id="209" tvc-guide-stationid="45507",ESPN2
http://{{ .IPADDRESS }}/play/tuner/209
#EXTINF:-1 channel-id="211" tvc-guide-stationid="65025",NFL RedZone
http://{{ .IPADDRESS }}/play/tuner/2113
#EXTINF:-1 channel-id="212" tvc-guide-stationid="45399",NFL Network
http://{{ .IPADDRESS }}/play/tuner/212
#EXTINF:-1 channel-id="213" tvc-guide-stationid="62081",MLB Network
http://{{ .IPADDRESS }}/play/tuner/213
#EXTINF:-1 channel-id="216" tvc-guide-stationid="45526",NBA TV
http://{{ .IPADDRESS }}/play/tuner/216
#EXTINF:-1 channel-id="217" tvc-guide-stationid="60316",Tennis Channel
http://{{ .IPADDRESS }}/play/tuner/217
#EXTINF:-1 channel-id="218" tvc-guide-stationid="61854",Golf Channel
http://{{ .IPADDRESS }}/play/tuner/218
#EXTINF:-1 channel-id="219" tvc-guide-stationid="82547",FOX Sports
http://{{ .IPADDRESS }}/play/tuner/219
#EXTINF:-1 channel-id="241" tvc-guide-stationid="59186",Paramount Network
http://{{ .IPADDRESS }}/play/tuner/241
#EXTINF:-1 channel-id="242" tvc-guide-stationid="58452",USA
http://{{ .IPADDRESS }}/play/tuner/242
#EXTINF:-1 channel-id="244" tvc-guide-stationid="24533",SYFY
http://{{ .IPADDRESS }}/play/tuner/244
#EXTINF:-1 channel-id="281" tvc-guide-stationid="31046",MOTORTREND
http://{{ .IPADDRESS }}/play/tuner/281
#EXTINF:-1 channel-id="501" tvc-guide-stationid="19548",HBO HD East
http://{{ .IPADDRESS }}/play/tuner/501
#EXTINF:-1 channel-id="502" tvc-guide-stationid="59368",HBO2 HD East
http://{{ .IPADDRESS }}/play/tuner/502
#EXTINF:-1 channel-id="503" tvc-guide-stationid="59363",HBO Signature HD East
http://{{ .IPADDRESS }}/play/tuner/503
#EXTINF:-1 channel-id="504" tvc-guide-stationid="19566",HBO West HD
http://{{ .IPADDRESS }}/play/tuner/504
#EXTINF:-1 channel-id="505" tvc-guide-stationid="59368",HBO2 West HD
http://{{ .IPADDRESS }}/play/tuner/505
#EXTINF:-1 channel-id="506" tvc-guide-stationid="59839",HBO Comedy HD
http://{{ .IPADDRESS }}/play/tuner/506
#EXTINF:-1 channel-id="507" tvc-guide-stationid="59357",HBO Family East HD
http://{{ .IPADDRESS }}/play/tuner/507
#EXTINF:-1 channel-id="509" tvc-guide-stationid="59845",HBO Zone HD
http://{{ .IPADDRESS }}/play/tuner/509
#EXTINF:-1 channel-id="618" tvc-guide-stationid="59305",FOX Sports
http://{{ .IPADDRESS }}/play/tuner/618
#EXTINF:-1 channel-id="exit" tvc-guide-stationid="",Exit DirecTV
http://{{ .IPADDRESS }}/play/tuner/exit
#EXTINF:-1 channel-id="reboot" tvc-guide-stationid="",Reboot FireTV
http://{{ .IPADDRESS }}/play/tuner/reboot```

I'd suggest updating your M3U to have exactly matching channel names to the grid guide in the DTV app (including upper and lower case), and then go ahead and post the modified file here, and I'll add it to the "master".

We figured out a while back that it's possible to put comments in the M3U, so I'll add something regarding this issue for "the next guy".

Here's what it looked like originally, if that helps:

#EXTM3U
#EXTINF:-1 channel-id="8" tvc-guide-stationid="25102",KAET PBS 8
http://{{ .IPADDRESS }}/play/tuner/8
#EXTINF:-1 channel-id="10" tvc-guide-stationid="21209",KSAZ FOX 10
http://{{ .IPADDRESS }}/play/tuner/10
#EXTINF:-1 channel-id="12" tvc-guide-stationid="20507",KPNX NBC 12
http://{{ .IPADDRESS }}/play/tuner/12
#EXTINF:-1 channel-id="212" tvc-guide-stationid="45399",NFL Network HD
http://{{ .IPADDRESS }}/play/tuner/212
#EXTINF:-1 channel-id="216" tvc-guide-stationid="45526",NBA TV HD
http://{{ .IPADDRESS }}/play/tuner/216
#EXTINF:-1 channel-id="217" tvc-guide-stationid="60316",Tennis Channel HD
http://{{ .IPADDRESS }}/play/tuner/217
#EXTINF:-1 channel-id="219" tvc-guide-stationid="82547",FOX Sports 1 HD
http://{{ .IPADDRESS }}/play/tuner/219
#EXTINF:-1 channel-id="241" tvc-guide-stationid="59186",Paramount Network HD
http://{{ .IPADDRESS }}/play/tuner/241
#EXTINF:-1 channel-id="242" tvc-guide-stationid="58452",USA Network HD
http://{{ .IPADDRESS }}/play/tuner/242
#EXTINF:-1 channel-id="501" tvc-guide-stationid="19548",HBO HD East
http://{{ .IPADDRESS }}/play/tuner/501
#EXTINF:-1 channel-id="502" tvc-guide-stationid="59368",HBO2 HD East
http://{{ .IPADDRESS }}/play/tuner/502
#EXTINF:-1 channel-id="503" tvc-guide-stationid="59363",HBO Signature HD East
http://{{ .IPADDRESS }}/play/tuner/503
#EXTINF:-1 channel-id="504" tvc-guide-stationid="19566",HBO West HD
http://{{ .IPADDRESS }}/play/tuner/504
#EXTINF:-1 channel-id="505" tvc-guide-stationid="59355",HBO2 West HD
http://{{ .IPADDRESS }}/play/tuner/505
#EXTINF:-1 channel-id="506" tvc-guide-stationid="59839",HBO Comedy HD
http://{{ .IPADDRESS }}/play/tuner/506
#EXTINF:-1 channel-id="507" tvc-guide-stationid="59357",HBO Family East HD
http://{{ .IPADDRESS }}/play/tuner/507
#EXTINF:-1 channel-id="509" tvc-guide-stationid="59845",HBO Zone HD
http://{{ .IPADDRESS }}/play/tuner/509
#EXTINF:-1 channel-id="618" tvc-guide-stationid="59305",FOX Sports 2 HD
http://{{ .IPADDRESS }}/play/tuner/618
#EXTINF:-1 channel-id="exit" tvg-logo="http://{{ .IPADDRESS }}/static/logos/exit.png",Exit DirecTV
http://{{ .IPADDRESS }}/play/tuner/exit
#EXTINF:-1 channel-id="reboot" tvg-logo="http://{{ .IPADDRESS }}/static/logos/reboot.png",Reboot FireTV
http://{{ .IPADDRESS }}/play/tuner/reboot

Another potential issue could be related to the "Quick Guide" -- if you use it. With ah4c, and the original androidhdmi-for-channels, I believe a minimum of two tuners is required to use the Quick Guide.

I've actually made use of this in my scripting, by keeping track of the last channel watched on each tuner -- that way you can quickly switch back and forth between a pair of channels very quickly (no re-tuning required).

directtv guide looks like its USA Network in the black Banner and does not switch back from
NFL Network or vice versa. NFL Network HD is not found. it gets stuck at multiple choices.
two for USA one 3 for NFL Network
If I continue by click down 1 space and select it works?

1 Like

Neither of these are showing the HD part in the search box. Are you sure it's in the M3U? Hopefully this isn't another difference between our apps.

Here's a screenshot from my DTV app grid guide, and you can see for USA Network it should include HD:

As should the NFL Network, which also needs the HD:

You might need to do the "Reload M3U" in Channels DVR settings for this set of Custom Channels, and maybe even redownload the guide data after confirming the info in your M3U.

of course its different shades of directvnow:

1 Like

Bummer! So I'll need to regroup on this and figure out if there's another way to get a unique channel match that works with this variation of dtvnow.

I have to go pick up some drywall and other supplies tomorrow, which is going to take a good chunk of the day -- but I'll look at this when I get back.

FWIW i loaded your mtu had similar issues and thats when i saw the differences after you explained the potential fix.
no worries its a lot! further along never would have guessed it would be so different.
Thank you!

I went through the MTU this morning and these all worked when searching when I manually
went down one and then pressed select on the remote or the firetv app.
I do not have HBO so I cannot test those. NFL Redzone is not working yet.
Interesting the two I actually will use the most USA and NFL Network switch ok about 50% ?

#EXTINF:-1 channel-id="3" tvc-guide-stationid="19611",CBS-KYW
http://{{ .IPADDRESS }}/play/tuner/3
#EXTINF:-1 channel-id="6" tvc-guide-stationid="19612",ABC-WPVI
http://{{ .IPADDRESS }}/play/tuner/6
#EXTINF:-1 channel-id="10" tvc-guide-stationid="19613",NBC-WCAU
http://{{ .IPADDRESS }}/play/tuner/10
#EXTINF:-1 channel-id="12" tvc-guide-stationid="24114",PBS-WHYY
http://{{ .IPADDRESS }}/play/tuner/12
#EXTINF:-1 channel-id="23" tvc-guide-stationid="43689",PBS-WNJS
http://{{ .IPADDRESS }}/play/tuner/23
#EXTINF:-1 channel-id="29" tvc-guide-stationid="19614",FOX-WTXF-TV
http://{{ .IPADDRESS }}/play/tuner/29
#EXTINF:-1 channel-id="39" tvc-guide-stationid="24783",PBS-WLVT
http://{{ .IPADDRESS }}/play/tuner/39
#EXTINF:-1 channel-id="57" tvc-guide-stationid="34628",CW-WPSG
http://{{ .IPADDRESS }}/play/tuner/57
#EXTINF:-1 channel-id="206" tvc-guide-stationid="32645",ESPN
http://{{ .IPADDRESS }}/play/tuner/206
#EXTINF:-1 channel-id="209" tvc-guide-stationid="45507",ESPN2
http://{{ .IPADDRESS }}/play/tuner/209
#EXTINF:-1 channel-id="211" tvc-guide-stationid="65025",NFL Red Zone
http://{{ .IPADDRESS }}/play/tuner/2113
#EXTINF:-1 channel-id="212" tvc-guide-stationid="45399",NFL Network
http://{{ .IPADDRESS }}/play/tuner/212
#EXTINF:-1 channel-id="213" tvc-guide-stationid="62081",MLB Network
http://{{ .IPADDRESS }}/play/tuner/213
#EXTINF:-1 channel-id="216" tvc-guide-stationid="45526",NBA TV
http://{{ .IPADDRESS }}/play/tuner/216
#EXTINF:-1 channel-id="217" tvc-guide-stationid="60316",Tennis Channel HD
http://{{ .IPADDRESS }}/play/tuner/217
#EXTINF:-1 channel-id="218" tvc-guide-stationid="61854",Golf Channel
http://{{ .IPADDRESS }}/play/tuner/218
#EXTINF:-1 channel-id="219" tvc-guide-stationid="82547",FOX Sports 1
http://{{ .IPADDRESS }}/play/tuner/219
#EXTINF:-1 channel-id="241" tvc-guide-stationid="59186",Paramount TV
http://{{ .IPADDRESS }}/play/tuner/241
#EXTINF:-1 channel-id="242" tvc-guide-stationid="58452",USA Network
http://{{ .IPADDRESS }}/play/tuner/242
#EXTINF:-1 channel-id="244" tvc-guide-stationid="11097",Syfy
http://{{ .IPADDRESS }}/play/tuner/244
#EXTINF:-1 channel-id="256" tvc-guide-stationid="12852",TCM
http://{{ .IPADDRESS }}/play/tuner/256
#EXTINF:-1 channel-id="264" tvc-guide-stationid="64492",BBC America
http://{{ .IPADDRESS }}/play/tuner/264
#EXTINF:-1 channel-id="269" tvc-guide-stationid="14771",HISTORY
http://{{ .IPADDRESS }}/play/tuner/269
#EXTINF:-1 channel-id="281" tvc-guide-stationid="31046",MotorTrend
http://{{ .IPADDRESS }}/play/tuner/281
#EXTINF:-1 channel-id="501" tvc-guide-stationid="19548",HBO HD East
http://{{ .IPADDRESS }}/play/tuner/501
#EXTINF:-1 channel-id="502" tvc-guide-stationid="59368",HBO2 HD East
http://{{ .IPADDRESS }}/play/tuner/502
#EXTINF:-1 channel-id="503" tvc-guide-stationid="59363",HBO Signature HD East
http://{{ .IPADDRESS }}/play/tuner/503
#EXTINF:-1 channel-id="504" tvc-guide-stationid="19566",HBO West HD
http://{{ .IPADDRESS }}/play/tuner/504
#EXTINF:-1 channel-id="505" tvc-guide-stationid="59368",HBO2 West HD
http://{{ .IPADDRESS }}/play/tuner/505
#EXTINF:-1 channel-id="506" tvc-guide-stationid="59839",HBO Comedy HD
http://{{ .IPADDRESS }}/play/tuner/506
#EXTINF:-1 channel-id="507" tvc-guide-stationid="59357",HBO Family East HD
http://{{ .IPADDRESS }}/play/tuner/507
#EXTINF:-1 channel-id="509" tvc-guide-stationid="59845",HBO Zone HD
http://{{ .IPADDRESS }}/play/tuner/509
#EXTINF:-1 channel-id="618" tvc-guide-stationid="59305",FOX Sports 2
http://{{ .IPADDRESS }}/play/tuner/618
#EXTINF:-1 channel-id="exit" tvc-guide-stationid="",Exit DirecTV
http://{{ .IPADDRESS }}/play/tuner/exit
#EXTINF:-1 channel-id="reboot" tvc-guide-stationid="",Reboot FireTV
http://{{ .IPADDRESS }}/play/tuner/reboot