@bnhf
I had never bothered to update my stack to use the environment variable section instead of just putting them in the docker stack...so I went ahead and did that this morning.
As you would expect the results were identical...Works with TAG=apple and fails with TAG=apple.test
I just checked and the old original uses Python 3.11 and the failing new one uses Python 3.12.5
Maybe that is the issue?
Here is the log from the working version before any tuning done. I have added additional protocols besides companion to allow extra commands if needed...but these have been in there since the beginning.
- D0:03:4B:1F:2C:09
:
- Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
- Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
- Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
Existing ./scripts/firetv/directv/prebmitune.sh found, and will be preserved
Existing ./scripts/atv/spectrum/prebmitune.sh found, and will be preserved
Existing ./scripts/firetv/directv/bmitune.sh found, and will be preserved
Existing ./scripts/atv/spectrum/bmitune.sh found, and will be preserved
Existing ./scripts/firetv/directv/stopbmitune.sh found, and will be preserved
Existing ./scripts/atv/spectrum/stopbmitune.sh found, and will be preserved
Existing ./scripts/atv/spectrum/atvpair.sh found, and will be preserved
Existing directv.m3u found, and will be preserved
Existing dtvosprey.m3u found, and will be preserved
Existing dtvstream.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 npo.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 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.1.101: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.1.41/live/stream3
[ENV] TUNER1_IP 192.168.1.54
[ENV] CMD1
[ENV] TEECMD1
[ENV] PRE SCRIPT ./scripts/atv/spectrum/prebmitune.sh
[ENV] START SCRIPT ./scripts/atv/spectrum/bmitune.sh
[ENV] STOP SCRIPT ./scripts/atv/spectrum/stopbmitune.sh
[ENV] REBOOT SCRIPT ./scripts/atv/spectrum/reboot.sh
[ENV] Creating tuner 2
[ENV] ENCODER2_URL http://192.168.1.41/live/stream4
[ENV] TUNER2_IP 192.168.1.55
[ENV] CMD2
[ENV] TEECMD2
[ENV] PRE SCRIPT ./scripts/atv/spectrum/prebmitune.sh
[ENV] START SCRIPT ./scripts/atv/spectrum/bmitune.sh
[ENV] STOP SCRIPT ./scripts/atv/spectrum/stopbmitune.sh
[ENV] REBOOT SCRIPT ./scripts/atv/spectrum/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):
- stream.html
-
- config.html
- edit.html
- editm3u.html
- logs.html
- routes.html
- index.html
- m3us.html
- status.html
- status_and_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
On another note...I have been unable to manually push any buttons on my cheap apple replacement remotes...or manually send any commands through atvremote that will clear the "Start from beginning" dialog...SO APPLE MAY HAVE SCREWED UP THE APP!
I have tried power cycling and rebooting the ATV's and uninstalling and reinstalling the Spectrum App...May be time to experiment with a XUMO stream box and send ir commands if I can't get deep links to work...Wonder if they have adb debugging blocked on those boxes if you order one from the xumo website instead of spectrum directly...