Feature #4459

exported m3u playlist - add group-title= parameter

Added by kodiaq kodiaq 3 months ago. Updated 3 months ago.

Status:NewStart date:2017-06-26
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:IPTV
Target version:4.4

Description

tvh-tags="MUSIC"

from input M3U file translates to

channel tag="MUSIC"

in tvh webui, but generated output M3U file does not contain

group-title="MUSIC"

Implementation of group-title in output M3U file would allow clients like Smart IPTV, VLC etc. to group channels according to channel tag scheme.

History

#1 Updated by Jaroslav Kysela 3 months ago

It's a bit incosistent proposal. The channel in TVH can have multiple tags, so it's not so obvious which tag should be selected.

#2 Updated by kodiaq kodiaq 3 months ago

Know what you mean.

Input M3U can written as:

#EXTINF:-1 tvh-tags="MUSIC|GENERAL",MTV Live HD

or

#EXTINF:-1 tvh-tags="GENERAL|MUSIC",MTV Live HD

Output M3U file would than have the group-title inherited from the first tvh-tag.

#3 Updated by Jaroslav Kysela 3 months ago

But what tag is first? You can add also other tags to the channel - there's no order.

#4 Updated by kodiaq kodiaq 3 months ago

Agree.

There would have to be probably new tvh tag called "tvh-group" in the input file which could only have one name of the group category and that could be than somehow translated to group-title in the output M3U file.

I am sure Jaroslav you can already see in your mind dozen of possible solutions, but at least I gave you the first jog impulse :)

#5 Updated by saen acro 3 months ago

There is a some other M3U tags request
one of them is a user controllable export via UI

ex
export all services "by tag", "by caid", "by operator", "by language", "by type", "by source"

---------
there is a old history of closed tickets :)
#2257 #1908
---------
Programmers need to cure his allergy to write in Forum ;)

Solution can be implemented when #2762 is solved
transferred filtered info can generate playlist with all needed

#6 Updated by kodiaq kodiaq 3 months ago

I can see, not a straightforward solution for now.

Anyways thanks for quick reaction and great work :)

#7 Updated by Jaroslav Kysela 3 months ago

Another quick idea when I'm digging through this: Do this filtering and ordering at the export side. I just don't like to add extra flag/index to channel tags for m3u export. Use HTTP argument for the m3u playlist generator like '?group-title=tag1|tag2|tag3' and fill group-title for the first present channel tag from this list preserving the order.

#8 Updated by kodiaq kodiaq 3 months ago

It is similar idea that I've had, but you see into the programming side of it.

If it is something easy to implement/compile try to give it a go.

If not, than we can wait until the code is more ready for this to happen.

#9 Updated by Jaroslav Kysela 3 months ago

  • Target version set to 4.4

#10 Updated by Jaroslav Kysela 3 months ago

  • Subject changed from tvh-tags="MUSIC" ---> channel tag="MUSIC" ---> group-title="MUSIC" to exported m3u playlist - add group-title= parameter

#11 Updated by saen acro 3 months ago

Some of tags used by players are described on IP-TV Player page CLICK on Russian (bing translate, google translate etc. native reading ;) )

  • tvg-name / tvg-id - имя/идентификатор канала в файле телепрограммы (можно не указывать если совпадает с названием канала; id имеет приоритет над name)
  • tvg-shift - коррекция по времени, в часах (...-2, -1, 0, +1, +2, ...) <---EPG friendly
  • tvg-logo - имя логотипа канала из встроенной базы или папки Icons\имя.bmp (можно не указывать если совпадает с названием канала) или прямая ссылка на изображение png/jpg/gif/bmp (v8838 и выше)
  • aspect-ratio - соотношение сторон (None, 4:3, 16:9, ...) <---Very good to have, transcoding friendly
  • audio-track - номер аудио-дорожки (0, 1, 2, ...)
  • group-title - заголовок группы каналов

#12 Updated by Andreas Fornberg 3 months ago

Yeah this would be nice and that tvg-shift thing have been a request by me for a while now for example for +1 channels or if EPG is wrong of some other reason.

Also available in: Atom PDF