SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Tutorial: SongKong Command Line


SongKong also offers a command line that is useful for running SongKong as part of an automated script approach. From the command line most tasks can be run against selected folder and using a selected profile:

   -s, create status report for specified files
   -m, fix songs in specified files
   -n, import naim metadata files for specified files
   -f, rename or move files
   -w, watch folder in specified folder
   -d, delete duplicates in specified files
   -b, remove specified fields with metagrater
   -u, undo any changes made to songs in specified files by SongKong


e.g on linux run Fix Songs against /music folder using the last used fix songs profile

songkong -m /music

-p, to override last selected profile with specified profile

e.g on linux run Fix Songs against /music folder using the default fix songs profile

songkong -m -p /home/paul/.songkong/ /music


I assume this tutorial is valid for a local installation of SongKong on a Linux client.
If SongKong is running in a Docker container (e.g. on Synology NAS) what would be the approach to use the command line interface, e.g. the Fix Songs feature triggered by the Synology task scheduler?

When create a container based on songkong/songkong Image you can go to the Environment tab and modify the Command option from



-m /music

Then once it started, i selected Details on the container and then Terminal and could see it had started correctly

confirmed this, by going to Log tab

and then once completed processing it automatically terminates

Or from command line I think you can use standard image and just need to run something like

docker run -v /CONFIGFOLDER:/songkong -v /MUSICFOLDER:/music songkong/songkong -m /music/DATEFOLDER 

replacing CONFIGFOLDER, MUSICFOLDER and DATEFOLDER with actual values.

So this is how you can run commandline from Docker version, but I dont know about the Synology Task Scheduler.