SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Always running daemon

I have just bought a plug computer, (basically a headless server) to put my music library on.

I can use it to share out my music library to all my machines but what I would really like is to be able to run jaikoz on it all the time, just correcting any new songs I copy to it.

As it doesn’t have X11 installed or a monitor I can’t run jaikoz on it.

What I would really like is either just a cli like

jaikoz --cli /media/ (one shot just fix everything save and exit)

Or a daemon which detects files being added to a folder and tags those.

I don’t know if this is even possible and I would be willing to help in any way I can.

Would also need a headless way to install the license…

Hi, no it isnt possible at the moment, it is something that has been discussed but by feeling is it might be better served by a different application rather than shoehorning it into Jaikoz.

Would I be able to do this myself using the JAudioTagger library?

does it support autocorrection like jaikoz does?

No, jaudiotagger just reads and writes metadata information from/to audio files.

I have managed to get jaikoz running by insalling x11 and vnc-ing into it and using the gui.

It would be so much easier and nicer to not have to run the gui… after all it only shows a progress bar when something is running…

a gui is useful for editing configuration i suppose but once i have it configured or even just edit the settings by hand (using the configuration files) I just run autocorrect and let it go…

I would really love (and would pay again for a version which just ran from the command line or a daemon that monitored folders)

say ./jaikoz --autocorrect --output-folder /music --input-folder /musictotag

I guess I am a minority though… just seems like a waste of resources for a gui.

[quote=Tiny09]

I would really love (and would pay again for a version which just ran from the command line or a daemon that monitored folders)

say ./jaikoz --autocorrect --output-folder /music --input-folder /musictotag

I guess I am a minority though… just seems like a waste of resources for a gui.[/quote]

I think alot of people would like this, and it is something I want to do

Sorry, a bit off-topic but you really need to have a closer look at the possibilities of X11.

There is no need to run a full X11 session if you only want to see the contents of one single program. What you need is an X11 server on the PC that you currently use for viewing the VNC session. For windows use Xming, for OS X use the one supplied on the OS X installation disc and for Linux, you will already be running one, so don’t do anything.

Then use the following command to connect through SSH (Linux / OS X):
ssh -X -C username@host

This will start compression (-C) and X11 forwarding (-X). You can do the same in Putty on windows, just look voor X11 forwarding and check it.

Once you have a console up and running connected to the other box you can just start Jaikoz (or any other X11 program) and the output will show on your screen. Please make sure that the X11 server on the viewing PC is already running.

Advantage: you will only be running jaikoz/java + the X11 client libraries. No need for a complete GNOME/KDE/Whatever desktop.

See also: http://tldp.org/HOWTO/XDMCP-HOWTO/ssh.html

I know about x11 forwarding but it’s useless. As if the ssh tunnel is disconnected jaikoz goes bye-bye… Why have two things on when one does the job?

Sorry if you took my comment as an insult, it was just meant as a piece of information to keep life simple. You are right about the disconnects though, they will kill jaikoz in the forwarding case.

Just for the record: I didn’t try to post an alternative to the daemon (hence the off topic), but just wanted to help out with the VNC thing. Running a full X-session on a plug computer is rather heavy IMHO.

I didn’t take it as an insult, It was the first thing I tried, but I didn’t want to have my laptop on for 5 days while it did the correcting (hence the plug).

It works really well on the plug using icewm (really low resource usage) from boot to icewm it only uses 20MB of ram the only thing is as jaikoz uses so much memory for the Window etc it does hit swap quite a bit…

500MB of ram and 300MB of swap. is used when correcting a 30000 track library.

It would be nicer if jaikoz didn’t have to keep a bunch of strings around and loaded for the UI etc