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.


EzyE

16 posts

Geek


#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
EzyE

16 posts

Geek


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

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



mm1352000
1149 posts

Uber Geek
Inactive user


  #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...

EzyE

16 posts

Geek


  #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. 



mm1352000
1149 posts

Uber Geek
Inactive user


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

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

jzed
3 posts

Wannabe Geek


  #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.

zxr400
4 posts

Wannabe Geek


  #413045 5-Dec-2010 15:14

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

SAKiwi1000
17 posts

Geek


  #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




 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
SAKiwi1000
17 posts

Geek


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

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

SAKiwi1000
17 posts

Geek


  #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

mm1352000
1149 posts

Uber Geek
Inactive user


  #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?

SAKiwi1000
17 posts

Geek


  #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

mm1352000
1149 posts

Uber Geek
Inactive user


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

Looking forward to it :)

SAKiwi1000
17 posts

Geek


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

Oops How do I attach a file?!

SAKiwi1000
17 posts

Geek


  #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 

Espio
11 posts

Geek


  #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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

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



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.