home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
mc2xml - what are your usage tips & tricks ..
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="incogito" data-source="post: 415975" data-attributes="member: 90819"><p><span style="font-size: 15px">Explanation about <a href="http://mc2xml.110mb.com/" target="_blank">mc2xml</a></span> </p><p></p><p>Installed in "C:\Program Files\mc2xml"</p><p>Create a batch command mc2xml.cmd</p><p>Why?</p><p>-c fr = france</p><p>-g 1000 = Postalcode (not specific)</p><p>-a append " *" to new programs </p><p>-A append " *" to live programs </p><p>-D <filename> set dat filename (default = "mc2xml.dat") here 2 different ones</p><p>-o <filename> set output file (default = "xmltv.xml") </p><p>-I <xmltv file> include <xmltv file> in output </p><p></p><p><strong><u>How to get "mc2xml.dat" information</u></strong></p><p>delete "mc2xml.dat" if exist or it launch without interactive process and use dat config</p><p>When launching "mc2xml.exe -c fr -g 10000" - you get </p><ol> <li data-xf-list-type="ol">1st popup window to confirm (Service, Options, P/Z code & Country Code)</li> <li data-xf-list-type="ol"> 2nd popup window "Lineup Selection" with a list of (for me 20 lineup) You must choose ONE and only one</li> <li data-xf-list-type="ol"> and it create a "mc2xml.dat" withe the referencing parameter for this choice</li> </ol><p>Ex: if i choose "Atlantic Bird 3 (AB3)" lineup = I get in the "mc2xml.dat" : 2 lines</p><p></p><p></p><p>Now, i can rename "mc2xml.dat" in "AB3.dat" and use it later like in : </p><p>"mc2xml.exe -c fr -g 10000 -a -A -D ab3.dat -o tvguide_ab3.xml"</p><p></p><p><u><strong>If i want more than one Lineup OR channel coming from multiple lineups</strong></u></p><p><strong>Sol1 - Concatenate successive mc2xml.exe</strong> 2 lineups "9 Freebox V (CAB) + 16 TNT (TER)"</p><p></p><ol> <li data-xf-list-type="ol"> i proceed twice to obtain the "mc2xml.dat" that i rename as freebox.dat and "tnt.dat"</li> <li data-xf-list-type="ol"> in ".cmd" mc2xml.exe -c fr -g 10000 -a -A -L -D freebox.dat -o tvguide_tmp.xml = Obtain Guide data for the Freebox lineup & save in tvguide_tmp.xml</li> <li data-xf-list-type="ol"> in ".cmd" mc2xml.exe -c fr -g 10000 -a -A -L -D tnt.dat -I tvguide_tmp.xml -o tvguide.xml = Obtain Guide data for the Tnt lineup & include the tvguide_tmp.xml & save the all in tvguide.xml</li> </ol><p></p><p> .. so on . you can combine multiple lineups .. lineup are interesting because it's a simple file download (very speed) because those lineups are produced and stored oon the mc2xml microsoft servers</p><p></p><p><strong>Sol2 - use a list of channel you want and put them in </strong></p><p></p><p></p><p>You can choose for the ".chl" name</p><ul> <li data-xf-list-type="ul">"mc2xml.chl" by default </li> <li data-xf-list-type="ul">use (-C <filename>) to set channel specific file (The default = "mc2xml.chl")</li> </ul><p></p><p><u>How to know the information needed</u></p><p>(1) look inside the output of "mc2xml.exe" in "tvguide.xml" - you will find something like :</p><p></p><p>The <channel id="I2.751945.microsoft.com"> is the one to put inside your "mc2xml.chl"</p><p></p><p>(2) With For The Record " Management Console / Administration / Guide Channel " </p><p>- "External ID" = <channel id="I2.751945.microsoft.com"></p><p>- "Guide channel Name" = <display-name>2 ARTE</display-name></p><p></p><p><strong>Extract from Database to produce a 'tvguide.chl'</strong></p><p>Is it possible to make a Sql Request on the Database and produce "*.ren" & "*.chl" </p><p>Copy them to the "..\mc2xml" Directory and use it like that</p><p>"mc2xml.exe -c fr -g 10000 -C tvguide.chl -o tvguide.xml"</p><p></p><p><strong>Renaming Channel Name in mc2xml</strong></p><p><strong>You can </strong><strong>also produce a Sql request </strong>to produce "tvguide.ren" </p><p>I'll come back to specify the sql request later .. </p><p></p><p>that's all folks ..</p></blockquote><p></p>
[QUOTE="incogito, post: 415975, member: 90819"] [SIZE=4]Explanation about [URL="http://mc2xml.110mb.com/"]mc2xml[/URL][/SIZE] Installed in "C:\Program Files\mc2xml" Create a batch command mc2xml.cmd Why? -c fr = france -g 1000 = Postalcode (not specific) -a append " *" to new programs -A append " *" to live programs -D <filename> set dat filename (default = "mc2xml.dat") here 2 different ones -o <filename> set output file (default = "xmltv.xml") -I <xmltv file> include <xmltv file> in output [B][U]How to get "mc2xml.dat" information[/U][/B] delete "mc2xml.dat" if exist or it launch without interactive process and use dat config When launching "mc2xml.exe -c fr -g 10000" - you get [LIST=1] [*]1st popup window to confirm (Service, Options, P/Z code & Country Code) [*] 2nd popup window "Lineup Selection" with a list of (for me 20 lineup) You must choose ONE and only one [*] and it create a "mc2xml.dat" withe the referencing parameter for this choice [/LIST] Ex: if i choose "Atlantic Bird 3 (AB3)" lineup = I get in the "mc2xml.dat" : 2 lines Now, i can rename "mc2xml.dat" in "AB3.dat" and use it later like in : "mc2xml.exe -c fr -g 10000 -a -A -D ab3.dat -o tvguide_ab3.xml" [U][B]If i want more than one Lineup OR channel coming from multiple lineups[/B][/U] [B]Sol1 - Concatenate successive mc2xml.exe[/B] 2 lineups "9 Freebox V (CAB) + 16 TNT (TER)" [LIST=1] [*] i proceed twice to obtain the "mc2xml.dat" that i rename as freebox.dat and "tnt.dat" [*] in ".cmd" mc2xml.exe -c fr -g 10000 -a -A -L -D freebox.dat -o tvguide_tmp.xml = Obtain Guide data for the Freebox lineup & save in tvguide_tmp.xml [*] in ".cmd" mc2xml.exe -c fr -g 10000 -a -A -L -D tnt.dat -I tvguide_tmp.xml -o tvguide.xml = Obtain Guide data for the Tnt lineup & include the tvguide_tmp.xml & save the all in tvguide.xml [/LIST] .. so on . you can combine multiple lineups .. lineup are interesting because it's a simple file download (very speed) because those lineups are produced and stored oon the mc2xml microsoft servers [B]Sol2 - use a list of channel you want and put them in [/B] You can choose for the ".chl" name [LIST] [*]"mc2xml.chl" by default [*]use (-C <filename>) to set channel specific file (The default = "mc2xml.chl")[/LIST] [U]How to know the information needed[/U] (1) look inside the output of "mc2xml.exe" in "tvguide.xml" - you will find something like : The <channel id="I2.751945.microsoft.com"> is the one to put inside your "mc2xml.chl" (2) With For The Record " Management Console / Administration / Guide Channel " - "External ID" = <channel id="I2.751945.microsoft.com"> - "Guide channel Name" = <display-name>2 ARTE</display-name> [B]Extract from Database to produce a 'tvguide.chl'[/B] Is it possible to make a Sql Request on the Database and produce "*.ren" & "*.chl" Copy them to the "..\mc2xml" Directory and use it like that "mc2xml.exe -c fr -g 10000 -C tvguide.chl -o tvguide.xml" [B]Renaming Channel Name in mc2xml[/B] [B]You can [/B][B]also produce a Sql request [/B]to produce "tvguide.ren" I'll come back to specify the sql request later .. that's all folks .. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
mc2xml - what are your usage tips & tricks ..
Contact us
RSS
Top
Bottom