cmittle09 2 Posted June 17, 2021 Posted June 17, 2021 My movie folders are setup as such: /home/share/movies/21 Jump Street/ /21 Jump Street 21.Jump.Street.2012.m4v /22 Jump Street 22.Jump.Street.2014.m4v /home/share/movies/50 First Dates/50 First Dates/50.First.Dates.2004.m4v etc... When I add a library of /home/share/movies and scan the library it will not populate. I removed overall /home/share/movies library and I created a new library called Movies6 which I loaded some individual libraries of /home/share/movies/21 Jump Street, and /50 First Dates and other individual libraries on the same level it will populate the ones I add. I can watch on my tv, phone app, or even browser on laptop. After this I try to add top level /home/share/movies folder to a new library Movies4. Doing this actually breaks my Movies6 library which just worked. I deleted Movies4 again and Movies6 now works with the individually loaded movies. Server version 4.6.2.0 running Ubuntu Attached embyserver (15).txt
XcOM9876 9 Posted June 17, 2021 Posted June 17, 2021 (edited) I see 17 entries in your logs for duplicate paths, that can cause the server to not import a movie, for example: 2021-06-16 19:28:36.782 Info App: Found duplicate path: /home/share/movies/50 First Dates/50 First Dates 2021-06-16 19:28:36.782 Info App: Found duplicate path: /home/share/movies/50 First Dates Have you looked at the naming convention guide to ensure your library is setup correctly? https://support.emby.media/support/solutions/articles/44001159102-movie-naming An ideal structure should be: /Movies /Home Alone (1990) Home Alone (1990).mkv /extras deleted-scenes.mkv /behind the scenes video1.mkv /interviews video1.mkv /50 First Dates (2004) 50 First Dates (2004).mkv Edited June 17, 2021 by XcOM9876
cmittle09 2 Posted June 17, 2021 Author Posted June 17, 2021 Unfortunately i am not in control of the file structure. Will that error cause the balance of the directory to not load as well?
Luke 42079 Posted June 21, 2021 Posted June 21, 2021 HI @cmittle09, how many emby libraries have you created, and what folder paths did you add to each one?
cmittle09 2 Posted June 26, 2021 Author Posted June 26, 2021 I created 3 libraries. Music, movies, tv shows. I was able to resolve and identify 1 folder with incorrect permissions that broke the scan. Here is what i did. Rather than have all movie folders at the top directory i created letter folders a, b, c... And moved everything in to this folders. I deleted the movie library that pointed to the top level folder and started adding each letter folder individually to the new library until I got to "T" and it stopped scanning. I stated moving small groups into a library folder until i finally found 1 movie folder that broke the scanning. After looking it over a few different ways i noticed it had different permissions in the 2nd level folder than others. I changed it and rescanned and it worked. I was watching the log file many times as I made changes but i never saw anything come up that i recognized to point me to this folder. Thanks for your response.
XcOM9876 9 Posted June 27, 2021 Posted June 27, 2021 When you were having issues did you have all your movies in one folder and then change the structure to have movies/a, movies,b? you should be able to add /movies and it will detect all the sub folders as it should parse recursively. I've never used more than 2 locations in a single library before, but I assume you are setting yours up as below? \Movies\A\Avatar (2009)\Avatar (2009).mkv \Movies\P\Pulp Fiction (1994)\Pulp Fiction (1994).mp4 \Movies\R\Reservoir Dogs (1992)\Reservoir Dogs (1992).mp4 \Movies\T\The Usual Suspects (1995)\The Usual Suspects (1995).mkv \Movies\T\Top Gun (1986)\Top Gun (1986).mp4 But rather than adding the parent folder of /movies, your adding each letter one by one in to the movie library as an additional folder location? the former should work as I do something similar where I have a /movie folder, but for things like Police academy, Fast and Furious, Dirty Harry, I create a folder for the collection: /media/movies ├── Fast and Furious │ ├── The Fast and the Furious (2001) │ │ │── The Fast and the Furious (2001).mp4 │ │ └── The Fast and the Furious (2001).en.srt │ │ │ ├── 2 Fast 2 Furious (2003) │ │ │── 2 Fast 2 Furious (2003).mp4 │ │ └── 2 Fast 2 Furious (2003).en.srt │ │ │ ├── The Fast and the Furious Tokyo Drift (2006) │ │ │── The Fast and the Furious Tokyo Drift (2006).mp4 │ │ └── The Fast and the Furious: Tokyo Drift (2006).en.srt │ │ │ ├── ..... │ │ │── ..... │ │ └── ..... But I only index /media/movies and it automatically finds sub folders, TLDR: shouldn't need to add each letter to the library for it to work, just index the parent one, at this stage, I would probably recommend clearing down and deleting your library completely and setting it up again from scratch.
cmittle09 2 Posted June 29, 2021 Author Posted June 29, 2021 On 6/27/2021 at 3:07 AM, XcOM9876 said: When you were having issues did you have all your movies in one folder and then change the structure to have movies/a, movies,b? you should be able to add /movies and it will detect all the sub folders as it should parse recursively. I've never used more than 2 locations in a single library before, but I assume you are setting yours up as below? \Movies\A\Avatar (2009)\Avatar (2009).mkv \Movies\P\Pulp Fiction (1994)\Pulp Fiction (1994).mp4 \Movies\R\Reservoir Dogs (1992)\Reservoir Dogs (1992).mp4 \Movies\T\The Usual Suspects (1995)\The Usual Suspects (1995).mkv \Movies\T\Top Gun (1986)\Top Gun (1986).mp4 But rather than adding the parent folder of /movies, your adding each letter one by one in to the movie library as an additional folder location? the former should work as I do something similar where I have a /movie folder, but for things like Police academy, Fast and Furious, Dirty Harry, I create a folder for the collection: /media/movies ├── Fast and Furious │ ├── The Fast and the Furious (2001) │ │ │── The Fast and the Furious (2001).mp4 │ │ └── The Fast and the Furious (2001).en.srt │ │ │ ├── 2 Fast 2 Furious (2003) │ │ │── 2 Fast 2 Furious (2003).mp4 │ │ └── 2 Fast 2 Furious (2003).en.srt │ │ │ ├── The Fast and the Furious Tokyo Drift (2006) │ │ │── The Fast and the Furious Tokyo Drift (2006).mp4 │ │ └── The Fast and the Furious: Tokyo Drift (2006).en.srt │ │ │ ├── ..... │ │ │── ..... │ │ └── ..... But I only index /media/movies and it automatically finds sub folders, TLDR: shouldn't need to add each letter to the library for it to work, just index the parent one, at this stage, I would probably recommend clearing down and deleting your library completely and setting it up again from scratch. Yes, i added the folders as you described for troubleshooting. After i got them i moved all back to the top level to not mess up the backup scheme.
cmittle09 2 Posted July 28, 2021 Author Posted July 28, 2021 Sorry I did not see this response earlier. On 6/30/2021 at 10:07 AM, Luke said: Has this helped resolve your issue? Sorry I did not see this response sooner. Yes file permission was my problem here. Somehow the sync I'm doing keeps resetting the permission on lost & found folder and one folder in particular. I'll try to resolve, but so far after finding this, I've been manually correcting permissions when I catch the error. Note for myself for next time this happens. chmod 755 -R ./lost+found and look for any other folders at 700 or otherwise different.
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