d2dyno Posted November 26, 2018 Share Posted November 26, 2018 2 hours ago, enmesh-parisian-latest said: Do you have the chroma plugin active? I had a similar problem until I disabled chroma. Hmm I do indeed (it comes default), I'll disable it and see how it goes/if everything matches well still. Quote Link to comment
enmesh-parisian-latest Posted November 26, 2018 Share Posted November 26, 2018 14 hours ago, d2dyno said: Hmm I do indeed (it comes default), I'll disable it and see how it goes/if everything matches well still. I assume this looks familiar to you? I certainly don't miss chroma after disabling, it was pretty useless and only slowed down imports. Beets can run through several TBs of data now without issues. Quote Link to comment
Joscha Posted January 7, 2019 Share Posted January 7, 2019 Is there a way to automatically re-import the music library (e.g. once a day)? I wanted to create a cron job to achieve this but cron isn't even installed in the docker image. Quote Link to comment
j0nnymoe Posted January 7, 2019 Share Posted January 7, 2019 1 hour ago, Joscha said: Is there a way to automatically re-import the music library (e.g. once a day)? I wanted to create a cron job to achieve this but cron isn't even installed in the docker image. Setup the Cron on the host to call the container and run a command Quote Link to comment
ZoZat Posted February 18, 2019 Share Posted February 18, 2019 This is my first time using Beets. I have no idea what changes I need to make to config.yaml to achieve the results I'm looking for. Currently, it's default. I've made no edits to it. I'd like to convert from flac to m4a on import and leave any mp3's alone. I did a bunch of reading and couldn't find a solution. Could someone please provide me with an example of how to edit the convert section of the file to acheive this? Thanks. Quote Link to comment
ZoZat Posted February 20, 2019 Share Posted February 20, 2019 Anybody? Please help. Quote Link to comment
j0nnymoe Posted February 20, 2019 Share Posted February 20, 2019 All the information to configure the convert plugin is here: https://beets.readthedocs.io/en/v1.4.7/plugins/convert.html Quote Link to comment
ZoZat Posted February 21, 2019 Share Posted February 21, 2019 I read it. Still didn't get it. Still don't know how to write the config.yaml file to achieve the results I'm looking for. Quote Link to comment
enmesh-parisian-latest Posted February 21, 2019 Share Posted February 21, 2019 1 minute ago, ZoZat said: I read it. Still didn't get it. Still don't know how to write the config.yaml file to achieve the results I'm looking for. Hey Zozat, I suggest you experiment with trial and error. The config.yaml file can become very complicated, so I'd recommend starting with no plugins or any modfications. Make sure you can get a simple import from a source to destination before adding the convert plugin. Once you're happy with the way the data is being handled with a VERY simple config file, then add the plugin and fiddle with the settings. Please read the manual several times, there's always something to miss on first read: https://beets.readthedocs.io/en/v1.4.7/plugins/convert.html . Keep in mind that by default, the plugin depends on FFmpeg to transcode the audio, so you might want to install it. Here's a simple example for convert plugins: convert convert: auto: no dest: C:/Transcodes never_convert_lossy_files: yes quiet: false formats: flac: command: ffmpeg -i $source -y -vn -aq 2 $dest extension: mp3 Quote Link to comment
ZoZat Posted February 21, 2019 Share Posted February 21, 2019 Importing isn't the problem. Plugins required to convert are installed. Your example of the convert section is similar to mine except my extension is m4a. While importing I get an error that says its unable to convert to m4a. This is mine: convert: auto: no pretend: yes dest: ~/music never_convert_lossy_files: no ffmpeg: /usr/bin/ffmpeg format: m4a embed: yes album_art_maxwidth: 600 threads: 2 Where did I go wrong? Quote Link to comment
enmesh-parisian-latest Posted February 21, 2019 Share Posted February 21, 2019 I'm no expert in using the convert plugin, however I'd recommend trying different formats other than m4a. If others work but m4a doesn't then you may want to look at ffmpeg. Quote Link to comment
ZoZat Posted February 21, 2019 Share Posted February 21, 2019 Thanks for replying. I'm only interested in m4a. Maybe I should use alac as the format and m4a as the extension? Any thoughts? Quote Link to comment
enmesh-parisian-latest Posted February 21, 2019 Share Posted February 21, 2019 Again, I'm really no expert on the plugin, however common sense would suggest you isolate what the problem is by making sure you can convert to other formats, then work out why only m4a doesn't work (if that's the case). Quote Link to comment
ZoZat Posted February 21, 2019 Share Posted February 21, 2019 Switch to mp3 to test. Now I'm getting this: Error: File exists while creating /music. I tried going into /music, got another error saying no such directory. Quote Link to comment
saarg Posted February 21, 2019 Share Posted February 21, 2019 4 hours ago, ZoZat said: Importing isn't the problem. Plugins required to convert are installed. Your example of the convert section is similar to mine except my extension is m4a. While importing I get an error that says its unable to convert to m4a. This is mine: convert: auto: no pretend: yes dest: ~/music never_convert_lossy_files: no ffmpeg: /usr/bin/ffmpeg format: m4a embed: yes album_art_maxwidth: 600 threads: 2 Insert other media Where did I go wrong? Is m4a a format? Looks more like a container since you can use both AAC and ALAC. So try specifying AAC instead Quote Link to comment
ZoZat Posted February 23, 2019 Share Posted February 23, 2019 Got it working using this: convert: auto: yes never_convert_lossy_files: yes ffmpeg: /usr/bin/ffmpeg format: alac dest: /music threads: 2 Thanks for everybody's input. Quote Link to comment
steve1977 Posted April 4, 2019 Share Posted April 4, 2019 I've never used Beets before and am wondering whether it can do what I'd like it to do. I have a folder "/music" with sub-folders, which I have both MP3 and FLAC files in. I'd like to keep the MP3 files as is, but convert the FLAC files to ALAC/M4A (and delete the orignal FLAC thereafter). Can this docker help me do this? If so, any guidance how to do it? Quote Link to comment
steve1977 Posted April 11, 2019 Share Posted April 11, 2019 First of all, thanks for the docker. This is great! It is working ok, but I am facing two issues: 1) Quite often, I am receiving the error message "fingerprinting of 'XXX' failed: audio could not be decoded. I checked the respective files and they play well, so there is no file corruption 2) I am getting other related error messages at times, which I can post, but likely are connected to the first Any thoughts? As a quick fix, how to turn off fingerprinting? It's not as critical, is it? Quote Link to comment
enmesh-parisian-latest Posted April 11, 2019 Share Posted April 11, 2019 Just now, steve1977 said: First of all, thanks for the docker. This is great! It is working ok, but I am facing two issues: 1) Quite often, I am receiving the error message "fingerprinting of 'XXX' failed: audio could not be decoded. I checked the respective files and they play well, so there is no file corruption 2) I am getting other related error messages at times, which I can post, but likely are connected to the first Any thoughts? As a quick fix, how to turn off fingerprinting? It's not as critical, is it? Chroma is a pretty dodgy and unnecessary plugin in my opinion. Switch it off by deleting or commenting out the 'chroma' line under plugins in your config file 1 Quote Link to comment
steve1977 Posted April 12, 2019 Share Posted April 12, 2019 Brilliant, thanks a lot. Now, it seems to be working much better. I have a few more questions: 1) I used to tag my releases under the release name with release comment via a script ($set(album,%album%$if(%_releasecomment%, \(%_releasecomment%\)))). is this also possible with beets? 2) Can I tag with beets without "import". I.e., I have a music library folder that includes all my beets tagged music. I'd like to directly add to this folder and than tag with beets (instead of placing files in a separate and have beets move/import them to the library. Is this possible? If so, does it change folder names to match artist? Thanks! Quote Link to comment
steve1977 Posted April 12, 2019 Share Posted April 12, 2019 And one more 3) I'd tried to use my MBZ mirror to run things locally. Didn't get this to work. Any idea what to do? Quote Link to comment
steve1977 Posted April 13, 2019 Share Posted April 13, 2019 And yet another Q 4) If I import music files via beets (docker), I have a permission issue. Imported files in the new folder don't have RW permission. Is there a setting in the docker that I need to change? Quote Link to comment
enmesh-parisian-latest Posted April 13, 2019 Share Posted April 13, 2019 14 hours ago, steve1977 said: 1) I used to tag my releases under the release name with release comment via a script ($set(album,%album%$if(%_releasecomment%, \(%_releasecomment%\)))). is this also possible with beets? Any data in the files id3 tags, folder names or any matched data from discogs, musicbrainz (or any other source via plugin) can be sent anywhere you like, be it a tag or a file/foldername. Just find the ID3 tag and apply it to the folder name 14 hours ago, steve1977 said: 2) Can I tag with beets without "import". I.e., I have a music library folder that includes all my beets tagged music. I'd like to directly add to this folder and than tag with beets (instead of placing files in a separate and have beets move/import them to the library. Is this possible? If so, does it change folder names to match artist? Check out the docs, "The -L (--library) flag is also useful for retagging. Instead of listing paths you want to import on the command line, specify a query string that matches items from your library. In this case, the -s (singleton) flag controls whether the query matches individual items or full albums. If you want to retag your whole library, just supply a null query, which matches everything: beet import -L" I think that's what you mean? 14 hours ago, steve1977 said: 3) I'd tried to use my MBZ mirror to run things locally. Didn't get this to work. Any idea what to do? MBZ mirror? 14 hours ago, steve1977 said: 4) If I import music files via beets (docker), I have a permission issue. Imported files in the new folder don't have RW permission. Is there a setting in the docker that I need to change? Make sure you're running beets as users:nobody, usually PUID/PGID of 99:100 in your beets container settings. Then make sure your data permissions are correct, the easiest way to do this is install the Fix Common Problems plugin then run Tools > Docker Safe New Perms. 14 hours ago, steve1977 said: Thanks! YW Quote Link to comment
steve1977 Posted April 13, 2019 Share Posted April 13, 2019 13 minutes ago, enmesh-parisian-latest said: Check out the docs, "The -L (--library) flag is also useful for retagging. Instead of listing paths you want to import on the command line, specify a query string that matches items from your library. In this case, the -s (singleton) flag controls whether the query matches individual items or full albums. If you want to retag your whole library, just supply a null query, which matches everything: beet import -L" I think that's what you mean? Thanks. I wasn't aware of this feature and it seems interesting. Reading the link you've sent. Mbsync is also a great plugin. Does it work with the docker and how it is different from beet update? Having said this, above actually does not answer my question and is not what I am looking for. Let me describe what I mean with more color: /importfolder/ [mapped via docker] /importfolder/Abba-Album1 /libraryfolder/ [mapped via docker] When I use "beet import /import", the album gets tagged and moved (I have move=yes in config). Folder then looks like below: /importfolder/ /libraryfolder/Abba-Album1 I'll now add an album to "/libraryfolder" directly. Either not tagged or maybe including some tags from itunes. /importfolder/ /libraryfolder/Abba-Album1 /libraryfolder/Abba-Album2 Abba-Album2 is now not part of my beets library as it was not imported through Beets. Is there a way to get Abba-Album2 to my library without importing it through the "importfolder" and without retagging Abba-Album1 (already in my beets library and already tagged). Does it make it clearer that I am trying to accomplish? 13 minutes ago, enmesh-parisian-latest said: MBZ mirror? Beets queries musicbrainz API heavily when importing a large library. I have a local mirror of musicbrainz, so would hope to reduce load for musicbrainz.org by using it instead. 13 minutes ago, enmesh-parisian-latest said: Make sure you're running beets as users:nobody, usually PUID/PGID of 99:100 in your beets container settings. Then make sure your data permissions are correct, the easiest way to do this is install the Fix Common Problems plugin then run Tools > Docker Safe New Perms. I've run "docker safe new perms". That's how I get music files to work after running beets. But that's obviously not the idea to run the command every time after I use beets PUID/PGID are set correctly. Any other ideas what I could check? Both linked folders are on the array. Quote Link to comment
steve1977 Posted April 13, 2019 Share Posted April 13, 2019 And another two 5) I read through all the tags, but didn't find a way to let beets tell me what albums in beets are incomplete (i.e., 14 files for an album tagged for a release with 15 tracks; or looking for albums that miss artwork or a MBZ release ID) 6) Possible to configure somewhere what coverart will be download / embedded? Also including fanart.tv with respective API? Thanks a ton. I am turning into a big fan of beets and this docker! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.