Scripting question

Nikolaj Hald Nielsen nhnfreespirit at gmail.com
Thu Mar 26 07:21:07 UTC 2009


I it is likely that you simply have an error in the script that throws
an exception. Adding the code that Ian suggested will output any
errors to the console ( start amarok from the console and keep an eye
on the output )

Hope this helps.

- Nikolaj

On Thu, Mar 26, 2009 at 7:19 AM, Ian Monroe <ian.monroe at gmail.com> wrote:
> On Wed, Mar 25, 2009 at 3:35 PM, Andreas Wuest <andreaswuest at gmx.de> wrote:
>> Hi Nikolaj,
>>
>> sorry if the problem was not described properly. the problem i have is the
>> following. i have a script with about 200 entries. to make it more usable i
>> wanted to implement filtering. however, it did not work. so i removed
>> everything that was not really required. thus i hoped to understand whats
>> the problem. unfortunately that was not the case. i can sum up my problems
>> with the following question.
>>
>> why does the repopulation of the list not work when i enter something in the
>> filter box?
>>
>> i can see that the onPopulation method is called, but for some reason the
>> insertItem method calls do not have any effect. the list stays empty.
>> What's the trick ?
>>
>> is there anything i forgot in the script ? i just want to understand why the
>> list stays empty.
>>
>> thanks in advance,
>> cheers,
>> andy
> Well javascript is kinda nasty sometimes in that it will error out
> with it being apparent.
>
> Try adding a
> try {
> the body of the onpopulate method
> catch( e ) {
> print( e );
> }
>
> or similar.
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>



More information about the Amarok mailing list