Page 1 of 1

Linux simple script to execute a 3rd program

Posted: November 12th, 2012, 7:53 am
by runnerma
Is anyone out there to help me make a script?
I run Sabnzb On a Qnap NAs with linux On it.
I want a post processing scripts that after the download finish, to run mtm.exe (thumbnailer) with the correct parametres.
The problem is that I dont know at all if that is possible and if it is hot to make it.
The path for the mtm is W:\mtn\mtn.exe -w1600 -c 4 -s 60 -o _ss.jpg

Re: Linux simple script to execute a 3rd program

Posted: November 12th, 2012, 9:08 am
by shypike
It's not possible to let a Linux NAS execute a Windows program.

Re: Linux simple script to execute a 3rd program

Posted: November 14th, 2012, 11:41 am
by runnerma
there is also binary for linux: http://sourceforge.net/projects/moviethumbnail/files/
any help would be appreciated

Re: Linux simple script to execute a 3rd program

Posted: November 14th, 2012, 1:35 pm
by sander
Let's try to make clearer what your question is versus what you already know:

1) Do you know how to use and run mtn? Do you know what the options mean?
2) Can you test run the mtn linux version on your QNAP NAS?
3) Do you know how to run an existing post processing script on SABnzbd, and specifically on your QNAP?

Re: Linux simple script to execute a 3rd program

Posted: November 15th, 2012, 11:13 am
by runnerma
sander wrote:Let's try to make clearer what your question is versus what you already know:

1) Do you know how to use and run mtn? Do you know what the options mean?
2) Can you test run the mtn linux version on your QNAP NAS?
3) Do you know how to run an existing post processing script on SABnzbd, and specifically on your QNAP?
1) yes
2) I have to try
3) yes

Re: Linux simple script to execute a 3rd program

Posted: November 15th, 2012, 11:18 am
by sander
OK, after you've done 2 and the answer is Yes, come back and let us know what mtn command (with which parameters) you want to run, and what your question is.

Reason: if your answer is Yes, Yes and Yes, my initial thought is that you can handle it all by yourself.

EDIT ... but of course, I'd love to help if you know which command you want to run on your Linux system.

Re: Linux simple script to execute a 3rd program

Posted: November 15th, 2012, 11:21 am
by runnerma
Ok thank you for your help :)