Project

General

Profile

Export m3u with tvg-id as channel_name value

Added by Pier Baudo over 4 years ago

Hi,
I use this http request to download a m3u list:

http://user:pass@IP:9981/playlist/tagid/my_d?profile=myprofile

and the output is in the form:

#EXTINF:-1 tvg-id="3ui12y3u12y321iu3y" tvg-chno="1", Channel_Name

Is it possible to perform the request to get in the m3u list the tag-id the value Channel_Name, like

#EXTINF:-1 tvg-id="Channel_Name" tvg-chno="1", Channel_Name

Thanks


Replies (8)

RE: Export m3u with tvg-id as channel_name value - Added by saen acro over 4 years ago

There is a option in user profile on latest 4.3 versions.

else
in beginning of XML file there is index of replaced values, with your EPG parser not respect.

RE: Export m3u with tvg-id as channel_name value - Added by Pier Baudo over 4 years ago

saen acro wrote:

There is a option in user profile on latest 4.3 versions.

Can you show me where I find this option? Thanks

RE: Export m3u with tvg-id as channel_name value - Added by saen acro over 4 years ago

It's called Format for xmltv output:

It's not show in "basic view"

RE: Export m3u with tvg-id as channel_name value - Added by Pier Baudo over 4 years ago

Thanks.

One more thing: when I use the above http request with user and pass the m3u resulting link does not contain the user and password that I need for authentication. Do you know how to have them in the resulting m3u?

RE: Export m3u with tvg-id as channel_name value - Added by saen acro over 4 years ago

Pier Baudo wrote:

Thanks.

One more thing: when I use the above http request with user and pass the m3u resulting link does not contain the user and password that I need for authentication. Do you know how to have them in the resulting m3u?

on password enable persistent authentication

http://user:pass@IP:9981/playlist/auth/channels

RE: Export m3u with tvg-id as channel_name value - Added by Pier Baudo over 4 years ago

saen acro wrote:

Pier Baudo wrote:

Thanks.

One more thing: when I use the above http request with user and pass the m3u resulting link does not contain the user and password that I need for authentication. Do you know how to have them in the resulting m3u?

on password enable persistent authentication

[...]

Thanks but why I cannot see the admin user account among the list of users to enable this option and I can enable it only to other users?

RE: Export m3u with tvg-id as channel_name value - Added by saen acro over 4 years ago

You use superuser account, that's why.
Create normal admin account, but for streaming use regular user without unneeded permissions.

RE: Export m3u with tvg-id as channel_name value - Added by alebupal alebupal over 4 years ago

Hi, I have 4.3-1857~g221c29b
I am exporting the m3u with the following url:
http://ip:9981/playlist/auth?auth=dasfdsfdsfdsfsdfsdf
I have this changed:
http://prntscr.com/rn5f58
But when exporting I still get the wrong id. Should we do something wrong?
http://prntscr.com/rn5hiu

    (1-8/8)