Jump to content

How to get Emby to show Cast metadata?


Recommended Posts

Posted

Hello there, I'm new to Emby and I come from the plex world.  I'm just wondering how do I get the server to show all the cast thumbnails in the library.  Like some of the cast will have the thumbnail and some won't.  Why is that and how do I do it without having to manually using the identify option for every single missing one?

Posted

Hi there, can you please discuss an example? Thanks.

Posted (edited)

Below is an image of what I mean.  How do I get a picture of all the cast & crew to show without having to go into each missing one individually and using the indentify option.

post-528629-0-34611500-1572114896_thumb.png

Edited by Bobs604
Posted

The blank squares mean that images are loading. it might just be taking a little time. can you please attach the emby server log? thanks.

Happy2Play
Posted (edited)

@@Luke

 

I am starting to see the same corruption in my stable build with People images and metadata.  Don't really know when it started.  It is random on images/metadata that point to /metadata/people

 

But console is returning a 500 error.

2019-10-26 13:53:18.679 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.1.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '\\WHS2011\Emby\metadata\People\N\Nick Wechsler\folder.jpg' is denied.
	   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
	   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.IOManager.GetResponse(HttpRequestOptions options, MediaProtocol protocol)
	   at Emby.Server.Implementations.IO.IOManager.GetResponse(HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetContent(StaticFileResultOptions options, Int64 offset, Int64 length, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.FileWriter.SetContentResponseHeaders(Nullable`1 reportedTotalContentLength, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetStaticResult(IRequest requestContext, StaticResultOptions options)
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)
	
2019-10-26 13:53:18.679 Info HttpServer: HTTP Response 500 to 192.168.151.46. Time: 8ms. 
But appears I need to be looking at permissions on my custom metadata path that hasn't been touched in years. Edited by Happy2Play
Happy2Play
Posted

@@Bobs604 can you post a server log for when you enter a item with broken cast and crew.

Posted

@@Luke

 

I am starting to see the same corruption in my stable build with People images and metadata.  Don't really know when it started.  It is random on images/metadata that point to /metadata/people

 

But console is returning a 500 error.

2019-10-26 13:53:18.679 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.1.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '\\WHS2011\Emby\metadata\People\N\Nick Wechsler\folder.jpg' is denied.
	   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
	   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.IOManager.GetResponse(HttpRequestOptions options, MediaProtocol protocol)
	   at Emby.Server.Implementations.IO.IOManager.GetResponse(HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetContent(StaticFileResultOptions options, Int64 offset, Int64 length, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.FileWriter.SetContentResponseHeaders(Nullable`1 reportedTotalContentLength, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetStaticResult(IRequest requestContext, StaticResultOptions options)
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)
	
2019-10-26 13:53:18.679 Info HttpServer: HTTP Response 500 to 192.168.151.46. Time: 8ms. 
But appears I need to be looking at permissions on my custom metadata path that hasn't been touched in years.

 

 

Looks like a network share problem you'll need to look into:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '\\WHS2011\Emby\metadata\People\N\Nick Wechsler\folder.jpg' is denied
Posted

Server log below.  Please let me know if I'm doing this wrong

 

I will bet that people images were downloaded, then you customized the server's metadata folder. Notice the custom path in the error message:

 

2019-10-26 15:19:52.952 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 4.2.1.0
	Command line: C:\Users\Bobby\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Bobby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 16
	Program data path: C:\Users\Bobby\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Bobby\AppData\Roaming\Emby-Server\system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Bobby\AppData\Roaming\Emby-Server\metadata files\metadata\library\9d\9d607b1109494bab8414d62a1db9ab06\folder.jpg'.

However when you did that, you didn't move over the files from the default folder.

 

Try refreshing the metadata on the fast&furious movie and see if this helps with the actors for that movie.

Happy2Play
Posted

 

Looks like a network share problem you'll need to look into:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '\\WHS2011\Emby\metadata\People\N\Nick Wechsler\folder.jpg' is denied

Right but User Administrator has full control, same user Emby is installed on.  Where is the network path coming from?  Metadata path is not set that way.

  <MetadataPath>Y:\Emby</MetadataPath>
  <MetadataNetworkPath />

Is it using the nfo Enable path substitution?

Enable path substitution

Enables path substitution of image paths using the server's path substitution settings.

But only network paths are set on the Libraries to "\\WHS2011\Videos\............;"

Posted

Right but User Administrator has full control, same user Emby is installed on.  Where is the network path coming from?  Metadata path is not set that way.

  <MetadataPath>Y:\Emby</MetadataPath>
  <MetadataNetworkPath />

Is it using the nfo Enable path substitution?

Enable path substitution

Enables path substitution of image paths using the server's path substitution settings.

But only network paths are set on the Libraries to "\\WHS2011\Videos\............;"

 

No, that's only for the paths that get written to nfo files.

Happy2Play
Posted

@@Luke well it would appear I have the duplicate entries for a most but not all people.  So it would appear I will be doing a rebuild in the near future on this system.  Had this discussion in another topic, Migration issues.

 

5db4ef312e8e9_dup.jpg

Happy2Play
Posted

But a quick fix was updating network path to local path in the database.

UPDATE MediaItems SET Path = replace( Path, '\\WHS2011\Emby\metadata\', 'Y:\Emby\metadata\' ) WHERE Path LIKE '\\WHS2011\Emby\metadata%';
UPDATE MediaItems SET Images = replace( Images, '\\WHS2011\Emby\metadata\', 'Y:\Emby\metadata\' ) WHERE Images LIKE '\\WHS2011\Emby\metadata%';
Posted

BTW this isn't for just the fast & furious movie... its for all my movies.  I just the fast & furious as just an example of what I meant was going on

Happy2Play
Posted

BTW this isn't for just the fast & furious movie... its for all my movies.  I just the fast & furious as just an example of what I meant was going on

Right it would appear at some point you had a custom metadata path.

 

C:\Users\Bobby\AppData\Roaming\Emby-Server\metadata files

 

The database still has that path for select persons image, and it would appear that path no longer exists.

 

There are some things that require starting over or attempting to manually edit the database like I did above.

Posted

BTW this isn't for just the fast & furious movie... its for all my movies.  I just the fast & furious as just an example of what I meant was going on

 

Hi, did you try what I suggested for that title?

Posted

yes still the same problem atm

Happy2Play
Posted

yes still the same problem atm

 

Does this "\metadata files\" location still exist?

 

 

C:\Users\Bobby\AppData\Roaming\Emby-Server\metadata files\metadata\library\9d\9d607b1109494bab8414d62a1db9ab06\folder.jpg

 

Once issue like these arise you would have to remove every item this actor is linked to to have emby resolve it on its own.

Posted

Does this "\metadata files\" location still exist?

 

 

Once issue like these arise you would have to remove every item this actor is linked to to have emby resolve it on its own.

 

I moved the meta data files location to the emby server fold now

Posted

yes still the same problem atm

 

What exactly did you do?

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