August 10, 20241 yr Hi all, I'm hoping someone could give me some guidance on splitting up single flac file albums. I'm very new to unraid and almost just as new to unix systems and have been going around in circles with *gasp* chat-gpt trying to get things up and running. At present I have tried to get: - shntools functional (ran into issues getting flac running, the last one being missing libogg), - unflac (sys/kernel/slab issues) - a custom split2flac docker which has all its dependancies included up and running (but this would hang the terminal for some reason). I have been focusing on command line tools as I want whatever solution I find to be called by qbittorrent docker to resolve the albums and make them ready for import by Lidarr. I had a full pipeline running using shntools but was getting no output due to the absence of FLAC in unraid. So with all that said I guess I have 2 questions: 1) how can I get FLAC and it's dependencies installed given that i can't apt-get them or build them from source and thus allow shntool to do it's thing? 2) can anyone point me in the right direction for command line tools for splitting flac files by corresponding cue files in unraid Thanks!
August 10, 20241 yr Do not really have an answer to your question except to point out that this is not really an Unraid issue, but a docker container issue. Whatever tools you want to achieve your aims need to be installed inside the docker container.
August 10, 20241 yr Author 19 minutes ago, itimpi said: Do not really have an answer to your question except to point out that this is not really an Unraid issue, but a docker container issue. Whatever tools you want to achieve your aims need to be installed inside the docker container. @itimpiDo you mean that the tools need to be in their own custom docker? Or that they need to be incorporated into a custom build of the qbittorrent docker?
August 10, 20241 yr 1 hour ago, bobbyt said: @itimpiDo you mean that the tools need to be in their own custom docker? Or that they need to be incorporated into a custom build of the qbittorrent docker? Not sure - I think both options are possible depending on where you actually want to run them, and how you want them to be triggered to run. I would think a separate docker is probably easier from a maintenance point of view but since I have never actually tried to do what you want I could be wrong.
February 3, 20251 yr I managed to run Split2flac docker container via Portainer (another docker app available in Unraid's marketplace) as a Stack (=docker-compose) with the following service composition: services: split2flac: image: mikenye/split2flac container_name: split2flac volumes: - /mnt/user/data/torrents/music/:/workdir # Mounts the current directory to /workdir in the container environment: - PUID=99 # Passes the user ID - PGID=100 # Passes the group ID stdin_open: true # Equivalent to -i (interactive) tty: true # Equivalent to -t (TTY) restart: "no" # Ensures the container is removed after exit (similar to --rm) When connecting via terminal, just make sure to user your docker user instead of root as otherwise you may run into permission issue and would need to chown your files. Also, when using split2flac, it's worth adding -o flag (outpug), defining an outpud directory for the command, it didn't work for me otherwise. It now works for me, I'm now trying to put together a bash script that would scan folders in a location on a daily basis and convert flac images into tracks. Hope this helps someone. If anyone has tips, recommendations or alternative solutions - please share them here, so that we can all boost our setups.
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.