Jump to content

TMDB Corrupt Image Fix Plugin for Windows 10


mickle026

Recommended Posts

buzzdude

I have installed the plugin and run it last night and again today.  It was working well and updating images, running for 3 hours. 

 

2020-05-25 10:49:06.419 Info FixerService: --------------- CORRUPT PEOPLE IMAGES COUNT--------------------
2020-05-25 10:49:06.419 Info FixerService: --------------- Found 70688 entires
2020-05-25 10:49:06.419 Info FixerService: --------------- 39911 were corrupt links
2020-05-25 10:49:06.419 Info FixerService: DEBUG INFO: 15009
2020-05-25 10:49:06.419 Info FixerService: ---------------------------------------------------------------
 
 It has stopped with the below error.
 
 
2020-05-25 13:49:51.873 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-25 13:49:51.873 Info FixerService: ------ Scanning Actor '34' from ' Back to the Future Part II '- (5171 People in 2410) Movie/Series Records ----
2020-05-25 13:49:51.873 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-25 13:49:51.873 Info FixerService: People in this Movie/Series: 56
2020-05-25 13:49:51.873 Info FixerService: Name : Theo Schwartz
2020-05-25 13:49:51.873 Info FixerService: Index : 14960
2020-05-25 13:49:51.873 Info FixerService: Primary image Path :
2020-05-25 13:49:51.873 Info FixerService: Internal ID: 14960
2020-05-25 13:49:51.873 Info FixerService: ID: db0851e4-1294-4323-9e0a-f6928423f55a
2020-05-25 13:49:51.873 Info FixerService: Trying Remote Website 1 :) !
2020-05-25 13:49:52.511 Info FixerService: Remote Website 1 Has Actor Entry but NO IMAGE :( !
2020-05-25 13:49:52.511 Info FixerService: Trying Remote Website 2 :) !
2020-05-25 13:49:53.825 Info FixerService: Trying Remote Website 3 :) !
2020-05-25 13:49:57.164 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.5.0.11
Command line: C:\Users\Administrator\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/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
System.Environment.Version: 3.1.4
Processor count: 8
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Net.WebException: System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at TMDBPeopleFix.FixerService.Post(FixTMDBPeopleX result)
at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass6_0.<VoidActionDelegate>b__0(Object service, Object request)
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
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 localPath, CancellationToken cancellationToken)
Source: System.Net.Requests
TargetSite: System.Net.WebResponse GetResponse()

 

Can this be fixed?

 

Let me know if you need the whole log.

 

thanks

Link to comment
Share on other sites

mickle026

I have installed the plugin and run it last night and again today.  It was working well and updating images, running for 3 hours. 

 

2020-05-25 10:49:06.419 Info FixerService: --------------- CORRUPT PEOPLE IMAGES COUNT--------------------
2020-05-25 10:49:06.419 Info FixerService: --------------- Found 70688 entires
2020-05-25 10:49:06.419 Info FixerService: --------------- 39911 were corrupt links
2020-05-25 10:49:06.419 Info FixerService: DEBUG INFO: 15009
2020-05-25 10:49:06.419 Info FixerService: ---------------------------------------------------------------
 
 It has stopped with the below error.
 
 
2020-05-25 13:49:51.873 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-25 13:49:51.873 Info FixerService: ------ Scanning Actor '34' from ' Back to the Future Part II '- (5171 People in 2410) Movie/Series Records ----
2020-05-25 13:49:51.873 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-25 13:49:51.873 Info FixerService: People in this Movie/Series: 56
2020-05-25 13:49:51.873 Info FixerService: Name : Theo Schwartz
2020-05-25 13:49:51.873 Info FixerService: Index : 14960
2020-05-25 13:49:51.873 Info FixerService: Primary image Path :
2020-05-25 13:49:51.873 Info FixerService: Internal ID: 14960
2020-05-25 13:49:51.873 Info FixerService: ID: db0851e4-1294-4323-9e0a-f6928423f55a
2020-05-25 13:49:51.873 Info FixerService: Trying Remote Website 1 :) !
2020-05-25 13:49:52.511 Info FixerService: Remote Website 1 Has Actor Entry but NO IMAGE :( !
2020-05-25 13:49:52.511 Info FixerService: Trying Remote Website 2 :) !
2020-05-25 13:49:53.825 Info FixerService: Trying Remote Website 3 :) !
2020-05-25 13:49:57.164 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.5.0.11
Command line: C:\Users\Administrator\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/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
System.Environment.Version: 3.1.4
Processor count: 8
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Net.WebException: System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at TMDBPeopleFix.FixerService.Post(FixTMDBPeopleX result)
at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass6_0.<VoidActionDelegate>b__0(Object service, Object request)
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
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 localPath, CancellationToken cancellationToken)
Source: System.Net.Requests
TargetSite: System.Net.WebResponse GetResponse()

 

Can this be fixed?

 

Let me know if you need the whole log.

 

thanks

I don't need the whole log.  I will look at this in the next few days - it looks like either that image, or the whole site is now stopping grabbing images without the whole page - thanks

Edited by mickle026
Link to comment
Share on other sites

Riggs

I have tried the latest version of the fix and it still does not work with my install (Windows 10 Pro).  @@mickle026 has tried over and over with different changes to get it to work but there is no love here.  I just finished editing the actor's images of the movies that begin with "A" but at the rate I am going and the number of actor's per movie, it will take several months to correct.  Should I continue or will it be corrected by some other means?  

 

Good question, @@Luke hasn't said anything about it, seems to be busy with other things or on vacation.

Link to comment
Share on other sites

mickle026

I have installed the plugin and run it last night and again today.  It was working well and updating images, running for 3 hours. 

 

 

Try Version 13 in post #1 and see if that steps over the error and continues.

Link to comment
Share on other sites

ginjaninja

no joy for v13 for me 

2020-05-26 20:08:01.618 Info FixerService: --------------- FIX CORRUPT PEOPLE IMAGES --------------------
2020-05-26 20:08:01.618 Info FixerService: Metdata Path : 
2020-05-26 20:08:01.618 Info FixerService: Cache Path : 
2020-05-26 20:08:01.618 Info FixerService: Plugin Path : 
2020-05-26 20:08:01.618 Info FixerService: Internal Metadata Path : C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata\metadata
2020-05-26 20:08:01.620 Info FixerService: Movie/Series count: 4255
2020-05-26 20:08:01.624 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-26 20:08:01.624 Info FixerService: GUID 18ae297a77c44520ae582b20925e66b5
2020-05-26 20:08:01.624 Info FixerService: Platform is WINDOWS
2020-05-26 20:08:01.629 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.5.0.12
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Nicholas Bird\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/Nicholas Bird/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.4
	Processor count: 12
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at TMDBPeopleFix.FixerService.Post(FixTMDBPeopleX result)
	   at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass6_0.<VoidActionDelegate>b__0(Object service, Object request)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   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 localPath, CancellationToken cancellationToken)
	Source: TMDBPeopleFix
	TargetSite: Void Post(FixTMDBPeopleX)
	
2020-05-26 20:08:01.630 Info HttpServer: HTTP Response 500 to ::1. Time: 21ms. http://localhost:8096/emby/CustomFix/FixTMDBPeople

count works

2020-05-26 20:32:22.585 Info FixerService: --------------- CORRUPT PEOPLE IMAGES  COUNT--------------------
2020-05-26 20:32:22.585 Info FixerService: --------------- Found 116932 entires
2020-05-26 20:32:22.585 Info FixerService: --------------- 54396 were corrupt links
2020-05-26 20:32:22.585 Info FixerService: DEBUG INFO: 26105
2020-05-26 20:32:22.585 Info FixerService: ---------------------------------------------------------------
2020-05-26 20:32:22.585 Info HttpServer: HTTP Response 204 to ::1. Time: 14403ms. http://localhost:8096/emby/CustomFix/CountCorrupt
Edited by ginjaninja
Link to comment
Share on other sites

buzzdude

I ran V13, with it skipping over my previous error.

 

2020-05-26 14:49:22.151 Info FixerService: --------------- CORRUPT PEOPLE IMAGES COUNT--------------------
2020-05-26 14:49:22.151 Info FixerService: --------------- Found 70688 entires
2020-05-26 14:49:22.151 Info FixerService: --------------- 33365 were corrupt links
2020-05-26 14:49:22.151 Info FixerService: DEBUG INFO: 15698
2020-05-26 14:49:22.151 Info FixerService: ---------------------------------------------------------------
 
finished
 
2020-05-27 01:03:34.791 Info FixerService: ------------------------------
2020-05-27 01:03:34.791 Info FixerService: FIX TMDB PEOPLE - ROUTINE END!
2020-05-27 01:03:34.791 Info FixerService: ------------------------------
 
 

Now the count is below

 

2020-05-27 09:15:08.364 Info FixerService: --------------- CORRUPT PEOPLE IMAGES COUNT--------------------
2020-05-27 09:15:08.364 Info FixerService: --------------- Found 70729 entires
2020-05-27 09:15:08.364 Info FixerService: --------------- 4866 were corrupt links
2020-05-27 09:15:08.364 Info FixerService: DEBUG INFO: 30559
2020-05-27 09:15:08.364 Info FixerService: ---------------------------------------------------------------
 
Most entries in the log are:
 
2020-05-27 00:38:26.077 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-27 00:38:26.078 Info FixerService: GUID aa36d3f4c35c4521b396a37c45ceb116
2020-05-27 00:38:26.078 Info FixerService: Platform is WINDOWS
2020-05-27 00:38:26.078 Info FixerService: Metadir: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\metadata\library\aa\aa36d3f4c35c4521b396a37c45ceb116
2020-05-27 00:38:26.078 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-27 00:38:26.078 Info FixerService: ------ Scanning Actor '22' from ' Casino Royale '- (64947 People in 2410) Movie/Series Records ----
2020-05-27 00:38:26.078 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-27 00:38:26.078 Info FixerService: People in this Movie/Series: 50
2020-05-27 00:38:26.078 Info FixerService: Name : Elaine Taylor
2020-05-27 00:38:26.078 Info FixerService: Index : 30882
2020-05-27 00:38:26.078 Info FixerService: Primary image Path : https://image.tmdb.org/t/p/original/9EIce1Zl9F8YUP111dADQxVrthk.jpg
2020-05-27 00:38:26.338 Info FixerService: Removing Missing TMDB Image Path
2020-05-27 00:38:26.338 Info FixerService: Trying Remote Website 1 :) !
2020-05-27 00:38:26.350 Info FixerService: Nothing Here!
2020-05-27 00:38:26.350 Info FixerService: Trying Remote Website 2 :) !
2020-05-27 00:38:26.374 Info FixerService: Trying Remote Website 3 :) !
2020-05-27 00:38:26.386 Info FixerService: Trying Remote Website 4 :) !
2020-05-27 00:38:26.398 Info FixerService: Trying Remote Website 5 :) !
2020-05-27 00:38:27.038 Info FixerService: Nothing Here
 
 
Some entries show success.
 
2020-05-26 16:42:29.448 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-26 16:42:29.449 Info FixerService: GUID c0841c130dca4ee6b85a28c987219e4d
2020-05-26 16:42:29.449 Info FixerService: Platform is WINDOWS
2020-05-26 16:42:29.449 Info FixerService: Metadir: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\metadata\library\c0\c0841c130dca4ee6b85a28c987219e4d
2020-05-26 16:42:29.449 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-26 16:42:29.449 Info FixerService: ------ Scanning Actor '3' from ' Drone Wars '- (14761 People in 2410) Movie/Series Records ----
2020-05-26 16:42:29.449 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-26 16:42:29.449 Info FixerService: People in this Movie/Series: 21
2020-05-26 16:42:29.449 Info FixerService: Name : Jolene Andersen
2020-05-26 16:42:29.449 Info FixerService: Index : 22987
2020-05-26 16:42:29.449 Info FixerService: Primary image Path : https://image.tmdb.org/t/p/original/jeWRoKlw3UYWShVIdzVoJHSGrkf.jpg
2020-05-26 16:42:30.062 Info FixerService: Set the Image Succedded :) !
 
 
Are getting a similar error message but no mention of fixerservice.
 
*** Error Report ***
Version: 4.5.0.12
Command line: C:\Users\Administrator\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/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
System.Environment.Version: 3.1.4
Processor count: 8
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.ArgumentException: System.ArgumentException: Unable to determine image file extension from mime type text/html
at MediaBrowser.Providers.Manager.ImageSaver.GetCompatibleSavePaths(BaseItem item, ImageType type, Nullable`1 imageIndex, ReadOnlySpan`1 mimeType)
at MediaBrowser.Providers.Manager.ImageSaver.GetSavePaths(BaseItem item, ImageType type, Nullable`1 imageIndex, ReadOnlySpan`1 mimeType, Boolean saveLocally)
at MediaBrowser.Providers.Manager.ImageSaver.SaveImage(BaseItem item, LibraryOptions libraryOptions, Stream source, ReadOnlyMemory`1 mimeType, ImageType type, Nullable`1 imageIndex, Nullable`1 saveLocallyWithMedia, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.ProviderManager.SaveImage(BaseItem item, String url, ImageType type, Nullable`1 imageIndex, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken)
at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken)
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 localPath, CancellationToken cancellationToken)
Source: Emby.Providers
TargetSite: System.String[] GetCompatibleSavePaths(MediaBrowser.Controller.Entities.BaseItem, MediaBrowser.Model.Entities.ImageType, System.Nullable`1[system.Int32], System.ReadOnlySpan`1[system.Char])
 
 
I'm not seeing a vast improvement in correctly shown images after the scan has run.
 
I can pick any movie with missing images and find the images correctly shown in imdb, via the external id.
 
eg Casino Royale
 
 
 
Full cast images in imdb
 
 
 
 
the moviedb has far less images
 
 
 
Hope this helps.
 
thanks
 
 
 
 
Link to comment
Share on other sites

mickle026
I'm not seeing a vast improvement in correctly shown images after the scan has run.

 

 

So you have gone from 33365 bad links to 4866 bad links but dont see much change in people posters being present? 

That over 28,000 images that should now be showing up or bad links removed so that they reload when you click them or refresh metadata.

 

 

This error doesn't look like it belongs to this plugin, it looks like its an image fetcher you have enabled within emby.

Unable to determine image file extension from mime type text/html

The TMDBfixer plugin is not given the choice , it either errors so doesnt save or saves as a jpg using the file systems writer.

 

Also I do not use the inbuilt "MediaBrowser.Providers.Manager.ImageSaver.SaveImage"

 

This looks to me like emby is adding media aswell.

 

 

I will however look why you still have left over bad links though.

 

According to IMDB there is no Elaine Taylor in Casino Royale :unsure:, probably why it couldnt find that image.

Edited by mickle026
Link to comment
Share on other sites

buzzdude

 

So you have gone from 33365 bad links to 4866 bad links but dont see much change in people posters being present? 

That over 28,000 images that should now be showing up or bad links removed so that they reload when you click them or refresh metadata.

 

sorry, I was under the impression that the correct image would be downloaded.  :wacko: 

 

I have manually clicked on a couple of blanks and locate the missing image.

 

I have now kicked off a refresh metadata scan with "Search for missing metadata" and can see missing images appearing.

 

Looks good, so far.   :)

Link to comment
Share on other sites

wakeboarder141

Can anyone help me install this on a Synology NAS?  I used WinSCP to copy the DLL to /var/packages/EmbyServer/target/var/plugins, but even after restarting the Emby Server, I don't have this plugin listed.

Link to comment
Share on other sites

tr0nllam

 

no joy for v13 for me 

2020-05-26 20:08:01.618 Info FixerService: --------------- FIX CORRUPT PEOPLE IMAGES --------------------
2020-05-26 20:08:01.618 Info FixerService: Metdata Path : 
2020-05-26 20:08:01.618 Info FixerService: Cache Path : 
2020-05-26 20:08:01.618 Info FixerService: Plugin Path : 
2020-05-26 20:08:01.618 Info FixerService: Internal Metadata Path : C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata\metadata
2020-05-26 20:08:01.620 Info FixerService: Movie/Series count: 4255
2020-05-26 20:08:01.624 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-26 20:08:01.624 Info FixerService: GUID 18ae297a77c44520ae582b20925e66b5
2020-05-26 20:08:01.624 Info FixerService: Platform is WINDOWS
2020-05-26 20:08:01.629 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.5.0.12
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Nicholas Bird\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/Nicholas Bird/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.4
	Processor count: 12
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at TMDBPeopleFix.FixerService.Post(FixTMDBPeopleX result)
	   at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass6_0.<VoidActionDelegate>b__0(Object service, Object request)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   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 localPath, CancellationToken cancellationToken)
	Source: TMDBPeopleFix
	TargetSite: Void Post(FixTMDBPeopleX)
	
2020-05-26 20:08:01.630 Info HttpServer: HTTP Response 500 to ::1. Time: 21ms. http://localhost:8096/emby/CustomFix/FixTMDBPeople

count works

2020-05-26 20:32:22.585 Info FixerService: --------------- CORRUPT PEOPLE IMAGES  COUNT--------------------
2020-05-26 20:32:22.585 Info FixerService: --------------- Found 116932 entires
2020-05-26 20:32:22.585 Info FixerService: --------------- 54396 were corrupt links
2020-05-26 20:32:22.585 Info FixerService: DEBUG INFO: 26105
2020-05-26 20:32:22.585 Info FixerService: ---------------------------------------------------------------
2020-05-26 20:32:22.585 Info HttpServer: HTTP Response 204 to ::1. Time: 14403ms. http://localhost:8096/emby/CustomFix/CountCorrupt

 

I get this same error message.

Link to comment
Share on other sites

mickle026

sorry, I was under the impression that the correct image would be downloaded.  :wacko:

 

I have manually clicked on a couple of blanks and locate the missing image.

 

I have now kicked off a refresh metadata scan with "Search for missing metadata" and can see missing images appearing.

 

Looks good, so far.   :)

 

I does download too if it can find a direct link to the images, youll see it has if you get set image succeeded.

 

It actually does several things.

1.  It tests for zero byte or tiny images on the hdd/ssd which can be html pages with jpg extensions.  Checks if they are valid images and removes them from the drive and db if they are not.

2.  Tests tmdb images if they have the "old" link and sees if they are moved to a standard "new" link, if they are it fixes the link, if they arent it removes the link from the db.

3.  It checks a number of websites if they have the Actor image, if it can find it iot downloads it and sets it as the image.

 

 

So in a nut shell , if it can find the image or its invalid (black placeholder) it repairs it, it it cant.  It removes it.  It doesnt use the Api or internal fetchers to update, you have to do that manually.

Link to comment
Share on other sites

mickle026

I get this same error message.

Im still trying to figure out what is causing this error.

Link to comment
Share on other sites

ginjaninja

Im still trying to figure out what is causing this error.

 

my instance is fairly standard, has it been tested on libraries made up of more than one folder? more than 1 movie library? libraries configured to refresh metadata every x days and download images in advance?

Link to comment
Share on other sites

Im still trying to figure out what is causing this error.

 

2020-05-26 20:08:01.618 Info FixerService: Metdata Path :

 

It is the fact this "Metadata Path" is empty. Once this is changed to the same as the "Internal Metadata Path" your plugin then works. Thanks for the plugin. :)

 

Anyone who doesn't define a custom path for the metadata gets the error.

Edited by speechles
Link to comment
Share on other sites

Happy2Play

2020-05-26 20:08:01.618 Info FixerService: Metdata Path :

 

It is the fact this "Metadata Path" is empty. Once this is changed to the same as the "Internal Metadata Path" your plugin then works. Thanks for the plugin. :)

 

Anyone who doesn't define a custom path for the metadata gets the error.

 

I wouldn't think so as I do not get any errors.

2020-05-27 03:18:34.542 Info FixerService: --------------- FIX CORRUPT PEOPLE IMAGES --------------------
2020-05-27 03:18:34.542 Info FixerService: Metdata Path : 
2020-05-27 03:18:34.542 Info FixerService: Cache Path : 
2020-05-27 03:18:34.542 Info FixerService: Plugin Path : 
2020-05-27 03:18:34.542 Info FixerService: Internal Metadata Path : Y:\Emby-Server\programdata\metadata
2020-05-27 03:18:34.543 Info FixerService: Movie/Series count: 4469
2020-05-27 03:18:34.543 Info FixerService: Movie/Series count: 4469
2020-05-27 03:18:34.543 Info FixerService: Movie/Series count: 4469
2020-05-27 03:18:34.544 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-27 03:18:34.544 Info FixerService: GUID 37cfcf1ff1a841d49c3ea93ec4229bcd
2020-05-27 03:18:34.544 Info FixerService: Platform is WINDOWS
2020-05-27 03:18:34.544 Info FixerService: Metadir: Y:\Emby-Server\programdata\metadata\library\37\37cfcf1ff1a841d49c3ea93ec4229bcd
2020-05-27 03:18:34.544 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-27 03:18:34.544 Info FixerService: ------ Scanning Actor '0' from ' 9 '- (0 People in 4469) Movie/Series Records ----
2020-05-27 03:18:34.544 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-27 03:18:34.544 Info FixerService: People in this Movie/Series: 11
2020-05-27 03:18:34.544 Info FixerService: Name : Tom Kane
2020-05-27 03:18:34.544 Info FixerService: Index : 1238
2020-05-27 03:18:34.544 Info FixerService: Primary image Path : Y:\Emby-Server\programdata\metadata\library\37\37cfcf1ff1a841d49c3ea93ec4229bcd\folder.jpg
2020-05-27 03:18:34.545 Info FixerService: File Size 125807
2020-05-27 03:18:34.545 Info FixerService: File Not Corrupt
2020-05-27 03:18:34.545 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------

Link to comment
Share on other sites

 

I wouldn't think so as I do not get any errors.

 

You must have ran the plugin previously and it cached some important detail it does not any longer.

 

I ran it fresh brand new and got that error. Changed the metadata path to match the internal metadata path. Now it runs. It _must_ be that for that error. :)

Link to comment
Share on other sites

mickle026

 

I wouldn't think so as I do not get any errors.

2020-05-27 03:18:34.542 Info FixerService: --------------- FIX CORRUPT PEOPLE IMAGES --------------------
2020-05-27 03:18:34.542 Info FixerService: Metdata Path : 
2020-05-27 03:18:34.542 Info FixerService: Cache Path : 
2020-05-27 03:18:34.542 Info FixerService: Plugin Path : 
2020-05-27 03:18:34.542 Info FixerService: Internal Metadata Path : Y:\Emby-Server\programdata\metadata
2020-05-27 03:18:34.543 Info FixerService: Movie/Series count: 4469
2020-05-27 03:18:34.543 Info FixerService: Movie/Series count: 4469
2020-05-27 03:18:34.543 Info FixerService: Movie/Series count: 4469
2020-05-27 03:18:34.544 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-27 03:18:34.544 Info FixerService: GUID 37cfcf1ff1a841d49c3ea93ec4229bcd
2020-05-27 03:18:34.544 Info FixerService: Platform is WINDOWS
2020-05-27 03:18:34.544 Info FixerService: Metadir: Y:\Emby-Server\programdata\metadata\library\37\37cfcf1ff1a841d49c3ea93ec4229bcd
2020-05-27 03:18:34.544 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-27 03:18:34.544 Info FixerService: ------ Scanning Actor '0' from ' 9 '- (0 People in 4469) Movie/Series Records ----
2020-05-27 03:18:34.544 Info FixerService: --------------------------------------------------------------------------------------------------
2020-05-27 03:18:34.544 Info FixerService: People in this Movie/Series: 11
2020-05-27 03:18:34.544 Info FixerService: Name : Tom Kane
2020-05-27 03:18:34.544 Info FixerService: Index : 1238
2020-05-27 03:18:34.544 Info FixerService: Primary image Path : Y:\Emby-Server\programdata\metadata\library\37\37cfcf1ff1a841d49c3ea93ec4229bcd\folder.jpg
2020-05-27 03:18:34.545 Info FixerService: File Size 125807
2020-05-27 03:18:34.545 Info FixerService: File Not Corrupt
2020-05-27 03:18:34.545 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------

 

It just might be, I have seen this just once before in net core.  When testing a string if its empty, 0 length etc - it is but it reports that its not.

 

Weird I know, no wonder I couldn't find the error - but i can put it a fix for that scenario.

Link to comment
Share on other sites

mickle026

New update in post #1

 

Let me know if this error is still a problem.

Added another site to grab images.

Updated the image count to give a bit more info.

 

Thanks

Link to comment
Share on other sites

rechigo

Can you make it a little less verbose? My log files are getting huge

 

I would restrict some of the lines to debug logging only53b46a6b66761d6a2af09a55b3f61d31.jpg51c487ea416bd885c74cbd2f36073e95.jpg

 

Sent from my Galaxy S10

Edited by rechigo
Link to comment
Share on other sites

ginjaninja

no joy on v14

2020-05-28 09:46:14.377 Info HttpServer: HTTP POST http://localhost:8096/emby/CustomFix/FixTMDBPeople. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
2020-05-28 09:46:14.386 Info FixerService: --------------- FIX CORRUPT PEOPLE IMAGES --------------------
2020-05-28 09:46:14.386 Info FixerService: Metdata Path : 
2020-05-28 09:46:14.386 Info FixerService: Cache Path : 
2020-05-28 09:46:14.386 Info FixerService: Plugin Path : 
2020-05-28 09:46:14.386 Info FixerService: Internal Metadata Path : C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata\metadata
2020-05-28 09:46:14.387 Info FixerService: Movie/Series count: 4255
2020-05-28 09:46:14.387 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-28 09:46:14.387 Info FixerService: GUID 18ae297a77c44520ae582b20925e66b5
2020-05-28 09:46:14.387 Info FixerService: Platform is WINDOWS
2020-05-28 09:46:14.393 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.5.0.12
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Nicholas Bird\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/Nicholas Bird/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.4
	Processor count: 12
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at TMDBPeopleFix.FixerService.Post(FixTMDBPeopleX result)
	   at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass6_0.<VoidActionDelegate>b__0(Object service, Object request)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   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 localPath, CancellationToken cancellationToken)
	Source: TMDBPeopleFix
	TargetSite: Void Post(FixTMDBPeopleX)
	
2020-05-28 09:46:14.393 Info HttpServer: HTTP Response 500 to ::1. Time: 16ms. http://localhost:8096/emby/CustomFix/FixTMDBPeople
Link to comment
Share on other sites

mickle026

 

no joy on v14

2020-05-28 09:46:14.377 Info HttpServer: HTTP POST http://localhost:8096/emby/CustomFix/FixTMDBPeople. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
2020-05-28 09:46:14.386 Info FixerService: --------------- FIX CORRUPT PEOPLE IMAGES --------------------
2020-05-28 09:46:14.386 Info FixerService: Metdata Path : 
2020-05-28 09:46:14.386 Info FixerService: Cache Path : 
2020-05-28 09:46:14.386 Info FixerService: Plugin Path : 
2020-05-28 09:46:14.386 Info FixerService: Internal Metadata Path : C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata\metadata
2020-05-28 09:46:14.387 Info FixerService: Movie/Series count: 4255
2020-05-28 09:46:14.387 Info FixerService: --- NEW SCAN --------------------------------------------------------------------------------------
2020-05-28 09:46:14.387 Info FixerService: GUID 18ae297a77c44520ae582b20925e66b5
2020-05-28 09:46:14.387 Info FixerService: Platform is WINDOWS
2020-05-28 09:46:14.393 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.5.0.12
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Nicholas Bird\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/Nicholas Bird/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.4
	Processor count: 12
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at TMDBPeopleFix.FixerService.Post(FixTMDBPeopleX result)
	   at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass6_0.<VoidActionDelegate>b__0(Object service, Object request)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   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 localPath, CancellationToken cancellationToken)
	Source: TMDBPeopleFix
	TargetSite: Void Post(FixTMDBPeopleX)
	
2020-05-28 09:46:14.393 Info HttpServer: HTTP Response 500 to ::1. Time: 16ms. http://localhost:8096/emby/CustomFix/FixTMDBPeople

Others that reported this problem got around it by going in to their config within emby advanced, and changing their metadata to a defined one.

 

If you are happy to try this method read on, if not dont try this.

 

In your case your metadata is:

 

C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata\metadata

 

Add this as the custom path:

 

C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata

 

It'll use the "already" configured path but the plugin shouldn't fall down on your default path.  Emby creates \metadata folder if it doesn't exist but it already does so dont add that to the end of the custom path.

 

If you are worried it might screw things up make a copy of your metadata folder so it can be restored later.  C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata\metadata-copy, you can always delete it if its successful.

 

I will look again at a work around for this error.

Edited by mickle026
Link to comment
Share on other sites

mickle026

Can you make it a little less verbose? My log files are getting huge

 

I would restrict some of the lines to debug logging only53b46a6b66761d6a2af09a55b3f61d31.jpg51c487ea416bd885c74cbd2f36073e95.jpg

 

Sent from my Galaxy S10

 

I will reduce the debug logging as most of it is not needed now, it started off being a run onetime plugin and remove it so logs would get purged after a while.  It looks like it might not stay that way,

Edited by mickle026
Link to comment
Share on other sites

mickle026

Just ran version 14 i have this.

 

https://paste2.org/GchA7bOz

 

 

Does it mean it is working or not?

No its not working, its the same error as above.  Others have reproted putting a custom metadata path works, see post 47 how to put a custom one thats actually the same as the one you are using.

Edited by mickle026
Link to comment
Share on other sites

No its not working, its the same error as above.  Others have reproted putting a custom metadata path works, see post 47 how to put a custom one thats actually the same as the one you are using.

 

1) Copy the path the log shows the plugin is using for internal metadata path and put it into metadata path on the server.

 

2) Check to make sure the paths look like below once you run the plugin after step 1. Check the log for this below.

 

Metadata Path : C:\Users\speechles\AppData\Roaming\Emby-Server\metadata\

Internal Metadata Path : C:\Users\speechles\AppData\Roaming\Emby-Server\metadata\metadata\

 

3) Now it is goofy. there is \metadata\metadata\ .. WTF.. You will see this above in the log and think everything broke. It didn't but you will think so because some or most of your images will not work with this change applied. The change is just get the plugin to run.

 

4) Then once it starts to run successully. Go back into the metadata path and blank it to empty and save. This will fix your images back that did not work before. Have not seen any issues so far and my people have images again. YAY!  :)

 

5) You only need to do this process once no matter how many times you run the plugin. Once you run the plugin successfully something is cached and the condition does not happen on subsequent starts.

 

2020-05-28 09:17:53.357 Info FixerService: Metdata Path : 
2020-05-28 09:17:53.357 Info FixerService: Cache Path : 
2020-05-28 09:17:53.357 Info FixerService: Plugin Path : 
2020-05-28 09:17:53.357 Info FixerService: Internal Metadata Path : C:\Users\speechles\AppData\Roaming\Emby-Server\metadata
Edited by speechles
Link to comment
Share on other sites

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