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
Language specific support
Deutsches MediaPortal Forum
MediaPortal 1
Musik - CD / MP3
info in musicplayingnow
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="hwahrmann" data-source="post: 1127985" data-attributes="member: 10391"><p>Ok, ich weiß jetzt was passiert.</p><p>In deiner Datenbank sind die Artists und Titel alle in Lower Case abgespeichert:</p><p></p><p>[ATTACH=full]162447[/ATTACH]</p><p></p><p>Laut dem MP Log hast du "Happy Nation" von "Ace of Base" abgespielt.</p><p></p><p>Der erste Treffer, der von Last.FM zurückkommt ist:</p><p>[code][2015-03-04 19:19:54,477] [Log ] [5 ] [DEBUG] - Ace of Base - Wheel of Fortune[/code]</p><p></p><p>Daraus machen wir ein SQL Statement:</p><p>[code]select * from tracks where strartist like '%| Ace of Base |%' and strTitle = 'Wheel of Fortune'[/code]</p><p></p><p>Siehst Du den Unterschied?</p><p>bei strArtist verwenden wird "like" und für strTitle wird "=" verwendet.</p><p></p><p>Ein "=" sucht in SQLIte aber Case Sensitive. und du hast in der db alles in kleinschreibung, daher wird nichts gefunden.</p><p>Ändere ich nun das SQL statement auf "like":</p><p>[ATTACH=full]162448[/ATTACH]</p><p></p><p>Dann habe ich was gefunden.</p><p></p><p>Anbei die korrigierte DLL.</p><p>Ich habe bereits einen Jira Bug für das Last.fm Handlking offen und werde dort auch diesen Fehler beheben</p></blockquote><p></p>
[QUOTE="hwahrmann, post: 1127985, member: 10391"] Ok, ich weiß jetzt was passiert. In deiner Datenbank sind die Artists und Titel alle in Lower Case abgespeichert: [ATTACH=full]162447[/ATTACH] Laut dem MP Log hast du "Happy Nation" von "Ace of Base" abgespielt. Der erste Treffer, der von Last.FM zurückkommt ist: [code][2015-03-04 19:19:54,477] [Log ] [5 ] [DEBUG] - Ace of Base - Wheel of Fortune[/code] Daraus machen wir ein SQL Statement: [code]select * from tracks where strartist like '%| Ace of Base |%' and strTitle = 'Wheel of Fortune'[/code] Siehst Du den Unterschied? bei strArtist verwenden wird "like" und für strTitle wird "=" verwendet. Ein "=" sucht in SQLIte aber Case Sensitive. und du hast in der db alles in kleinschreibung, daher wird nichts gefunden. Ändere ich nun das SQL statement auf "like": [ATTACH=full]162448[/ATTACH] Dann habe ich was gefunden. Anbei die korrigierte DLL. Ich habe bereits einen Jira Bug für das Last.fm Handlking offen und werde dort auch diesen Fehler beheben [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Language specific support
Deutsches MediaPortal Forum
MediaPortal 1
Musik - CD / MP3
info in musicplayingnow
Contact us
RSS
Top
Bottom