11 hours ago
Hi
Due to the ongoing Jellyfin\Schedules direct integration issues, https://forum.jellyfin.org/t-schedulesdi...contact-me, I have resorted to using the tv_grab_zz_sdjson and outputting the xmltv to a flat file in a directory that my Jellyfin can access.
This normally works fine, but every so often (at least once a week if not twice) I see the following error in the logs:
[2025-04-27 14:28:04.160 +00:00] [INF] [70] Jellyfin.LiveTv.Listings.XmlTvListingsProvider: xmltv path: "/dvr/tvheadend/freeview.xml"
[2025-04-27 14:28:04.161 +00:00] [ERR] [70] Jellyfin.LiveTv.Guide.GuideManager: Error getting programs for channel "That's Dance"
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at Jellyfin.XmlTv.XmlTvReader.GetProgrammes(String channelId, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Listings.XmlTvListingsProvider.GetProgramsAsync(ListingsProviderInfo info, String channelId, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Listings.ListingsManager.GetProgramsAsync(ChannelInfo channel, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.DefaultLiveTvService.GetProgramsAsync(String channelId, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Guide.GuideManager.RefreshChannelsInternal(ILiveTvService service, IProgress`1 progress, CancellationToken cancellationToken)
and all of the freeview listings are deleted, together with any scheduled recordings.
The next time the schedules refresh runs the file is read correctly, and the listings restored. However the scheduled recordings (apart from "Programme" ones) are lost and I have to add them back.
Anyone got any ideas what the issue might be, and how to stop it?
Jellyfin is running as a docker container and is on version 10.10.7.
Thanks in advance.
Robert
Due to the ongoing Jellyfin\Schedules direct integration issues, https://forum.jellyfin.org/t-schedulesdi...contact-me, I have resorted to using the tv_grab_zz_sdjson and outputting the xmltv to a flat file in a directory that my Jellyfin can access.
This normally works fine, but every so often (at least once a week if not twice) I see the following error in the logs:
[2025-04-27 14:28:04.160 +00:00] [INF] [70] Jellyfin.LiveTv.Listings.XmlTvListingsProvider: xmltv path: "/dvr/tvheadend/freeview.xml"
[2025-04-27 14:28:04.161 +00:00] [ERR] [70] Jellyfin.LiveTv.Guide.GuideManager: Error getting programs for channel "That's Dance"
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at Jellyfin.XmlTv.XmlTvReader.GetProgrammes(String channelId, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Listings.XmlTvListingsProvider.GetProgramsAsync(ListingsProviderInfo info, String channelId, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Listings.ListingsManager.GetProgramsAsync(ChannelInfo channel, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.DefaultLiveTvService.GetProgramsAsync(String channelId, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Guide.GuideManager.RefreshChannelsInternal(ILiveTvService service, IProgress`1 progress, CancellationToken cancellationToken)
and all of the freeview listings are deleted, together with any scheduled recordings.
The next time the schedules refresh runs the file is read correctly, and the listings restored. However the scheduled recordings (apart from "Programme" ones) are lost and I have to add them back.
Anyone got any ideas what the issue might be, and how to stop it?
Jellyfin is running as a docker container and is on version 10.10.7.
Thanks in advance.
Robert