Jump to content

URL for m3u file and EPG for IPTV Player


Cian

Recommended Posts

  Is there a url to allow MediaServer to provide an IPTV player (something like perfect player) with an m3u file and xml EPG link?

 

I am looking for something in this format:

 

http://mymediaserver.web:8089/get.php?username=myusername&password=mypassword&type=m3u_plus&output=ts

 

http://mymediaserver.web:8089/xmltv.php?username=myusername&password=mypassword

 

Edited by Cian
Link to comment

That API is way beyond anything that I have any chance of using. I haven't programmed in decades (that was when C had only just received it's first +!).

 

This video shows how to enter the URL in Perfect Player, but I would like a URL that points to my DVBViewer Media Server at home. I just don't know if that functionality exists in DVBViewer MS.

 

Sorry if I'm not being clear - I don't really know how to put it any other way.

 

Thanks,

 

C.

Link to comment

There are two versions of the m3u file - a simple file format or an extended 'plus' format that contains grouping information.

 

The basic format is as follows:

 

#EXTM3U
#EXTINF:-1,Station Name

http://mymediaserver.web:8089/live/myusername/mypassword/station1.ts

 

The format of the m3u_plus file is as follows:

 

#EXTM3U
#EXTINF:-1 tvg-id="Station_name" tvg-name="Station Name" tvg-logo="" group-title="Folder Name",Station Name
http://mymediaserver.web:8089/live/myusername/mypassword/station1.ts

 

I have also seen versions where the stream link has the following format:

 

http://mymediaserver.web:8089/live/myusername/mypassword/station1.m3u8

 

EDIT: Doh! Of course I'm being stupid - this is the kind of file that gets imported into DVBViewer for IPTV Streams so you understand the format better than I do. Sorry.

 

C.

Edited by Cian
Link to comment

It's easy to get a channel list as M3U from the DMS that contains URLs for all channels or a selection of channels. E.g. try

 

http://127.0.0.1:8089/channels.m3u

 

in a browser on the PC where the DMS is running. Download the M3U and have a look inside by using a text editor. It contains an URL for each channel, e.g.

 

#EXTINF:-1,arte HD
http://127.0.0.1:7522/upnp/channelstream/2359890582722586686%7Carte%20HD.ts

 

Every HTTP client can get the channel list in this way. However, the DMS does not support the tvg tags as shown in your post. Maybe a future extension will provide them...

 

Link to comment

Get the "outside" DMS IP address (the one of the network adapter in the server PC) from the DMS Web Interface -> Status Page -> Webserver IPs section:

 

http://username:password@IP:8089/channels.m3u

 

Link to comment

That works from the web browser, but not on the IPTV player. Don't know what way the IPTV players pull in the m3u list, but it doesn't like it!

 

It would have made things a little more convenient, but it's not that important.

 

Thanks for you time.

 

C.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...