New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line ReplayGain #2335

Closed
cup opened this Issue Mar 19, 2017 · 8 comments

Comments

Projects
None yet
2 participants
@cup

cup commented Mar 19, 2017

I see that ReplayGain can be set with Ex Falso via the "Replay Gain" plugin.

However I am trying to set it via command line with Operon. Is this possible?

@cup cup changed the title from Command line replaygain to Command line ReplayGain Mar 19, 2017

@lazka

This comment has been minimized.

Member

lazka commented Mar 19, 2017

It should work.

I just noticed that "operon tags" doesn't list programmatic tags, we should add a "-a --all" switch there like with "operon list"

@cup

This comment has been minimized.

cup commented Mar 19, 2017

@lazka thanks for fast reply. Will you please provide example command for setting ReplayGain?

@lazka

This comment has been minimized.

Member

lazka commented Mar 19, 2017

Hm right, it would be operon set replaygain_track_gain "-12.345 db" a.mp3, but it fails because the value stars with "-".

@cup

This comment has been minimized.

cup commented Mar 19, 2017

and how would you aquire the -12.345 db? Can we do command line ReplayGain scanning?

@lazka

This comment has been minimized.

Member

lazka commented Mar 19, 2017

operon just does tagging, nothing more atm.

This looks like something you want, but haven't tried: https://pypi.python.org/pypi/rgain

@lazka

This comment has been minimized.

Member

lazka commented Mar 19, 2017

(note for myself, OptionParser.disable_interspersed_args should help with the ambiguity for values at least..)

@cup

This comment has been minimized.

cup commented Mar 19, 2017

I guess this is a feature request then. I see you use BS1770GAIN internally:

https://github.com/quodlibet/quodlibet/blob/20ad20d/quodlibet/quodlibet/ext/songsmenu/replaygain.py#L152-L162

So the desired functionality would be: similar to how BS1770GAIN can scan and set ReplayGain from the command line, Operon could scan and set ReplayGain from the command line

lazka added a commit that referenced this issue Mar 20, 2017

@lazka

This comment has been minimized.

Member

lazka commented Mar 20, 2017

In Quod Libet we use the GStreamer replaygain implementation. It's unlikely that we will expand our GUI plugins to operon.

I've opened #2339 for the value problem.

@lazka lazka closed this Mar 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment