Merci ça marche. En fait xml allait jusqu'à samedi
!
Sinon, le tvguide est basé sur le xmltv, un format de xml sensé géré les programmes
TV (voir : http://membled.com/work/apps/xmltv/ ). L'utilitaire xmltv.exe
permet de récupérer depuis internet les informations nécessaires à la génération de ces xmltv.
Malheureusement, les programmes Français ne sont pas gérés
Sur cette même page on peut
voir qu'il existe un script perl pour unix pour générer un xml Français (je pense qu'il
doit générer les même infos que ceux du site http://membres.lycos.fr/starswan/
Et pis, j'ai trouvé
quelques notes de l'auteur de la fonction tvguide que voici :
Instructions for
generating the show listing file, listing.xml
----------------------------------------------------------------
This tv guide feature was designed to use data from xmltv
Info on xmltv can be found
at:
http://membled.com/work/apps/xmltv/
The quickstart info:
1. Get the latest xmltv windows binary from Sourceforge:
href='http://sourceforge.net/project/showfiles.php?group_id=39046'
target='_blank'>http://sourceforge.net/project/showfiles.p...?group_id=39046
(current latest win32 binary is xmltv-0.5.8-win32.zip)
2. Unzip
xmltv-0.5.8-win32.zip somewhere
3. Open up a Command Prompt, and go to where
you unzipped xmltv
4. Type the following:
xmltv tv_grab_na --configure
(if
you're not from North America, use tv_grab_uk or whatever
applies to your region, a
list is given if you run xmltv
without parameters)
5. Answer the questions asked by
the xmltv configuration process
6. Now that you're configured, type:
xmltv
tv_grab_na > listing.xml
7. Now that you have the listing.xml file, ftp it to your xbox,
it goes in your xbmp home directory (which is set in config.xml).
i.e.
E:\xbmp\ or wherever xbmp is located
8. You're now ready to go,
start xbmp and select TV Guide
from the main menu.
Controls
----------------------------------------------------------------
Start - Settings
A - Display Show
description
B - Jump to Current Time
X - Display Favorite channels only
Y -
Add/Remove channel from favorites
Also:
Hold Right Trigger with D-Pad to move
Time/Channel a page at
a time
Additional info
-----------------------------------------------------------------
Initial configuration seems like a lot of
steps, but once you're setup, updating the listings is pretty easy. I've included some
scripts you can edit to send new listings to xbmp with a single command. Look in the
update-scripts directory that came with the zip, and you can edit update-listing.bat and
ftpscript.txt to match the configurations of your xbox, and then update-listing.bat can be run to
get a new listing with xmltv
and send it to the xbox.
It would be nice if the xmltv
listing extraction could be contained within the xbmp code, but this would be an extremely
difficult task. It would require being able to embed perl code in code compilable by the xbox, or
rewriting all the perl scripts in C. I plan to look into embedding perl into xbox code if there is
enough interest in this entire tv guide feature.