chudak 24 Posted April 20, 2018 Posted April 20, 2018 I run Emby Server on ubuntu 16.04 and use Scan media library in scheduled tasks. However I did not find that that scan doing what I am expecting and I have to run scan manually. I want to be able to scan for new videos as soon as it was added. Wonder what other people doing with this and also if there is some command line or similar option I can use to enforce desired behavior ? Thx
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 Try enabling the real-time monitor for your libraries.
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Try enabling the real-time monitor for your libraries. I don't see it under scheduled or plug ins Where is it ? Thx
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 Click on one of your libraries and you can configure it for that library.
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Click on one of your libraries and you can configure it for that library. Thx fount it! (not intuitive I must tell!) We will see now!
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 Why is it not intuitive? When you add the library it's right there.
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Why is it not intuitive? When you add the library it's right there. Because I could not find it Bacuse under scheduled tasks there are similar items and I’d expect it in one place not in two
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 Scheduled task is a generalized area not specific to any one certain thing. I think you just didn't scroll down to explore the available per library settings. I think at some point we will redo that whole interface but there's one thing that will never change. If you have five settings and you can only see four without scrolling, many users will never know the fifth one exists.
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Scheduled task is a generalized area not specific to any one certain thing. I think you just didn't scroll down to explore the available per library settings. I think at some point we will redo that whole interface but there's one thing that will never change. If you have five settings and you can only see four without scrolling, many users will never know the fifth one exists. You are right, but generally speaking if you see one user not being able to find something, you try to pay attention to others, and then based on results you will get your answer. *in my opinion* that was not intuitive ... see what others think
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Then another point is - do you provide scan setting option on top level, e.g. for all libraries , or on per library basis as now or both Not sure...
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 “the real-time monitor” - you have it now under each library, but could have it for all, one option, somewhere in general settings
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 That's how we started in the past, community feedback led us to making it configurable per library.
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 That's how we started in the past, community feedback led us to making it configurable per library. @@Luke Back to the initial question. New videos would not show up in emby search when Enable real time monitoring was enabled. I see note "Changes will be processed immediately, on supported file systems." so I am on ubuntu, is it supported? Emby server restart also won't rescan new videos, which is odd and unexpected. Please advice. Thx
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 Restarting the server does not run a library scan. Why are you expecting that? To run a library scan, go into library setup and click the button to run a scan. As far as the real-time monitor, it takes a few minutes so you just have to be patient.
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Restarting the server does not run a library scan. Why are you expecting that? To run a library scan, go into library setup and click the button to run a scan. As far as the real-time monitor, it takes a few minutes so you just have to be patient. I waited for maybe 3 min. What is time delay? I will try again, thx ! It seems reasonable to scan libraries on start, no ? Or at least have an option to do so
chudak 24 Posted April 21, 2018 Author Posted April 21, 2018 Restarting the server does not run a library scan. Why are you expecting that? To run a library scan, go into library setup and click the button to run a scan. As far as the real-time monitor, it takes a few minutes so you just have to be patient. It seems liked worked after 5 min, cool !
Luke 42077 Posted April 21, 2018 Posted April 21, 2018 The library scan is one of our scheduled tasks. You can adjust the schedule of any scheduled tasks by going into the Scheduled Tasks area. To learn more, please check out our wiki on Scheduled Tasks: https://github.com/MediaBrowser/Wiki/wiki/Scheduled%20tasks Thanks.
chudak 24 Posted May 10, 2018 Author Posted May 10, 2018 (edited) Restarting the server does not run a library scan. Why are you expecting that? To run a library scan, go into library setup and click the button to run a scan. As far as the real-time monitor, it takes a few minutes so you just have to be patient. I reinstalled clean latest version today and not sure if real-time monitor is working...Did not see updates after awhile. Luke, how long is the time out? Edited May 10, 2018 by chudak
Luke 42077 Posted May 10, 2018 Posted May 10, 2018 Usually within 2-3 minutes. Can you discuss what happened and what you were expecting? thanks.
chudak 24 Posted May 10, 2018 Author Posted May 10, 2018 Usually within 2-3 minutes. Can you discuss what happened and what you were expecting? thanks. Well does not seem to be working for me and I see this in the log: 2018-05-10 08:12:06.002 Error LibraryMonitor: Error in Directory watcher for: /media/seagatecentral/Public/Videos *** Error Report *** Version: 3.4.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.13.0.39 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.IO.FileNotFoundException: Could not find file '/xxx/movie.yyy'. File name: '/media/seagatecentral/Public/Videos/xxx/movie.yyy' System.IO.FileNotFoundException No Stack Trace Available then when I do manual scan it works fine Any suggestions ? Thx
chudak 24 Posted May 10, 2018 Author Posted May 10, 2018 sent via message, BTW FYI this is new emvy server install on ubuntu.
Luke 42077 Posted May 10, 2018 Posted May 10, 2018 Yea that's an error i haven't seen before. It could be a defect with the .net core runtime filesystemwatcher on ubuntu. Are you immediately renaming or deleting a file after copying it into your media directory? It looks like that might be the sequence of events that causes it, so you might be able to work around it. The strange thing is that we've tested and verified the realtime monitor under linux and other users are also using it.
chudak 24 Posted May 10, 2018 Author Posted May 10, 2018 Yea that's an error i haven't seen before. It could be a defect with the .net core runtime filesystemwatcher on ubuntu. Are you immediately renaming or deleting a file after copying it into your media directory? It looks like that might be the sequence of events that causes it, so you might be able to work around it. The strange thing is that we've tested and verified the realtime monitor under linux and other users are also using it. I actually don't do any renaming. After video download, usually see if it shows up in the library (compare emby vs plex) I wonder if emby is not waiting till files gets moved fully into video dirand therefor crashing ? That does not make too much sense since it used to work. How can I work around? PS: Be happy to help with testing since I got it in my env
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now