Channel subscription locks
See original GitHub issueTVH LC v3.10 TVH v4.2.1-7~g4d4bf14
Some (problematic) channels cause TVH LC to lock and/or create multiple subscriptions to the channel. Network where channels are configured have limit of 2 on number of streams. That, of course, is causing the limit to be exhausted almost immediately.
Let me know if you need more info/testing. logcat.txt
`2017-05-05 22:29:55.654 htsp: 192.168.11.202: Welcomed client software: android-tvheadend (TV) (HTSPv23)
2017-05-05 22:29:55.654 htsp: 192.168.11.202 [ android-tvheadend (TV) ]: Identified as user ‘shield’
2017-05-05 22:29:55.654 htsp: 192.168.11.202 [ shield | android-tvheadend (TV) ]: Privileges updated
2017-05-05 22:29:55.813 mpegts: akamaihd/CBSNHD in IPTV Mixed - tuning on IPTV
2017-05-05 22:29:56.393 subscription: 0294: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “CBS News”, weight: 150, adapter: “IPTV”, network: “IPTV Mixed”, mux: “akamaihd/CBSNHD”, service: “CBS News”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:21.132 mpegts: get.php - SYFY in tpk Automatic - tuning on IPTV
2017-05-05 22:30:21.441 subscription: 0295: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “Syfy HD”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - SYFY”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:21.683 subscription: 0294: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “CBS News”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:37.476 mpegts: get.php - TNT in tpk Automatic - tuning on IPTV
2017-05-05 22:30:37.477 subscription: 0296: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “TNT”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - TNT”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:37.481 subscription: 0295: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “Syfy HD”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:47.434 mpegts: get.php - TRU TV in tpk Automatic - tuning on IPTV
2017-05-05 22:30:47.435 subscription: 0297: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “truTV”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - TRU TV”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:47.470 subscription: 0296: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “TNT”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:30:58.622 mpegts: get.php - TBS in tpk Automatic - tuning on IPTV
2017-05-05 22:30:58.623 subscription: 0298: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “TBS”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - TBS”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:03.618 subscription: 0298: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “TBS”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:03.618 mpegts: get.php - FX in tpk Automatic - tuning on IPTV
2017-05-05 22:31:03.619 subscription: 0299: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “FX HD”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - FX”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:08.665 subscription: 0299: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “FX HD”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:08.665 mpegts: get.php - TBS in tpk Automatic - tuning on IPTV
2017-05-05 22:31:08.666 subscription: 029A: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “TBS”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - TBS”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:12.498 subscription: 029A: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “TBS”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:12.498 subscription: 029B: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “truTV”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - TRU TV”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:17.343 mpegts: get.php - TNT in tpk Automatic - tuning on IPTV
2017-05-05 22:31:17.344 subscription: 029C: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “TNT”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - TNT”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:20.332 subscription: 029C: “192.168.11.202 [ shield | android-tvheadend (TV) ]” unsubscribing from “TNT”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:20.332 mpegts: get.php - SYFY in tpk Automatic - tuning on IPTV
2017-05-05 22:31:20.333 subscription: 029D: “192.168.11.202 [ shield | android-tvheadend (TV) ]” subscribing on channel “Syfy HD”, weight: 150, adapter: “IPTV”, network: “tpk Automatic”, mux: “get.php - SYFY”, provider: “FFmpeg”, service: “Service01”, profile=“htsp”, hostname=“192.168.11.202”, username=“shield”, client=“android-tvheadend (TV)”
2017-05-05 22:31:25.051 subscription: 029E: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “TNT”
2017-05-05 22:31:27.051 subscription: 029E: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “TNT”
2017-05-05 22:31:28.096 subscription: 029E: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “TNT”
2017-05-05 22:31:30.096 subscription: 029F: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “truTV”
2017-05-05 22:31:30.096 subscription: 029E: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “TNT”
2017-05-05 22:31:32.096 subscription: 029F: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “truTV”
2017-05-05 22:31:32.096 subscription: 029E: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “TNT”
2017-05-05 22:31:34.096 subscription: 029F: No input source available for subscription “192.168.11.202 [ shield | android-tvheadend (TV) ]” to channel “truTV”`
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Oh, we do have an issue around channels that take a long time to tune (more than 2 seconds), that would probably leak a subscription. I’d need to double check!
Not seeing the issue anymore.