Any easy way to add this fix for the Windows code? I have a vague
understanding that the Windows code is pre-compiled to a
packed/bytecode format, and I'd need to install Perl to re-compile the
changes, right?
-Dan
bpa;368696 Wrote:
> Found the bug. There are really two bugs in SC but the non-stop playing
> is effectively as a result of fix for bug 9674 on 8th Oct 2008.
>
> This bug is also in 7.3.
>
> If you are running OSX or Linux then you can apply this patch to get
> around the problem.
> >
Code:
--------------------
> >
> Index: Slim/Formats/Playlists/ASX.pm
> ===================================================================
> --- Slim/Formats/Playlists/ASX.pm (revision 24273)
> +++ Slim/Formats/Playlists/ASX.pm (working copy)
> @@ -108,7 +108,8 @@
> }
> }
> }
> -
> +
> + my %seenhref = ();
> for my $entry ( @entries ) {
>
> my $title = $entry->{title};
> @@ -127,6 +128,8 @@
> # 'ref' tags should refer to audio content, so we need to force
> # the use of the MMS protocol handler by making sure the URI starts with mms
> $href =~ s/^http/mms/;
> + next if defined ($seenhref{$href}) ;
> + $seenhref{$href} = 1;
>
> $log->info("Found an entry: $href, title $title");
>
--------------------
> >
--
plympton
------------------------------------------------------------------------
plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=51002
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins