this is good news! (answer from the author)

I've tried it myself but was miles away from a real solution. So what's
left is a simple hack which at least helps me surviving the time until
someone (James?) does it right :-)
The following patch restores the/my previously known behavior (gapless
when playing tracks for the same album, otherwise use crossfade mode).
It's valid for all players, settings are ineffective as the next
transition does a "reset"

kind regards,
Markus


Code:
--------------------
    
  Index: Slim/Player/ReplayGain.pm
  ===================================================================
  --- Slim/Player/ReplayGain.pm (revision 15586)
  +++ Slim/Player/ReplayGain.pm (working copy)
  @@ -25,6 +25,13 @@
        my $client = shift;
        my $rgmode = $prefs->client($client)->get('replayGainMode');
  
  +     if ($class->trackAlbumMatch($client, -1) || 
$class->trackAlbumMatch($client, 1)) {
  +             $prefs->client($client)->set('transitionType',0);
  +     }
  +     else {
  +             $prefs->client($client)->set('transitionType',1);
  +     }
  +
        my $url = Slim::Player::Playlist::url($client, 
Slim::Player::Source::streamingSongIndex($client));
        
        # Allow plugins to override replaygain (i.e. Pandora should always use 
track gain)
  
--------------------


-- 
schiegl
------------------------------------------------------------------------
schiegl's Profile: http://forums.slimdevices.com/member.php?userid=6654
View this thread: http://forums.slimdevices.com/showthread.php?t=41100

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to