Skip to content
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
ghost opened this issue Mar 19, 2017 · 8 comments
Closed

Command line ReplayGain #2335

ghost opened this issue Mar 19, 2017 · 8 comments

Comments

@ghost
Copy link

@ghost ghost 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?

@ghost ghost changed the title Command line replaygain Command line ReplayGain Mar 19, 2017
@lazka
Copy link
Member

@lazka 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"

@ghost
Copy link
Author

@ghost ghost commented Mar 19, 2017

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

@lazka
Copy link
Member

@lazka 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 "-".

@ghost
Copy link
Author

@ghost ghost commented Mar 19, 2017

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

@lazka
Copy link
Member

@lazka 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
Copy link
Member

@lazka lazka commented Mar 19, 2017

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

@ghost
Copy link
Author

@ghost ghost 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
Copy link
Member

@lazka 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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant