Feature #4459

exported m3u playlist - add group-title= parameter

Added by kodiaq kodiaq over 1 year ago. Updated 10 months ago.

Status:NewStart date:2017-11-20
Priority:NormalDue date:
Assignee:-% Done:

100%

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.


Subtasks

Feature #4731: Exporting M3U file with group-titleRejected

History

#1 Updated by Jaroslav Kysela over 1 year 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 over 1 year 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 over 1 year ago

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

#4 Updated by kodiaq kodiaq over 1 year 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 over 1 year 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 over 1 year ago

I can see, not a straightforward solution for now.

Anyways thanks for quick reaction and great work :)

#7 Updated by Jaroslav Kysela over 1 year 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 over 1 year 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 over 1 year ago

  • Target version set to 4.4

#10 Updated by Jaroslav Kysela over 1 year 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 over 1 year 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 over 1 year 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.

#13 Updated by Andreas Fornberg 10 months ago

Anyone working on this?

#14 Updated by Pablo R. 10 months ago

Andreas Fornberg wrote:

Anyone working on this?

I would like to see that soon... ;)

#15 Updated by saen acro 10 months ago

Pablo Rodríguez wrote:

Andreas Fornberg wrote:

Anyone working on this?

I would like to see that soon... ;)

+1 if some one start with this

also this

#EXTM3U x-tvg-url="EPG_url" 

will be very good

#16 Updated by Mono Polimorph 10 months ago

Hi,

I'm not using this functionality at time. However, sometime ago I have tested the IPTV client in some smartTVs. So I have this suggestion:

  • Instead of using fixed tags, let the user to assign the name of the tag. This is needed because the M3U tags aren't (at time) standarized. So, the idea can be let the user to replace the name.

You agree?

#17 Updated by Pablo R. 10 months ago

Mono Polimorph wrote:

Hi,

I'm not using this functionality at time. However, sometime ago I have tested the IPTV client in some smartTVs. So I have this suggestion:

  • Instead of using fixed tags, let the user to assign the name of the tag. This is needed because the M3U tags aren't (at time) standarized. So, the idea can be let the user to replace the name.

You agree?

Looks good too

#18 Updated by saen acro 10 months ago

In most of smarttv's SSIPTV app can be very good if some tags are added

#19 Updated by Andreas Fornberg 10 months ago

Mono Polimorph wrote:

Hi,

I'm not using this functionality at time. However, sometime ago I have tested the IPTV client in some smartTVs. So I have this suggestion:

  • Instead of using fixed tags, let the user to assign the name of the tag. This is needed because the M3U tags aren't (at time) standarized. So, the idea can be let the user to replace the name.

You agree?

And if you have many channels and groups?
That will be a lot of work for something simple just export as "group-title" that all clients i have seen supports.

#20 Updated by Andreas Fornberg 10 months ago

Ok multiple groups have no standard yet but in that case maybe export with tag with highest priority first or something.

Also available in: Atom PDF