Synology media indexing doesn't detect files created by FB

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

Synology media indexing doesn't detect files created by FB

Post 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?
Last edited by ziemowit on 09 Jan 2016, 17:38, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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
:idea: Please read the FAQ and How to Request Help.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

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

Post 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.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

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

Post 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?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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}"'
:idea: Please read the FAQ and How to Request Help.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

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

Post by ziemowit »

that sounds great i will try ASAP. How will that work for series when moving a whole season?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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}"'
:idea: Please read the FAQ and How to Request Help.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

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

Post by ziemowit »

I guess this depends on the folder structure...
Your initial suggestion works exactly as required. Thanks for the quick support!
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

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

Post 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
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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?
:idea: Please read the FAQ and How to Request Help.
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

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

Post 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
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

FileBot Node has an option field for that. Just expand all the sections and you'll find it. ;)
:idea: Please read the FAQ and How to Request Help.
pietpara
Posts: 24
Joined: 29 Jan 2014, 20:51

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

Post 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
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply