• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Occasional issues importing XMLTV Guide

     
    • 0 Vote(s) - 0 Average

    Occasional issues importing XMLTV Guide

    Issues reading XMLTV from file
    bobsey
    Offline

    Junior Member

    Posts: 4
    Threads: 3
    Joined: 2023 Jul
    Reputation: 0
    Country:United Kingdom
    #1
    2025-04-28, 05:40 PM
    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
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode