Using tv_grab_il 1.14
When running --configure, the script stores the channel names in the config file visually. This is probably done to make the interactive prompt for each channel more readable.
When it is time to create the xml file, the channel name are not flipped back to logical order.
Instead of changing the script to flip back and forth between orders, perhaps a cleaner solution would be to store the strings in the config file in their logical order, and have XMLTV::Ask display text after running a visual-ordering function on it.
Logged In: YES
user_id=1335936
Originator: NO
I'm working on an overhaul on the Israeli grabber, it would take some time.
Meanwhile you can comment out the hebrewflip lines with a '#' character.
The new tv_grab_il has the same problem.
Basically, the XMLTV package prompts the user to select the channels and then stores them in the XML file (according to the parameters).
I'll look into it and see if I can do something about it.
I'm not sure what the problem is here
Is it because configure displays this:
but the output has:
If so would a fix be to say something like:
It's a bit problematic. There's no official channel number listing that I know of, and most channels are available both on Cable and Satellite with different channel numbers.
The numeric representation output is actually an internal ID of tv.walla.co.il and has nothing to do with the channel numbers. This was my way of mapping the selection to the show listing.
If it's possible, it should not be a problem to attach a comment to the output. That would make it more human-friendly. Is it possible?
I don't fully understand what you are asking for but I think what you are saying is that the xml file contains entries like:
and you can't tell what channel that is?
The idea is that you take the "134.tv.walla.co.il" and look it up in the list of channel elements in the start of the file. This has:
and so gives you the "display name" for the channel - ערוץ ביוגרפיה
What are you using to 'read' these xml files? Are you simply opening the xml file in your browser? If so you might like to try one of the many simple 'display xmltv' programs available on the internet - e.g. XSLTv http://ericandchar.com/xsltvgrid/ - which will at least print the name rather than the internal number.
It's not expected that a human would try to read the xml directly but that the file would be fed into some other program for display/processing.
I think you would also like the programmes output in the same order as on the tv.walla.co.il website?
Unfortunately xmltv doesn't do this (unless the website's internal ids happen to be in the same order, in which case it's a coincidence!). Having said that, it may be possible to kludge things so they come out in the same order as the website - I'll see what I can do.
Also note that the order of <programmes> in the file is not prescribed - they don't have to be in channel or time order (although most grabbers will do it this way), and so you should not rely or expect this. If you want a different order then you can use the supplied tv_sort program but it won't sort by 'display name' since that is usually pointless.
I've changed tv_grab_il so it outputs the channels in the same order as found on the website.
While I was there, I've also added a command-line option "--slow" to output programme descriptions in the xml. :-)
(CVS version 1.27 / XMLTV 0.5.66)