Jump to content

Cannot Add TV Shows


Go to solution Solved by dlraven,

Recommended Posts

Posted

I've run into an issue that I'm haven't been able to resolve.  I'm attempting to add my TV Shows library (Z: or \\tower\tv) to Emby, but the library is always empty.  No shows.  No folders.  Completely empty.  Manually rescanning the library does not add the missing data.  I've dug through the logs and can only find a single error relating to this folder (see below).  The Z: drive is a SMB share on another machine.  I have mapped several other SMB shares on the same machine and they all work fine.  It's only this directory that's giving me grief.  I've removed the credential from Windows and readded it, but still the same issue.  I did notice that when I create the library using the mapped drive (Z:), I do see the sub-folders so it does appear Emby can access the share.  I've included a screenshot of an example directory from the Emby server and the log file as well.  What have I broken?  Any thing I can try would be greatly appreciated.

Environment:  Windows 11 Pro
Emby Server: 4.8.11.0
User Login (not service account)
Destination: Various SMB shares on Unraid

Error App: Error getting file \\tower\TV
*** Error Report ***
Version: 4.8.11.0
Command line: C:\Users\david\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows 10.0.26100
Framework: .NET 6.0.36
OS/Process: x64/x64
Runtime: C:/Users/david/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
Processor count: 24
Data path: C:\Users\david\AppData\Roaming\Emby-Server\programdata
Application path: C:\Users\david\AppData\Roaming\Emby-Server\system
System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
at System.ThrowHelper.ThrowArgumentNullException(String name)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at MediaBrowser.Controller.Providers.DirectoryService.GetFile(String directory, String filename, Boolean caseSensitive)
at Emby.Providers.Manager.MetadataService`2.TryGetFile(String path, IDirectoryService directoryService)
Source: System.Collections.Concurrent
TargetSite: Void ThrowArgumentNullException(System.String)

 

 

TV Layout.png

embyserver(1).txt

Posted

hi there, how many emby libraries have you created, and what folder paths are added to each one?

Posted

In the attached files, only the TV library.  I previously had a movies, book, music, and audio books all working hitting different directories on the SMB server (tower).  I can recreate those other libraries, rescan, and add the logs if that'll help.

Posted

So it's just one library now? What folder paths are added to it?

Posted

Yes, only the one library.  It's setup to use \\tower\tv.  I have also tried mapping a network drive (Z:), use different credentials, and entered the Unraid credentials for the share.  Both methods have the same issue.

Posted

Then why does the log mention Z: ?

Posted

Because I've tried both \\tower\tv and mapping a network drive (Z:) to \\tower\tv.  Both result in the same issue.  

Posted

OK try removing Z: from Emby, then add the mapped path back. Then please run a library scan, and after it completes please attach the emby server log. Thanks.

Posted

Here is the log file while using \\tower\tv as the source for TV Shows.

Steps to Recreate Log File

  1. Restart Emby Server
  2. From Library, click the 3 dots and select Scan Library Files.

embyserver(2).txt

Posted

What do you see in the web app when browsing that library?

Posted

Nothing.  It's completely empty.  Bizarre, isn't it.

image.png

Posted

What about the folders tab?

Posted

Also completely empty.  

I know the Emby server can see the contents of that folder.  If I setup a mapped network drive to the share (\\tower\tv) and then select that mapped drive letter within Emby when setting up the library, it can see all of the sub-folders, but it's blank within Emby.

 

image.png

  • Solution
Posted

I figured it out.  I'm stupid.  At some point, I put in a

.ignore

file in the TV folder causing the entire directory to be ignored.  Removed that and everything started working okay.  Sorry, for taking up your time and thank you for the assistance.

  • Thanks 1
tedfroop21
Posted
9 hours ago, dlraven said:

I figured it out.  I'm stupid.  At some point, I put in a

Stuff happens - at least you figured it out.  Proving you may not be a stupid as you think....😁

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...