Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate Event Title format details #122

Open
cs50wrxtyr opened this issue Oct 28, 2024 · 0 comments
Open

Alternate Event Title format details #122

cs50wrxtyr opened this issue Oct 28, 2024 · 0 comments

Comments

@cs50wrxtyr
Copy link

I've figured out a few changes to the xmldata that allow the entries to closer match the linear channel format. This change will break existing passes but in my opinion better matches the channels format vs the long title used now.

EPLUSTV DB XML field Channels metadata
entry.sport title Title
entry.name "sub-title" EpisodeTitle

Here is the an example modified event in channels:

image

The events then group together under the Sport/title entry (ex NCAA Football, NFL, NHL) but don't combine with listings from the 'real' channels and the names are often different (NFL vs NFL Football or NCAA Football vs College Football)
Here is a search for "NCAA"
image

Here is a specific show listing when clicking NCAA Football in above search:
image

It seems to work with at least Paramount and ESPN+ but I don't have other services to test if entry.sport is a valid title.

In generate-xmltv.ts in the generateXml function I made the following changes:

     title: [
        {
          _attr: {
            lang: 'en',
          },
        },
        entry.sport ? entry.sport:entryName,
      ],
    },
    {
      "sub-title": [
        {
          _attr: {
            lang: 'en',
          },
        },
        entry.name,
      ],
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant