AndroidHDMI for Channels (ah4c): A virtual channel tuner using HDMI Encoder(s) + streaming stick(s)

Will do.

posting here because ah4c is all i really care about at the moment.
I don't think I setup wsl and docker properly last year and was struggling to setup olivetin ect..
I did have portainer and ah4c working.
I started over by removing my stacks and images from docker, before uninstalling docker and wsl with reboots.
installed wsl, reboot, then updated wsl w/ reboot.
I then used olivetin-ez-start-soup-to-nuts-portable-installer-for-windows-11-cdvr-server-wsl-debian-docker-desktop-portainer-olivetin-for-channels-with-project-one-click-all-a-click-away
I'll admit it did not go very smooth for me, but I could have screwed up anywhere.
I do have things working again except I'm missing the scripts in \\wsl.localhost\Debian\data\ah4c\scripts\osprey\directv
also it's set read only so now I'm lost again.
I'm sure there's something fairly easy to getting it working since I can use a firestick script, but obviously doesn't function the osprey right.

this was the standard error from oneclick

+ dvr=10.0.0.7:8089
++ basename /config/ah4c.sh
+ extension=ah4c.sh
+ extension=ah4c
+ cp /config/ah4c.env /tmp
+ envFile=/tmp/ah4c.env
+ [[ -n 10.0.0.7 ]]
+ extensionURL=10.0.0.7:7654
+ [[ # == \# ]]
+ cdvrStartingChannel=
+ [[ -n '' ]]
+ cdvrIgnoreM3UNumbers=
+ cdvrM3UName=dtvosprey.m3u
+ cdvrM3UNameNoExt=dtvosprey
+ dirsFile=/tmp/ah4c.dirs
+ ah4cContainer='#'
+ [[ # == \# ]]
+ ah4cContainer=
+ envVars=("TAG=$2" "CONTAINER_NAME=$extension$ah4cContainer" "HOSTNAME=$extension$ah4cContainer" "DOMAIN=$3" "ADBS_PORT=$4" "HOST_PORT=$5" "SCRC_PORT=$6" "IPADDRESS=$7" "NUMBER_TUNERS=$8" "TUNER1_IP=$9" "ENCODER1_URL=${10}" "TUNER2_IP=${11}" "ENCODER2_URL=${12}" "TUNER3_IP=${13}" "ENCODER3_URL=${14}" "TUNER4_IP=${15}" "ENCODER4_URL=${16}" "TUNER5_IP=${17}" "ENCODER5_URL=${18}" "TUNER6_IP=${19}" "ENCODER6_URL=${20}" "TUNER7_IP=${21}" "ENCODER7_URL=${22}" "TUNER8_IP=${23}" "ENCODER8_URL=${24}" "TUNER9_IP=${25}" "ENCODER9_URL=${26}" "STREAMER_APP=${27}" "CHANNELSIP=${28}" "ALERT_SMTP_SERVER=${29}" "ALERT_AUTH_SERVER=${30}" "ALERT_EMAIL_FROM=${31}" "ALERT_EMAIL_PASS=${32}" "ALERT_EMAIL_TO=${33}" "LIVETV_ATTEMPTS=${34}" "CREATE_M3US=${35}" "UPDATE_SCRIPTS=${36}" "UPDATE_M3US=${37}" "TZ=${38}" "SPEED_MODE=${39}" "KEEP_WATCHING=${40}" "AUTOCROP_CHANNELS=${41}" "LINKPI_HOSTNAME=${42}" "LINKPI_USERNAME=${43}" "LINKPI_PASSWORD=${44}" "USER_SCRIPT=${45}" "HOST_DIR=${46}" "CDVR_STARTING_CHANNEL=${47}" "CDVR_M3U_NAME=${48}" "AH4C_CONTAINER=${49}")
+ synologyDirs=("${46}/ah4c$ah4cContainer/scripts" "${46}/ah4c$ah4cContainer/m3u" "${46}/ah4c$ah4cContainer/adb")
+ printf '%s\n' TAG=latest CONTAINER_NAME=ah4c HOSTNAME=ah4c DOMAIN=localdomain ADBS_PORT=5037 HOST_PORT=7654 SCRC_PORT=7655 IPADDRESS=minipc:7654 NUMBER_TUNERS=2 TUNER1_IP=10.0.0.130:5555 ENCODER1_URL=http://10.0.0.121/live/stream0 TUNER2_IP=10.0.0.130:5555 ENCODER2_URL=http://10.0.0.121/live/stream1 TUNER3_IP=# ENCODER3_URL=# TUNER4_IP=# ENCODER4_URL=# TUNER5_IP=# ENCODER5_URL=# TUNER6_IP=# ENCODER6_URL=# TUNER7_IP=# ENCODER7_URL=# TUNER8_IP=# ENCODER8_URL=# TUNER9_IP=# ENCODER9_URL=# STREAMER_APP=scripts/firetv/directv CHANNELSIP=minipc ALERT_SMTP_SERVER=smtp.gmail.com:587 ALERT_AUTH_SERVER=smtp.gmail.com [email protected] ALERT_EMAIL_PASS=xxxxxxxxxxxxxxxx [email protected] LIVETV_ATTEMPTS= CREATE_M3US=false UPDATE_SCRIPTS=true UPDATE_M3US=true TZ=US/Central SPEED_MODE=false KEEP_WATCHING=4h AUTOCROP_CHANNELS= LINKPI_HOSTNAME= LINKPI_USERNAME= LINKPI_PASSWORD= USER_SCRIPT= HOST_DIR=/data CDVR_STARTING_CHANNEL=# CDVR_M3U_NAME=dtvosprey.m3u AH4C_CONTAINER=#
+ printf '%s\n' /data/ah4c/scripts /data/ah4c/m3u /data/ah4c/adb
+ sed -i /=#/d /tmp/ah4c.env
+ /config/portainerstack.sh ah4c
+ [[ 0 == 1 ]]
++ tr -d '\n'
+++ customChannels
+++ cat
++ echo -n '{
  "name": "ah4c - dtvosprey",
  "type": "MPEG-TS",
  "source": "URL",
  "url": "http://10.0.0.7:7654/m3u/dtvosprey.m3u",
  "text": "",
  "refresh": "24",
  "limit": "",
  "satip": "",
  "numbering": "",
  "start_number": "",
  "logos": "",
  "xmltv_url": "",
  "xmltv_refresh": "3600"
}'
+ customChannelsJSON='{  "name": "ah4c - dtvosprey",  "type": "MPEG-TS",  "source": "URL",  "url": "http://10.0.0.7:7654/m3u/dtvosprey.m3u",  "text": "",  "refresh": "24",  "limit": "",  "satip": "",  "numbering": "",  "start_number": "",  "logos": "",  "xmltv_url": "",  "xmltv_refresh": "3600"}'
+ true
+ curl -s -o /dev/null http://10.0.0.7:7654
+ [[ -n '' ]]
+ sleep 5
+ true
+ curl -s -o /dev/null http://10.0.0.7:7654
++ echo 0
+ extensionUp=0
+ [[ -n 0 ]]
+ break
+ echo -e '\nJSON response from 10.0.0.7:8089:'
+ curl -X PUT -H 'Content-Type: application/json' -d '{  "name": "ah4c - dtvosprey",  "type": "MPEG-TS",  "source": "URL",  "url": "http://10.0.0.7:7654/m3u/dtvosprey.m3u",  "text": "",  "refresh": "24",  "limit": "",  "satip": "",  "numbering": "",  "start_number": "",  "logos": "",  "xmltv_url": "",  "xmltv_refresh": "3600"}' http://10.0.0.7:8089/providers/m3u/sources/ah4c-dtvosprey
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   274    0     0  100   274      0   1356 --:--:-- --:--:-- --:--:--  1363
100   278  100     4  100   274     14   1026 --:--:-- --:--:-- --:--:--  1045

The STREAMER_APP= value should be scripts/osprey/dtvosprey to use remote control emulation style tuning (channel number-based tuning on the Osprey), or scripts/osprey/dtvospreydeeplinks to use deeplinks.

Stop the ah4c stack, change that value, and click Update the stack.

sorry that was copy/pasted from explorer. here's my env

TAG=latest
CONTAINER_NAME=ah4c
HOSTNAME=ah4c
DOMAIN=localdomain
ADBS_PORT=5037
HOST_PORT=7654
SCRC_PORT=7655
IPADDRESS=minipc:7654
NUMBER_TUNERS=2
TUNER1_IP=10.0.0.130:5555
ENCODER1_URL=http://10.0.0.121/live/stream0
TUNER2_IP=10.0.0.131:5555
ENCODER2_URL=http://10.0.0.121/live/stream1
STREAMER_APP=scripts/osprey/directv
CHANNELSIP=minipc
ALERT_SMTP_SERVER=smtp.gmail.com:587
ALERT_AUTH_SERVER=smtp.gmail.com
[email protected]
ALERT_EMAIL_PASS=xxxxxxxxxxxxxxxx
[email protected]
LIVETV_ATTEMPTS=
CREATE_M3US=false
UPDATE_SCRIPTS=true
UPDATE_M3US=true
TZ=US/Central
SPEED_MODE=false
KEEP_WATCHING=4h
AUTOCROP_CHANNELS=
LINKPI_HOSTNAME=
LINKPI_USERNAME=
LINKPI_PASSWORD=
USER_SCRIPT=
HOST_DIR=/data
CDVR_M3U_NAME=dtvosprey.m3u

This is what you need to change -- as posted above.

:blush: ya know, I sometimes have dyslexia when reading a tape measure, but it's easy to tell when you cut a board wrong. maybe that's why I got out of the IT game 20yrs ago.

it's working now.
the first few times today I copy/pasted that field, but not this last time.. :relieved:
thanks!