On 11/04/2011 06:15 PM, Thomas Perl wrote:
> Hi Iain,
>
> On Fri, Nov 04, 2011 at 05:43:34AM +0000, Iain Cheyne wrote:
>> Can you guys think of any way I can automatically trigger a replaygain
>> scan whenever I finish downloading?
> Yes, this should be possible with a command-line tool like "mp3gain" and
> a simple hook script. We have some example hook scripts here:
>
>     https://github.com/gpodder/gpodder-hook-scripts
>
> I guess the "flv2mp4" script could be a good starting point for this -
> instead of renaming/converting the file you might just want to run the
> mp3gain application on the downloaded file (if it's an MP3 file).
>
> HTH :)
> Thomas
>
> _______________________________________________
> gpodder-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/gpodder-devel
Today I added two new hook scripts to implement this feature.

1. mp3gain
uses the command line program mp3gain. This tool don't decode and
re-encode the audio file but it could only handle mp3 format.

2. normalize_audio
uses the command line program normalize_mp3/normalize_ogg. This tool
decode and re-encode the audio file but could handle mp3 and ogg format.
If requested we could also add flac format, but at the moment the hook
only works for mp3 and ogg format.

https://github.com/gpodder/gpodder-hook-scripts/commit/3c8e52eec4d0e0614acccfaf44294ad928bf5aaa


~Bernd
_______________________________________________
gpodder-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Reply via email to