Jump to content

When Filebot fails


Recommended Posts

DevoteeOfEmby
Posted

Hi Team. 

Is there any way to manually add content to the library that for some reason Emby can't see?  I have a single directory of TV Shows with about 600 different shows, but I did a ls |wc -l and it is actually over 60 short of how many directories are actually there.  All of them were processed with {emby} in filebot, so they all should be formatted correctly and the same. I use

sudo setfacl -m user:emby:rxw /media/username/

for my permissions, and even re-did it when I noticed that there were some missing. The one I noticed was House, which is old, and filebot didn't even ask me to select it when I processed the files. I would have to figure out what the other ones are, but I haven't figured out what the difference could actually be. I just did a replace all metadata on that directory and am uploading the logfile.

I feel like I had this problem years ago and figured it out. But I can't for the life of me remember what I did.

embyserver(1).txt

Posted

HI, have you taken a look at this?

 

Posted

Well as I said, I used acl to set the permissions, which keeps up the path as new stuff is added. That is its purpose. And I did it again just in case. I don't see how it is a permissions thing. 

Posted

What are you thinking it is?

DevoteeOfEmby
Posted

That's why I posted it lol. The drives are NTFS, so I booted windows and did a chkdsk /F on them, just to see if it found anything. Clean. Otherwise the server works perfectly. There does not seem to be any issues whatsoever, and I can cd into the directories. Filezilla also sees them and can go into them. I brought up the computer on a screen (it is an x86 block), and it could enter them and see the contents. For some reason Etsy just doesn't like them. I found two of them and tried the same on both.

And get this.

In TV, the GUI says there are 909 TV shows, and ls |wc -l is 955.

In my Movies, the GUI says 2420, and ls |wc -l is 2313, so it's the opposite.

I have another Movie directory, and it is also more, 1739 vs. 1736.

In the TV shows I just happened to notice that a couple shows were missing from the GUI, but I have no idea what is going on with the movies. To me it seems like some kind of DB corruption. I may just start over and let them scan and see what happens.

 

DevoteeOfEmby
Posted

Another interesting factoid. I tried to create a library of just a problem show, and Emby could see the directory and subs just fine. But it scanned empty.  I guess this is why I figured that it was a file naming problem. Something about the TVDB data is being read successfully by filebot, but not by Emby.  It doesn't even come up as wrong. It is empty.

Screenshot from 2023-10-27 08-23-52.png

GrimReaper
Posted (edited)
1 hour ago, DevoteeOfEmby said:

Another interesting factoid. I tried to create a library of just a problem show, and Emby could see the directory and subs just fine. But it scanned empty.  I guess this is why I figured that it was a file naming problem. Something about the TVDB data is being read successfully by filebot, but not by Emby.  It doesn't even come up as wrong. It is empty.

Screenshot from 2023-10-27 08-23-52.png

Is that folder already a part of another library (i.e. main TV shows library)? If so, no, it won't show, as you can't have a library whose path is a subset of another library path. 

Btw, you don't point a library to a particular TV show folder - you point it to its root, with that show folder nested. If you want to test it, move House (2004) folder out of your TV shows root to another folder, for example "Test", and add that folder as your test library path.

Edited by GrimReaper
Posted

Your share looks funny, 7EDD68F77D2FB659.

  • Like 1
Posted

 

@DevoteeOfEmbyI’m going to assume you are new to Linux… ...so no offense meant if otherwise..

Your folder: /media/shlomo/7E…
Looks like it is a local drive auto-mounted?
This won’t work for emby (when you logged into the desktop on the Linux machine, the desktop automatically mounts unmounted drives for you (by default)) as emby runs as a service (without auto-mounting) it can’t see what the desktop sees. Also it can’t see what user 'shlomo’ has mounted. You need to make sure the disk is mounted by the system (usually via /etc/fstab) , if you need help see https://pimylifeup.com/raspberry-pi-mount-usb-drive/ (although it is for Pi's and USB drives it works for Debian based distros  (Debian/Ubuntu/Mint/Cinnamon…) and both internal and external drives). (you don’t specify what Linux)

As for the original problem…

  • The Linux ‘ls’ (there are many switches...) command list all files and directories in the current directory (just like the win ‘dir’ command), so could there be extra (non video) files or directories without shows in there?
  • In some cases could there be more than 1 movie (or versions) per directory or movie extra’s with the movies?
  • When emby scans in movie it gets some of info about the movie using ‘ffprobe’ if the file is corrupt it may just ignore it.
  • There are probably other reasons for this but I can’t think of them right now...
DevoteeOfEmby
Posted (edited)

As I explained @TMCswthe majority of the directory scanned just fine, and I am using acl for permissions. I use fstab to mount the drives, and the desktop is disabled from automounting them. My next step was to light up a different computer with the same drives to ascertain if it is something in the underlying system, and this appears to be the case.  The new server sees the shows, and the count on ls |wc -l is correct.  So it was not an Emby issue. It was either a hardware or software issue.

Yes, @GrimReaperthat makes sense. Thanks. I'm just glad it wasn't the drive. It takes like two weeks to do the long chkdsk on an 18t drive.

Thanks for answering so quickly @Luke.  I figured at that point that isn't wasn't Emby, so planned to do this next step.

Edited by DevoteeOfEmby
Posted

Let us know how things go. Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...