The channels that are in there seem to be okay and local channels have the correct callsigns. They also seem to be playing fine. But, according to the channel pack, there are only 173 channels when there should be 250+ channels.
@daldana7296 You will have to find what you need and add them. This application was never intended to be the only source for channels. It is built to fill in the gap for the channels that are not available through TVE. You have a good template of what needs to be there and the other channels packs may contain the missing channels you need. Me not having DirecTV makes it very difficult to determine what channels you may want added. Good luck.
Understood.
The M3U I posted has 489 channels total, with 341 below 4000, and another 148 are 4000+ (FAST) channels.
The one posted above still has the Denver stations on it
http://{{ .IPADDRESS }}/play/tuner/KUSA~67ace820-74a7-f2ee-6312-f82b0405b0cd
I just added the local Los Angeles stations to it.
Too many balls in the air today I guess, apologies again. It's updated now.
It now has 489 channels. Do the delete and append of the DirecTV SAT (Los Angeles) pack again and hopefully the channels are all there and working.
======================================
Success! Converted 489 channels.
Saved output to: directv_sat_la.json
======================================
It's no trouble, I made a batch script to convert M3U files to the proper json format for the app.
care to share?
I have made a few changes to improve the reliability of the app. I am testing it and will push the update in a few days after I make sure the the changes don't cause any unintended issues.
Its built for the DirecTV M3U files. I need to make it more universal. You open command prompt in the folder the converter script and m3u txt file are in. Run this command
convert_m3u.bat input.txt output.json
example for the last run was
convert_m3u.bat directv_sat_la.txt directv_sat_la.json
<# : batch script wrapper
@echo off
setlocal
if "%~1"=="" (
echo Usage: convert_m3u.bat input.txt output.json
echo Example: convert_m3u.bat directv_sat_la.txt directv_sat_la.json
exit /b 1
)
:: Set environment variables for the PowerShell script to read
set "INPUT_FILE=%~1"
set "OUTPUT_FILE=%~2"
:: Execute the PowerShell logic written below
powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-Expression ([System.IO.File]::ReadAllText('%~f0'))"
exit /b %ERRORLEVEL%
#>
# --- PowerShell Logic Begins Here ---
$InputFile = $env:INPUT_FILE
$OutputFile = $env:OUTPUT_FILE
if ([string]::IsNullOrWhiteSpace($OutputFile)) {
$OutputFile = "output.json"
}
# 1. Read the M3U content
$content = Get-Content $InputFile
$channels = @()
$currentChannel = @{}
# 2. Parse the lines
foreach ($line in $content) {
if ($line.StartsWith('#EXTINF')) {
# Extract Gracenote ID
if ($line -match 'tvc-guide-stationid="(.*?)"') {
$currentChannel.tvc_guide_stationid = $matches[1]
} else {
$currentChannel.tvc_guide_stationid = ""
}
# Extract Name
$name = $line.Substring($line.IndexOf(',') + 1).Trim()
$currentChannel.name = $name
# Format the ID string (lowercase, replace non-alphanumeric with hyphens)
$id = $name.ToLower() -replace '[^a-z0-9]', '-' -replace '-+', '-' -replace '^-|-$', ''
$currentChannel.id = "$id-dtv"
}
elseif ($line.StartsWith('http')) {
# Extract the deep link (everything after /tuner/ and convert ~ to /)
$dl = $line.Substring($line.IndexOf('/tuner/') + 7) -replace '~', '/'
$currentChannel.deep_link_content_id = $dl
$currentChannel.provider_id = 'directv'
# Ensure ordered properties for clean JSON output
$obj = [ordered]@{
name = $currentChannel.name
id = $currentChannel.id
provider_id = $currentChannel.provider_id
deep_link_content_id = $currentChannel.deep_link_content_id
tvc_guide_stationid = $currentChannel.tvc_guide_stationid
}
$channels += $obj
$currentChannel = @{}
}
}
# 3. Build Provider Header
$providerObj = [ordered]@{
id = "directv"
name = "DirecTV Ultimate"
package_name = "com.att.tv"
component = "com.clientapp.MainActivity"
fire_package_name = "com.att.tv"
fire_component = "com.clientapp.MainActivity"
url_template = "dtvnow://deeplink.directvnow.com/play/channel/{id}"
splash_delay_ms = 3000
}
# 4. Construct Final Object
$finalObj = [ordered]@{
providers = @($providerObj)
channels = $channels
}
# 5. Output formatted JSON
$finalObj | ConvertTo-Json -Depth 5 | Set-Content -Path $OutputFile -Encoding UTF8
Write-Host ""
Write-Host "======================================"
Write-Host "Success! Converted $($channels.Count) channels."
Write-Host "Saved output to: $OutputFile"
Write-Host "======================================"
I'll add the YouTube M3U support to it in the near future and post the updated file.
Our Onn Sticks must have different OS versions or something, I don't have either of those options. I did find "Stay Awake" (set to 'screen will never sleep') in the 'Developer options,' but I can't find any setting for "Networked standby."
That ok. You should be fine. This next release will have improvements in connecting with the streamers. If a network glitch happens, it will connect and not cause a hang up or freeze in the system. I also added a restart ADB button if it does happen.
In the instructions for ADB Bridge it mentions to turn Wireless Debugging on if the setting exists. I can confirm that this is automatically disabled every time the Onn stick is restarted. This does not, however, seem to affect the operation otherwise.
That sucks. That is what happened with the CCwGTV devices when they updated to I think Android 16. Which Onn device do you have that does that?
https://www.walmart.com/ip/onn-Google-TV-Full-HD-Streaming-Device-New-2023/2262757145
and
https://www.walmart.com/ip/ONN-4K-STREAMING/18355665352
For some reason, it doesn't seem to matter if that's enabled or disabled. That 3rd streaming stick that I've been having trouble with won't work at all today. I'm starting to think it's something with the stick - going to factory reset and reconfigure.
On the newer versions, I added support for direct connection with a powered USB hub to connect the Google TV Streamers over USB instead of Wi-Fi to send the ADB commands. This overcomes the resetting the wireless debugging. The good thing is that the Onn sticks do not use a lot of power. You could run 2 of them off the same 3amp powered USB hub. I'll provide a really good how to later in the week. I use my CCWGTV that does the same wifi debug reset and it works fine with the powered hub.
Same with fire stick 4k max, hooked one up to power meter and it was only drawing a couple watts idling at home screen.
These things don't need to sleep and it avoids delays etc.