Jump to content

Help with proper structure of m3u and xml


markaisi

Recommended Posts

markaisi

My IPTV service provides a m3u and xml which I can use within emby but the xml is only daily which is a pain to upload all of the time and there are no png files which seem to work for the channels within emby and the shows do not get detailed information.  

 

This is how it is provided:

Here is the m3u....

#EXTM3U
#EXTINF:-1,. ABC
 
 
here is the xml...
<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv generator-info-name="My Streaming Server" generator-info-url="http://dexonline.ninja:8000/">
ABC</display-name><icon src="http://hostmybuild.com/logos/1/ABC.png"/></channel><channel id="I209.45507.schedulesdirect.org"><display-name>.
CBS</display-name><icon src="http://hostmybuild.com/logos/1/CBS%20USTV.png"/></channel><channel id="I2.11640.schedulesdirect.org"><display-name>. 
 
 
 
What I was looking to do was modify the m3u file in a way that I can use schedules direct as my xlm so that I can get a weeks worth of information to avoid getting it daily.  Also, with the png files it just looks more professional.
Here is what I tried. I do get the schedules direct information and images but when I try to click on the channel it just gives the spinner that it is loading.  Any help would be greatly appreciated.  Have spent many hours trying to do this myself so now I am asking for help.
 
#EXTM3U
#EXTINF:-1, tvg-id="45507" channel-id="ABC" tvg-name="ABC"
tvg-logo="http://hostmybuild.com/logos/1/ABC.png"group-title="Entertainment",ABC
#EXTINF:-1, tvg-id="19611" channel-id="CBS HD" tvg-name="CBS HD"
tvg-logo="http://hostmybuild.com/logos/1/CBS%20USTV.png"group-title="Entertainment" CBS HD
 
The xml will be schedules direct.
When I set this up this way it also organizes them with the tvg-id number and I would love to have it organized by the channel number.  Any suggestions?  
 
Thank you again for any help. 
 
Edited by markaisi
Link to comment
Share on other sites

maegibbons

The important thing is that the tvg-id is set to the same as the FULL channel-id in the SD xmltv.

 

"I209.45507.schedulesdirect.org"

 

KRS

Mark

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...