Author: ib Date: Tue Oct 10 19:56:43 2017 New Revision: 37994 Log: Enable ReplayGain for files without ReplayGain data.
The GUI will receive ReplayGain information from the audio stream, if such data has been stored in the file. Files without such data do not have to be modified, if the new configuration file gui.gain is used. If gui.gain exists, the GUI will read it at startup and expects a plain text file containing a float value (the ReplayGain) followed by a space character and a full filename. Later, whenever playing the file with this name, it will apply the given gain. Please note, that an entry in gui.gain takes precedence over ReplayGain data stored in the file, and that it is recommended to sort gui.gain by descending filenames in order to speed up parsing. Add listMgr command GAINLIST_ITEM_INSERT to create a sorted linked list of the filenames and listMgr command GAINLIST_ITEM_FIND for a quick, binary search. Additionally, update man pages and add a changelog information. Modified: trunk/DOCS/man/en/mplayer.1 Changes in other areas also in this revision: Modified: trunk/Changelog trunk/DOCS/man/de/mplayer.1 trunk/gui/app/cfg.c trunk/gui/interface.c trunk/gui/util/list.c trunk/gui/util/list.h Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 Tue Oct 10 17:31:51 2017 (r37993) +++ trunk/DOCS/man/en/mplayer.1 Tue Oct 10 19:56:43 2017 (r37994) @@ -31,7 +31,7 @@ .\" Title .\" -------------------------------------------------------------------------- . -.TH MPlayer 1 "2017-10-09" "The MPlayer Project" "The Movie Player" +.TH MPlayer 1 "2017-10-10" "The MPlayer Project" "The Movie Player" . .SH NAME mplayer \- movie player @@ -12204,6 +12204,14 @@ input bindings (see '\-input keylist' fo GUI configuration file . .TP +~/.mplayer/\:gui.gain +for audio files not containing ReplayGain data, add a line with replay gain +and filename separated by a space character, e.g. +.br + ++1.50 /home/me/music/Song.mp3 +. +.TP ~/.mplayer/\:gui.history GUI directory history . _______________________________________________ MPlayer-DOCS mailing list MPlayer-DOCS@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs