2019-07-15, 12:29 PM
Hi I am new to Linux but managed to get Nextpvr up and running on Mint 19x. (Kodi 18.3)
All working great other than I don't seem to be be able to populate the EPG (over the air EPG)
The below error seems to just keep repeating and I end up with no listings:
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
any advise would be great :o)
Please see below the output from the terminal:
6] About to update EPG
[36] No /root/.NPVR-data/scripts/UpdateEPG.sh file found
[36] Doing EPG update from broadcast DVB/ATSC EPG
[36] CaptureSource.LoadAll()
[36] Number of broadcastEPGChannels: 23
[36] broadcast channel: ABC
[36] captureSourceOID: 22
[36] found capture source
[36] mapping:
<tuning>
<type>HDHR</type>
<service_id>657</service_id>
<locator>
<sid>657</sid>
<tsid>0</tsid>
<map>0</map>
<chan>0</chan>
<freq>578500000 </freq>
<name>ABC</name>
</locator>
</tuning>
[36] Processing locator for 'ABC'
[36] HDHomeRunRecorder.StartStream()
[36] 1110003D is at 10.0.0.89
[36] legacy tuning requesting auto:578500000
[36] legacy tuning requesting program 657
[36] legacy tuning requesting target rtp://10.0.0.79:8020
[36] Requesting: rtp://10.0.0.79:8020
[36] RTP input source starting
[36] Creating writer: /dev/null
[36] Created Mutex: Global\NPVR-mutex-25294876e9e33eafc57d886c0d95a3ff
[36] Created map: System.IO.FileStream
[36] StartStream [/dev/null] allocated handle: 1
[36] StartStream() returned handle=1
[36] Allocated Handle: 1
[36] PowerManagement PreventStandby (needs implementation)
[37] Have received 1316 bytes from rtp source
[26] Got request [127.0.0.1]: /services/service
[26] method=system.epg.status
[26] parameters:
[26] method: system.epg.status
[26] format: json
[26] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] client_ip: 127.0.0.1
[26] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:38 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n60 seconds remaining...", "updating": true}
[36Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[24] Got request [127.0.0.1]: /services/service
[24] method=system.epg.status
[24] parameters:
[24] method: system.epg.status
[24] format: json
[24] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[24] client_ip: 127.0.0.1
[24] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:39 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[24] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n59 seconds remaining...", "updating": true}
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[21] Got request [127.0.0.1]: /services/service
[21] method=system.epg.status
[21] parameters:
[21] method: system.epg.status
[21] format: json
[21] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[21] client_ip: 127.0.0.1
[21] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:40 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[21] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n58 seconds remaining...", "updating": true}
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[26] Got request [127.0.0.1]: /services/service
[26] method=system.epg.status
[26] parameters:
[26] method: system.epg.status
[26] format: json
[26] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] client_ip: 127.0.0.1
[26] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:41 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n57 seconds remaining...", "updating": true}
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[23] Got request [127.0.0.1]: /services/service
[23] method=system.epg.status
[23] parameters:
[23] method: system.epg.status
[23] format: json
[23] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[23] client_ip: 127.0.0.1
[23] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:42 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[23] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n56 seconds
All working great other than I don't seem to be be able to populate the EPG (over the air EPG)
The below error seems to just keep repeating and I end up with no listings:
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
any advise would be great :o)
Please see below the output from the terminal:
6] About to update EPG
[36] No /root/.NPVR-data/scripts/UpdateEPG.sh file found
[36] Doing EPG update from broadcast DVB/ATSC EPG
[36] CaptureSource.LoadAll()
[36] Number of broadcastEPGChannels: 23
[36] broadcast channel: ABC
[36] captureSourceOID: 22
[36] found capture source
[36] mapping:
<tuning>
<type>HDHR</type>
<service_id>657</service_id>
<locator>
<sid>657</sid>
<tsid>0</tsid>
<map>0</map>
<chan>0</chan>
<freq>578500000 </freq>
<name>ABC</name>
</locator>
</tuning>
[36] Processing locator for 'ABC'
[36] HDHomeRunRecorder.StartStream()
[36] 1110003D is at 10.0.0.89
[36] legacy tuning requesting auto:578500000
[36] legacy tuning requesting program 657
[36] legacy tuning requesting target rtp://10.0.0.79:8020
[36] Requesting: rtp://10.0.0.79:8020
[36] RTP input source starting
[36] Creating writer: /dev/null
[36] Created Mutex: Global\NPVR-mutex-25294876e9e33eafc57d886c0d95a3ff
[36] Created map: System.IO.FileStream
[36] StartStream [/dev/null] allocated handle: 1
[36] StartStream() returned handle=1
[36] Allocated Handle: 1
[36] PowerManagement PreventStandby (needs implementation)
[37] Have received 1316 bytes from rtp source
[26] Got request [127.0.0.1]: /services/service
[26] method=system.epg.status
[26] parameters:
[26] method: system.epg.status
[26] format: json
[26] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] client_ip: 127.0.0.1
[26] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:38 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n60 seconds remaining...", "updating": true}
[36Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[24] Got request [127.0.0.1]: /services/service
[24] method=system.epg.status
[24] parameters:
[24] method: system.epg.status
[24] format: json
[24] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[24] client_ip: 127.0.0.1
[24] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:39 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[24] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n59 seconds remaining...", "updating": true}
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[21] Got request [127.0.0.1]: /services/service
[21] method=system.epg.status
[21] parameters:
[21] method: system.epg.status
[21] format: json
[21] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[21] client_ip: 127.0.0.1
[21] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:40 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[21] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n58 seconds remaining...", "updating": true}
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[26] Got request [127.0.0.1]: /services/service
[26] method=system.epg.status
[26] parameters:
[26] method: system.epg.status
[26] format: json
[26] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] client_ip: 127.0.0.1
[26] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:41 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[26] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n57 seconds remaining...", "updating": true}
[36] Unexpected error getting dynamic event list: System.InvalidCastException: Unable to cast object of type 'NShared.HDHomeRunRecorder' to type 'NShared.LocalRecorder'.
at NShared.DVBEPGSource.UpdateEPG(IEPGUpdateCallback callback)
[23] Got request [127.0.0.1]: /services/service
[23] method=system.epg.status
[23] parameters:
[23] method: system.epg.status
[23] format: json
[23] sid: c7953904-5dfc-421f-919b-8991a00fe5d9
[23] client_ip: 127.0.0.1
[23] user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
2019-07-15 22:15:42 Renewing session: c7953904-5dfc-421f-919b-8991a00fe5d9
[23] {"stat": "ok", "status": "Scanning Source /v657 [ABC]\r\n56 seconds