Index: Slim/Buttons/Common.pm =================================================================== RCS file: /home/cvs/cvsroot/slim/server/Slim/Buttons/Common.pm,v retrieving revision 1.32 diff -u -p -B -r1.32 Common.pm --- Slim/Buttons/Common.pm 15 Apr 2004 18:49:38 -0000 1.32 +++ Slim/Buttons/Common.pm 7 May 2004 08:21:33 -0000 @@ -109,7 +109,9 @@ my %functions = ( Slim::Control::Command::execute($client, ["playlist", "jump", "+0"]); } #either starts the same song over, or the previous one, depending on whether we jumped back. - Slim::Control::Command::execute($client, ["play"]); + if (Slim::Player::Source::playmode($client) ne 'pause') { + Slim::Control::Command::execute($client, ["play"]); + } Slim::Display::Animation::showBriefly($client, (Slim::Buttons::Playlist::currentSongLines($client))[0..1]); }, @@ -157,8 +159,9 @@ my %functions = ( } #either starts the same song over, or the previous one, or the next one depending on whether/how we jumped - Slim::Control::Command::execute($client, ["play"]); - Slim::Display::Animation::showBriefly($client, (Slim::Buttons::Playlist::currentSongLines($client))[0..1]); + if (Slim::Player::Source::playmode($client) ne 'pause') { + Slim::Control::Command::execute($client, ["play"]); + }Slim::Display::Animation::showBriefly($client, (Slim::Buttons::Playlist::currentSongLines($client))[0..1]); }, 'jumpinsong' => sub { my ($client,$funct,$functarg) = @_; Index: Slim/Player/Source.pm =================================================================== RCS file: /home/cvs/cvsroot/slim/server/Slim/Player/Source.pm,v retrieving revision 1.86 diff -u -p -B -r1.86 Source.pm --- Slim/Player/Source.pm 6 May 2004 08:13:58 -0000 1.86 +++ Slim/Player/Source.pm 7 May 2004 08:21:34 -0000 @@ -550,6 +550,7 @@ sub jumpto { return; } + my $prevmode = playmode($client); playmode($client,"stop"); if ($songcount != 1) { @@ -575,7 +576,7 @@ sub jumpto { currentSongIndex($client, 0); } - playmode($client,"play"); + playmode($client,$prevmode eq "pause" ? $prevmode : "play"); }