• 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 XMLTV numbering issue

     
    • 0 Vote(s) - 0 Average

    XMLTV numbering issue

    ftcpr
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #1
    2025-01-06, 05:08 PM
    Happy New year everyone!

    Having a weird issue with XMLTV file.

    New to Jellyfin and the forum, been messing around with it for over a week and worked out most issues. This one is tripping me up and I can't find another post in the forum with the same exact issue.

    For some reason The episode and season show as +1. E.A. If XMLTV file has season 2 episode 15, Jellyfin guide will show the same episode as season 3 episode 16.

    Attached a screen shot showing the data on the XML file from the console, vs the GUI vs website program data. where both XML and website are matching but Jellyfin is showing +1 on the season and +1 on the episode.

    Running on Arch Linux
    AMD FX9590
    Nvidia GTX 970

    :    
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-06, 07:59 PM
    What server version are you running?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ftcpr
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #3
    2025-01-06, 08:56 PM
    Hey TDP, thanks for coming back!

    Server version
    10.10.3
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-06, 09:25 PM
    Can you clear your browser cache and check again? I'm not able to replicate and I don't see any open issues in our github that resemble this.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ftcpr
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #5
    2025-01-07, 12:46 AM
    I know it's very weird.

    Same issue across all clients, web client , android. windows client, etc.

    Here is another show on another channel, same problem.

    :    
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,159
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #6
    2025-01-07, 01:29 AM (This post was last modified: 2025-01-07, 03:07 AM by theguymadmax. Edited 2 times in total.)
    The xmltv_ns format uses zero-based indexing, meaning it expects values to start from 0 instead of 1. This is in contrast to common TV metadata formats, which typically use one-based indexing (starting from 1).

    The method used to parse this format correctly adds 1 to the season and episode numbers to convert them to one-based indexing, which is the expected behavior for TV listings. Therefore, it appears that the data guide you referenced may be incorrect, as it doesn't account for the difference in indexing systems.

    Here is an example from my XML guide:

    Code:
    <episode-num system="common">S08E13</episode-num>
    <episode-num system="dd_progid">EP00080955.0182</episode-num>
    <episode-num system="xmltv_ns">7.12.</episode-num>

    Season 7 (Zero-based, so it's actually the 8th season).
    Episode 12 (Zero-based, so it's actually the 13th episode).
    1
    1
    ftcpr
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #7
    2025-01-07, 03:08 AM
    Very interesting, you made me check the listing on the HDHomerun windows app to see if the same was happening there but not so. They show properly on that app.

    The script I am using was pulled from here "https://github.com/andyg5000/HdHomeRunEpgXml"

    Will look closer at the Wiki and see if I am missing something. Not sure if a different version of python would affect it.

    Thanks again for the direction, need alot more learning to do.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,159
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #8
    2025-01-07, 03:18 AM (This post was last modified: 2025-01-07, 03:19 AM by theguymadmax. Edited 1 time in total.)
    It's generating fake and incorrect data at this line.
    « 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