Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




15 posts

Geek


Topic # 72877 3-Dec-2010 22:26
Send private message

Have just moved from rvangelder's freeviewtoxmltv to EPG Collector using standard settings. It creates what appears to me to be an up to date tvguide.xml file, but when I force mediaportal to import the file, I get the ''No programs found" Import status. I'm really amateur when it comes to this kind of stuff, so I'm sorry if I'm missing something simple.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2


15 posts

Geek


  Reply # 412686 3-Dec-2010 22:58
Send private message

The xmltv.dtd file isn't updating, not sure if that's relevant or not.

1102 posts

Uber Geek
+1 received by user: 67

Trusted

  Reply # 412800 4-Dec-2010 13:06
Send private message

The xmltv.dtd file isn't meant to be updated - it describes the format of the xml file ;)

Okay, so you get no programs found. Do you get channels found though?
The process for setting up XMLTV in MP is roughly:

1. Generate your XMLTV file. Chuck it into the folder where you want to keep your guide data. The DTD file must also go in the same folder.
2. Open up TV Server config. Go to the plugins section. Enable the XMLTV plugin.
3. Expand the plugins group and select the XMLTV plugin.
4. On the general tab:
- Enter the folder containing the XML files (for me this is C:\Program Files\XMLTV).
- Check "import new tvguide.xml".
- I recommend checking "delete old programs before import". Meaning is self explanatory.
- Unless you have multiple XML files (from multiple sources) there is no need to check "import files in tvguide.lst".
- optionally apply time compensation - won't be needed with data from the EPG Collector
5. Click import. This should pick up the channels in the XML file/s.
6. To get programs, you need to map the channels found in the XML to the channels in MP. This is done on the mappings tab.
- Select a group.
- Optionally check "partial match" if you want MP to automatically detect non-exact mappings (usually the XMLTV channel name has to be the same as the MP channel name for MP to automatically make the mapping).
- Optionally check "load radio channels" if you have/want EPG data for radio.
- Click "load/refresh".
- The channels that have been mapped for the first time will be green in the "*" column with the mapped channel listed in the "guide channel" column. The channels that can't be automatically mapped are red in the "*" column. Channels that have been mapped from previous imports will already have the channel selected (and the "*" column will be white).
- For the channels that haven't been automatically mapped that you have data for: simply select the XMLTV channel to map to the MP channel in the "guide channel" column.
- You can optionally remove channels from the MP guide by unchecking the "visible in guide" column. This is the same as unchecking the channel in the "TV Channels" section.
- Once you're done with one group, hit "save". You can hit "load/refresh" at any time to throw away any changes you've made.
- Rinse and repeat for each group of channels or do it all at once using the all channels group.
- Go back to the general tab and click import again. This time the programmes should be picked up. Give the import some time (~1 minute for the data to start appearing in MP).

The remote tab is irrelevant unless you automatically download your guide data.

Hope that helps...

 
 
 
 




15 posts

Geek


  Reply # 412841 4-Dec-2010 18:02
Send private message

mm1352000: The xmltv.dtd file isn't meant to be updated - it describes the format of the xml file ;)

Okay, so you get no programs found. Do you get channels found though?
The process for setting up XMLTV in MP is roughly:

1. Generate your XMLTV file. Chuck it into the folder where you want to keep your guide data. The DTD file must also go in the same folder.
2. Open up TV Server config. Go to the plugins section. Enable the XMLTV plugin.
3. Expand the plugins group and select the XMLTV plugin.
4. On the general tab:
- Enter the folder containing the XML files (for me this is C:\Program Files\XMLTV).
- Check "import new tvguide.xml".
- I recommend checking "delete old programs before import". Meaning is self explanatory.
- Unless you have multiple XML files (from multiple sources) there is no need to check "import files in tvguide.lst".
- optionally apply time compensation - won't be needed with data from the EPG Collector
5. Click import. This should pick up the channels in the XML file/s.
6. To get programs, you need to map the channels found in the XML to the channels in MP. This is done on the mappings tab.
- Select a group.
- Optionally check "partial match" if you want MP to automatically detect non-exact mappings (usually the XMLTV channel name has to be the same as the MP channel name for MP to automatically make the mapping).
- Optionally check "load radio channels" if you have/want EPG data for radio.
- Click "load/refresh".
- The channels that have been mapped for the first time will be green in the "*" column with the mapped channel listed in the "guide channel" column. The channels that can't be automatically mapped are red in the "*" column. Channels that have been mapped from previous imports will already have the channel selected (and the "*" column will be white).
- For the channels that haven't been automatically mapped that you have data for: simply select the XMLTV channel to map to the MP channel in the "guide channel" column.
- You can optionally remove channels from the MP guide by unchecking the "visible in guide" column. This is the same as unchecking the channel in the "TV Channels" section.
- Once you're done with one group, hit "save". You can hit "load/refresh" at any time to throw away any changes you've made.
- Rinse and repeat for each group of channels or do it all at once using the all channels group.
- Go back to the general tab and click import again. This time the programmes should be picked up. Give the import some time (~1 minute for the data to start appearing in MP).

The remote tab is irrelevant unless you automatically download your guide data.

Hope that helps...


You beautiful, beautiful man. I grant you the e-key to my heart for saving my sanity. 

1102 posts

Uber Geek
+1 received by user: 67

Trusted

  Reply # 412863 4-Dec-2010 19:51
Send private message

I take it you're sorted :)
Only too happy to be able to help.

3 posts

Wannabe Geek


  Reply # 412926 5-Dec-2010 00:11
Send private message

Thanks for the pointer to this thread. I didn't have the dtd file in the same directory anymore.
After 4 hours of fun and games, I have got it sorted. Had a problem with Mediaportal not recognising the xml file - Invalid xml file:An item with the same key... Managed to find a solution on the Mediaportal web site - restarting the TV service.

4 posts

Wannabe Geek


  Reply # 413045 5-Dec-2010 15:14

awesome, was having the same issue and now i have my epg back. thanks a lot!!

17 posts

Geek


  Reply # 416029 12-Dec-2010 06:45
Send private message

Hi
Tried this
mm1352000: The xmltv.dtd file isn't meant to be updated - it describes the format of the xml file ;)

Okay, so you get no programs found. Do you get channels found though?
The process for setting up XMLTV in MP is roughly:

1. Generate your XMLTV file. Chuck it into the folder where you want to keep your guide data. The DTD file must also go in the same folder.
2. Open up TV Server config. Go to the plugins section. Enable the XMLTV plugin.
3. Expand the plugins group and select the XMLTV plugin.
4. On the general tab:
- Enter the folder containing the XML files (for me this is C:\Program Files\XMLTV).
- Check "import new tvguide.xml".
- I recommend checking "delete old programs before import". Meaning is self explanatory.
- Unless you have multiple XML files (from multiple sources) there is no need to check "import files in tvguide.lst".
- optionally apply time compensation - won't be needed with data from the EPG Collector
5. Click import. This should pick up the channels in the XML file/s.
6. To get programs, you need to map the channels found in the XML to the channels in MP. This is done on the mappings tab.
- Select a group.
- Optionally check "partial match" if you want MP to automatically detect non-exact mappings (usually the XMLTV channel name has to be the same as the MP channel name for MP to automatically make the mapping).
- Optionally check "load radio channels" if you have/want EPG data for radio.
- Click "load/refresh".
- The channels that have been mapped for the first time will be green in the "*" column with the mapped channel listed in the "guide channel" column. The channels that can't be automatically mapped are red in the "*" column. Channels that have been mapped from previous imports will already have the channel selected (and the "*" column will be white).
- For the channels that haven't been automatically mapped that you have data for: simply select the XMLTV channel to map to the MP channel in the "guide channel" column.
- You can optionally remove channels from the MP guide by unchecking the "visible in guide" column. This is the same as unchecking the channel in the "TV Channels" section.
- Once you're done with one group, hit "save". You can hit "load/refresh" at any time to throw away any changes you've made.
- Rinse and repeat for each group of channels or do it all at once using the all channels group.
- Go back to the general tab and click import again. This time the programmes should be picked up. Give the import some time (~1 minute for the data to start appearing in MP).

The remote tab is irrelevant unless you automatically download your guide data.

Hope that helps...


I have done all this.  Where is the channel data stored - xmltv.dtd was last changed in 2008.  Channelinfo.xml is new.  When I hit the export button in MP setup the file generated is different to chanelinfo.xml

I am still not getting programs found with an error message popping up"
The log records : -
2010-12-12 06:29:47.790643 [XmlTvImporter(28)]: XML tv import error loading C:\Users\Public\Mediaportal\tvguide.xml err:An item with the same key has already been added.
    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)

Any further pointers?
Regards
Neville




17 posts

Geek


  Reply # 416030 12-Dec-2010 07:08
Send private message

Here is a screenshot of what is in MP
MP giude
Regards
Neville

17 posts

Geek


  Reply # 416037 12-Dec-2010 07:37
Send private message

Update!
AFter a further bit of mucking around I have resaved a "fresh" published version of xmltv.dtd in the same folder and XmlTV now imports successfully but the above screenshot remains...
If I had more hair it would now be gone!
Neville

1102 posts

Uber Geek
+1 received by user: 67

Trusted

  Reply # 416106 12-Dec-2010 12:14
Send private message

Hi again

I take it you checked the "delete old programs before import" option and gave MP a minute or two to update the database? At this point it might be necessary for you to post your guide xml here. Maybe the format doesn't match the DTD that you have - unlikely, but possible...

"Where is the channel data stored..."
In the database.

"xmltv.dtd was last changed in 2008.  Channelinfo.xml is new.  When I hit the export button in MP setup the file generated is different to chanelinfo.xml"
xmltv.dtd is the only file you need to have in the folder to make this all work. Where is the export button you speak of?

17 posts

Geek


  Reply # 416153 12-Dec-2010 14:20
Send private message

Wow thanks for the prompt reply

mm1352000: Hi again

I take it you checked the "delete old programs before import" option and gave MP a minute or two to update the database? At this point it might be necessary for you to post your guide xml here. Maybe the format doesn't match the DTD that you have - unlikely, but possible...

"Where is the channel data stored..."
In the database.

"xmltv.dtd was last changed in 2008.? Channelinfo.xml is new.? When I hit the export button in MP setup the file generated is different to chanelinfo.xml"
xmltv.dtd is the only file you need to have in the folder to make this all work. Where is the export button you speak of?


I have "delete old programs before import" ticked

MP has had a we while to sort itself out

The DTD was from XmlTV in the MP folder but have replaced with a new download

The export button in in the channel mapping in the MP server config XmlTV plugin.

When I get home will upload my current TVGuide.xml file along with the DTD that I am using

thanks
Neville

1102 posts

Uber Geek
+1 received by user: 67

Trusted

  Reply # 416163 12-Dec-2010 14:55
Send private message

Looking forward to it :)

17 posts

Geek


  Reply # 416272 12-Dec-2010 21:27
Send private message

Oops How do I attach a file?!

17 posts

Geek


  Reply # 416274 12-Dec-2010 21:32
Send private message

Well that will teach me!

I have restarted my computer earlier to day and now when I check ALL WORKING!

Thanks for the tips and pointerds from earlier in the post.....

I will try try to be more useful next time!!

Neville 

8 posts

Wannabe Geek


  Reply # 419732 20-Dec-2010 22:34
Send private message

Hello All :)
Just setup my MediaPortal Server, grabbed a Freeview.gz XML EPG from the 'Daily Scrape'. Wondering if I need to automatically download EPG's or what?

1. Do I need to keep downloading?
2. How Do I setup automatic downloading of EPG Data if 1. is a yes?

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic


Donate via Givealittle


Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Amazon introduces new Kindle with adjustable front light
Posted 21-Mar-2019 20:14


A call from the companies providing internet access for the great majority of New Zealanders, to the companies with the greatest influence over social media content
Posted 19-Mar-2019 15:21


Two e-scooter companies selected for Wellington trial
Posted 15-Mar-2019 17:33


GeForce GTX 1660 available now
Posted 15-Mar-2019 08:47


Artificial Intelligence to double the rate of innovation in New Zealand by 2021
Posted 13-Mar-2019 14:47


LG demonstrates smart home concepts at LG InnoFest
Posted 13-Mar-2019 14:45


New Zealanders buying more expensive smartphones
Posted 11-Mar-2019 09:52


2degrees Offers Amazon Prime Video to Broadband Customers
Posted 8-Mar-2019 14:10


D-Link ANZ launches D-Fend AC2600 Wi-Fi Router Protected by McAfee
Posted 7-Mar-2019 11:09


Slingshot commissions celebrities to design new modems
Posted 5-Mar-2019 08:58


Symantec Annual Threat Report reveals more ambitious, destructive and stealthy attacks
Posted 28-Feb-2019 10:14


FUJIFILM launches high performing X-T30
Posted 28-Feb-2019 09:40


Netflix is killing content piracy says research
Posted 28-Feb-2019 09:33


Trend Micro finds shifting threats require kiwis to rethink security priorities
Posted 28-Feb-2019 09:27


Mainfreight uses Spark IoT Asset Tracking service
Posted 28-Feb-2019 09:25



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.