Posts

flac2mp3 : a mass flac to mp3 converter bash script for synology and ubuntu

Image
Read the  disclaimer This bash script searches recursively directories and converts .flac to mp3. A text database keeps an inventory of converted files, enabling the script to run on a schedule. The original file tree structure is mirrored to the converted file tree structure. You can get the script here :   https://github.com/youpla/bash_flac2mp3 Since DSM 6, synology provides a bash implementation that is close to what you would find on Linux systems, enabling easily bash code porting. This script uses different compiled tools to achieve its goal. There are GUI tools that manage flac files conversion. Most of those tools achieve what this script does not, they are multi-threaded, optimized for speed and highly customizable. flac2mp3 on the other hand is more of a slow background process you can run on a synology or linux shell. The script has been tested on Synology and Ubuntu (18). Prerequisities In order to work, this script need the following tools to p...

cuesplitflac : a mass flac splitting script for synology and ubuntu

Image
Read the  disclaimer This bash script searches recursively directories and splits .flac or .ape file in separate tracks, based on the information provided in the .cue files. A text database keeps an inventory of split files, enabling the script to run on a schedule. The original file tree structure is mirrored to the converted file tree structure. You can get the script here :   https://github.com/youpla/bash_cuesplitflac Since DSM 6, synology provides a bash implementation that is close to what you would find on Linux systems, enabling easily bash code porting. This script uses different compiled tools to achieve its goal. There are GUI tools that manage flac files splitting, example : https://flacon.github.io/ Most of those tools achieve what this script does not, they are multi-threaded, optimized for speed and highly customizable. cuesplitflac on the other hand is more of a slow background process you can run on a synology or linux shell. You can generate .f...

Compiling monkey's audio with spksrc for synology NAS

Read the disclaimer This article describes how to compile monkey's audio (mac) for synology devices, package it and install it. You can get mac sources at: https://github.com/fernandotcl/monkeys-audio The package described in this guide will download the content from that repository. What is monkey's audio (mac): This is a port of Monkey's Audio Codec to Unix-like systems. It provides a command line utility and a library that can be used by other programs. This guide is the same that https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html You can follow the different steps there. I'll document only the steps referring specifically to mac. Clone the repository and make setup It's documented here :  https://github.com/SynoCommunity/spksrc/wiki/Developers-HOW-TO on the ubuntu host start a terminal choose a folder for the git clone root git clone https://github.com/youpla/spksrc.git cd spksrc/ make setup ...

Compiling iconv with spksrc for synology NAS

Read the disclaimer This article describes how to compile iconv for synology devices, package it and install it. You can get iconv sources at: https://www.gnu.org/software/libiconv https://ftp.gnu.org/pub/gnu/libiconv/ The package described in this guide will download the content from that repository. What is iconv: International text is mostly encoded in Unicode, sometimes a language or country dependent character encoding is still used. GNU libiconv is an encoding conversion library. The original spksrc repository already contains a libiconv package, it only compiles the binaries : https://github.com/SynoCommunity/spksrc/tree/master/cross/libiconv This package fills the gap and provides the command line utilitie from the shell: iconv This guide is the same that https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html You can follow the different steps there. I'll document only the steps referring specifically to iconv. Clone ...

Compiling "file" with spksrc for synology NAS

Read the disclaimer This article describes how to compile "file" for synology devices, package it and install it. You can get "file" sources at: https://github.com/file/file ftp://ftp.astron.com/pub/file/ The package described in this guide is will download the content from that repository. The "file" command is "a file type guesser", that is, a command-line tool that tells you in words what kind of data a file contains. The original spksrc already contains a file package, that only compiles the binaries : https://github.com/SynoCommunity/spksrc/tree/master/cross/file This package fills the gap and provides the command line utilities from the shell: file This guide is the same that https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html You can follow the different steps there. I'll document only the steps referring specifically to "file". Clone the repository and make setup ...

Compiling flac with spksrc for synology NAS

Image
Read the disclaimer This article describes how to compile flac for synology devices, package it and install it. You can get the flac sources at  http://flac.sourceforge.net/ The package described in this guide is will download the content from that repository. Flac is a set of tools enabling lossless audio compression. The original spksrc already contains a flac package, that only compiles the binaries : https://github.com/SynoCommunity/spksrc/tree/master/cross/flac This package fills the gap and provides the command line utilities from the shell: flac metaflac This guide is the same that https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html You can follow the different steps there. I'll document only the steps referring specifically flac . Clone the repository and make setup It's documented here :  https://github.com/SynoCommunity/spksrc/wiki/Developers-HOW-TO on the ubuntu host start a terminal choose ...

Compiling shntool with spksrc for synology NAS

Image
Read the disclaimer This article describes how to compile shntool for synology devices, package it and install it. You can get the shntool sources at  https://github.com/flacon/shntool The package described in this guide is will download the content from that repository. shntool is a multi-purpose WAVE data processing and reporting utility that supports various lossless audio formats. This guide is the same that : https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html You can follow the different steps there. I'll document only the steps referring specifically shntool. Clone the repository and make setup It's documented here :  https://github.com/SynoCommunity/spksrc/wiki/Developers-HOW-TO on the ubuntu host start a terminal choose a folder for the git clone root git clone https://github.com/youpla/spksrc.git cd spksrc/ make setup Compile the shntool package for your architecture in a terminal navigate to the sh...