Jump to content

Question about my mc2xml data


Econaut
Go to solution Solved by Luke,

Recommended Posts

mc2xml fetches from zap2 like zap2xml (used that and it worked but it has terrible icons). It's around 250MB so it's definitely got some contents. Tried UTF-8 encoding also but same result.

 

Not sure what's going on. The refresh guide data task takes a while to perform so it's not outright failing but nothing shows up on the Live TV page:

 

5a2e237c82e17_mc2xml.png

2017-12-11 01:21:22.972 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:21:25.917 Info App: Found epg channel in XmlTV null 2 [channel]
...
every channel gets recognized here (about 2000 it seems) - looks the same as above
...
2017-12-11 01:21:26.006 Info App: Refreshing guide with 7 days of guide data
2017-12-11 01:21:26.031 Info HttpClient: POST: https://mb3admin.com/admin/service/registration/validate
2017-12-11 01:21:26.411 Info SecurityManager: Registered for feature xmltv
2017-12-11 01:21:26.423 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:21:33.231 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:21:40.039 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:21:46.971 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:21:53.764 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:00.563 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:07.302 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:13.945 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:20.702 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:28.115 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:35.169 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:41.846 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:48.726 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:22:55.568 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:23:02.164 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:23:08.890 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:23:15.698 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:23:22.479 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
2017-12-11 01:23:29.358 Info App: xmltv path: /var/lib/emby/xmltv/xmltv.xml
Edited by Xen0sys
Link to comment
Share on other sites

@@Luke I did post all that happened when I attempted to refresh the TV Guide.

 

Is there something else you are looking for?

 

I PM'ed you with the whole log.

Link to comment
Share on other sites

The log you provided doesn't contain a guide refresh so there isn't much to see. have you ensured that the tuner channels are mapped properly to the guide data channels?

Link to comment
Share on other sites

Even the one in the PM?

 

Hmm. Yeah they matched. I also have Debug logging enabled if that matters.

 

I clicked the 'Refresh Guide Data' button and then waited a couple minutes before grabbing the log.

 

The Guide Refresh does take some time (several minutes)

Link to comment
Share on other sites

Well I tried opening it once upon a time but it just hung for several minutes :)

 

Thought maybe that wasn't a good idea.

 

I'll try again. Does it need to be encoded in UTF-8 or is ISO-8859-1 ok?

Link to comment
Share on other sites

@@Luke

 

Yup it looks OK to me (there are program groupings also)

 

Not working:

<channel id="I502.28456663.microsoft.com">
    <display-name>502 WGBHDT</display-name>
    <display-name>502</display-name>
    <display-name>WGBHDT</display-name>
    <display-name>WGBHDT (WGBH-DT)</display-name>
    <display-name>PBS Affiliate</display-name>
</channel>

From a working xmltv file:

<channel id="I28055.labs.zap2it.com">
    <display-name>502 WGBHDT</display-name>
    <display-name>502</display-name>
    <display-name>WGBHDT</display-name>
    <icon src="http://images.zap2it.com/station_logo/pbs_affiliate.gif" />
</channel>

Not sure why there are so many display names though...

 

Some differences:

 

Not working:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-name="Zap2it" generator-info-name="mc2xml" generator-info-url="mailto:mc2xml@[member="gmail"].com">

Worked:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-url="http://tvschedule.zap2it.com/" source-info-name="zap2it.com" generator-info-name="zap2xml" generator-info-url="zap2xml@[member="gmail"].com">
Edited by Xen0sys
Link to comment
Share on other sites

I do yeah. The differences code-wise are at least what's shown above but maybe more. The one that doesn't work is all inclusive and has all channels whereas the one that works only has some favorited channels.

 

The mc2xml (not working) script for grabbing the lineup is much cleaner and faster. It grabs a pre-fetched file as opposed to the zap2xml (working) perl script which seems to go one by one fetching everything and takes a very, VERY long time.

 

I was also hoping to see better channel logos from the mc2xml but it looks like it just has none. Still better even without.

Edited by Xen0sys
Link to comment
Share on other sites

@@Luke Certainly:

 

They are both freely available:

 

zap2xml:

 

Overview: http://zap2xml.awardspace.info/

Account: http://tvschedule.zap2it.com

Download: http://phatic.ml/?h=13hh8wq

 

Example:

./zap2xml.pl -u [USER] -p [PASS] -A "new" -D -I

mc2xml:

 

Overview: http://mc2xml.awardspace.info/

Download: http://fossick.tk/?h=o9oki1m

 

Example:

./mc2xml -c [COUNTRY CODE] -g [ZIP CODE] -a -A -L
#COUNTRY CODE could be 'us' without quotes - also omit brackets for both commands
Edited by Xen0sys
Link to comment
Share on other sites

That $26/yr to SD is starting to look like a pretty good deal, huh...?  ;)

 

 

 

(I know they don't cover everywhere but, for those reading in areas they do cover - I'm just sayin'...)

  • Like 1
Link to comment
Share on other sites

Ehh, I'm not looking to spend money on lists. Should be freely available.

 

@@Luke Woops

 

Not working:

<programme start="20150713220000 -0400" stop="20150713230000 -0400" channel="I2.28461423.microsoft.com">
    <title lang="en">POV *</title>
    <sub-title lang="en">Web Junkie</sub-title>
    <desc lang="en">Three Chinese teenagers undergo a military-style rehab program to help with their obsession with games.</desc>
    <date>20150713</date>
    <category lang="en">Documentary</category>
    <category lang="en">Educational</category>
    <category lang="en">Episodic</category>
    <category lang="en">Other</category>
    <category lang="en">Series</category>
    <episode-num system="onscreen">2804</episode-num>
    <episode-num system="ms_progid">1.EP000032890323</episode-num>
    <episode-num system="dd_progid">EP00003289.0323</episode-num>
    <audio>
        <stereo>stereo</stereo>
    </audio>
    <new />
    <subtitles type="teletext" />
    <rating system="VCHIP">
    <value>TV-PG</value>
    </rating>
</programme>

Working:

<programme start="20171217161000 -0500" stop="20171217175000 -0500" channel="I59965.labs.zap2it.com">
	<title lang="en">Mike and Dave Need Wedding Dates</title>
	<desc lang="en">Dos hermanos, j&oacute;venes y amantes de las fiestas, contactan por internet con dos chicas, en apariencia tranquilas pero en realidad todav&iacute;a m&aacute;s temperamentales e incontrolables que ellos, para que les acompa&ntilde;en a la boda de su hermana en Haw&aacute;i.</desc>
	<credits>
		<actor>Zac Efron</actor>
		<actor>Adam Devine</actor>
		<actor>Anna Kendrick</actor>
		<actor>Aubrey Plaza</actor>
		<actor>Stephen Root</actor>
	</credits>
	<date>2016</date>
	<category lang="en">Movie</category>
	<category lang="en">Comedy</category>
	<category lang="en">Spanish</category>
	<episode-num system="dd_progid">MV00937428.0000</episode-num>
	<video>
		<aspect>16:9</aspect>
		<quality>HDTV</quality>
	</video>
	<subtitles type="teletext" />
	<star-rating>
		<value>2/4</value>
	</star-rating>
</programme>
Link to comment
Share on other sites

Look at the date of the not working program.

 

Ahh... Well mc2xml's zap2xml (the default) is dead apparently. This prints nothing:

cat xmltv.xml | grep "start=\"2017"
Edited by Xen0sys
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...