mherger;690962 Wrote: 
> > - Create a default ReplayGain adjustment level for each player.
> >   Editable through the web interface.
> > - Apply that ReplayGain level (only) when playing remote streams.
> > - Map a remote IR remote button to enable/disable ReplayGain. Both
> >   for local content and remote streams using the level defined
> above.
> >   Either saving the player's RG setting (album, track, smart) so
> that
> >   it can be restored later, or else just enabling a particular one.
> > - Synchronize RreplayGain in a sync group so that whenever one
> player
> >   has RG enabled/disable, they all follow.
> 
> It's possible, anything can be done ;-). I only can guess, but I'd
> think  
> it would be possible, yes.
> 
Where would a third party plugin be able to hook into the process ?

There is an option in Player/ReplayGain.pm in fetchGainMode function
which contains this section:

Code:
--------------------
    
  # Allow plugins to override replaygain (i.e. Pandora should always use track 
gain)
  my $handler = $song->currentTrackHandler();
  if ( $handler->can('trackGain') ) {
  return $handler->trackGain( $client, $url );
  }
  
--------------------

But I'm guessing this won't work because if I understand correctly we
are talking about a generic plugin that handles all remote streams and
not one that have a specific track handler.

Is there somewhere else there would be possible to hook into the replay
gain handling ?

Or are we just taking about dynamically changing settings in run time
just before a new track is about to play and hoping that it will be
able to do it before the setting is read ?


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=93624

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

Reply via email to