Cool, I manually edited Plugin.pm and it's all working with iOS9 here
now :)
disaster123 wrote:
> OK it's this change:
>
> >
Code:
--------------------
> >
> commit d3c9faca0f75c03a01c27fae2061d29a1d5e0ae8
> Author: Disaster123 <none>
> Date: Tue Jun 30 22:47:07 2015 +0200
>
> use stop on flush to flush player buffers
>
> diff --git a/Plugin.pm b/Plugin.pm
> index 1f4ff02..a3408c6 100755
> --- a/Plugin.pm
> +++ b/Plugin.pm
> @@ -518,6 +518,12 @@ sub conn_handle_request {
>
> /^RECORD$/ && last;
> /^FLUSH$/ && do {
> +
> + # this is pause at airplay - but only stop also flushed the
buffer at the player
> + # so if you press skip you won't hear the old song
> + # also double FLUSH won't result in play again (like on skip)
> + $conn->{player}->execute( ['stop'] );
> +
> my $dfh = $conn->{decoder_fh};
> print $dfh "flush\n";
>
> @@ -554,6 +560,10 @@ sub conn_handle_request {
> $airTunesMetaData{duration} = $durationRealTime;
> $airTunesMetaData{position} = $positionRealTime;
>
> + my $client = $conn->{player};
> + Slim::Control::Request::notifyFromArray( $client,
['newmetadata'] );
> + $client->execute( ['play'] );
> +
> $log->debug( "Duration: " . $durationRealTime . "; Position: " .
$positionRealTime );
> }
> else {
>
--------------------
> >
>
> With iOS 8 FLUSH was a stop command. Send by skip and others. This
> seems to have changed with iOS9. Sadly i've no documentation telling
> me what's correct here.
------------------------------------------------------------------------
nolan's Profile: http://forums.slimdevices.com/member.php?userid=7440
View this thread: http://forums.slimdevices.com/showthread.php?t=103783
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins