2021-01-02, 01:29 PM
My setup has run fine for months. This issue start about 2 weeks ago. Every day or so i get these issues now.
Live tv won't stream on any client even the one on the backend pc. I've picked through lots of settings and I'm puzzled. Rebooting the backend pc fixes the issue. Recorded tv or movies play fine.
My setup:
backend- Win10 pc on LAN
front end - KODI on NVIDIA shield tv
I also have KODI and NextPVR client installed on the backed machine for setup and troubleshooting.
If you search the log for "failed" or "root element is missing" you will find the errors.
For some reason I cannot a
upload the whole log.
2021-01-01 18:43:40.914 [DEBUG][90] Got request [192.168.0.146]: /services/service (channel.stream.start)
2021-01-01 18:43:40.914 [DEBUG][90] method=channel.stream.start
2021-01-01 18:43:40.914 [DEBUG][90] parameters:
2021-01-01 18:43:40.914 [DEBUG][90] method: channel.stream.start
2021-01-01 18:43:40.914 [DEBUG][90] channel_id: 7178
2021-01-01 18:43:40.914 [DEBUG][90] sid: e2a481fc90944af0a1a7522ccc1d0d09
2021-01-01 18:43:40.914 [DEBUG][90] client_ip: 192.168.0.146
2021-01-01 18:43:40.914 [DEBUG][90] user_agent: Kodi/18.9 (Linux; Android 9.0; SHIELD Android TV Build/PPR1.180610.011) Android/9.0.0 Sys_CPU/armv8l App_Bitness/32 Version/18.9-(18.9.0)-Git:20201023-0655c2c718
2021-01-01 18:43:40.914 [DEBUG][90] host_callback: 192.168.0.121:8866
2021-01-01 18:43:40.915 [DEBUG][90] StartStream(7178:FOX28)
2021-01-01 18:43:40.915 [DEBUG][90] looking for capture source (in reverse priority order)
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.916 [DEBUG][90] enabled and present
2021-01-01 18:43:40.916 [DEBUG][90] has channel
2021-01-01 18:43:40.916 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.916 [DEBUG][90] http://localhost:50520/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.929 [DEBUG][90]
2021-01-01 18:43:40.934 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.934 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.934 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.934 [DEBUG][90] enabled and present
2021-01-01 18:43:40.934 [DEBUG][90] has channel
2021-01-01 18:43:40.934 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.934 [DEBUG][90] http://localhost:50398/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.943 [DEBUG][90]
2021-01-01 18:43:40.943 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.943 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.943 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.943 [DEBUG][90] enabled and present
2021-01-01 18:43:40.943 [DEBUG][90] has channel
2021-01-01 18:43:40.943 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.943 [DEBUG][90] http://localhost:50403/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.951 [DEBUG][90]
2021-01-01 18:43:40.951 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.951 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.951 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.951 [DEBUG][90] enabled and present
2021-01-01 18:43:40.951 [DEBUG][90] has channel
2021-01-01 18:43:40.951 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.951 [DEBUG][90] http://localhost:50562/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.959 [DEBUG][90]
2021-01-01 18:43:40.959 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.959 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.959 [ERROR][90] Unable to start live stream for timeshift: Unable to find available capture device
(Root element is missing.)
2021-01-01 18:43:40.959 [DEBUG][90] <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="11" msg="Failed to start stream: Unable to find available capture device
(Root element is missing.)" />
</rsp>
Live tv won't stream on any client even the one on the backend pc. I've picked through lots of settings and I'm puzzled. Rebooting the backend pc fixes the issue. Recorded tv or movies play fine.
My setup:
backend- Win10 pc on LAN
front end - KODI on NVIDIA shield tv
I also have KODI and NextPVR client installed on the backed machine for setup and troubleshooting.
If you search the log for "failed" or "root element is missing" you will find the errors.
For some reason I cannot a
upload the whole log.
2021-01-01 18:43:40.914 [DEBUG][90] Got request [192.168.0.146]: /services/service (channel.stream.start)
2021-01-01 18:43:40.914 [DEBUG][90] method=channel.stream.start
2021-01-01 18:43:40.914 [DEBUG][90] parameters:
2021-01-01 18:43:40.914 [DEBUG][90] method: channel.stream.start
2021-01-01 18:43:40.914 [DEBUG][90] channel_id: 7178
2021-01-01 18:43:40.914 [DEBUG][90] sid: e2a481fc90944af0a1a7522ccc1d0d09
2021-01-01 18:43:40.914 [DEBUG][90] client_ip: 192.168.0.146
2021-01-01 18:43:40.914 [DEBUG][90] user_agent: Kodi/18.9 (Linux; Android 9.0; SHIELD Android TV Build/PPR1.180610.011) Android/9.0.0 Sys_CPU/armv8l App_Bitness/32 Version/18.9-(18.9.0)-Git:20201023-0655c2c718
2021-01-01 18:43:40.914 [DEBUG][90] host_callback: 192.168.0.121:8866
2021-01-01 18:43:40.915 [DEBUG][90] StartStream(7178:FOX28)
2021-01-01 18:43:40.915 [DEBUG][90] looking for capture source (in reverse priority order)
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.915 [DEBUG][90] enabled and present
2021-01-01 18:43:40.915 [DEBUG][90] does not have channel
2021-01-01 18:43:40.915 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.916 [DEBUG][90] enabled and present
2021-01-01 18:43:40.916 [DEBUG][90] has channel
2021-01-01 18:43:40.916 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.916 [DEBUG][90] http://localhost:50520/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.929 [DEBUG][90]
2021-01-01 18:43:40.934 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.934 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.934 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.934 [DEBUG][90] enabled and present
2021-01-01 18:43:40.934 [DEBUG][90] has channel
2021-01-01 18:43:40.934 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.934 [DEBUG][90] http://localhost:50398/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.943 [DEBUG][90]
2021-01-01 18:43:40.943 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.943 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.943 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.943 [DEBUG][90] enabled and present
2021-01-01 18:43:40.943 [DEBUG][90] has channel
2021-01-01 18:43:40.943 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.943 [DEBUG][90] http://localhost:50403/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.951 [DEBUG][90]
2021-01-01 18:43:40.951 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.951 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.951 [DEBUG][90] checking: IPTV (http://...)
2021-01-01 18:43:40.951 [DEBUG][90] enabled and present
2021-01-01 18:43:40.951 [DEBUG][90] has channel
2021-01-01 18:43:40.951 [DEBUG][90] live tv is possible
2021-01-01 18:43:40.951 [DEBUG][90] http://localhost:50562/stream/start?slip...FOX28-7.ts
2021-01-01 18:43:40.959 [DEBUG][90]
2021-01-01 18:43:40.959 [ERROR][90] Unexpected error on LocalRecorder.StartStream(): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-01-01 18:43:40.959 [ERROR][90] Unable to StartStream(): Root element is missing.
2021-01-01 18:43:40.959 [ERROR][90] Unable to start live stream for timeshift: Unable to find available capture device
(Root element is missing.)
2021-01-01 18:43:40.959 [DEBUG][90] <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="11" msg="Failed to start stream: Unable to find available capture device
(Root element is missing.)" />
</rsp>