erland;505013 Wrote:
> Unfortunately, I think it will require more time than what I'm ready to
> spend to investigate this, hopefully some other Custom Browse user is
> able to help you.
>
> It's probably a good idea that you post the complete xml (as an
> attachement) if you want someone to help you.
>
> If you use the web interface I think you will get a bit more detailed
> error message, it should also be available in the server.log file.
>
> Another thing to think about is that you may need to use parentheses
> when mixing "and" and "or" statements in a SQL. If you enable debug
> level logging on "plugin.custombrowse" you will also get more details
> regarding exactly which SQL statements are executed and if they succeeds
> or return an error.
>
> It's important that the result columns contains the correction
> information, if they don't it might explain why it works in a SQL tool
> but not in the real system.
>
> Also I'm not sure if the pathtypedata element is correct, it might be,
> I'm just not sure how the keywords ({context.itemid}) should look like.
> If you haven't done so, it might be worth comparing it with a working
> menu.
OK, I understand. Thank you for all your help!
The code is from a working menu (the Trackyear menu). I just added the
OR statements.
And thank you for the hint regarding parenthesis. After a couple of
tries I found out that those should be inserted like this:
where
(X and Y)
or
(Z and P)
After that the menu actually worked, sort of. No error messages, but it
took almost 10 minutes, during which the playback was stopped, to get
the initial menu with the year values. But then the subsequent menues
(the album list for a year and the song list for an album) were as fast
as can be expected and the values seem to be correct, i.e. a mix of the
trackyear and albumyear values.
I attach the code for the menu hoping that someone else might be able
to help me to "optimize" the code to get it to work faster.
+-------------------------------------------------------------------+
|Filename: ALLYEARS.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=9028|
+-------------------------------------------------------------------+
--
vagskal
2 x SB3 (wired), Receiver (wireless), Boom (wireless), Controller, iPeng
on iPod Touch, muso on remote computer running Win XP | 7.4.2 on Win XP
------------------------------------------------------------------------
vagskal's Profile: http://forums.slimdevices.com/member.php?userid=20778
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins