home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
xmltv 2 ? (source + binary now available)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Laban" data-source="post: 162676" data-attributes="member: 53075"><p>It uses a very simple "algorithm" currently.</p><p></p><p>1: match by name, non case sensitive, so "Canal + Film" = "canal+ FILM"</p><p>2: no match -> remove the last word, if there are more then two, try again</p><p>3: no match -> take the 3 first letters, try again</p><p></p><p></p><p></p><p>The above is of course doable. Though i'm not sure that it would be worth the effort. You'd probably run into the problem that you get a lot of incorrect partial matches and you'd have to go through them and "disable" the mapping. You shouldn't have to do these mappings that often either.</p><p></p><p></p><p></p><p>This should show up anyway (see step 1,2,3), though you might not necessarily get the correct channel. But you need to go through all partial matches anyway and you should end up close to the channel you are looking for. But this is a really simple fix, i'll try to put it in the next version.</p><p></p><p></p><p></p><p>See the answer to the second question.</p><p></p><p></p><p></p><p>Yes.</p><p></p><p></p><p></p><p>Well, i'm a java programmer by trade too. Though C# is pretty similiar, don't really see a problem going from java to c#. As for help, well, you could fix the TstDictionary classes that i'm using for doing wildcard searches <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />. The PartialMatch method didn't work as promised, otherwise it would have been easy to do the stuff that you were talking about above. To lazy to do it myself, or to implement a wildcardsearch myself. I have other projects that i want to start with also <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />. </p><p></p><p>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 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Laban, post: 162676, member: 53075"] It uses a very simple "algorithm" currently. 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 The above is of course doable. Though i'm not sure that it would be worth the effort. You'd probably run into the problem that you get a lot of incorrect partial matches and you'd have to go through them and "disable" the mapping. You shouldn't have to do these mappings that often either. This should show up anyway (see step 1,2,3), though you might not necessarily get the correct channel. But you need to go through all partial matches anyway and you should end up close to the channel you are looking for. But this is a really simple fix, i'll try to put it in the next version. See the answer to the second question. Yes. Well, i'm a java programmer by trade too. Though C# is pretty similiar, don't really see a problem going from java to c#. As for help, well, you could fix the TstDictionary classes that i'm using for doing wildcard searches :-). The PartialMatch method didn't work as promised, otherwise it would have been easy to do the stuff that you were talking about above. To lazy to do it myself, or to implement a wildcardsearch myself. I have other projects that i want to start with also :-). 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 :-) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
xmltv 2 ? (source + binary now available)
Contact us
RSS
Top
Bottom