How to generate localized EPG grabber files? (1 Viewer)

egoodman

New Member
December 28, 2008
1
0
United States of America United States of America
Hey all,

I've been searching around the net for a few hours trying to figure out the answer my issue: Is it possible to generate a custom grabber file from IMDB using xmltv for my specific zip code & provider?

When i browse to the IMDB website for TV listings and use the drop-down boxes to select my specific location, I can see that IMDB does in fact offer listings for my specific zip code & cable provider. However, I can't seem to figure out how to edit the www_imdb_com.xml file to include this regional information. I've studied the syntax of the file and it seems pretty easy to decipher, but it looks to me like each specific channel in the file is where the "tv_prov=XXXXXX" string is found. Additionally, based on the IMDB website there are additional channels for my location that i'd like to add to this XML file.

I've searched all around the net trying to find a way to download/generate a new www_imdb_com.xml file for my specific location, but haven't had any success. I also tried to play with the XMLTV.EXE command line stuff, but there doesn't seem to be an option for the IMDB TV-listings, only the movie data, direct-tv, etc.

So, unless i'm way off, i think I know what I need to do i just don't know how to do it. Sure, I could manually click on each channel on the IMDB website, look at the URL, and modify the XML file to create a new grabber for myself but i'm sure that there is an automated way to generate a customized file. I also started exploring the zap2xml stuff, but I feel like i'm close to a solution and would rather stick with the xmltv stuff that seems like it's almost there.

Any help would with this would really be appreciated! Thanks!!!!

Eric
 

d3rang3d

Portal Member
January 7, 2009
26
2
United States of America United States of America
did you ever figure that out or get any help on that im in the same boat i can get everything to work but i need somthing localized
 

solas989

MP Donator
  • Premium Supporter
  • January 17, 2009
    95
    9
    Ohio
    United States of America United States of America
    OK, this is from memory because I am at work. It may vary slightly to what exists in reality.

    1.) Copy the imdb template file. I always like to use copies. You can edit the original if you want.
    2.) Rename with your Zip Code in it (you can name it what ever but this makes it easier).
    3.) Open the file with notepad or xml editor.
    4.) Open imdb.com and navigate to the TV Listings.
    5.) You will see "http://www.imdb.com/sections/tv/" in the address bar.
    6.) Append "?zip=[YOURZIP]" to the address. ie "http://www.imdb.com/sections/tv/?zip=12345"
    7.) Press Enter or press Go to navigate to that site.
    8.) The page will change slightly and you will see providers now somewhere above the start of the listings grid.
    9.) Select your provider (if you use OTA, select Generic [YourTimezone].
    10.) Click Go.
    11.) Look at the address bar now, you will see a new variable somewhere near the end of the address: "&tv_prov=OHXXXXX". OH=your state, Im in Ohio. The XXXXX is the 5 digit identifier. You need to copy the "OHXXXXX" part.

    Edit the xml file now.
    1.) Change all the zip codes to your zip code - doing a search and replace speeds this up.
    2.) Change all the providers to your provider (step 11).
    3.) I dont think you have to change this...but I changed all the @CENTRAL to @EASTERN since that is my time zone
    4.) For each of your channels, enter them EXACTLY as they are in your TVConfig mappings - this makes importing and assigning much easier. You can enter anything you want, but it adds more work and I am lazy. You are editing the first part of the line, the part with the @YourTimeZone.
    5.) Later in the line, edit the Station to how IMDB.com sees it. Sometimes they will be the same, sometimes not. This is part of the id= string I think.
    6.) Delete any extra lines. You dont HAVE to do this, but it keeps it clean and I am tidy lazy person :p

    Map XML Stations
    1.) Open WebXML-Config (I think that is the name)
    2.) Import your stations (either from Media Portal or TV Server).
    3.) You should now see all your stations in the left column.
    4.) Do auto assign (I think that is what it is).
    5.) IF you created the xml file correctly, it will fill in all the columns for you. If a record or two do not fill in, something is mistyped. You can A.) Edit the record here and assign in by pointing it to the correct station or B.) Fix the XML file and repeat steps 1-4 again. I recommend option B because if you have to reinstall again for what ever reason, you reduce your steps.

    I think that is all you have to change...I could be forgetting something so if it doesnt jive. Please let me know if this works or does not work. If it fails, I will verify my steps when I get home.

    Also...BACKUP your new CUSTOM file so you dont have to create it again. I dont know if the backup plugin actually backs this file up or not...have not verified.

    Best of luck to ye!

    Solas
     

    d3rang3d

    Portal Member
    January 7, 2009
    26
    2
    United States of America United States of America
    hey thank's alot i ended up using schedules direct and im going to see how that goes but if it doesnt work i will deffintly try it out :D
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    D "attempt to index local `zf' (a nil value)" General Support 0
    S TV server -. trying to rescan for a local channel Installation, configuration support 0
    Lehmden [Videos] More filename possibility for MyVideos local fanart. Improvement Suggestions 26
    Lehmden Additional naming schemes for local fanart Feature Requests 0
    D EPG No Data General Support 2
    D [solved] EPG Data off by -20 hours? General 10
    G Q about scheduling weekly series when epg lists duplicate back to back episodes each week General Support 2
    F Mini EPG more information? WMC Skin 4
    N No TV or EPG on fresh install General 0
    framug No color in TVGuide when XMLTV without DVB EPG MediaPortal 1 Talk 59
    T Freesat EPG in UK anyone? Electronic Program Guide 78
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    G Movie release date in guide Electronic Program Guide 2
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    404 [solved] EPG problem after Win10 'upgrade' General Support 1
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    J Understanding what EPG shows about schedules General 8
    geotwticher TV Guide EPG Grabber for Australia 2020 RIP freepg.tv General 4
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    HTPCSourcer Special (foreign) characters don't display correctly in EPG MediaPortal 2 4
    B How to Search MP2 for Movies only in 7 day EPG that comes from the Antenna General 3
    F EPG Buddy download Plugins & Erweiterungen 1
    P Timeshifting in XMLTV General 2
    Similar threads

























    Top Bottom