Kevinjil / Jellyfin.Xtream

The Jellyfin.Xtream plugin can be used to integrate the content provided by an Xtream-compatible API in your Jellyfin instance.
GNU General Public License v3.0
89 stars 6 forks source link

Forcing EPG Groups for channels #94

Open theqkash opened 2 months ago

theqkash commented 2 months ago

Hi,

I know that sorting channels is crazy issue in Jellyfin at all, but maybe it could be fixed in different way (at least for a while).

Generally, channels could be sorted by EPG type. There are generic categories which are supported by Jellyfin. Those are: Series, Movies, Sports, Kids, News.

Not many, but it works.

Except for Xstream, I use Threadfin for some publicly available channels, which lets user to set channel type from within groups mentioned above. Threadfin is some kind of proxy for iptv which allows you to reorder your channels, set some stuff, or even proxy iptv stream through ffmpeg located on Threadfin server. Finally it gives m3u, and xml file for EPG, which could be set up within Jellyfin.

Anyway, it has also some nice feature which is EPG-related, but not completly.

I can set that some channel is streaming NEWS.

If I do it, it puts: <category lang="en">news</category> in xml file with EPG, for all the shows on that channel.

When it is done, channel is put in category, which would be finally correctly retreived by Jellyfin. So, when I'm opening Live TV view in Jellyfin, I can see categories below, like Series, Movies, Sports, Kids, News and Threadfin channels which I have previously set to that categories.

So that way, I can assign channel to one of that groups and I can see channels from Threadfin within particular group.

But this cannot be done within Xstream plugin.

It would be really helpful if I could assign some live channels from Xstream live channel list, to some group. Like, for example if I have BBC on my Xstream list, I can assign it to NEWS category, so it will be visible in NEWS group in Live TV view in Jellyfin.

Thank you in advance!

MarkDarwin commented 4 days ago

@skysbird has done some excellent work here. Maybe this can be added into the plugin to save reinventing the wheel?