What does "never_convert_lossy_files" mean exactly? #5275
2V3EvG4LMJFdRe
started this conversation in
General
Replies: 1 comment 3 replies
-
Some general tips which I use for most open source projects:
In this case, there's also a (failed) pull request you can reference. https://github.com/beetbox/beets/pull/3361/files All that said:
If you've set config["convert"]["never_convert_lossy_files"] to True, and the item.format.lower() is not in LOSSLESS_FORMATS, should_transcode returns False. Line 88 in 1b59479
You can see it's rather byzantine but I think the answer is yes/True. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This option of the convert plugin has made my head scratch before - and others too. It goes as follows:
never_convert_lossy_files: Cross-conversions between lossy codecs—such as mp3, ogg vorbis, etc.—makes little sense as they will decrease quality even further. If set to yes, lossy files are always copied. Default: no.
That first part I agree with. But then the wording gets confusing quickly, files are always "copied" - does that mean "copied" or "converted"? And then, the default "no" for a never_convert_lossy_files wording just sends my head on a spiral.
Furthermore, I'm almost certain the default option transcodes mp3 -> mp3.
Bottom line is, do I fill in "yes" or "no" if I only want it to convert lossless -> lossy?
Beta Was this translation helpful? Give feedback.
All reactions