Jump to content

emby cannot display pictures correctly


Recommended Posts

Posted

System: DSM70

Version: emby 4.8.8

 

I found that a lot of pictures are not working properly.

First of all, the problem of naming pictures and files captured by the network is excluded. All the pictures are my screenshots, named "film-poster", and put in the same folder as the movie.

I also confirmed that emby has read and write access to the file.

At first I thought it was a Cache or version problem, and I deleted the cache file in the "cache" file and tried different versions but still couldn't display the picture properly. I also checked that the picture is not damaged, and the picture can be displayed normally in plex and jellfin.

I checked through F12 of my browser and found an error message

 

首先排除网络抓取的图片和文件命名的问题,所有的图片都是我截屏,并且命名为“影片-poster”,并且放在和影片同一个文件夹内。

我也确认了emby有文件的读写权限。

我一开始以为是缓存或者版本的问题,而我在“Cache”文件中删除缓存文件,以及尝试不同版本依旧无法正常显示图片。我也检查了图片并没有损坏,在plex和jellfin中都可以正常的显示图片

我通过浏览器的F12查看,发现有错误的提示。

 

 

 

螢幕截圖 2024-09-17 上午11.22.53.png

embyserver.txt embyserver-63862168108.txt hardware_detection-63862167988.txt hardware_detection-63862168640.txt embyserver-63862167921.txt hardware_detection-63862167712.txt

Happy2Play
Posted

Dev will have to comment as both imageprocessors appear to be having trouble and don't think they exist or issue with path.

2024-09-17 11:20:40.342 Error ImageProcessor: Error getting size from libvips for  三上悠亜/TEK/TEK-080/TEK-080-1080P-poster.jpg
	*** Error Report ***
	Version: 4.8.8.0
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll
	Operating system: Darwin 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64
	Framework: .NET 6.0.21
	OS/Process: x64/x64
	Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /Users/jionme/.config/emby-server
	Application path: /Applications/EmbyServer.app/Contents/MacOS
	NetVips.VipsException: NetVips.VipsException: unable to load from file  三上悠亜/TEK/TEK-080/TEK-080-1080P-poster.jpg
	VipsForeignLoad: file " 三上悠亜/TEK/TEK-080/TEK-080-1080P-poster.jpg" does not exist
	
	   at NetVips.Image.NewFromFile(String vipsFilename, Nullable`1 memory, Nullable`1 access, Nullable`1 failOn, VOption kwargs)
	   at Emby.Drawing.LibVips.LibVipsImageProcessor.LoadImage(String path)
	   at Emby.Drawing.LibVips.LibVipsImageProcessor.GetImageSize(String path)
	   at Emby.Drawing.ImageProcessor.GetImageSizeFromImageEncoders(String path, String format, Boolean requiresOrientation, Boolean logException)
	Source: NetVips
	TargetSite: NetVips.Image NewFromFile(System.String, System.Nullable`1[System.Boolean], System.Nullable`1[NetVips.Enums+Access], System.Nullable`1[NetVips.Enums+FailOn], NetVips.VOption)
	
2024-09-17 11:20:40.343 Error ImageProcessor: Error getting size from Skia for  三上悠亜/TEK/TEK-083/TEK-083-1080P-poster.jpg
	*** Error Report ***
	Version: 4.8.8.0
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll
	Operating system: Darwin 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64
	Framework: .NET 6.0.21
	OS/Process: x64/x64
	Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /Users/jionme/.config/emby-server
	Application path: /Applications/EmbyServer.app/Contents/MacOS
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/ 三上悠亜/TEK/TEK-083/TEK-083-1080P-poster.jpg'.
	   at Emby.Drawing.Skia.SkiaEncoder.GetSKFileStream(String path)
	   at Emby.Drawing.Skia.SkiaEncoder.GetImageSize(String path)
	   at Emby.Drawing.ImageProcessor.GetImageSizeFromImageEncoders(String path, String format, Boolean requiresOrientation, Boolean logException)
	Source: Emby.Drawing.Skia
	TargetSite: SkiaSharp.SKFileStream GetSKFileStream(System.String)
	Path:  三上悠亜/TEK/TEK-083/TEK-083-1080P-poster.jpg

 

But will guess an issue with the path / 三上悠亜/ as it would appear to have a leading space, but that is just my guess.

Per the current log it has happened to about 150 images.

 

  • Like 2
Posted

Just made sure it was the name of the folder. 
 
My original folder "Mikami Yuya | Mikami Yuya" was changed to "Mikami Yuya" and I can indeed display pictures. 
 
Such a naming applicability should be quite wide, do not know whether the subsequent repair.

 

确认了一下 确实是文件夹的名字导致的。

我原本的文件夹“三上悠亚 | 三上悠亜”改为“三上悠亚”后确实能够显示图片了。

这样的命名适用性应该挺广的,不知道后续是否修复。

Happy2Play
Posted
5 hours ago, jmjionme said:

My original folder "Mikami Yuya | Mikami Yuya" was changed to "Mikami Yuya" and I can indeed display pictures.

Overall the pipe symbol may be valid on your platform on Windows it is an invalid character and most of the tools Emby uses will be also.

Posted

Hi, and you're saying this is only happening on images with a | in the file name?

  • 2 weeks later...
Posted

Hi, @jmjionme

When you get a chance, please answer Luke's question above.

Thanks,
Carlo

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