Page 1 of 1
Error line 41
Posted: 01 Jun 2015, 12:38
by litris
I have a intel synology DS415 + FileBot last vesion 4.6 and works correctly in ssh.
But if I try to rename from FileBot.Node 0.1.4 not working.
Thanks.
Re: Error line 41
Posted: 01 Jun 2015, 12:56
by rednoah
Come back once you figure out how to give me FULL RESOLUTION screenshots, not 180x100 thumbnails.
Re: Error line 41
Posted: 01 Jun 2015, 14:23
by litris
I see them well from the iPad and from the iMac.
The screenhots not have at hand now.
Thank you.
Re: Error line 41
Posted: 01 Jun 2015, 14:31
by litris
Capture iPad screenshots.

Re: Error line 41
Posted: 01 Jun 2015, 14:45
by rednoah
You need to install
Java 8 correctly.
@see
viewtopic.php?f=3&t=1802
Synology Java Manager is currently useless since it does not allow you to upload Java 8 so you will need to Google how to install Java from the command-line via SSH.
Re: Error line 41
Posted: 01 Jun 2015, 14:50
by litris
If I have installed Java 8_45 working properly.
Minecraft server and Filebot works from ssh Java -version responds correctly.
Greetings.
Re: Error line 41
Posted: 01 Jun 2015, 14:57
by litris
Re: Error line 41
Posted: 01 Jun 2015, 16:08
by rednoah
Notes wrote:- Java 8 needs to be installed correctly and in the $PATH. Make sure java -version works. You may need to symlink java into the $PATH yourself.
Code: Select all
ln -s /path/to/jre/bin/java /usr/local/bin/java
- Running commands from the login shell is not the same as using Synology DSM Task Scheduler or cron because they'll not initialise with ~/.profile so keep in mind that $PATH will be different.
Hence you should
link the java executable to /usr/local/bin/java to make sure it works on a system level, and not just for your user.
Re: Error line 41
Posted: 01 Jun 2015, 16:21
by litris
Ok I'll try.
Thanks.
PS: Funny that runs on the command line.
Re: Error line 41
Posted: 01 Jun 2015, 16:47
by litris
No working
In ssh command:
ln -s /volume1/@appstore/JavaManager/Java/jre/bin/java /usr/local/bin/java
Re: Error line 41
Posted: 01 Jun 2015, 17:12
by rednoah
No working
You're doing something wrong. What? I don't know. You're giving me nothing.
I kinda know for a fact that JavaManager doesn't allow you to install Java 8 so why would the Java 8 executable be in the JavaManager @appstore folder?
Do you even know where your java executable is? What's the output of `which java` and on a related note, what was the output of `ln -s ...` when it
didn't work?
Re: Error line 41
Posted: 01 Jun 2015, 17:16
by litris
From javamanager can not install but winscp manually copying Java 8_45 work correctly with all other programs included FileBot command line and several more packages.
Only fault Filebot.node
Re: Error line 41
Posted: 01 Jun 2015, 17:32
by rednoah
1.

What is the output of:
2.

What is the output of:
Code: Select all
ln -sf /volume1/@appstore/JavaManager/Java/jre/bin/java /usr/local/bin/java
3.

What is the output of:
Re: Error line 41
Posted: 01 Jun 2015, 18:26
by litris
Sorry I was wrong on the link it into memory.
It is this /var/packages/JavaManager/target/Java/bin/java
But I see another problem I just want to rename without copying without moving.
As it does FileBot to mac.
All directories stay and rename the files.
From the command line options.
filebot -rename -r -non-strict --db TVRage --lang es "....."
Thanks
Re: Error line 41
Posted: 01 Jun 2015, 18:29
by litris
The rename option is not alone.
I would like an option that only rename.
Thanks.
Re: Error line 41
Posted: 01 Jun 2015, 20:41
by rednoah
1)
rename is the same as move
2)
-rename is the same as -rename --action move
3)
--action move will "move" files to another folder if you specify --output, or "move" each file within it's folder if --output is omitted
4)
FileBot Node does not support simple -rename calls. Why is this even an issue?
You're NOT supposed to "rename" files EVER. You're supposed symlink/hardlink files into a NEW & CLEAN folder structure.
@see
viewtopic.php?f=4&t=215
Re: Error line 41
Posted: 01 Jun 2015, 21:42
by litris
If I understand to get the same result as in the following line.
filebot -rename -r -non-strict --db TVRage --lang es "....."
Leave blank output option and use move and rename.
Is it right?
With the same directory I created a folder called TVshow and has moved everything inside.
Re: Error line 41
Posted: 01 Jun 2015, 21:56
by litris
Not if I explain. (Use a translator of English)
Using the above line I rename files and where this leaves.
But if I use Filebot.node and move and rename option.
Using the same direction imput and output files.
Create a folder called tvshow and moves all the files inside.
That's not what I want.
Thank you.
Re: Error line 41
Posted: 01 Jun 2015, 22:38
by litris
rename calls. Why is this even an issue?

You're NOT supposed to "rename" files EVER. You're supposed symlink/hardlink files into a NEW & CLEAN folder structure.
It's not correct
FileBot to Macosx have the option to rename only.
Best regards.
Re: Error line 41
Posted: 02 Jun 2015, 07:03
by rednoah
FileBot Node does not allow you to submit filebot -rename commands, only filebot -script fn:amc commands.
Whatever, here's how you "rename" a file:
1) Input Folder => /path/to/afolder/afile
2) Output Folder => /path/to/afolder
3) Execute
FileBot Node is not made for processing files this way, and it'll be very cumbersome to do so. But it's your own time you're wasting so please go ahead.
I recommend doing things the smart way though. First you configure the amc call. Then you click "Execute". And the next day you click "Execute". And so on. If you think you have to change the options all the time, thing again, because you're doing it wrong.
Re: Error line 41
Posted: 02 Jun 2015, 08:46
by litris
My idea is that every day Filebot.node read my folder / volume1 / Series and rename all the files in that folder dsdownload leaves.
In that folder a folder for each series and within a folder for each chapter where the .avi
If I run it from the command line it works well.(If you ran scan the folder Series from the command line renames .avi everything and leaves where they are.
And with the program for Mac also it works.
But Filebot.node moves to another folder.
I thought you can put another tab that reads "Rename"
Like having a flange that only says "Copy"
But if you can not keep using the command line.
Thank you very much for your help and still does a nice job as well.
Best regards.
Pd:Sorry use Translator
Re: Error line 41
Posted: 02 Jun 2015, 09:08
by rednoah
Instead what you should be doing is:
1.
Prepare Folder INPUT. That's where you put new files, sorted, unsorted, whatever, some people might call it their "download complete" folder.
2.
Prepare Folder OUTPUT. That's where you will find neatly organised files. You will never touch the files in this folder.
3.
Set "Rename Action" to HARDLINK because you want to create hardlinks. If you don't know what hardlinks are ask Wikipedia.
3.
Now you click "Execute" and let the AMC script take whatever you have in your INPUT folder and hardlink everything into a nicely organised file structure in OUTPUT.
4.
If you have new files you just move them to INPUT. Then you click "Execute". And then they will appear neatly organised in your OUTPUT folder.
5.
And so we don't have to go and click "Execute" manually every day we create a scheduled task that will run automatically every day at 4am.
6.
Now that we have a scheduled task
the only manual task remaining is adding new files to INPUT ... which of course can easily be automated as well.
EDIT:
Wrote a tutorial for this here =>
viewtopic.php?f=13&t=2733
Re: Error line 41
Posted: 02 Jun 2015, 09:30
by litris
OK correct.
I have it configured to filter RSS dsdownload download directly to each series in your folder.
Example:
Movies within movies.
Castle in Series / Castle
Etc.
I will try as you point all in one folder FileBot completed and is in charge of distribution.
Thank you.