Closed nwh3365 closed 1 year ago
Closing this issue as it does not document a Jellyfin bug. Your request is precisely how this functionality already works. But the category information needs to be provided for Jellyfin via your Live TV provider's XML data or Jellyfin cannot filter based on the categories. If that information is provided, the filters work as you expect.
I respectfully disagree. The category information is present in the XML file. I can see it, as can Jellyfin as confirmed in the screenshots provided that show color-coded programming based on Jellyfin categories. However, Jellyfin does not filter correctly based on these categories via the category checkbox selections. Here are a few examples from my original post, with supporting screenshots provided above:
If I uncheck everything except Sports, all channels are removed entirely (they aren't listed at all) even though there are programs in the Sports category; expected to see all sports programs
If I uncheck everything except News, all channels are removed entirely (they aren't listed at all) even though there are programs in the News category; expected to see all news programs
I tested this before closing it and I am unable to reproduce this issue with my XML. If the information is present (and correctly formatted) the filtering works as expected.
This is everything:
This is only movies:
This is only kids programming:
It is correctly filtering my channels according to the data contained in my XML. I'm afraid that this issue looks unique to your XML.
To be clear: these tags are per channel, and not per program. If you are expecting the channels to filter based exclusively on what is airing at the time, it does not work that way.
Please describe your bug
Jellyfin v10.8.10; Docker image running on Ubuntu 22.04 server x64; New install of Ubuntu and Jellyfin; minimal configuration (basic configuration items like name, local network, HTTPS, SSL cert, add two HDHomerun tuners, TV Guide data provider (XMLTV via zap2xml), single user defined at initial configuration).
Under Live TV > Guide > ... Menu, there is a section called Categories with four checkboxes for movie, sports, kids, and news. My expectation is that these checkboxes control which channels and which types of programs are displayed in the guide (e.g., if I only check movie, I should only see the channels that include programs in the movie category, and I should only see the programs on those channels that are in the movie category; if I check Sports and News, I should only see channels with programs that are in the sports or news categories, and only the programs that are in either of those categories, etc.). The results of selecting various checkboxes are not as expected (see examples below). I do not see any log entries generated while navigating through the examples below.
Examples:
I initially experienced this issue with a full 7-day guide, however to demonstrate the issue on a smaller, simpler scale, I reduced the current xmltv.xml file as produced by zap2xml by only keeping one program from each category (movie, sports, kids, news) and one program with no category assigned. I then assigned the programs to sequential channels, and set them all to the same start/end time. This allows me to quickly and easily demonstrate the issue visually as all the programs appear together on a single page of the guide. Note that all I'm demonstrating is the guide display issue; I'm not concerned with actually watching the programs so the channels and times associated with the programs are not relevant.
Attached files include screenshots of each example (snapxxxxxx.png as indicated below), and the xmltv.xml (xmltv.txt) file that was used for the examples.
Open Live TV > Guide > ... Menu, then select Categories as follows: snap400114.png: If I check everything, all channels and all programs are shown, including uncategorized programs (GREEN, PURPLE, DARK BLUE, LIGHT BLUE, NO COLOR); expected This selection illustrates that there are five programs in the guide, one in each category/color plus one that has no category assigned.
Selecting only one category at a time: snap400115.png: If I uncheck everything except Movie, only channels with movie programs are listed, and only the movie programs are listed (PURPLE); expected snap400116.png: If I uncheck everything except Sports, all channels are removed entirely (they aren't listed at all) eventhough there are programs in the Sports category; expected to see all sports programs snap400117.png: If I uncheck everything except Kids, only channels with kids programs are listed, and only the kids programs are listed (LIGHT BLUE); expected snap400118.png: If I uncheck everything except News, all channels are removed entirely (they aren't listed at all) eventhough there are programs in the News category; expected to see all news programs
Selecting all but one category at a time: snap400119.png: If I check everything except Movie, all I see are Kids programs; expected to see all programs except movie programs snap400120.png: If I check everything except Sports, all channels are removed entirely; expected to see all programs except sports programs snap400121.png: If I check everything except Kids, all channels are removed entirely; expected to see all programs except kids programs snap400122.png: If I check everything except News, all channels are removed entirely; expected to see all programs except news programs
snap400123.png: If I check nothing, all channels are shown, but no programs are shown, not even the uncategorized program.
snap400124.png: If I again check everything, all channels and all programs are shown, including programs that don't have a category assigned (same as initial example)
Question/Discuss: How are (or should) programs that are in categories other than the four checkbox categories, and programs that are not assigned a category, be handled? I would expect these programs to appear when all categories are selected and when no categories are selected, but it may make sense to have a separate checkbox to handle programs that are in categories other than the existing checkbox categories, or that are uncategorized (i.e., other/uncategorized).
I have not tested scenarios where a program is in multiple categories (e.g., a sports movie), but would expect it to show up if either sports or movie is selected.
The results above are from my simplified xmltv.xml EPG data. When using the complete file as generated by zap2xml, the results are more difficult to interpret because programs that could be causing a channel to appear in the list may be several hours, or even days later in the guide. The results seemed to vary from the examples above, but the results were similarly incorrect (e.g., only seeing one or some categories when other categories are also selected and programs in those categories are present in the guide). I might see programs listed when either movie or kids is selected, but see nothing when sports or news is selected, when I can see sports and news programs in the guide if all categories are selected and thus know that they exist.
xmltv.txt
Jellyfin Version
10.8.z
if other:
10.8.10
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
N/A
Please attach any screenshots here
Code of Conduct