Page 1 of 1

Synology media indexing doesn't detect files created by FB

Posted: 09 Jan 2016, 13:56
by ziemowit
I have Filebot running on a Synology NAS DS1010+. Films and Series get moved from one shared folder to the video folder which is supposed to be monitored and indexed constantly. Unfortunately the NAS doesn't notice new files moved there by Filebot. Someone in a Synology Forum gave me the hint that this might be connected with SMB or different methods. Any advice how to overcome this or at least some information how Filebot moves files?

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 14:02
by rednoah
you wrote:NAS doesn't notice
I'm sure the filesystem does, otherwise the file wouldn't be there. So which specific application are you referring to by "NAS" here? :D

If new files don't show up in a connected network drive, it's much more likely that remote machine isn't refreshing things properly. It's unlikely that the SMB service on the NAS doesn't notice. Also, it might be a permissions issue.

You my find this thread useful:
viewtopic.php?f=8&t=557

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 14:12
by ziemowit
I can see the films in the shared folders through the web interface and through networking on my other devices. The films don't show up in the Videostation and DS Video iOS App. Those seem to only show what the Media indexing has detected. I have renamed some of the recently created films and now I can find them through said applications.

The link you provided is exactly the same problem. Reindexing every night is rather not an option due to the amount of files.

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 15:02
by ziemowit

Code: Select all

/usr/syno/bin/synoindex -a /volume1/video/filename.avi
is it possible to add something like this for execution after filebot is done?

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 15:41
by rednoah
amc wrote:--def exec=touch '{file}' Run program on newly processed files
If you're using the amc script then yes.

e.g.

Code: Select all

--def 'exec=/usr/syno/bin/synoindex -a "{file}"'

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 16:01
by ziemowit
that sounds great i will try ASAP. How will that work for series when moving a whole season?

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 17:20
by rednoah
Yes. But people in the other thread seem to like the synoindex -R solution.

I'd do:

Code: Select all

--def 'exec=synoindex -R "{folder}"'

Re: Sinology media indexing doesn't detect files created by

Posted: 09 Jan 2016, 17:37
by ziemowit
I guess this depends on the folder structure...
Your initial suggestion works exactly as required. Thanks for the quick support!

Re: Synology media indexing doesn't detect files created by FB

Posted: 26 Sep 2017, 18:31
by pietpara
Hi, I have a similar issue. Files that Filebot node processes through Task Scheduler will be visible on other devices just fine, but when I force Filebot Node manually with the 'execute' button, then the files are there using DiskStation's File Station, but not visible over Network through other devices without re-indexing everything again.

Strange?

Is there a solution for this? I tried other solutions I found about this on Synology forum (like disabling IPv6, didabling and enabling Video Station, deleting the syno_indexing_queue in /var/spool, but didn't help.

Thanks
Pietpara

Re: Synology media indexing doesn't detect files created by FB

Posted: 27 Sep 2017, 05:40
by rednoah
You can have filebot/amc call synoindex on new files. Wouldn't that make sure that DSM is indexing the new files right away?

Re: Synology media indexing doesn't detect files created by FB

Posted: 27 Sep 2017, 21:46
by pietpara
Thanks for that tip. I want to try it but I'm not sure how. I am using Download Station with Filebot Node setup in Task Scheduler. How would I then call the amc script with --def 'exec=synoindex -R "{folder}"'?

Thanks a lot
Pietpara

Re: Synology media indexing doesn't detect files created by FB

Posted: 28 Sep 2017, 08:12
by rednoah
FileBot Node has an option field for that. Just expand all the sections and you'll find it. ;)

Re: Synology media indexing doesn't detect files created by FB

Posted: 14 Oct 2017, 20:54
by pietpara
Hi, thank zou for the previous help.
I have placed the command
/usr/syno/bin/synoindex -a "{file}"
in filebot node under the amc section, but I cannot get it to work.
I have also tried with /usr/syno/bin/synoindex -a ´{file}´ (so apostrophes or quotes) but neither work.
When I run the command in an ssh terminal, replacing the {file} part with the actual path, then it does work. So it's not the command but I believe it's the syntax of what you need to place in filebot node. Or, maybe {file} is not replaced with the full path, like in /volume1/video/Organized Movies/..."?

Can someone tell me the correct syntax?

thanks
Pietpara

Re: Synology media indexing doesn't detect files created by FB

Posted: 15 Oct 2017, 21:30
by rednoah
What does the log say? It'll tell you exactly what command FileBot is calling, so you can test manually if it's working or not.