• 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

    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
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    XMLTV numbering issue - by ftcpr - 2025-01-06, 05:08 PM
    RE: XMLTV numbering issue - by TheDreadPirate - 2025-01-06, 07:59 PM
    RE: XMLTV numbering issue - by ftcpr - 2025-01-06, 08:56 PM
    RE: XMLTV numbering issue - by TheDreadPirate - 2025-01-06, 09:25 PM
    RE: XMLTV numbering issue - by ftcpr - 2025-01-07, 12:46 AM
    RE: XMLTV numbering issue - by theguymadmax - 2025-01-07, 01:29 AM
    RE: XMLTV numbering issue - by ftcpr - 2025-01-07, 03:08 AM
    RE: XMLTV numbering issue - by theguymadmax - 2025-01-07, 03:18 AM

    • 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