DUGG TV guide grabber - Updated [02.06.06] (5 Viewers)

Status
Not open for further replies.

angusmann

Portal Pro
October 22, 2005
145
32
No it won't download the wrong data again.

If the data exists locally on your computer (remember you deleted the content of data directory, then filled it up again by grabbing the data from MSN) then DUGG will simply re-load that data and not look for it on FTP.

The noftp command completely disables all FTP functions including upload. It is mostly for people on networks that have closed port 21 but it has other uses like this also.

I realize this does nothing to help everyone else but it fixes your data at least.

I can manually delete data from the FTP and I will do so if people report an error like this. That way subsequent users when they grab the data again will upload a "good" copy. The program can automatically delete bad data from the FTP but giving this power to end users is a recipe for chaos; it would take just 1 disgruntled person to delete everything every day.

Detecting obviously corrupt data is relatively easy but detecting changed data is difficult.

For example if your copy says that CSI is on at 8PM but my copy says that Law and Order is on, how can the program decide who is right?

I have been toying with the idea of embedding an MD5 hash and a timestamp into the data. The MD5 hash can detect if the data is different, and if so, the time-stamp can decide which is newer. The program could then be trained to assume that when different, the newer data is more correct. This will require a fair-bit of coding (ever seen the MD5 algorithm?) but it might be worth the effort I think.

I don't actually watch much TV so I'm not likely to spot errors in my TV guide like the one you describe. Does it happen very often ?

Oh...and the noftp command is one of many undocumented commands I put in there to deal with situations like this. I'm always happy to hear from people if they have some particular dilemma because there is almost always a work-around.
 

Callifo

Retired Team Member
  • Premium Supporter
  • December 7, 2004
    1,439
    21
    Adelaide, Australia
    Home Country
    In regards to how often those errors occur, Im not sure as I only just changed to DUGG, I was using FreeXMLTV before that. That program can detect changes in the data (stores a local copy the first time and rechecks everytime I ran the program) and redownloads new copies when needed so I never noticed before that. It was slower obviously (non-p2p) and only supported short descriptions (1 line).
     

    Kayos

    Portal Member
    May 26, 2006
    5
    0
    Hi,

    Ive talked to angusmann about this, but i cant seem to make the "dugg" folder not read-only. When i go into the properties of the foler and de-select read-only, it works, but when i go back into the properties its selected again. I know this isnt an issue with the grabber, but i was wondering how other people got it to work?
     

    Dordo

    Portal Pro
    December 3, 2004
    82
    0
    I noticed in the last couple of days DUGG seems to be giving me error messages of some kind. It says its to do with Liberty Basic so I updated my tkn file but to no avail. I have included an error log if yoiu can make any sense of it. But its beyond me as to why it suddernly stopped working

    http://rafb.net/paste/results/P4PNs059.html
     

    angusmann

    Portal Pro
    October 22, 2005
    145
    32
    I have found the source of this error. An FTP upload was terminated half-way thru and the data is incomplete.

    To fix it, browse to the data directory

    Delete this file...
    38504073U2.txt

    When you run DUGG again all will be fixed.
     

    Sleighty

    Portal Member
    November 25, 2005
    16
    0
    Sydney, Australia
    Just started using this grabber looks to be mostly ok, I'm having trouble with only one thing, the guide in MP is 12 hours a head, the time is correct at the top but the program list is 12 to forward. How do I fix this??
     

    angusmann

    Portal Pro
    October 22, 2005
    145
    32
    First, shut down Media Portal.

    First, check that the date and time are set correctly on your computer. I get quite a few "error" reports when in fact the wrong time/date is set. Especially make sure that the AM/PM is set correctly.

    In the Windows Control Panel, choose "Date and Time" and under the "Time Zone" tab make sure you have selected the correct city and time-zone. This is important for daylight-saving also.

    In dugg.ini set timezone=+0000

    In Media Porta setup, go to Television, then Program Guide

    Tick the box that says "Use Time Zone Information from XMLTV file."
    In the boxes for "Compensate Time Zone With" make sure zero's are entered in both boxes."

    Run dugg.exe
    Then run media-portal again. The times *should* all be correct now.
     

    Kayos

    Portal Member
    May 26, 2006
    5
    0
    angusmann, this is a suggestion.

    It would be good if we could have the option to change the name of the channel, and still keep the tvguide for it. The tiny issue with it now, is that say you have 7 digital, and 7 HD, you have to rename them both to 7 Network Brisbane Metro, or something along the lines of that.
     

    angusmann

    Portal Pro
    October 22, 2005
    145
    32
    Kayos .. There are multiple options for renaming channels, and what you suggest is already easy to do.

    The full instructions can be seen at :
    http://dugg.ueuo.com/dugg-instructions.html
    And this same page is also included in the zip file when you download the program.

    If you simply want to rename a channel, use the "channelswap" command.

    If you want to have 2 (or more) channels with the same guide data but with different names, use the "channeldupe" command.

    The channeldupe command is especially useful if you want to have the choice of digital, high-def and/or analog. Usually the program data is exactly the same, but the name of the channel tells you whether you are looking at standard digital, high definition or analog.

    If you don't want a channel to appear in the guide at all (for example I don't want the "SBS news" in the guide you can use the "skip=" command.

    Look at the instructions page...it is all explained there, with examples.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom