Click here to go to the forum index Click here for the home page
 
Author Message

<  Computer connections  ~  xml2mei

Page 2 of 9
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
CharlieBoy
Posted: Mon Jun 20, 2016 7:20 pm Reply with quote
Frequent contributor Joined: 04 Mar 2006 Posts: 136
I think I read that 'legacy' referred to MS maintaining the data for people with old[er] XBOXs... hardware with which I have no familiarity. And obviously I have no idea for how long MS might maintain it.

I do wonder what MS's source of UK data is. They presumably must get if from [take your pick from Metabroadcast/PA/ROVI/Schedules Direct et al] so presumably that souce is itself out-of-date....

With the exception of CBBC/Cbeebies the incorrect/missing LCNs are channels I'm rarely [never?] likely to record from - so I'm unlikely to miss much by having incorrect or missing data from days 8 to 14 when I go on holiday.

One quirk I've noticed is that the Toppy's EPG now has data to the end of day 15 (Monday 4th July) but MyStuff only searches 14 days (14x24 hrs from time of search) ahead - so as today has progressed MyStuff has progressively "found" programmes that are in the EPG for Monday 4th July.

Charlie

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+UUu
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; Deepletterbox 2.44; PruneEPG 1.0; MyStuff 6.6; (StartCh); (fsSave 1.1);
Sig generated by MyInfo on 14/4/18
?
View user's profile Send private message
Bizman
Posted: Mon Jun 20, 2016 8:01 pm Reply with quote
Frequent contributor Joined: 06 Apr 2010 Posts: 1707
Charlie, as you may be aware, I maintain the 'Pick of the Week' topic and to achieve this I load the .mei file into a spreadsheet and reformat it into human-readable format as posted in the said topic. Over time I have added software to identify films and 'read' the description from which to create a brief synopsis. To 'Pick' the week's selection several embellishments to my software are used and of course I have to cater for all tastes, so I need the whole spectrum of LCNs, excluding +1s, cihildren, porn & radio. As things currently stand I cannot do that.

I have looked at using a different source to the 'legacy' one, but all others on the list require a username & password and/or an API key.

_________________
TF5810, F/W: 5.15.09T 4/9/2009 -FmTe+EzHsVb
TAPs: EIT Sub (Game) v0.6; SecCache (UK) v0.4; MHEG On/Off A3; MPDisplayLITE V1.2; MyInfo B5.6; PruneEPG 1.0; EPG2MEI v0.96; QuickJump 1.72; Extend v1.7; (fsSave 1.1);
Sig generated by MyInfo on 3/8/17

Other TAPs : FsCheck, Channel Organiser. PSU Caps 7/2/2011 Tx: Mendip. TV: Samsung (32"), NSLU2, STB: Labgear FV300. PC Acer Aspire One with Win7 Starter
View user's profile Send private message
BigAl
Posted: Mon Jun 20, 2016 9:42 pm Reply with quote
Regular contributor Joined: 01 May 2005 Posts: 27
In addition, there is a minor problem for those selecting 'Mendip' as their 'lineup' for the data in mc2xml - there is no information for BBC2 (can someone confirm, please?).

This appears to be caused by the identifier for BBC2 ('I2.1325') in the XML file being incorrect. Other lineups, well 'Rowridge' at least, show it as 'I2.79', and this does produce the necessary information.

So I guess there are two possible solutions:
1. Use a different lineup, eg. '11: Freeview - Rowridge (TER)', and put up with the information for the local programmes on BBC1 and ITV being wrong, or
2. Run mc2xml 3 times, merging the data: there is an example of how to do this on the mc2xml web page at http://mc2xml.hosterbox.net/ (near the bottom). This does work OK.

Finally, I'm sure we are all most grateful to EMJB for his hard work in producing xml2mei.

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvMPePfPsR5UUuUyVbZ
TAPs: EIT Sub v0.6; SecCache (UK) v0.4; Power Down 0.75; TF5000 Display v1.53; dog_dimmer v0.01; MHEG Control B2.1; Tap Launcher 3.10; Font Manager 1.0d; EPG2MEI v0.96; QuickJump 1.72; MyStuff 6.6; PruneEPG 1.0; fsSave 1.1; MyInfo B5.6;
Sig generated by MyInfo on 19/5/16
View user's profile Send private message
CharlieBoy
Posted: Mon Jun 20, 2016 10:26 pm Reply with quote
Frequent contributor Joined: 04 Mar 2006 Posts: 136
There is also an example on the mc2xml webpage of how to produce a revised xmltv.xml file in which, for example, an incorrect LCN 70 has been revised to LCN 120. Using an mc2xml.ren file to do this works, but seemingly doesn't resort the data within the xmltv.xml file into the revised LCN order. So running the resultant xmltv.xml file through xml2mei.php results in a mystuff.mei file in which the now corrtectly identified LCN 120 data appears out of order - ie. it still appears before LCN 71 data.

Whereas I seem to recall reading somewhere that the .mei protocol requires mystuff.mei to be ordered in strict LCN order. Is there some way to incorporate an LCN reordering step within xml2mei.php?

Charlie

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+UUu
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; Deepletterbox 2.44; PruneEPG 1.0; MyStuff 6.6; (StartCh); (fsSave 1.1);
Sig generated by MyInfo on 14/4/18
?
View user's profile Send private message
EMJB
Posted: Tue Jun 21, 2016 8:30 am Reply with quote
Frequent contributor Joined: 08 Jul 2005 Posts: 3638 Location: Maldon Essex
CharlieBoy wrote:
Whereas I seem to recall reading somewhere that the .mei protocol requires mystuff.mei to be ordered in strict LCN order. Is there some way to incorporate an LCN reordering step within xml2mei.php?

Charlie


The answer must be Yes, but it would be a bit of a pain, so could you try to see what MyStuff does if they are out of order before I incorporate such a feature.

EMJB

_________________
Silver 5800, Board Rev 1.2, MS recomm F/W, Sudbury Tx, varying TAP config
View user's profile Send private message
CharlieBoy
Posted: Tue Jun 21, 2016 9:31 am Reply with quote
Frequent contributor Joined: 04 Mar 2006 Posts: 136
EMJB wrote:
so could you try to see what MyStuff does if they are out of order
Will do.

Charlie

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+UUu
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; Deepletterbox 2.44; PruneEPG 1.0; MyStuff 6.6; (StartCh); (fsSave 1.1);
Sig generated by MyInfo on 14/4/18
?
View user's profile Send private message
CharlieBoy
Posted: Tue Jun 21, 2016 11:22 am Reply with quote
Frequent contributor Joined: 04 Mar 2006 Posts: 136
EMJB - I let my scheduled task batch file run with the following LCN changes listed in mc2xml.rcn:
25:84
70:120
71:121
72:122
80:130

This meant that xmltv.xml and mystuff.mei listed LCNs in the following order
1-24
84
26-63
120-122
73-74 [I think these are incorrect LCNs]
130
81-83 [They're incorrect but I didn't change them in mc2xml.rcn]
85-107
700-728

The outcome of the epg2mei integration of mystuff.mei into the MyStuff EPG was that LCNs 1-24, 84, 120-122, 130 and 700-728 updated to include data for Tuesday 5th July. The EPG did not update for LCNs 26-63. My belief is that, if they were in my Toppy line-up, then LCNs 73-74, 81-83, and 85-107 would not have updated.

What I think is happening is that epg2mei will only integrate additional data from mystuff.mei in ascending LCN order - thus once it had integrated LCN 84 it failed to integrate LCNs 26-63 but did start integrating again when it hit the higher LCN 120. This would accord with what I seem to remember reading about mystuf.mei needing to be in ascending LCN order.

Charlie

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+UUu
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; Deepletterbox 2.44; PruneEPG 1.0; MyStuff 6.6; (StartCh); (fsSave 1.1);
Sig generated by MyInfo on 14/4/18
?
View user's profile Send private message
gingerly
Posted: Tue Jun 21, 2016 1:01 pm Reply with quote
Regular contributor Joined: 03 Jan 2007 Posts: 76 Location: South London
Well that was all rather easy!

Last night I finally looked at why my RT script had been emailing me for the last few days to find that it won't be working ever again, so I came here to see if anyone has done anything useful yet.
I went to mc2xml.hosterbox.net and downloaded mc2xml.
At the command line I ran mc2xml and selected 'Freeview - Crystal Palace' - thanks TopTapper for the tip.
I created a chl file with just "1-13" in it for now.
I then removed the 'php rt2mei.php' line from my script and inserted 'mc2xml -c GB -g "SW1A 1AA"' followed by 'php xml2mei.php'.
I got a shed load of PHP warnings but then I did with rt2mei and yet it still works.
I assume my PHP install isn't right but as it just about works, I can't be bothered with the PHP learning curve to fix it.

WOW! Thanks EMJB! It already does everything I want!
I have noticed ampersands are in xml speak, but I can easily fix that here with sed.
BTW, my script is running on Slackware, fired by udev when the toppy comes to life.

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+R3VdWfZ
TAPs: QuickBlank 0.2; UK Subtitle 1.9; TF5000 Display v1.53; Goldfish 0.5; Extend v1.7; MyStuff 6.5; EPG2MEI v0.96; SecCache (UK) v0.4; Font Manager 1.0d; EIT Sub (Game) v0.6; MyInfo B5.5;
Sig generated by MyInfo on 10/12/14
?
View user's profile Send private message
EMJB
Posted: Tue Jun 21, 2016 1:48 pm Reply with quote
Frequent contributor Joined: 08 Jul 2005 Posts: 3638 Location: Maldon Essex
Just uploaded version X3, with the following (intentional!) changes:

(1) Hopefully a little less sensitive to minor format changes in the xml data.

(2) Ampersand problem fixed.

(3) Data re-ordered into LCN order.

but has had minimal testing so no guarantees! The re-ordering has been done without regard to memory usage.

EMJB

_________________
Silver 5800, Board Rev 1.2, MS recomm F/W, Sudbury Tx, varying TAP config
View user's profile Send private message
mstombs
Posted: Tue Jun 21, 2016 2:13 pm Reply with quote
Frequent contributor Joined: 31 Dec 2006 Posts: 938
Bizman wrote:
I think that the LCN allocation is as it was some considerable time ago (at least a year) which supports the 'legacy' label idea.


LCN 20 was once used for UK GOLD, encrypted by Top-UP TV; apparently it moved to LCN 26 in July 2013, before disappearing later that year.
View user's profile Send private message TF5800
Bizman
Posted: Tue Jun 21, 2016 4:21 pm Reply with quote
Frequent contributor Joined: 06 Apr 2010 Posts: 1707
I looked this morning at the xml file and noticed GOLD on LCN20 so that does date the LCN allocation somewhat. I also noticed ESPN and Sky Sports 1 & 2 all long since gone.

_________________
TF5810, F/W: 5.15.09T 4/9/2009 -FmTe+EzHsVb
TAPs: EIT Sub (Game) v0.6; SecCache (UK) v0.4; MHEG On/Off A3; MPDisplayLITE V1.2; MyInfo B5.6; PruneEPG 1.0; EPG2MEI v0.96; QuickJump 1.72; Extend v1.7; (fsSave 1.1);
Sig generated by MyInfo on 3/8/17

Other TAPs : FsCheck, Channel Organiser. PSU Caps 7/2/2011 Tx: Mendip. TV: Samsung (32"), NSLU2, STB: Labgear FV300. PC Acer Aspire One with Win7 Starter
View user's profile Send private message
TopTapper
Posted: Tue Jun 21, 2016 4:48 pm Reply with quote
Frequent contributor Joined: 29 Jan 2006 Posts: 234
CharlieBoy wrote:
mc2xml.rcn
[...]
mc2xml.rcn

Probably just typo but I think that should be "mc2xml.ren".
View user's profile Send private message
CharlieBoy
Posted: Tue Jun 21, 2016 5:00 pm Reply with quote
Frequent contributor Joined: 04 Mar 2006 Posts: 136
EMJB wrote:
Just uploaded version X3, with the following (intentional!) changes:
(3) Data re-ordered into LCN order.
EMJB - This seems to be working well. All channels as downloaded per my mc2xml.chl file and renumbered as per my mc2xml.ren file are appearing in correct renumbered LCN order in mystuff.mei and epg2mei is then correctly merging the mystuff data such that all channels on my Toppy for which MS Legacy has data are populated through Tuesday 5th July.

Many many thanks for xml2mei.php.

FWIW, my mc2xml.chl file is:
1-19 (Omit LCN 20 so as to avoid populating Drama with data for GOLD)
21
24-33
I34.766056.microsoft.com (There are two I34 LCNs - this is the correct one for ITV3+1)
38
44-47
54-57
70-72
80-85
700-728

and my mc2xml.ren file is:
25:84
38:37
54:62
57:38
70:120
71:121
72:122
80:130
81:131
82:132
83:133
84:134
85:135

Apart from shopping, food, travel, porn etc channels (which I don't have) the only channels on my Toppy that are missing data for the second week are:
20 Drama
25 Home
32 MovieMix (The LCN is there, but no data!)
48 Movies4Men
58 ITVBe+1
61 True Entertainment
70 Horror

Thanks again for xml2mei.php.

Charlie

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+UUu
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; Deepletterbox 2.44; PruneEPG 1.0; MyStuff 6.6; (StartCh); (fsSave 1.1);
Sig generated by MyInfo on 14/4/18
?
View user's profile Send private message
CharlieBoy
Posted: Tue Jun 21, 2016 5:11 pm Reply with quote
Frequent contributor Joined: 04 Mar 2006 Posts: 136
TopTapper wrote:

Probably just typo but I think that should be "mc2xml.ren".
Quite right! I was reading it off the screen and typing it out. Seems I should either use a larger font or get new glasses!

Charlie

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+UUu
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; Deepletterbox 2.44; PruneEPG 1.0; MyStuff 6.6; (StartCh); (fsSave 1.1);
Sig generated by MyInfo on 14/4/18
?
View user's profile Send private message
mstombs
Posted: Tue Jun 21, 2016 7:58 pm Reply with quote
Frequent contributor Joined: 31 Dec 2006 Posts: 938
CharlieBoy wrote:
...
the only channels on my Toppy that are missing data for the second week are:
...
58 ITVBe+1
...


I don't think you are missing anything there!
View user's profile Send private message TF5800

Display posts from previous:  

All times are GMT + 1 Hour
Page 2 of 9
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum