![]() |
Smart Playlist Query Not working
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Can anyone tell me why? |
from a quick look at the source code after working out the length of your queries (which are 975, 1006, 108 and 1049 characters long respectively), it's because the internal buffers are limited to 1024 (effectively only allowing 1023 characters).
other than changes made to the buffer sizes in ml_local itself, you'd need to keep your query size to below 1024 characters at the moment. -daz |
Thanks for the quick feedback. If I update the sizes in ml_local will I have to repeat the process before every upgrade?
|
sorry but i'm not following what you mean.
either way, i'm just run off a patch to submit which increases the internal buffer sizes to 2048 characters which should be enough in future. though got to say your query takes an age to run - is ~30secs for the longest one to complete on my smallish (~7600) library. -daz |
My apologies, I guess I wasn't being clear. If I edit my file locally, will I then have to update it with every upgrade (as in does winamp overwrite the file when it upgrades) or should the changes stay in place? But since you said you submitted a patch, it should by fine either way. Thank you.
|
am assuming you're talking about manually editing gen_ml.ini? if so then that should not be touched on upgrades (as long as it's not been altered when Winamp closed).
-daz |
I couldn't find gen_ml.ini and I couldn't edit the gen_ml.dll so I've left it and decided to wait until an updated version is released? Any idea when that will be?
|
no idea, all i know is the patch is in there now.
-daz |
They should allow | as "or" and other symbol for "and" like they do with ! for "not", this would make query code shorter.
Just an idea. if "has" an other commands would also have a symbol, you could even remove spaces, so code could be extremely short ;) Regards, Alex |
| All times are GMT. The time now is 23:06. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.