- 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.
Loosely related...
In the web interface settings, if a plugin wants to implement some type of player setting(s), can the plugin add a tab to player settings, or does it have to be done outside of that, on a page accessible only through the plugin's settings?
Results 1 to 3 of 3
-
2012-02-16, 13:58 #1Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,072
Would any of these be possible with a plugin?
-
2012-02-16, 14:30 #2
Would any of these be possible with aplugin?
> - 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.
> In the web interface settings, if a plugin wants to implement some type
> of player setting(s), can the plugin add a tab to player settings, or
> does it have to be done outside of that, on a page accessible only
> through the plugin's settings?
Yes, plugins can add new pages to the player settings. I'm doing this for
the MusicInfoSCR plugin.
--
Michael
-
2012-02-18, 15:26 #3
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:
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.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 ); }
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 Isaksson (My homepage)
(Developer of many plugins/applets (both free and commercial).
If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
You may also want to try my Android apps Squeeze Display and RSS Photo Show
Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

Reply With Quote

