Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Unlike most WebEPG grabbers, the www_imdb_com.xml grabber file needs to be customized to match your local MediaPortal channels with the channels listed in the imdb.com TV listings.

Download

The updated version of the US www_imdb_com.xml grabber file is included with If you're using MediaPortal 1.7.0 and later and you newer you can skip this section. You do NOT need to download a new grabber file. You , but you do still need to customize the grabber file with Channel IDs for you local city and set your zip code etc. as described in the following instructionssections.

If you are 're using an earlier version of MediaPortal, you still need to download the  updated version of the US the updated grabber file (www_imdb_com.xml grabber file which can be downloaded from the new US imdb_com grabber file, adds subtitle support forum thread) from -->here<--.

Customize

...

...

Find the www_imdb_com.xml

...

grabber file. Its location varies depending on which versions of MediaPortal and Windows you're using.

  • For MediaPortal 1 on Windows XP or older: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\WebEPG\grabbers\US
  • For MediaPortal 1 on Windows Vista or newer: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\WebEPG\grabbers\US
  • For

...

  • MediaPortal 2: C:\ProgramData\Team MediaPortal\MP2-Server\SlimTVCore\v3.0\WebEPG\grabbers\US

...

In your new www_imdb_com grabber file you need one channel entry for each station you want to grab, e.g.Make your own copy of the grabber file (for example, www_imdb_com_[myzipcode].xml) in the same folder as the original grabber file.

Open your new copy of the grabber file in Notepad or any other text editor.

Add one <Channel ... /> entry for each channel you want to grab. For example:

<Channel id="KTVU-HD" siteId="KTVUDT" />

  • The Channel id =value (KTVU-HD is the channel ID MediaPortal found when it scanned channels
  • siteId=KTVUDT is the channel in the IMDB listing (left column in listing)

Channel IDs

  1. To get your local Channel ids:
    1. Start the TV Server Configuration program,
    2. Select Plugins *and enable *WebEPG. ,
    3. Select WebEPG plugin > TV Mappings, select a Group (Favorites, etc) and press Import.

The EPG Name column has the Channel ids for your channel group.

Image Removed

You can also select Import/Export, set the check box for TV Groups and export the info to a .xml file to get a list of Channel ids in your channel groups. You can open the .xml file with a browser or notepad to copy/paste the Channel ids to your grabber file.

Site IDs

...

  • in the example) is the name of the channel in TV Server.
  • The Channel siteId value (KTVUDT in the example) is the name of the channel on the IMDB website.

To find the siteIds for your location and TV provider:

  1. Open www.imdb.com with a web browserGo to TV listings, enter your zipcode and select a cable provider. Make sure you press *go *when you set a zipcode and select a TV Provider/tvgrid/ (ie. IMDB's TV listings page) in your Internet browser (Internet Explorer, FireFox, Chrome etc.).
  2. If you haven't previously done so, enter your zip code (click "change" where it says "Enter ZIP code for Local Listings", enter your zip code, click "go").
  3. If you haven't previously done so, select your TV provider. Make sure to click "go" after selecting a TV provider. For over the air (ATSC, antenna) listings you can use Comcast or another cable provider for your zipcode. This should give complete listings for your local TV stations. It is important to enter zipcode and select a TV Provider for your local area so WebGrab can download complete local listings. If you use a generic provider, WebGrab will only download listings for major network shows and will not have full listingsselect any cable provider in your area who carries local channels.
  4. The channel names in the left column (beside the channel logos) are what you use as siteId values in your grabber file.

Steps 2 and 3 above are

...

very important.

Image Added


Set the zip code for your location in the grabber file. This enables the grabber to get listings for the correct local time zone. To do this, find the line which starts "<Site url=..." in the grabber file. In that line, replace "ZIPCODE" with your actual zip code. For example...

Original

<Site url="http://www.imdb.com/tvgrid

...

/[YYYY]-[MM]-[DD]/[ID]&amp;start_date=[YYYY]-[MM]-[DD]/?zip=ZIPCODE" post="" external="false" encoding="" />

Customized

<Site url="http://www.imdb.com/tvgrid/[YYYY]-[MM]-[DD]/[ID]&amp;start_date=[YYYY]-[MM]-[DD]/?zip

...

Some Common Problems

...

=12345" post="" external="false" encoding="" />

In some cases the grabber doesn't get the correct time zone unless the TV provider is also specified. To do this:

1. Find the TV provider name in the page URL. For example, http://www.imdb.com/tvgrid/2016-12-27/2000/?zip=12345&hit_go=1&tv_prov=NY68724&start_date=2016-12-27&start_time=2000#

Image Added

2. Update the <Site ... /> line in the grabber file:

<Site url="http://www.imdb.com/tvgrid/[YYYY]-[MM]-[DD]/[ID]&amp;start_date=[YYYY]-[MM]-[DD]/?zip=12345&amp;tv_prov=NY68724" post="" external="false" encoding="" />

Make sure to save your changes when you're finished.

Common Mistakes

Grabber File Syntax

It's easy to make typing errors when creating the channel entries. A single error in the wrong place can make it impossible for WebEPG to use the grabber. Thankfully you can easily verify that the syntax of the grabber file is okay by attempting to open the grabber file in your Internet browser (Internet Explorer, FireFox, Chrome etc.). If you've made a mistake, the Internet browser will fail to open the file and hopefully give you a useful error message that helps you identify your mistake. If you can't work out the problem yourself, ask for help on the MediaPortal forum.

Image Added

Channel Entries Are Case Sensitive

Each channel entry must have correct upper and lower case or it will be ignored.

...

<Channel id="KTVU-HD" siteId="KTVUDT" />

...

In particular:

  • Channel must start with an upper case C

...

  • id must be lower case

...

  • The second i in siteId must be

...

  • upper case

...

  • .
Special Characters In Channel Entries

The grabber file is a standard XML file, which means certain characters have to be replaced:

  • < (less than sign) is replaced with &lt;
  • > (greater than sign) is replaced with &gt;
  • " (quotation mark) is replaced with &quot;
  • ' (apostrophe) is replaced with &apos;
  • & (ampersand) is replaced with &amp;

This is most often relevant for the A&E channel.

Invalid

<Channel id="A&E" siteId="AETV" />

...

Valid

<Channel id="A&amp;E" siteId="AETV" /

...

>

...

Channel Mappings

To set the WebEPG channel mappings:

...

The PowerScheduler++ plugin can also be used for periodic EPG updates. See PowerScheduler++ for more information on downloading, installing, and using this plugin.

Tips

  1. You can clear the current EPG data by clicking "Refresh DVB EPG" in the Manual Control section of TV Server Configuration. Ignore the “EPG grabber will restart” message - it does not apply to WebEPG.

  2. When debugging, set WebEPG's GrabDays setting to 2 days to speed up the download and testing. When all the channels are working properly you can increase GrabDays to 7, 14 or other higher value to get a full update.

  3. Always remember to click “Save” within WebEPG when done making changes.

Additional resources

  • MediaPortal *WebEPG Wiki. *This describes the WebEPG settings in detail.
  • MediaPortal WebEPG Forum. You can ask questions and read forum postings.
  • MediaPortal Log Files Wiki. Add log files to your forum messages to help with problem debug.

...