ng4ever 39 Posted April 11 Share Posted April 11 During the transfer of movies or tv shows at first to the hard drive that is used for my Media on Emby. The scanner picks up the undone file or files sometimes. It fixes itself but wish there was a way to not have it happen at all. lol Link to comment Share on other sites More sharing options...
Luke 37109 Posted April 11 Share Posted April 11 Hi, what is a weird folder or file? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted April 11 Share Posted April 11 22 minutes ago, ng4ever said: During the transfer of movies or tv shows at first to the hard drive that is used for my Media on Emby. The scanner picks up the undone file or files sometimes. It fixes itself but wish there was a way to not have it happen at all. lol Would need to disable RTM or change the delay to higher than 60 seconds. 1 Link to comment Share on other sites More sharing options...
Gilgamesh_48 944 Posted April 11 Share Posted April 11 13 minutes ago, ng4ever said: During the transfer of movies or tv shows at first to the hard drive that is used for my Media on Emby. The scanner picks up the undone file or files sometimes. It fixes itself but wish there was a way to not have it happen at all. lol I had this problem for a while, I do not like the fact that scans of partial files produce weird results and any bif files created were simply screwed up, and i fixed it by taking advantage of how Windows handles moves. I created a temporary directory outside of where Emby looks for files. I then copy/move files coming from elsewhere into that directory and then, after that process completes, I move it into the Emby file system. That way the move into Emby is almost instantaneous. I have no problems with partial files since starting that. I think Emby could delay the scanning, when using real time monitoring, so that any copy process is nearly assured to complete before Emby scans. I developed a way to automate that process but I found my script had some bugs and I do not really have a problem with doing the moves manually. Sometimes it is much easier to avoid a problem than it is to fix it. I do not trust Emby's automated systems as sometimes they screw up badly and this is one of those times. 1 1 Link to comment Share on other sites More sharing options...
ng4ever 39 Posted April 11 Author Share Posted April 11 7 minutes ago, Happy2Play said: Would need to disable RTM or change the delay to higher than 60 seconds. What is RTM and what would disabling it do ? How do I change the delay to higher than 60 seconds ? Would that actually work ? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted April 11 Share Posted April 11 39 minutes ago, ng4ever said: What is RTM and what would disabling it do ? How do I change the delay to higher than 60 seconds ? Would that actually work ? Real Time Monitoring setting per library to catch items as they are added/changed. The delay interval is in the system.xml Disabling it would mean items are not imported until schedules scan or manual scan. Link to comment Share on other sites More sharing options...
rbjtech 4287 Posted April 11 Share Posted April 11 (edited) 11 hours ago, ng4ever said: What is RTM and what would disabling it do ? How do I change the delay to higher than 60 seconds ? Would that actually work ? You may possibly reduce the occurance but all it is doing is allowing more time for the copy to complete but of course as the RTM schedule is fixed duration and your copy is not - you may still get the issue. I do something similiar to what @Gilgamesh_48suggests - As part of a pre/post-processing script, I copy/build the file with an extension that emby ignores - file.mkv.tmp Then when the script completes, it simply renames/removes the .tmp extension, leaving emby to then pick up the file on the next RTM (if you have it enabled) or on the next scheduled or requested scan via the API/script. Edited April 11 by rbjtech 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