|
From: Ed A. <ed...@me...> - 2003-01-11 00:06:31
|
On Sun, 5 Jan 2003, Steve Vibert wrote: [tv_grab_na] >Unless I've missed it, there doesn't appear to be any way to >determine the "type" of programming (Movie, SitCom, News, >Infomercial, etc). Have a look at the <category> elements: I know that at least some of those programme types you mentioned are written as categories. The category names aren't standardized but you should be able to do something. >Is this something that's missing in XMLTV but present somewhere in >the Zap2It listings? You can answer this question yourself by browsing zap2it.com and by viewing the XML. >If so, would you consider adding the appropriate tags to a future >release of XMLTV? Yes, if you can show an example of where the information is missing from the XML output we can work out a way to add it. In the long term. >Also, can xmltv.exe be called from a path different than the calling >app? >C:\PROGRA~1\TELEGU~1\xmltv.exe C:\PROGRA~1\TELEGU~1\tv_grab_na >--listings C:\PROGRA~1\TELEGU~1\20030105.xml --days 1 --offset 0 > >Unfortunately, this is completely ignored-no errors, nada, zip??? Hmm. It shouldn't do _that_ but anyway you are calling it wrong; the program name is just 'tv_grab_na', no path needed because it is not a filename. Also try changing the --listings filename to something simple, I'm sure that isn't the problem but it helps anyway to rule it out. >Doing this. > >C:\PROGRA~1\TELEGU~1\xmltv.exe tv_grab_na --listings >C:\PROGRA~1\TELEGU~1\20030105.xml --days 1 --offset 0 > >*only* works if tv_grab_na is located in the same path as the calling >app. Otherwise, I get the following error: > ><SNIP> > >C:\PROGRA~1\TELEGU~1\xmltv.exe: config file './tv_grab_na' does not >exist, run -config Yes, because Windows doesn't always have a 'home directory' for each user the grabbers will look in the current directory instead. Try setting the environment variable HOME to where the config file tv_grab_na lives. Or better, give the --config-file argument to the grabber. >C:\PROGRA~1\TELEGU~1\tv_grab_na is not a valid command. This is the same error discussed above. Just give the name of the 'program', no path needed. -- Ed Avis <ed...@me...> |