Cian Posted February 12, 2018 Share Posted February 12, 2018 (edited) 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 February 12, 2018 by Cian Quote Link to comment
Griga Posted February 12, 2018 Share Posted February 12, 2018 http://www.dvbviewer.tv/forum/topic/59621-media-server-2x-api-changes/?tab=comments#comment-468340 Search for m3u. If you want a more specific reply, please describe more specifically what you want. Quote Link to comment
Cian Posted February 12, 2018 Author Share Posted February 12, 2018 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. Quote Link to comment
Griga Posted February 12, 2018 Share Posted February 12, 2018 What is the desired content of the m3u? Quote Link to comment
Cian Posted February 13, 2018 Author Share Posted February 13, 2018 (edited) 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 Namehttp://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 February 13, 2018 by Cian Quote Link to comment
Griga Posted February 13, 2018 Share Posted February 13, 2018 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... Quote Link to comment
Cian Posted February 13, 2018 Author Share Posted February 13, 2018 And what would it be from a remote client with username and password? Quote Link to comment
Griga Posted February 13, 2018 Share Posted February 13, 2018 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 Quote Link to comment
Cian Posted February 13, 2018 Author Share Posted February 13, 2018 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.