cherrot 0 Posted February 9, 2019 Share Posted February 9, 2019 After upgrading to emby-server 4.0.1, new contents in Movies could not be updated. I guess the issue is related to the directory itself. When I create a new directory, contents in it could be scanned as expected. In the meantime there was a sub-folder under the Movies directory created by emby-server, named "-ffdetect". This may be a naming bug because the shell command such as `ls`, `mv`, `rm`, cannot process file name starting with a dash symbol "-". Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted February 9, 2019 Share Posted February 9, 2019 After upgrading to emby-server 4.0.1, new contents in Movies could not be updated. I guess the issue is related to the directory itself. When I create a new directory, contents in it could be scanned as expected. In the meantime there was a sub-folder under the Movies directory created by emby-server, named "-ffdetect". This may be a naming bug because the shell command such as `ls`, `mv`, `rm`, cannot process file name starting with a dash symbol "-". thats bizarre since ffdetect is a directive not a path. Can you attach your logs for when this happens? Link to comment Share on other sites More sharing options...
cherrot 0 Posted February 9, 2019 Author Share Posted February 9, 2019 (edited) The attachment is the related log file (maybe). I recreated a movie directory and moved all my movies to this directory one by one just now. Now all the contents are correctly scanned. I believe one or both of the followings is the cause: 1. There is a .DS_Store hidden directory in my original movies directory because I mount it as a sshfs on my MacOS recently. 2. There is a sub-directory which has a wrong ownership. Log.txt Edited February 9, 2019 by cherrot Link to comment Share on other sites More sharing options...
Luke 36882 Posted February 9, 2019 Share Posted February 9, 2019 What install package is this? Link to comment Share on other sites More sharing options...
cherrot 0 Posted February 10, 2019 Author Share Posted February 10, 2019 I installed emby-server from the official archlinux repo: https://www.archlinux.org/packages/community/any/emby-server/ Link to comment Share on other sites More sharing options...
Luke 36882 Posted February 10, 2019 Share Posted February 10, 2019 Can you discuss an example of something you feel isn't being scanned? thanks. Link to comment Share on other sites More sharing options...
cherrot 0 Posted February 12, 2019 Author Share Posted February 12, 2019 When I noticed this issue, emby could not detect any new content under my movie directory. In the meantime, there was: 1. a sub-directory named `-ffdetect`. 2. a movie sub-directory I had just added (before any new movies being added), in which emby had no read permission. 3. MacOS hidden files named `._.DS_Store` and `.DS_Store` because I had navigated to this directory using MacOS Finder through `sshfs` I removed the `-ffdetect` directory and rescanned new contents. The issue remains. Then I renamed the movie directory to a temp directory, created a new movie directory and moved all the contents from the temp directory to the newly created movie directory. The issue remains. Finally I removed MacOS hidden files and added read permission to the sub-directory whose permission was broken. The new contents could be scanned correctly. Link to comment Share on other sites More sharing options...
Luke 36882 Posted February 12, 2019 Share Posted February 12, 2019 a sub-directory named `-ffdetect`. Hi, where was this? Link to comment Share on other sites More sharing options...
cherrot 0 Posted February 12, 2019 Author Share Posted February 12, 2019 My movie directory is `/data/Movies`, this sub-directory is located at `/data/Movies/-ffdetect`. (Moreover, this directory has 3 empty sub-directories in it but I can't remember the names) Days before I have activated a lifetime premiere subscription and installed a plugin called `kodi companion` on my server side. And I have successfully setup emby for kodi (not embyconn). I can't make sure that among this weird directory and my recent operations, which one occurs first. Hope this information be helpful. Link to comment Share on other sites More sharing options...
Luke 36882 Posted February 12, 2019 Share Posted February 12, 2019 Did you setup your Movies directory inside the server's data directory? Link to comment Share on other sites More sharing options...
cherrot 0 Posted February 17, 2019 Author Share Posted February 17, 2019 No. Server's data directory remains as default: Cache: /tmp/cache Logging: /var/lib/emby/logs Metadata: /var/lib/emby/metadata Transcoding: /var/lib/emby/transcoding-temp Link to comment Share on other sites More sharing options...
Luke 36882 Posted February 17, 2019 Share Posted February 17, 2019 Ok, thanks for the info. 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