Zoals uitgelegd hier op Mythportal.be gebruik ik het scriptje om de tvgids te updaten. Sinds enkele dagen merkte ik dat de tvgids niet meer geupdatet werd. Het probleem doet zich voor sinds 25 of 26 januari ergens. Zijn er nog mensen die dit hebben? Hoe heb je het opgelost?
Ik las op het forum dat dit vroeger al eens voorkwam door een vreemd teken. 'k Heb zelf gezocht in de XML maar niks verdachts gevonden. Enig idee?
Bedankt alvast
Hieronder zie je de output als ik het scriptje manueel run:
htpc@HTPC:~$ ~/tvgids.sh
--20:40:43-- http://www.mythportal.be/sites/mythportal.be/files/guide.xml.gz
=> `guide.xml.gz'
Resolving www.mythportal.be... 88.198.105.44
Connecting to www.mythportal.be|88.198.105.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 200,524 (196K) [application/xml]
100%[================================================================================================================>] 200,524 316.92K/s
20:40:43 (316.20 KB/s) - `guide.xml.gz' saved [200524/200524]
### bypassing grabbers, reading directly from file
2008-01-29 20:40:44.049 Using runtime prefix = /usr
2008-01-29 20:40:44.058 New DB connection, total: 1
2008-01-29 20:40:44.061 Connected to database 'mythconverg' at host: localhost
Error in 5932:177: tag mismatch
2008-01-29 20:40:44.213 Updating icons for sourceid: 1
2008-01-29 20:40:44.219 New DB connection, total: 2
2008-01-29 20:40:44.220 Connected to database 'mythconverg' at host: localhost
2008-01-29 20:40:44.220 No programs found in data.
2008-01-29 20:40:44.244 New DB connection, total: 3
2008-01-29 20:40:44.245 Connected to database 'mythconverg' at host: localhost
2008-01-29 20:40:44.246 New DB connection, total: 4
2008-01-29 20:40:44.246 Connected to database 'mythconverg' at host: localhost
2008-01-29 20:40:44.248 Adjusting program database end times.
2008-01-29 20:40:44.253 0 replacements made
2008-01-29 20:40:44.253 Marking generic episodes.
2008-01-29 20:40:44.264 Found 0
2008-01-29 20:40:44.265 Marking repeats.
2008-01-29 20:40:44.275 Found 0
2008-01-29 20:40:44.275 Unmarking new episode rebroadcast repeats.
2008-01-29 20:40:44.286 Found 0
2008-01-29 20:40:44.306 Marking episode first showings.
2008-01-29 20:40:44.621 Found 949
2008-01-29 20:40:44.621 Marking episode last showings.
2008-01-29 20:40:44.934 Found 949
2008-01-29 20:40:44.937
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2008-01-29 20:40:44.939 Connecting to backend server: localhost:6543 (try 1 of 5)
2008-01-29 20:40:44.940 Using protocol version 31
2008-01-29 20:40:44.974 mythfilldatabase run complete.
2008-01-29 20:40:44.975 DataDirect: Deleting temporary files
Error in 5932:177: tag mismatch
Dit is het probleem:
Error in 5932:177: tag mismatch
Voor het XML-bestand van vandaag is dit:
Error in 480:330: tag mismatch
In de xml-gids staat op deze plaats:
<desc>... Cercle Brugge - Standard.<br>Aansluitend samenvatting van ...
Het probleem is "<br>" .
Blijkbaar worden er nu ook al HTML tags gebruikt op teveblad.be.
Je kan dit manueel verwijderen en dat het xml-bestand opnieuw importeren.
Ik ben aan het nagaan hoe ik dit in de toekomst er automatisch uit kan halen.
Cheers,
Johan.