Sinology Video Station not indexing files created by Filebot Node

Support for Synology NAS and other Embedded Linux systems
Post Reply
litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Sinology Video Station not indexing files created by Filebot Node

Post by litris » 11 May 2018, 18:11

The downloaded files directly video Station indexes them at the moment.

But the files moved by Filebot Node in the Task Scheduler do not index them I have to do it manually.

Why is this?

It is very rare it will be for the way to move the files to the movie folder or why Filebot adds new permissions.

It is curious that if I put a movie in the folder video Station index it in seconds but if it moves filebot not indexed.

User avatar
rednoah
The Source
Posts: 13407
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Sinology Video Station not indexing files created by Filebot Node

Post by rednoah » 12 May 2018, 04:27

If you use SMB or File Manager (i.e. software made by Synology) then there's probably hooks in place that notify the index service of file changes. filebot runs locally on the device and just processes files, like on any generic Linux system, without any special logic specific to Synology.

You can use the synoindex to make Synology DSM rescan for new files:

Code: Select all

synoindex -R all
You'd usually combine this command with the --def exec option of the amc script: viewtopic.php?f=8&t=557
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Sinology Video Station not indexing files created by Filebot Node

Post by litris » 12 May 2018, 10:11

It is not an option since there are 5000 films and 15000 chapters of series would take forever.

Filebot does something when you move files that do not recognize Synology based on Linux.

It has nothing to do with SMB as it is something internal between the SMB hard disks is a network communication for Windows etc.

litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Sinology Video Station not indexing files created by Filebot Node

Post by litris » 12 May 2018, 10:13

It has to do with the shape that moves the files or the permissions it gives you.

Because if you put in the folder manually from any device any file automatically detects it.

No matter how you do from Windows from SSH and terminal from Web The same thing gives it detects.

But if you move it Filebot doesn't detect it.

litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Sinology Video Station not indexing files created by Filebot Node

Post by litris » 12 May 2018, 11:29

I used only the folder where Filebot files and it works perfectly "synoindex -R /volume1/video/Movies/" but it takes an eternity for the amount of movies it contains.

It would be necessary to add a line that only indexes the new ones each time the file is new but in the link that you send me, it does not appear.

There had to be some way that filebot would kill files normally without rare permissions.

Or add a line that only indexes the file moved after moving it.

User avatar
rednoah
The Source
Posts: 13407
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Sinology Video Station not indexing files created by Filebot Node

Post by rednoah » 12 May 2018, 11:47

You can do some research on the synoindex command and then use it to only refresh / rescan specific files or folders.

e.g.

Code: Select all

--def exec='synoindex -R {quote folder}'
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Sinology Video Station not indexing files created by Filebot Node

Post by litris » 12 May 2018, 12:02

But "-R" will index everything again as the line I use above does the same as "synoindex -R /volume1/video/Movies/"

Would not it be -A?

User avatar
rednoah
The Source
Posts: 13407
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Sinology Video Station not indexing files created by Filebot Node

Post by rednoah » 12 May 2018, 12:14

synoindex -R all does indeed reindex everything, but synoindex -R /path/to/folder will only reindex /path/to/folder. If you're using the default {plex} naming schemes then that means each movie will have each own folder, and each season will have it's own folder, so you'll only end up rescanning the movie folder / season folder for this particular movie / episode, and not everything.

You're welcome to experiment with calling synoindex -A for each file:

Code: Select all

--def exec='synoindex -A {quote f}'
I'm not sure if it works well. There are reports that it works for adding, but somehow causes issues when these files are later moved / deleted without also being explicitly deleted from the synoindex database.
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

litris
Posts: 44
Joined: 01 Jun 2015, 12:02

Re: Sinology Video Station not indexing files created by Filebot Node

Post by litris » 12 May 2018, 17:07

Ok, I'll run tests.

Thank you.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests