TV Guide for Aussies (8 Viewers)

BKCH

MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    Hey Samuel337 I agree completely re: tvguide - I should have been clearer but that is what I meant by:

    One note here is that tvguide.org.au relies on people entering in guide data so we probably need to do the right thing...

    :)
     

    yankinoz

    Portal Member
    May 14, 2005
    16
    3
    Sydney Australia
    Home Country
    Australia Australia
    Callifo said:
    BRP was fixed to grab the new format now but there are a few changes needed to the data to get MP to read it. Still trying to work around it now.

    Hey Callifo - any luck? I've got updated BRP and TVxB building what seems to be a valid tvguide.xml, but MP doesn't seem to like it.

    Rob
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    I've been experimenting with BRP and TVxB and I am usually very good with manipulating xml files for MP's use, but I have to admit that this latest round has me stumped.

    I can manually adjust the BRP output so MP can use it but of course I would prefer an automatic solution.

    I have noticed that ABC has full program listings available in XML format so my preference would be to have TVxB combine the ABC XML and then fill the other channels with BRP data. This would give perfect guide for ABC channels and reasonable information for the rest.

    Has anyone had any luck with a set up like this?

    What is the best people have come up with so far?
     

    yankinoz

    Portal Member
    May 14, 2005
    16
    3
    Sydney Australia
    Home Country
    Australia Australia
    Marcusb said:
    I can manually adjust the BRP output so MP can use it but of course I would prefer an automatic solution.

    Marcusb: What needs to be done? I've got a script that is changing the channel names - I could probably change other things...

    Rob
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    the only way I can get MP to recognise the BRP input is to take an existing tvguide.xml and replace all the information manually.
    MP needs to have the channel information at the beginning of the XML file, whereas MCE uses a separate XML to define the channels.

    The example below shows what I have.
    I then take the BRP program information only and paste that into the middle.
    For some reason I couldn't get TVxB to merge the BRP XML (or any other XML for that reason)

    Code:
    <tv date="Tuesday, 15 November 2005">
        <channel id="Channel Nine Melbourne">
          <display-name>Channel Nine Melbourne</display-name>
        </channel>
        <channel id="ABC VIC">
          <display-name>ABC VIC</display-name>
        </channel>
        <channel id="ABC2">
          <display-name>ABC2</display-name>
        </channel>
        <channel id="Channel Seven Melbourne">
          <display-name>Channel Seven Melbourne</display-name>
        </channel>
        <channel id="Network TEN Melbourne">
          <display-name>Network TEN Melbourne</display-name>
        </channel>
        <channel id="SBS Melbourne">
          <display-name>SBS Melbourne</display-name>
        </channel>
        <channel id="SBS News">
          <display-name>SBS News</display-name>
        </channel>
    .
    .
    .
    .
    .
    .
    .
    .
     </tv>
     

    Callifo

    Retired Team Member
  • Premium Supporter
  • December 7, 2004
    1,439
    21
    Adelaide, Australia
    Home Country
    From what I found, TVXB cant fix the new file format. You need to add the channel information at the start. I wrote a java program to automate it for me and if you guys what to change that you can. Its as simple as changing the channel names inside the java program and then just run it.

    I just made a cmd file which does brp.exe->tvguide.java->copy tvguide.xml -> MP dir.
     

    voxmortis

    Portal Member
    May 19, 2005
    37
    0
    Sydney, Straya.
    I've decoded the ninemsn webpage and hosted it on my PC - using Abyss server. All automated.

    I use the old BRP, change TVHarvest config to point to my webpage, keep the pop-up URL the same, cos ninemsn haven't encoded the descriptions.

    Hey, presto - works like it used to. Pay TV is the most important part for me, so my batch script is using two diff configs for TVHarvest - one FTA, one pay, then BRP does its job... then I use TVxb to sort the resulting mess out (after top and tailing the 2 xml files to get rid of repeating lines).

    It's do-able, many flavours/ways of doing the same thing!

    No doubt someone from ninemsn reads this thread as well as the XPMCEAU threads!
     

    BKCH

    MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    Hi all - not sure how many people are interested in tvguide.org.au especially with voxmortis' great work getting around the ninemsn issue - but just in case there are some changes to the method for using the tvguide.org.au grabber - the author the grabber very kindly put in a test for tzset and changed a couple of this so the following is the new recipe:

    1. Download the grabber from: http://www.cse.unsw.edu.au/~willu/xmltv/tv_grab_au_tuhs.

    2. Download and install a python interpreter - I used the free ActiveState distribution found at: http://www.activestate.com/Products/ActivePythonFamily/?tn=1.

    3. Run tv_grab_au_tuhs.py --configure - I recommend using -c to override the config file location so the command would be:

    tv_grab_au_tuhs.py --configure -c <config file path\name>

    4. Edit the file that was created in the above step - In the obvious spot put your username and password for tvguide.org.au.

    You'll also need to add a line for each channel you want to grab - it should be pretty obvious but the *new* format is:
    <channel display="<MP channel name>" tuhs="<TVGuide.org.au channel name" />

    An interesting note here is that for the +2 channels you'll need to substitute "%2B" for the "+" in the <tvguide.org.au> - but then after the grab we need to search and replace those %2B's back to +'s.

    I have a config file for Sydney FTA + full Foxtel so PM me if you want a copy!

    5. Run: tv_grab_au_tuhs.py -c <config file path\name> -o rawguide.xml

    6. Download something like SED - I used http://www.cornerstonemag.com/sed/ - just download and unzip into the directory that has you grabber in it.

    7. After you've grabbed the data into rawguide.xml in step 5 run the following to subsitute the +'s back in:

    sed-3.59.exe s/"%2B"/+/ rawguide.xml > tvguide.xml

    8. Point MP at your new tvguide.xml, change your timezone offset (mine was 11 hours)

    9. Enjoy

    I found that every so often the grab times out (not very often but occasionally) so I use the following windows batch file to check for that and bring it all together and upload to my 2 media portals:

    echo off
    set E0=0

    :grab

    if %E0%==4 goto end
    if %E0%==3 set E0=4
    if %E0%==2 set E0=3
    if %E0%==1 set E0=2
    if %E0%==0 set E0=1

    tv_grab_au_tuhs.py -c config.baby -o rawguide.xml

    if %errorlevel% EQU 1 goto grab

    sed-3.59.exe s/"%2B"/+/ rawguide.xml > tvguide.xml

    :copy
    copy tvguide.xml z:\
    copy tvguide.xml y:\

    :end
    if %E0% EQU 4 echo The grab failed.
     

    BKCH

    MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    The script has now been updated so you don't need to worry about the + stuff - just put + in the config file and the script will do the rest (so don't worry about steps 6 or 7.
     

    Users who are viewing this thread

    Similar threads

    Well, the log doesn't show any problems. I can see correctly tuned channels in the log. It seems to me that the tuner works fine. Can you copy the created ts file(located in your timeshift folder) somewhere else while in channel preview and try to play it in VLC or MPC-HC? PS: You can also try to make short record
    Well, the log doesn't show any problems. I can see correctly tuned channels in the log. It seems to me that the tuner works fine...
    I've been successfully using MediaPortal1 and TV Server 1.17 on Win7 for years, using first a HDHomerun tuner, when that died, a...
    Replies
    4
    Views
    240
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database changed MariaDB [mptvdb]> SELECT * FROM Server; +----------+----------+--------------+----------+ | idServer | isMaster | hostName | rtspPort | +----------+----------+--------------+----------+ |...
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database...
    Hello everyone, I'm going to need help from the community to resolve a TV server crash issue. I encountered a problem with my...
    Replies
    4
    Views
    782
    MP1 MP2 MP2 - V2.5 No Thumbnails for TV recordings DE
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions provided by the forum, the problem persists. In short, I am running MP 2.5 on a Win11 system with the skin blue vision (I also tried WMC but same issue). When recording TV shows no thumbnails are created. I have...
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions...
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions...
    Replies
    0
    Views
    128
    MP1 MP2 MP2 - V2.5 No genres after upgrade to 2.5 DE
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and music are part of the NET6 version as for NET4. If you have issues with it further infos would be good.
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and...
    Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System...
    Replies
    10
    Views
    3K
    MP1 MP2 No TV Service DE
    Looking at recent activity on the web site, it has been 4 weeks since any of the MP2 developers have been active. They may be taking a short (or an extended) break. For this reason I would suggest that you uninstall MP2 and re-install MP1. The 1.33 version is recommended (in either the 32-bit or 64-bit version). Also, it is pretty...
    Looking at recent activity on the web site, it has been 4 weeks since any of the MP2 developers have been active. They may be...
    Hi, I've recently installed Media Portal 2, having first removed an older version of MP1, but am having issues with live TV. It...
    Replies
    1
    Views
    990
    Top Bottom