Feature #361
Fix for multiple ProviderID ( TESTING )
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-24
Due date:
% Done:
0%
Estimated time:
Description
(Sorry for may English)
When the response from the server comes with several ProviderID and tuning a channel with multiple ProviderID in the stream, used all idents.
[INFO]:cwc: server: Connected as user 0x23 to a Viaccess-card [0x0500 : 00.00.00.00.00.00.00.00] with 2 providers [INFO]:cwc: server: viaccess card [INFO]:cwc: server: Provider ID #1: 0x023700 00.00.00.00.00.00.00.00 [INFO]:cwc: server: Provider ID #2: 0x030600 00.00.00.00.00.00.00.00
Tvheadend server sends data at the two PID (3002 and 4002) (ProviderID 030600 and 023700), but this channel uses only one PID 4002 (providerid 023700)
Without patch
[INFO]:cwc: Connected to server:port [INFO]:cwc: server: Connected as user 0x23 to a Viaccess-card [0x0500 : 00.00.00.00.00.00.00.00] with 2 providers [INFO]:cwc: server: viaccess card [INFO]:cwc: server: Provider ID #1: 0x023700 00.00.00.00.00.00.00.00 [INFO]:cwc: server: Provider ID #2: 0x030600 00.00.00.00.00.00.00.00 [DEBUG]:dvb: "/dev/dvb/adapter0" initial scan completed for "NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))" [DEBUG]:cwc: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits using CWC server:port [INFO]:subscription: "HTTP" subscribing on "MTV Hits", weight: 150, adapter: "Conexant CX24116/CX24118", network: "NTV+", mux: "NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "HTB+", service: "MTV Hits", quality: 100 [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [Demuxed packets] [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 2) PID 3002 [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 3) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 3 Req delay: 261 ms) [INFO]:cwc: Obtained key for for service "MTV Hits" in 261 ms, from server [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets] [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 4) PID 3002 [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 5) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 5 Req delay: 540 ms) [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 6) PID 3002 [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 7) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 7 Req delay: 643 ms) [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 8) PID 3002 [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 9) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 9 Req delay: 1125 ms) [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 10) PID 3002 [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 11) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 11 Req delay: 623 ms)
With patch
Mapping channels
Tvheadend also store ProviderID
[INFO]:serviceprobe: MTV Hits: checking... [DEBUG]:cwc: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits using CWC server:port [INFO]:subscription: "serviceprobe" direct subscription to adapter: "Conexant CX24116/CX24118", network: "NTV+", mux: "NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "HTB+", service: "MTV Hits", quality: 100 [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [Demuxed packets] [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 4) PID 3002 [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 5) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 5 Req delay: 281 ms) [INFO]:cwc: Obtained key for for service "MTV Hits" in 281 ms, from server [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets] [INFO]:subscription: "serviceprobe" unsubscribing [INFO]:serviceprobe: MTV Hits: mapped to channel "MTV Hits" [INFO]:serviceprobe: MTV Hits: joined tag "TV channels" [INFO]:serviceprobe: MTV Hits: joined tag "SDTV" [INFO]:serviceprobe: MTV Hits: joined tag "HTB+" [INFO]:serviceprobe: MTV Hits: save ProviderID "023700"
View chanell
Using only one PID 4002 (ProviderID 023700)
[DEBUG]:cwc: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits using CWC server:port [INFO]:subscription: "HTTP" subscribing on "MTV Hits", weight: 150, adapter: "Conexant CX24116/CX24118", network: "NTV+", mux: "NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "HTB+", service: "MTV Hits", quality: 100 [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [Demuxed packets] [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 7) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 7 Req delay: 191 ms) [INFO]:cwc: Obtained key for for service "MTV Hits" in 191 ms, from server [DEBUG]:Service: Conexant CX24116/CX24118/NTV+: 11,862,000 kHz Vertical (Default (Port 0, Universal LNB))/MTV Hits: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets] [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 8) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 8 Req delay: 601 ms) [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 9) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 9 Req delay: 870 ms) [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 10) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 10 Req delay: 593 ms) [DEBUG]:cwc: Sending ECM section=0/0, for service MTV Hits (seqno: 11) PID 4002 [DEBUG]:cwc: Received ECM reply for service "MTV Hits" even: *** odd: *** (seqno: 11 Req delay: 570 ms)
Also added an additional item in the Web interface (see screenshot tv2.png)
Files
History
Updated by alex - almost 14 years ago
Defect:
No checks on the data format ProviderID (data are entered into HEX format)
P.S. Sorry for code, I not a programmer
Updated by Adam Sutton over 12 years ago
- Status changed from New to Rejected
Nothing has happened on here in a year, going to remove.