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.
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<--.
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
- MediaPortal 2:
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)
- To get your local Channel ids:
- Start the TV Server Configuration program,
- Select Plugins *and enable *WebEPG. ,
- 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.
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.
- 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:
- 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.).
- 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").
- 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.
- 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
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...
/[YYYY]-[MM]-[DD]/[ID]&start_date=[YYYY]-[MM]-[DD]/?zip=ZIPCODE" post="" external="false" encoding="" />
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, NY68724&start_date=2016-12-27&start_time=2000#
2. Update the <Site ... /> line in the grabber file:
<Site url="http://www.imdb.com/tvgrid/[YYYY]-[MM]-[DD]/[ID]&start_date=[YYYY]-[MM]-[DD]/?zip=12345&tv_prov=NY68724" post="" external="false" encoding="" />
Make sure to save your changes when you're finished.
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.
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" />
- 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 <
- > (greater than sign) is replaced with >
- " (quotation mark) is replaced with "
- ' (apostrophe) is replaced with '
- & (ampersand) is replaced with &
This is most often relevant for the A&E channel.
<Channel id="A&E" siteId="AETV" />
<Channel id="A&E" siteId="AETV" /
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.
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.
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.
Always remember to click “Save” within WebEPG when done making changes.
- 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.