| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #21 (permalink) | |
| Portal Member Join Date: Jul 2007 Location: Luleå
Posts: 191
Thanks: 1
Thanked 18 Times in 6 Posts
Country: | Quote:
Edit: Nope, it's done automatically. I think i know what the problem is. Don't know where that line of code came from :-) I'll release a fix asap. Last edited by Laban; 2007-07-10 at 14:17. | |
| | |
| |
| | #22 (permalink) | ||||||
| Portal Member Join Date: Jul 2007 Location: Luleå
Posts: 191
Thanks: 1
Thanked 18 Times in 6 Posts
Country: | Quote:
1: match by name, non case sensitive, so "Canal + Film" = "canal+ FILM" 2: no match -> remove the last word, if there are more then two, try again 3: no match -> take the 3 first letters, try again Quote:
Quote:
Quote:
Quote:
Quote:
A easy thing would of course be to use the database for the wildcard searches. But, i dunno, don't really see the reason to make this more advanced then it is. Feel free to implement something like that yourself though. The source code is available. Though i would perhaps wait until most of the bugs are sorted out if i were you :-) Last edited by Laban; 2007-07-10 at 15:47. | ||||||
| | |
| | #23 (permalink) | |
| Portal Member Join Date: Jul 2007 Location: Luleå
Posts: 191
Thanks: 1
Thanked 18 Times in 6 Posts
Country: | Quote:
If you did then that was perhaps a bad joke ->http://en.wikipedia.org/wiki//dev/null Just put the bugreports in this thread for now. | |
| | |
| | #24 (permalink) | |
| Portal Member Join Date: Jul 2007 Location: Luleå
Posts: 191
Thanks: 1
Thanked 18 Times in 6 Posts
Country: | Quote:
If we're talking about 20+ channels then it might be a good idea to implement something. If we are, then you could post some samples of what we are talking about. One example that i have with the swe grabber is a channel that it split, sends children stuff in the daytime, then hmm, i guess documentaries in the evenings. It has the names split like barnkanalen/kunskapskanalen (direct translation would be childrenschannel/knowledgechannel). This will not give you a match with the current algorithm. But i only have one channel with this problem so it wouldn't be worth the effort for my own uses. Especially since you shouldn't have to do these mappings that often. Preferably only once, and then just for the new channels when you do a new autotune. And you have the export functionality (not the one in the xmltv plugin, the one that exports the tuning and all that in the channels section) for reinstallations and stuff like that so there's no need to redo it then either. Last edited by Laban; 2007-07-10 at 17:13. | |
| | |
| | #26 (permalink) | ||
| Portal Member Join Date: Dec 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Quote:
The main issue in the UK that i can see is that we have >1 displayname node for the channel - the MP Name is utv but as it does not appear first - it does not get match PHP Code: I may take you up on seeing if can get my head round C#; hope it is not too hard. keep up the great work. Ian. | ||
| | |
| | #27 (permalink) | |
| Portal Member Join Date: Jul 2007 Location: Luleå
Posts: 191
Thanks: 1
Thanked 18 Times in 6 Posts
Country: | Quote:
The other is to create a channel object for each display-name. They'll both have the same externalid (of course) so this won't matter at all for the mappings themselves. The only thing that'll happen is that there will be a few more channels to go through when trying to find a match for each channel from the MP. Shouldn't be a big problem afaics. I'm going to try and implement that and i'll put it in a separate release to begin with. | |
| | |
| | #28 (permalink) |
| Portal Member Join Date: Jul 2007 Location: Luleå
Posts: 191
Thanks: 1
Thanked 18 Times in 6 Posts
Country: | Added support for multiple display-names in the tvguide. F.e <channel id="utvlive.com"> <display-name>Ulster</display-name> <display-name>UTV</display-name> <icon src="http://www.lyngsat-logo.com/logo/tv/uu/ulster_tv.jpg" /> </channel> This means that you should get an exact match if the MP(tuned) channel is named Ulster or UTV (non case sensitive of course). |
| | |
| | #29 (permalink) |
| Portal Member Join Date: Dec 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
| Hey laban, Seems the last version of the plugin is broke- when i press load/refresh it simply finishes instantly and no programs import - the xmltv2 screen says that the program have been imported. Rolling back the DLL fixes the issue. Nothing seen in the logs Cheers, Ian. |
| | |
| | #30 (permalink) | ||
| Portal Member Join Date: Dec 2006
Posts: 36
Thanks: 2
Thanked 0 Times in 0 Posts
Country: | Quote:
don't worry! my ignorance about linux is the same as the ignorance to understand bad jokes ![]() | ||
| | |
![]() |
| Bookmarks |
| Tags |
| binary, source, xmltv |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 problems with XMLTV | ChuckTX | xmlTV | 2 | 2007-03-09 17:54 |
| XMLtv | tvviewer | Installation, configuration support | 4 | 2006-08-24 17:25 |
| Help with xmltv | donmega | General Support | 4 | 2005-11-21 23:02 |
| XMLTV | blackfundi | Plugins/Erweiterungen | 1 | 2005-09-05 10:19 |
| XMLTV Automate | Anonymous | Tips and Tricks | 4 | 2005-01-17 14:53 |