Gezuz Micheal - the things you have to deal with. 5127 GENRES?!?!?!?
How the hell does that happen?

LOL

On 8/9/19, mherger <mherger.94j...@no-mx.forums.slimdevices.com> wrote:
>
> mruano wrote:
>> Yes, I am afraid I do: I have 5,127 genres - I have not bothered to edit
>> them, as I don't use genres very much - so they are the ones that came
>> with the original recordings. Would that be the cause?
>
> Well, that certainly would kill it. I've only found one place which
> would trigger the message you're seeing. And that's rendering the Genres
> list in the Advanced Search. (doesn't mean there couldn't be any other
> code breaking the same way, but that's what I've found)
>
> You could try patching the template toolkit. Increase the number of max
> iterations in a WHILE loop from 1000 to 10000:
>
>
> Code:
> --------------------
>     diff --git a/CPAN/Template/Directive.pm b/CPAN/Template/Directive.pm
>   index 152023861f..2e5713ccb3 100644
>   --- a/CPAN/Template/Directive.pm
>   +++ b/CPAN/Template/Directive.pm
>   @@ -34,7 +34,7 @@ use Template::Exception;
>
>   our $VERSION   = 2.20;
>   our $DEBUG     = 0 unless defined $DEBUG;
>   -our $WHILE_MAX = 1000 unless defined $WHILE_MAX;
>   +our $WHILE_MAX = 10000 unless defined $WHILE_MAX;
>   our $PRETTY    = 0 unless defined $PRETTY;
>   our $OUTPUT    = '$output .= ';
>
>
> --------------------
>
>
> Then restart LMS.
>
>
>
> Michael
>
> http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo
> ------------------------------------------------------------------------
> mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
> View this thread: http://forums.slimdevices.com/showthread.php?t=110264
>
> _______________________________________________
> Squeezecenter mailing list
> Squeezecenter@lists.slimdevices.com
> http://lists.slimdevices.com/mailman/listinfo/squeezecenter
>


-- 
Guy Stalnaker
jimmyg...@gmail.com
_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to