DeadCow 0 Posted May 24, 2019 Posted May 24, 2019 Is there any fix to make the Movies beeing scanned? TV-Showes work fine, and movies folder will also scan fine if I set it to be "TV-Shows" when I add the library.
mastrmind11 722 Posted May 24, 2019 Posted May 24, 2019 https://github.com/MediaBrowser/Wiki/wiki/Movie-naming
DeadCow 0 Posted May 24, 2019 Author Posted May 24, 2019 Not helpful and not the problem! File structure is like that (TV Shows as well and they are being scanned, and as I said, if I change the library type to TV Shows, the movies are scanned.) This must be a problem with Emby code.
Happy2Play 9780 Posted May 24, 2019 Posted May 24, 2019 But why are you the only one with the issue if it is the code? Please provide server log and your library folder structure.
DeadCow 0 Posted May 24, 2019 Author Posted May 24, 2019 Nothing would be better than it being something stupid I did File structur is like this: Movies: /media/4000GB/Glass (2019)/Glass.2019.Bluray-2160p.m2ts TV Shows: /media/2000GB/The Big Bang Theory/
DeadCow 0 Posted May 24, 2019 Author Posted May 24, 2019 The scan takes 1ms when the library type is set to Movies, if I set the same folder as TV Shows it scannes fine.
DeadCow 0 Posted May 24, 2019 Author Posted May 24, 2019 At the moment this is the only one. I could add the TV one, but I know that works so that comes later. I've also tried to add a library of only one folder with a single movie in it, still it will not scan
jasonborn 21 Posted May 29, 2019 Posted May 29, 2019 (edited) Good morning, I have the same issue on/with my fresh installed Emby on Pi 3b+. The series are scanned almost perfect, but the scrape of my movies with fifferent formats, are a bit of a mess. Any ideas? Kind regards, ps: also attached a screenshot from what I see in Emby; a m2ts file (evil dead) is scaped as '102 echte Dalmatiers' Emby Logging.txt Edited May 29, 2019 by jasonborn 1
jasonborn 21 Posted May 29, 2019 Posted May 29, 2019 Hmm, I created a new library without full Blu-ray and scraping is going fine. If I add a full BD, than scraping of the BD goes wrong. Structure: \\NAS\Volume1\Algemeen\EVIL DEAD (2013)\BDMV Let's erperiment a little bit more. 1
hackthis02 130 Posted May 30, 2019 Posted May 30, 2019 I'm having the same issue as the OP. TV scans/updates fine, movies won't. I removed my movie library and re-added it, emby found 0 movies. I tried again with a fresh install of Linux and Emby and got the same result. Tried changing the name of the folder my movies were in, no change. embyserver.txt embyserver (1).txt 1
sector327 4 Posted May 30, 2019 Posted May 30, 2019 (edited) As much as I hate to join in on this, I'm also having the same issue. Last week I had enabled selinux and (I thought) this started showing up. Its been a good couple weeks since I added anything though and now seeing this, I don't think it was the selinux or me that caused the issue. Anyway, today I put selinux in permissive permanent (relabeled with a /.autorelabel and reboot) and I'm still seeing this issue. I can scan the tv library (and even see the little wheel spin around saying the percent complete) but it won't add anything to the library. I added a TV show set up just like the rest of my tv library, so nothing new or different than before there. If I scan the movie library, I can't even get the green progress wheel. And as you'd guess, it won't add anything to the library. Attached is a log file of the folder scan. You can see that the tv series (1 episode) and 1 movie is kicking back the error. Oddly enough though, everything that was already on the server is playing fine. I'm going to update the server from Fedora 28 to 30 and see if that helps. Edit to add - updating to F30 didn't help. still running w/ selinux in permissive just in case. errlog.txt Edited May 30, 2019 by sector327
mastrmind11 722 Posted May 30, 2019 Posted May 30, 2019 As much as I hate to join in on this, I'm also having the same issue. Last week I had enabled selinux and (I thought) this started showing up. Its been a good couple weeks since I added anything though and now seeing this, I don't think it was the selinux or me that caused the issue. Anyway, today I put selinux in permissive permanent (relabeled with a /.autorelabel and reboot) and I'm still seeing this issue. I can scan the tv library (and even see the little wheel spin around saying the percent complete) but it won't add anything to the library. I added a TV show set up just like the rest of my tv library, so nothing new or different than before there. If I scan the movie library, I can't even get the green progress wheel. And as you'd guess, it won't add anything to the library. Attached is a log file of the folder scan. You can see that the tv series (1 episode) and 1 movie is kicking back the error. Oddly enough though, everything that was already on the server is playing fine. I'm going to update the server from Fedora 28 to 30 and see if that helps. Edit to add - updating to F30 didn't help. still running w/ selinux in permissive just in case. Check your permissions: System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/media/synology/tv/Americas Got Talent' is denied. ---> System.IO.IOException: Permission denied System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/synology/movies/Alien (1979)'.
sector327 4 Posted May 30, 2019 Posted May 30, 2019 (edited) Check your permissions: System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/media/synology/tv/Americas Got Talent' is denied. ---> System.IO.IOException: Permission denied System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/media/synology/movies/Alien (1979)'. I agree. I've turned selinux to permissive (rebooted and verified) and did a chmod777 to the entire movie & tv directories (bad practice I know, but I'm troubleshooting). I even chown'd /media (did recursive too) to user 1025 (I'm using autofs to mount the synology when its needed) and changed group ownership to users. Earlier it was just everything under the movies and tv folders that was owned and grouped like this. The /media/synology/ folder, which is the parent of the movie and tv folders was owned and grouped by the root user and root group. I also modified the group membership of the emby account to be a secondary group member of the users group. still no bueno. If it were an ownership or permission issue, wouldn't the emby user (which I'm guessing is more of a service. maybe I'm using the wrong terminology, I call it a user as it is listed in /etc/password) have trouble playing all the movies that are already in the database? Which isn't the issue. Emby is still working great. I just can't add anything more to it. Edited May 30, 2019 by sector327
Q-Droid 989 Posted May 30, 2019 Posted May 30, 2019 What account is uid 1025? Also, autofs might not be the best option for a server application like Emby. Delays in mounting the shares could introduce weird problems. Same for unmounting when idle. Impersonate the emby user and see if you can navigate to the directories where your media is stored. $ sudo -u emby /usr/bin/bash $ id Then cd to and ls the directories to your media. If you're going to change owner or group for your media use something from the 'id' command above or add 'emby' to the group you want to use. 1
sector327 4 Posted May 30, 2019 Posted May 30, 2019 What account is uid 1025? Also, autofs might not be the best option for a server application like Emby. Delays in mounting the shares could introduce weird problems. Same for unmounting when idle. Impersonate the emby user and see if you can navigate to the directories where your media is stored. $ sudo -u emby /usr/bin/bash $ id Then cd to and ls the directories to your media. If you're going to change owner or group for your media use something from the 'id' command above or add 'emby' to the group you want to use. thanks. Not sure where the 1025 or 1035 users come from. My guess it has something to do w/ the synology nas. Good news about the autofs is that it's been working great for the past year. Ugh.....ok....I dunno what happened. I swear I checked perms but for some reason, when I copied the new movies over, they copied over w/ no permissions whatsoever. Why did I not see this!?!? I set the ugo+rx and everything is fine now. So out of curiosity, what is the best perms to have the movie files set to? I was thinking 555 would be safe. What's the advised level? I swear I'm going to go stick my head in the sand now........ :facepalm:
mastrmind11 722 Posted May 30, 2019 Posted May 30, 2019 (edited) thanks. Not sure where the 1025 or 1035 users come from. My guess it has something to do w/ the synology nas. Good news about the autofs is that it's been working great for the past year. Ugh.....ok....I dunno what happened. I swear I checked perms but for some reason, when I copied the new movies over, they copied over w/ no permissions whatsoever. Why did I not see this!?!? I set the ugo+rx and everything is fine now. So out of curiosity, what is the best perms to have the movie files set to? I was thinking 555 would be safe. What's the advised level? I swear I'm going to go stick my head in the sand now........ :facepalm: easiest way to do it is to keep the owner as you and add emby to a group that has r/w. and for the love of god, get rid of the root stuff. for eg, i have a "media" group that has emby, sonarr, radarr, but I ultimately own the media. emby, when it does its scraping creates emby owned files, which is fine because I at least have to sodu to delete metadata. Edited May 30, 2019 by mastrmind11 1
Q-Droid 989 Posted May 30, 2019 Posted May 30, 2019 (edited) thanks. Not sure where the 1025 or 1035 users come from. My guess it has something to do w/ the synology nas. Good news about the autofs is that it's been working great for the past year. Ugh.....ok....I dunno what happened. I swear I checked perms but for some reason, when I copied the new movies over, they copied over w/ no permissions whatsoever. Why did I not see this!?!? I set the ugo+rx and everything is fine now. So out of curiosity, what is the best perms to have the movie files set to? I was thinking 555 would be safe. What's the advised level? I swear I'm going to go stick my head in the sand now........ :facepalm: Ok, so it sounds like you have a uid on Synology that's not on your Emby server, hence the uid on files/directories instead of a name. It's been a while since I've used Synology but this is what I would try. - Create an emby user and group on Synology with uid and gid that matches those on your Emby server, if they are available. If the id's are not available you can create a new group with a common gid on both and make emby a member on both sides. - Allow the privs you want on those shares to emby user and group on the Synology side. - Mount them and see if the privs come over. At least the uid:gid should. - It's up to you if you want to change ownership. User or group level would work and it depends on whether you want to give emby privs to create and delete content. As far as what access on files I would avoid write privs to 'other'. So 644 or 664 at most unless you want read-only across the board, avoid execute on the files, then 444. If you're trying to fix the recursive 777 sweep you did before I recommend u=rwX,g=rwX,o=rX. Directories need 'x' for access. You still might have to go back and remove execute privs from the media files since they already had it set. Edited May 30, 2019 by Q-Droid 1
jasonborn 21 Posted May 31, 2019 Posted May 31, 2019 After experimenting a little bit, here's my solution: Scraping BDMV with multiple M2TS files and Video_TS with multiple files is not working in my case. In case of full blu-ray's I deleted all the M2TS files except the largest on. In case of Video_TS I converted them to MKV. After that, scraping works like a charm. Kind regards,
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