| |||||||
| 1.0 RC2 and SVN Builds Post bugs you found in 1.0 RC2 or any later svn build here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member | Hi, xmltvimport fails to parse parts of the"xmltv_ns" spec(it'll get an exception in Int32.Parse) and thus nothing is inserted into the database. Have written a patch that ignores the values it can't parse. Well, it writes a log message and then set the value to "". Should be much better than failing all. <programme start="20080818155000 +0200" stop="20080818164000 +0200" channel="guld.tv4.se"> <title lang="sv">Kojak</title> <desc lang="sv">Del 111 av 119.</desc> <credits> <actor>Dan Frazer</actor> <actor>George Savalas</actor> <actor>Kevin Dobson</actor> <actor>Telly Savalas</actor> </credits> <date>1973</date> <category lang="en">series</category> <category lang="en">Crime/Mystery</category> <episode-num system="xmltv_ns">1972 . 110/119 . 1/</episode-num> ^ HERE it's expecting another value <episode-num system="onscreen">Del 111 av 119 säsong 1973</episode-num> <video> <aspect>4:3</aspect> </video> </programme> BTW. Spec for xmltv_ns field can be found at XML: XMLTV - DTD for TV listings / Magnus |
| | |
| | #2 (permalink) |
| Portal Developer Join Date: Oct 2006 Location: Aarhus
Posts: 741
Thanks: 4
Thanked 75 Times in 52 Posts
Country: | Its in SVN. 0001538: XMLTvImport fails to parse malformed episode part - MediaPortal Bugtracker Instead of using ; try catch's u can use "int32.tryparse" more ellegant. /gibman
__________________ "It's all a big foodchain. We eat shit and shit eats us." |
| | |
![]() |
| Bookmarks |
| Tags |
| episode, malformed, mediacenters, parse, part, xmltvimport |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| bad parsing episode with 3 numbers - ex: episode 111 | lyka | My TVSeries | 4 | 2008-09-23 12:53 |
| Manual Renaming / Refusing To Parse | 3guk | My TVSeries | 0 | 2008-02-03 13:38 |
| Series won't parse, please advice | emphatic | My TVSeries | 0 | 2007-10-27 19:46 |
| Feature Request: Parse Episode based on aired date | alteeffour | My TVSeries | 3 | 2007-10-21 21:20 |
| SQL error: database disk image is malformed | Basz | WebEPG | 6 | 2006-09-20 20:35 |