NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 784 785 786 787 788 … 1231 Next »
What is used a unique id while importing xmltv?

 
  • 0 Vote(s) - 0 Average
What is used a unique id while importing xmltv?
hthvdmeer
Offline

Junior Member

Posts: 1
Threads: 1
Joined: Jun 2006
#1
2006-06-02, 07:18 AM
Hello,

I've just started using gbpvr and would like to understand some more about importing xmltv data.

I used freq2xml.exe to prepare an xml file that contains my channel definition.
I live in the Netherlands where we need to use the exact frequency.
So for example:

<tv>
<channel id="216000000">
<display-name>Nederland 1</display-name>
</channel>
<channel id="184000000">
<display-name>Nederland 2</display-name>
</channel>


So the channel id is the frequency I need to use.
And this works. When I import EPG GBPVR creates the channels using then channel id as source channel.
It adds the channels to the (empty) list of channels sorted by freq and not by order of entry. I would have preferred the former.

Then I use Amontillado TVGIDS grabber to grab the real xmltv data.
It makes an xmltv file like this:

<tv generator="Amontillado TVGIDS grabber">
<channel id="1">
<display-name>Nederland 1</display-name>
</channel>
<channel id="2">
<display-name>Nederland 2</display-name>
</channel>

..
..
..

<programme start="20060602065900" stop="20060602090000" channel="1">
<title>Goedemorgen Nederland</title>
<desc>bla bla bla</desc>
<category>Nieuws/actualiteiten</category>
</programme>

And when I import it works OK. So far so good.

What I do not understand is how GBPVR matches its channels to the newly imported data. I guess it uses the display-name as unique id, but then again it uses the channel id to mach the data internal in the xmltv file.
Could somebody pleas confirm this?

So to start a new gbpvr installation I need to:
1) prepare an xmltv file to define the channels and its frequency
2) renumber the channels to my preference
3) import the 'real' xmltv file.

What happens when an updated xmltv is imported?
1) When this new xmltv defines programs in empty time slots are the old programs preserved?
2) When the new xmltv tv defines programs on conflicting times are the old conflicting programs deleted?

And finally: did I overlook some documentation where I could have learned all this without bothering you?

Cheers,

Henk van der Meer
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#2
2006-06-02, 07:59 AM
Perhaps an easier way would have been to use the "real" xmltv file to create the channels in gbpvr. Afterwards, you could have gone into the capture source, and overwrite the channel numbers with the known, correct, frequencies.
hthvdmeer Wrote:2) When the new xmltv tv defines programs on conflicting times are the old conflicting programs deleted?
On the capture source tab, tick the box "Complete EPG reload..."
hthvdmeer Wrote:And finally: did I overlook some documentation where I could have learned all this without bothering you?
That depends on what documentation you have looked at Big Grin Many questions are already answered here in the forums, and then we have the wiki with a bunch of info: http://www.gbvpr.com/pmwiki
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#3
2006-06-02, 11:08 AM
I see you're from the Netherlands, so am I. If you have problems with certain programs in the epg overlapping each other, read this: http://forums.gbpvr.com//showthread.php?t=11894, works very nice for me.
If you haven't already check out: updateepg.bat, enter your xmltv program in here.
It runs before GBPVR updates the epg (from your downloaded xmltv file)
So this is the way to automate it, and you can also enter your epgfilter in there (from the thread above). If you have any questions ask here, this is the most helpful and polite forum I've ever met. If you have specific dutch questions you can pm me too.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
durian
Offline

Junior Member

Posts: 13
Threads: 1
Joined: Dec 2005
#4
2006-06-02, 11:24 AM
hthvdmeer Wrote:Hello,

I've just started using gbpvr and would like to understand some more about importing xmltv data.

[...]

What I do not understand is how GBPVR matches its channels to the newly imported data. I guess it uses the display-name as unique id, but then again it uses the channel id to mach the data internal in the xmltv file.
Could somebody pleas confirm this?

So to start a new gbpvr installation I need to:
1) prepare an xmltv file to define the channels and its frequency
2) renumber the channels to my preference
3) import the 'real' xmltv file.

[...]

And finally: did I overlook some documentation where I could have learned all this without bothering you?

I would also like to know how it works *exactly*. I wrote my own xmltv grabber in Perl - I have a linux machine connected to the internet the whole time which grabs the tvgids.nl listing and puts the xmltv.xml file on a samba shared network drive. I got it to work but I don't understand how the epg/gbpvr/xmltv exactly work together with their IDs and names etc.

Something else, my script also allows me to group programs together in one big recording (in the Netherlands we used to have Medium followed by Lost. Having two recordings was messy because this station never ever starts its programs even close to what it publishes in the guide. Often, the recording would change to the next file when the next program hadn't started yet causing irritating breaks.)

Anyway, I'm rambling,
-peter
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#5
2006-06-02, 03:45 PM
hthvdmeer Wrote:What I do not understand is how GBPVR matches its channels to the newly imported data. I guess it uses the display-name as unique id, but then again it uses the channel id to mach the data internal in the xmltv file.
Could somebody pleas confirm this?

it seems that way. i had to write a new grabber for swiss tv listings (since fernsehen.ch blocks now all xmltv-requests) using fernsehen.bluewin.ch.

bluewin uses other names for some channels (e.g. 'SWR-BW' where fernsehen .ch used 'SÜDWEST Fernsehen')...
altough my new grabber uses the same ids, gbpvr created a new channel 'SWR-BW' and left the 'SÜDWEST Fernsehen' blank.
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#6
2006-06-02, 05:49 PM
I think Stefan was right: You start with getting an xmltv file, when you use tv_gids_to_xml.exe, then you can change the channel names you want, in the display tags, these names are used by gbpvr. Then you point gbpvr (in config-capture source-setup-edit recording source-epg setup) to your tv_gids_to_xml.xml (or whatever name you gave it). It downloads the channels. Then in "config-capture source setup-edit recording source" you can enter the frequencies in the colum of the channel numbers.
After that everything should work. In config-channels you can change the order of the channels.
To automate the epg-update you can use updateepg.bat as I described earlier.

To your question about the shows being recorded right after each other: if I have that I always make it a manual recording from beginning 1st show till end 2nd show. You can now also schedule manual recordings in EWA (enahanced web admin).
Good luck
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  XMLTV Updates? phillyjim 1 2,690 2011-12-21, 04:46 PM
Last Post: pcostanza
  XMLTV import with UTF encoding fails (also valid for NPVR) miniGranis 4 2,284 2011-01-29, 08:16 PM
Last Post: miniGranis
  Edit channel name when using xmltv as epg source Haggis 10 5,256 2010-10-18, 01:31 PM
Last Post: Haggis
  xmltv update timing problem aneez 3 2,129 2010-09-29, 06:34 AM
Last Post: aneez
  Free XMLTV? carz181 6 3,977 2010-08-30, 04:13 PM
Last Post: johnsonx42
  DVB epg to XMLTV fuzzweed 2 1,730 2010-06-25, 10:43 AM
Last Post: fuzzweed
  Dual Tuners With Different XMLTV Files skycyclepilot 3 1,900 2010-02-04, 09:37 PM
Last Post: markbb1
  XMLTV GUI Grabber oxymoron 1 1,988 2010-02-04, 07:56 PM
Last Post: Graham
  XMLTV Problems LoonDawg 6 2,382 2010-01-05, 04:29 PM
Last Post: Graham
  Getting XMLTV to work Sanman99 10 7,950 2009-09-13, 01:50 AM
Last Post: markbb1

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode