Kodi Community Forum

Full Version: Multiple groups for each channel in the M3U file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

This is my example playlist M3U:
Code:
#EXTM3U
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="Group3",Channel 1 (Group3)
http://example.com/ch1.mp4
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="??",Channel 2 (Group1,Group3)
http://example.com/ch2.mp4
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="??",Channel 3 (Group1,Group2)
http://example.com/ch3.mp4
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="??",Channel 4 (Group1,Group2,Group3)
http://example.com/ch4.mp4
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="??",Channel 5 (Group2,Group3)
http://example.com/ch5.mp4

How can I declare multiple groups for each channel in this M3U file?
I've written examples of groups in parentheses. How to put this example groups from parentheses in to "group-title" tag?
Use the semicolon as a separator, like this:
Code:
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="Group1;Group2;Group3",Channel 4
http://example.com/ch4.mp4
It work! THX
It did not work for me ....
What version of Kodi and IPTV Simple Client are you using ....?

I saw in another thread a suggestion to replicate the whole entry changing the group-title and saying it will not appear twice in the main index... I didn't like that. I would prefer to use the semi-colon option instead of duplicating entries.

Thanks.
I found this ..
 v3.2.1 - Added support for multiple groups per channel, separated by semicolon
I am using v2.4.11 from Raspbian based on jessie. I will try to build the latest. Thanks.
v3.2.11 doesn't work with kodi 17.3 that I have installed from the distro.
I tried to build other commits without success.

Now, another try, I am going to build iptv simple client using kodi commit from 17.3 and iptv simple commit from 2.4.14 (backport with the feature) .. Let's see ... Thanks.
It worked. Tricky. The cmake command line also changes as the path from kodi 17.3 sources are different.
In same topic, because it's quite similar result / solution (but in other way).

Mayby it will by possible to make multiple choice for grupus?
To chose in group windows two, or more groups to view.

ie.
I chose groups Movies, Sport, News -> press ok, and I see all chanells from groups Movies, Sport, News.

It will be much easier to use (no need to edit m3u file whenever provider change something, or change m3u list to antoher provider).

Exactly multiple choice like it is possible in choosing subtitle language in
Setings -> Player -> Language -> Languages to download subtitles for

Is it possible to make?


PS. Sorry for my english.
(2018-01-04, 06:58)shobra Wrote: [ -> ]Use the semicolon as a separator, like this:
Code:
#EXTINF:-1 tvg-id="x" tvg-logo="x" group-title="Group1;Group2;Group3",Channel 4
http://example.com/ch4.mp4
Is that can be used with any iptv player, or only KODI?
Nested groups? (Like: group="Music" subgroup="Classical"?)
(2022-03-23, 21:42)DiMag Wrote: [ -> ]Nested groups? (Like: group="Music" subgroup="Classical"?)

No, I’m afraid not. Kodi PVR only supports one level of grouping currently.
Thanks. (I established the same after some trials, but still thanks for stopping me from trying any more.)

The only shortcut I can think of (and indeed am using) is to use the ; to separate groups and provide the main group as the first group.
Correct, that the best method. Putting a channel with the main group first makes a lot of sense.