
QtGain
Source (link to git-repo or to original if based on someone elses unmodified work):
With QtGain you can simplify this job to replay gain your media files. Simply add your files or folders via drag & drop or select a folder with a file dialog. QtGain starts gaining immediately after adding some files and of course you can add more files while QtGain works on your files.
Files which are already gained and need no recalculating are automatically skipped. Files which cannot processed are automatically listed in a dialog box at the end of the job.
Changelog:
0.6.0:
* some bugs were fixed, works perfectly with Linux
0.7.5:
* mainly Bugfixes, enhancements to the GUI and some parts of the source has been rewritten
0.7.7:
* added Flac support, metaflac must be installed
* facelifted the preferences dialog
0.8.0:
* added MP4 support, aacgain must be installed
* installed replay gain tools are now marked in the settings dialog
* minor bugfixes and improvements
0.8.2:
* added a small statistic (About dialog)
* QtGain can now optionally log skipped files and shows them in the Errorlog
* some smaller GUI changes and source code enhancements
0.8.4:
* new fresh GUI now with two small icons for better overview
* the icon for the media files changes and displays the current format of the file (mp3, m4a, ogg, flac)
* minor fixes
0.9.0:
* New: Mass Renamer
* New: Cover Art Downloader
* you can now start QtGain with command-line arguments (files and folders)
* special command-line argument -GainOnly to replay gain files only and override Mass Renamer and Cover Art Downloader settings
* Bugfix: Album Gain doesn't work correctly
0.9.1:
* Bugfix release, all reported bugs has been removed
* added a check that the Mass Renamer can't rename $HOME/Name and $HOME/Name/Dektop, if the user accidentally places songs in these folder without subdirs
0.9.2:
* its now possible to disable replay gaining, if you want to use only the other functions of QtGain
* revised the settings dialog
* QtGain is now available via context menu in Nautilus
* changed the switch for mp3gain from "-m" to "-d"
0.9.4:
* new option: Quit QtGain after finished gaining
* some smaller improvements as suggested
* all reported bugs has been fixed
0.9.5:
* QtGain is now multilingual: Czech (thank to Pavel Fric) German and English
* added some icons to the context menu
* its now possible to donate to support further development
0.9.7
* Bugfixes and GUI changes
0.9.8
* improved FLAC support (skips already gained files); thanks to AsamK for sending the patch
1.0.0
* Ported to Qt 5
* Back to minimalism
Ratings & Comments
87 Comments
How to install in linux mint mate 19?
mp3gain is no longer included in the repository, so it has to be installed by a PPA before QtGain can be installed via Deb. Alternatively you can compile the source yourself or unpack the Deb manually, but then the dependencies have to be installed manually as well.
Good to find any graphical tool, dedicated to tag generation, instead of passive search. What about rgain support? Though mp3gain continues ), to do releases (latest 1.6.1), by some reason it is removed from ubuntu repos. Though i'm not even deb user, might be good to consider this, may be doing rgain as alternative backend.
looks like i missed discussion :)
Instead of using rgain, it would be better to switch directly to gstreamer and replace all gain tools. gstreamer can normalize or just write the replay gain tags at the same time and multitasking could increase the processing enormously.
I can't install in ubuntu or linux mint: dependece insatisfected
Debian and Ubuntu have removed mp3gain from it's repositories. If you want to install QtGain you need to install mp3gain first via PPA.
Thanks! now it works.
Your app looks good. However, I am wondering what mp3gain settings you are using? I.e. do you run it with the no-clipping switch?
Thank you for your comment, the -k switch isn't used. I just changed this, here the new version: Albumgain isForceRecalulation ? Parameter << "-a" << "-k" << "-s" << "r" << "-d" << QString("%1.0").arg(Volume() - 89) << allFiles[finishedFiles()] : Parameter << "-a" << "-k" << "-d" << QString("%1.0").arg(Volume() - 89) << allFiles[finishedFiles()]; Trackgain isForceRecalulation ? Parameter << "-r" << "-k" << "-s" << "r" << "-d" << QString("%1.0").arg(Volume() - 89) << allFiles[finishedFiles()] : Parameter << "-r" << "-k" << "-d" << QString("%1.0").arg(Volume() - 89) << allFiles[finishedFiles()];
Thank you for the reply. Sorry, but I am not sure of what you are saying. It appears you have enabled the -k switch for a new version, buy it is not enabled on the current version>
The code snippets are directly taken from the source code. You can see the used parameters there, I replaced the -c switch with the -k switch. I hope that will fix any issue.
Hi, Any plans to update to Qt5? Thanks Florian
I have already ported QtGain to Qt 5 some time ago, but not released yet.
ok thanks - nice to hear that future of qtgain is save :-)
hi, as i have increasingly more FLAC files, i notice that running QtGain over my whole library makes it blaze across MP3 files (I guess it skips them if they are tagged – good). But it reprocesses every FLAC file. can you make it skip FLACs that are already tagged, as well?
This is a limitation of metaflac, it ignores replay gain tags and reprocess every file. You can find a feature request here: http://sourceforge.net/p/flac/feature-requests/107/
thanks for the info! but even if it isn’t your fault, we could still implement it ourselves, e.g. by calling metaflac --show-tag REPLAYGAIN_TRACK_GAIN $filename if that outputs a line, it is already tagged and we can skip it.
I don't use flac nor I have flac files to test it. If it possible to detect gained flac files with your workaround fast and safe then you can send me a patch and I will merge it to the current version.
is there a repo somewhere? if not, could you please move development to github or bitbucket or so? would make things easier.
I also would love to have the code in a central repo to see current development and for easy contribution. The program works good for me. I need it to gain both ogg and mp3 files. So good to have one tool for all. Minor issues: - During operation the About box is not accessible. When there is long operation one can take the time and read it. :) - Main dialog should be resizable - The second paragraph of the qt-apps.org description could be added to the dialog as introductory text: "Files which are already gained and need no recalculating are automatically skipped. Files which cannot processed are automatically listed in a dialog box at the end of the job." Wish: It would be nice if there were a simulation mode. As new user I first would like to see what would be done before I start the operation. (Or instead have some help text as said above) Best wishes
I've made a quick'n'dirty patch that runs metaflac with the parameter from above to check if a flac file is already gained. With the patch qtgain skips already gained flac files and still gains flac files that are not gained. Here's the patch against the 0.9.7 version from http://forum.ubuntuusers.de/topic/mp3gain-vorbisgain-frontend/9/ : http://pastebin.com/jeGMqeHG That said it would be nice to have a git repository somewhere ;-)
Hi and thank you for the patch. I added it to version 0.9.8 but I did not test if it works. As requested I also created a SourceForge account where the source code is available (zip or via git). http://sourceforge.net/projects/qtgain/
First of all: great, that your are still improving this small app step by step! I just wanted to donate, but the donation links introduced in the latest version don't work for me: when clicking on it, nothing happens...
Hi, I'm using Gnome and the links working for me. What desktop are you using? * Can you open the project page via the link in the about dialog? * Can you please start QtGain in a shell and click on the links, is there any output? * Does right click working for you? There should be a context menu (Copy Link Location) Thank you for pointing that out!