eskimos20 0 Posted February 26, 2019 Share Posted February 26, 2019 Hi! I am wondering if there is a way from terminal or a script that can force library scans at a given time, like every hour ? My problem is that I have Ubuntu and I am running "rar2fs" to make emby see my .mkv files inside my rar-files. And I am thinking it might be "rar2fs" that is causing my autoscanning of librarys not working. But when I run a manual update everything works, and YES i have checked the box for auto scanning on each share. Can I force a scan with a linux command ? /Eskimos Link to comment Share on other sites More sharing options...
eskimos20 0 Posted February 26, 2019 Author Share Posted February 26, 2019 Found scheduled tasks, did not see that earlier! Nevermind! Link to comment Share on other sites More sharing options...
Luke 37065 Posted February 26, 2019 Share Posted February 26, 2019 You can also run a scan from the library setup screen. Thanks. Link to comment Share on other sites More sharing options...
mbc0 61 Posted February 23, 2020 Share Posted February 23, 2020 Hi, Are there conditions that Emby will not scan a library? like if there is a stream/transcode, if so, is there a way to override it? Thanks Link to comment Share on other sites More sharing options...
Luke 37065 Posted February 24, 2020 Share Posted February 24, 2020 Hi, Are there conditions that Emby will not scan a library? like if there is a stream/transcode, if so, is there a way to override it? Thanks Hi, no, there aren't any conditions like that at this time. Link to comment Share on other sites More sharing options...
mbc0 61 Posted February 24, 2020 Share Posted February 24, 2020 Hi Luke, Thanks for the reply, There have been quite a few instances where I have dropped in a Movie or something to watch (like on Sunday) and waited up to half an hour and nothing. no tasks were running just my daughter watching a tv show. I restarted emby and within 30 seconds what I dropped into the library appeared so wondering what holds it up? Thank you Link to comment Share on other sites More sharing options...
Luke 37065 Posted February 25, 2020 Share Posted February 25, 2020 Hi Luke, Thanks for the reply, There have been quite a few instances where I have dropped in a Movie or something to watch (like on Sunday) and waited up to half an hour and nothing. no tasks were running just my daughter watching a tv show. I restarted emby and within 30 seconds what I dropped into the library appeared so wondering what holds it up? Thank you Did you run a library scan? Link to comment Share on other sites More sharing options...
mbc0 61 Posted February 25, 2020 Share Posted February 25, 2020 yes, specific library scan, in my last case on Sunday just my sport library. Link to comment Share on other sites More sharing options...
Luke 37065 Posted February 25, 2020 Share Posted February 25, 2020 We'd have to go over a specific example. Thanks. Link to comment Share on other sites More sharing options...
mbc0 61 Posted February 25, 2020 Share Posted February 25, 2020 I understand, next time I notice this I will send logs. Thank you Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted February 25, 2020 Share Posted February 25, 2020 Can I force a scan with a linux command ? /Eskimos yes, look at the API docs, or search the forums, there are a couple of examples. Basically create an admin user in emby, give the user an api key, and issue a curl command to emby. You can schedule it via cron. Link to comment Share on other sites More sharing options...
mbc0 61 Posted March 5, 2020 Share Posted March 5, 2020 (edited) We'd have to go over a specific example. Thanks. Hi Luke, it has happened again today. An episode was placed in the library 10 hours ago, the library is set to monitor, and emby has still not picked it up. I have tried scanning the library a few times as well I will pm you my logs. Many Thanks! Edited March 5, 2020 by mbc0 Link to comment Share on other sites More sharing options...
Luke 37065 Posted March 5, 2020 Share Posted March 5, 2020 Why do you feel it wasn't picked up? Link to comment Share on other sites More sharing options...
mbc0 61 Posted March 5, 2020 Share Posted March 5, 2020 because it is still not showing in emby and no nfo file has been created Link to comment Share on other sites More sharing options...
mbc0 61 Posted March 5, 2020 Share Posted March 5, 2020 ok, as you can see, after 11 hours emby detected the file (my scans are set to 5am so that's not the reason it was found now) also, on a sidenote, do you have any idea why episode 6 shows the series front cover and is not a screen cap like the other 6 episodes? Link to comment Share on other sites More sharing options...
Luke 37065 Posted March 5, 2020 Share Posted March 5, 2020 I don't know, sorry. Perhaps the log from when it was scanned in can tell us why an image wasn't downloaded. Link to comment Share on other sites More sharing options...
Happy2Play 8282 Posted March 5, 2020 Share Posted March 5, 2020 (edited) I would assume the provider didn't have one when you added the episode. that image was modified 3-3-2020 so the item would need to search for missing. But is sounds like a normal library scan picked up your media, not RTM. As you can see the 12 hour time difference in file and nfo. Edited March 5, 2020 by Happy2Play Link to comment Share on other sites More sharing options...
mbc0 61 Posted March 5, 2020 Share Posted March 5, 2020 I did a couple of manual library scans around 6pm (two hours before the file was detected) so maybe that was what did it? Hopefully the logs will show why it was not automatically detected? Thank you Link to comment Share on other sites More sharing options...
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