Not seeing Guide Data from an XML file

I created a XML file from ChatGPT from the Dallas Stars Pre Season games and here below is what it looks like. I am at a loss as to why it's not populating in the guide? I can select it in the drop down but it's not populating in the guide.

<tv xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="resources/xmltv.xsd">
  <channel id="Victory+">
    <display-name>Dallas Stars Schedule</display-name>
  </channel>
  <programme channel="5031" start="2024-09-21T18:00:00-05:00" stop="2024-09-21T21:00:00-05:00">
    <title>Dallas Stars vs. St. Louis Blues</title>
    <desc>Preseason Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-09-23T20:00:00-05:00" stop="2024-09-23T23:00:00-05:00">
    <title>Dallas Stars at Colorado Avalanche</title>
    <desc>Preseason Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-09-25T19:00:00-05:00" stop="2024-09-25T22:00:00-05:00">
    <title>Dallas Stars vs. Minnesota Wild</title>
    <desc>Preseason Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-09-27T19:00:00-05:00" stop="2024-09-27T22:00:00-05:00">
    <title>Dallas Stars vs. Colorado Avalanche</title>
    <desc>Preseason Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-09-29T17:00:00-05:00" stop="2024-09-29T20:00:00-05:00">
    <title>Dallas Stars at Minnesota Wild</title>
    <desc>Preseason Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-10-03T19:00:00-05:00" stop="2024-10-03T22:00:00-05:00">
    <title>Dallas Stars at St. Louis Blues</title>
    <desc>Preseason Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-10-10T19:00:00-05:00" stop="2024-10-10T22:00:00-05:00">
    <title>Dallas Stars at Nashville Predators</title>
    <desc>Regular Season Game</desc>
  </programme>
  <programme channel="Victory+" start="2024-10-12T19:00:00-05:00" stop="2024-10-12T22:00:00-05:00">
    <title>Dallas Stars vs. New York Islanders</title>
    <desc>Regular Season Game, Home Opener</desc>
  </programme>
</tv>

What does your Custom M3U Channel source look like?
Does it have a playlist?

Start/stop are malformed

#EXTM3U

#EXTINF:-1 channel-id="Victory+" channel-number="5031" tvg-logo="/Volumes/4TB/Channels DVR/Victory/VICTORY-1068x601.jpeg" tvg-name="Victory+" tvc-guide-genres="Sports" tvc-guide-tags="Live" tvc-stream-vcodec="h264" tvc-stream-acodec="aac",Victory
http://192.168.254.125/0.ts

What does that mean?

They need to be formatted as:

YYYYMMDDHHMMSS ±HHMM

Thank you! Fixed it, going to check to see if this works.

Fixed. It is showing up in the guide data. How would I be able to get the nice graphics from Gracenote like they for the regular sports games?

<programme start="20240921180000 -0500" stop="20240921210000 -0500" channel="Victory+">
    <title>St. Louis Blues vs Dallas Stars</title>
    <desc>St. Louis Blues at American Airlines Center</desc>
    <category lang="en">Hockey</category>
    <location>American Airlines Center</location>
  </programme>

The artwork either comes from gracenote when you have a valid stationId in the playlist and get guide data from gracenote, or you have to supply it in the XMLTV guide data, or edit the artwork in the recording after you recorded them in CDVR. Don't know of any other way.

Thanks for that information!

I have not tested it myself but this is from chatGPT:

Yes, it is possible to include artwork in an XMLTV file for programs. You can use the <icon> tag to specify images such as program logos¹². Here's a basic example of how you might include an image:

<programme start="20240101000000 +0000" stop="20240101010000 +0000" channel="example_channel">
  <title>Example Program</title>
  <desc>This is an example program description.</desc>
  <icon src="https://example.com/path_to_image.jpg" />
</programme>

Some platforms, like Emby, also support additional tags like <image> for more specific types of artwork, such as posters and backdrops¹. Here's an example:

<programme start="20240101000000 +0000" stop="20240101010000 +0000" channel="example_channel">
  <title>Example Program</title>
  <desc>This is an example program description.</desc>
  <icon src="https://example.com/path_to_logo.jpg" />
  <image type="poster" src="https://example.com/path_to_poster.jpg" />
  <image type="backdrop" src="https://example.com/path_to_backdrop.jpg" />
</programme>

This way, you can enhance the visual experience of your TV guide by including relevant artwork.

Is there a specific platform or tool you're using to view the XMLTV file?

Source: Conversation with Copilot, 9/17/2024
(1) Enhancing XMLTV with TMDB Data: Specifying Posters and Backdrops. Enhancing XMLTV with TMDB Data: Specifying Posters and Backdrops - Live TV - Emby Community.
(2) Program images/icons/artwork in EPG - MediaPortal. Program images/icons/artwork in EPG | MediaPortal - An Open Source Windows Media Center for FREE!.
(3) GitHub - XMLTV/xmltv: Utilities to obtain, generate, and post-process .... GitHub - XMLTV/xmltv: Utilities to obtain, generate, and post-process TV listings data in XMLTV format.
(4) undefined. 50 minutes inside (TV Series) — The Movie Database (TMDB).
(5) undefined. https://example.com/url_to_program_logo.jpg.
(6) undefined. https://example.com/url_to_program_poster.jpg.
(7) undefined. https://example.com/url_to_program_backdrop.jpg.
(8) undefined. CVS Info for project xmltv.
(9) undefined. MediaPortal-1/TvEngine3/TVLibrary/TVDatabase/Program.cs at master · MediaPortal/MediaPortal-1 · GitHub.
(10) undefined. pvr.mediaportal.tvserver/src/pvrclient-mediaportal.cpp at master · kodi-pvr/pvr.mediaportal.tvserver · GitHub.

As always, the answer from an AI may not always be accurate but should get you closer to the final solution.

2 Likes

In the future, how are we going to know if your reply is A.I. , or you? :grinning:

1 Like

For real for real! :joy:

Maybe a shared secret, secret handshake, or your IP address to confirm?
I am Not a Robot! :rofl:

What tag do I add to get it to pop up in my sports collection?

<programme start="20240925190000 -0500" stop="20240925220000 -0500" channel="Victory+">
  <title>Dallas Stars vs Minnesota Wild</title>
  <desc>Preseason game at American Airlines Center</desc>
  <category lang="en">Sports event</category>
  <category lang="en">Hockey</category>
  <genre>Live Sports</genre>
  <live>yes</live>
  <location>American Airlines Center</location>
  <icon src="https://www.americanairlinescenter.com/assets/img/2324_665x734__MIN-5816aa490b.jpg" />
</programme>

This is correct.

Does that airing appear in the Channels DVR grid guide?

Hockey should be the Genre, not a Category.
Not sure if that's making your collection miss it.

I think if you just leave the category Hockey alone and change the genre to Hockey, CDVR will pick up the genre.

<category lang="en">Sports event</category>
<category lang="en">Hockey</category>
<genre>Hockey</genre>
<live/>

Just verified it

"Categories": ["Sports event"],
"Genres": ["Hockey"],
"Tags": ["Live"],

1 Like

I played around a bit more and it seems as long as you have both of these
<category lang="en">Sports event</category>
<category lang="en">Hockey</category>

Channels DVR ignores the genre
<genre>Hockey</genre>

These all show as Live, Hockey, Sports event in Channels DVR

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="resources/xmltv.xsd">
  <channel id="TestEPG">
    <display-name>TestEPG channel</display-name>
  </channel>
  <programme start="20240929170000 -0700" stop="20240929200000 -0700" channel="TestEPG">
    <title>Team1 vs. Team2</title>
    <desc>Live Hockey Sports event (Hockey)</desc>
    <category lang="en">Sports event</category>
    <category lang="en">Hockey</category>
    <genre>Hockey</genre>
    <live/>
  </programme>
  <programme start="20240930170000 -0700" stop="20240930200000 -0700" channel="TestEPG">
    <title>Team3 at Team4</title>
    <desc>Live Hockey Sports event (Baseball)</desc>
    <category lang="en">Sports event</category>
    <category lang="en">Hockey</category>
    <genre>Baseball</genre>
    <live/>
  </programme>
  <programme start="20241001170000 -0700" stop="20241001200000 -0700" channel="TestEPG">
    <title>Team5 vs. Team6</title>
    <desc>Live Hockey Sports event (Basketball)</desc>
    <category lang="en">Sports event</category>
    <category lang="en">Hockey</category>
    <genre>Basketball</genre>
    <live/>
  </programme>
  <programme start="20241002170000 -0700" stop="20241002200000 -0700" channel="TestEPG">
    <title>Team7 at Team8</title>
    <desc>Live Hockey Sports event (Football)</desc>
    <category lang="en">Sports event</category>
    <category lang="en">Hockey</category>
    <genre>Football</genre>
    <live/>
  </programme>
  <programme start="20241003170000 -0700" stop="20241003200000 -0700" channel="TestEPG">
    <title>Team9 vs. Team10</title>
    <desc>Live Hockey Sports event (Soccer)</desc>
    <category lang="en">Sports event</category>
    <category lang="en">Hockey</category>
    <genre>Soccer</genre>
    <live/>
  </programme>
  <programme start="20241004170000 -0700" stop="20241004200000 -0700" channel="TestEPG">
    <title>Team11 at Team12</title>
    <desc>Live Hockey Sports event (Tennis)</desc>
    <category lang="en">Sports event</category>
    <category lang="en">Hockey</category>
    <genre>Tennis</genre>
    <live/>
  </programme>
</tv>

Even the ones with these genres
<genre>Baseball</genre>
<genre>Basketball</genre>
<genre>Football</genre>
<genre>Soccer</genre>
<genre>Tennis</genre>

This is what I had my most recent game this afternoon and it's not showing up in my Sports Collection. But it is being categorized as a Sports event and genre is Hockey for when I go check the metadata. I am running on version 2024.09.10.2115 maybe I need to update to the latest pre-release.

<programme start="20240925190000 -0500" stop="20240925220000 -0500" channel="Victory+">
  <title>Dallas Stars vs Minnesota Wild</title>
  <desc>Preseason game at American Airlines Center</desc>
  <category lang="en">Sports event</category>
  <category lang="en">Hockey</category>
  <genre>Hockey</genre>
  <live>yes</live>
  <location>American Airlines Center</location>
  <icon src="https://www.americanairlinescenter.com/assets/img/2324_665x734__MIN-5816aa490b.jpg" />
</programme>