Posts

Showing posts from May, 2020

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 ...