Jump to content

Problem with metadata on new TV Shows (4.5.4.0)


adrianwi

Recommended Posts

adrianwi

I've added a couple of shows since updating to 4.5.4.0 and they've not been found.  I've had a look in the log and it appears to be trying to write a file back to the media folder.

AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
2021-01-18 08:41:27.781 Info Server: http/1.1 Response 200 to IP. Time: 4ms. http://IP:8096/emby/Users/a0c8df040c7948c691d73deb6f3c9af8/Items/11467161?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5e248ce9-b300-43da-b422-ba98a939b5d3&X-Emby-Client-Version=4.5.4.0
2021-01-18 08:41:29.402 Info Server: http/1.1 GET http://IP:8096/emby/Items/11467161/ExternalIdInfos?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5e248ce9-b300-43da-b422-ba98a939b5d3&X-Emby-Client-Version=4.5.4.0. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
2021-01-18 08:41:29.403 Info Server: http/1.1 Response 200 to IP. Time: 1ms. http://IP:8096/emby/Items/11467161/ExternalIdInfos?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5e248ce9-b300-43da-b422-ba98a939b5d3&X-Emby-Client-Version=4.5.4.0
2021-01-18 08:41:34.404 Info Server: http/1.1 POST http://IP:8096/emby/Items/RemoteSearch/Series?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5e248ce9-b300-43da-b422-ba98a939b5d3&X-Emby-Client-Version=4.5.4.0. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
2021-01-18 08:41:34.404 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/GetSeries.php?seriesname=WandaVision&language=en
2021-01-18 08:41:34.443 Info App: MovieDbProvider: Finding id for item: WandaVision
2021-01-18 08:41:34.443 Info HttpClient: HttpClientManager GET: https://api.themoviedb.org/3/search/tv?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=WandaVision&language=en
2021-01-18 08:41:34.618 Info HttpClient: HttpClientManager GET: https://private.omdbapi.com?apikey=fe53f97e&plot=full&r=json&s=WandaVision&type=series
2021-01-18 08:41:35.155 Info Server: http/1.1 Response 200 to IP. Time: 751ms. http://192.168.168.25:8096/emby/Items/RemoteSearch/Series?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5e248ce9-b300-43da-b422-ba98a939b5d3&X-Emby-Client-Version=4.5.4.0
2021-01-18 08:41:36.916 Info Server: http/1.1 GET http://IP:8096/emby/Items/RemoteSearch/Image?imageUrl=https://www.thetvdb.com/banners/series/362392/banners/60038db303695.jpg&ProviderName=TheTVDB. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
2021-01-18 08:41:36.922 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/banners/series/362392/banners/60038db303695.jpg
2021-01-18 08:41:36.975 Info Server: http/1.1 Response 200 to IP. Time: 59ms. http://IP:8096/emby/Items/RemoteSearch/Image?imageUrl=https://www.thetvdb.com/banners/series/362392/banners/60038db303695.jpg&ProviderName=TheTVDB
2021-01-18 08:41:39.100 Info Server: http/1.1 POST http://IP:8096/emby/Items/RemoteSearch/Apply/11467161?ReplaceAllImages=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=5e248ce9-b300-43da-b422-ba98a939b5d3&X-Emby-Client-Version=4.5.4.0. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
2021-01-18 08:41:39.110 Info App: Setting provider id's to item 11467161-WandaVision: {"Tvdb":"362392"}
2021-01-18 08:41:39.140 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/B89CE93890E9419B/series/362392/all/en.zip
2021-01-18 08:41:39.173 Info HttpClient: HttpClientManager GET: https://api.themoviedb.org/3/find/tt9140560?api_key=f6bd687ffa63cd282b6ff2c6877f2669&external_source=imdb_id
2021-01-18 08:41:39.479 Info HttpClient: HttpClientManager GET: https://api.themoviedb.org/3/tv/85271?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=credits,images,keywords,external_ids,videos,content_ratings&language=en&include_image_language=en,null
2021-01-18 08:41:39.816 Info HttpClient: HttpClientManager GET: https://private.omdbapi.com?apikey=fe53f97e&i=tt9140560&plot=short&tomatoes=true&r=json
2021-01-18 08:41:39.905 Info HttpClient: HttpClientManager GET: https://webservice.fanart.tv/v3/tv/362392?api_key=5c6b04c68e904cfed1e6cbc9a9e683d4
2021-01-18 08:41:40.103 Info HttpClient: HttpClientManager GET: https://api.themoviedb.org/3/tv/85271?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=credits,images,keywords,external_ids,videos,content_ratings
2021-01-18 08:41:40.311 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.5.4.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz -noautorunwebapp
	Operating system: Unix 12.2.2.0 
	Framework: Mono: 5.10.1.57 (5.10.1.57 Tue Dec  8 02:36:57 UTC 2020)
	OS/Process: X64/X64
	Runtime: usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 8
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/media/tv/WandaVision/tvshow.nfo" is denied.
	  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
	  at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, System.Int32 bufferSize, MediaBrowser.Model.IO.FileOpenOptions fileOpenOptions) [0x00052] in <690051a8047b487181d736f4befb907e>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, MediaBrowser.Model.IO.FileOpenOptions fileOpenOptions) [0x00000] in <690051a8047b487181d736f4befb907e>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, System.Boolean isAsync) [0x0002c] in <690051a8047b487181d736f4befb907e>:0 
	  at NfoMetadata.Savers.BaseNfoSaver.SaveToFile (System.IO.Stream stream, System.String path) [0x0002b] in <bca1d5ddc56e4982885f453f4020f0c3>:0 
	  at NfoMetadata.Savers.BaseNfoSaver.Save (MediaBrowser.Controller.Entities.BaseItem item, System.Threading.CancellationToken cancellationToken) [0x00032] in <bca1d5ddc56e4982885f453f4020f0c3>:0 
	  at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, MediaBrowser.Controller.Library.ItemUpdateType updateType, MediaBrowser.Controller.Library.IMetadataSaver[] savers, System.Threading.CancellationToken cancellationToken) [0x0004a] in <fa35dd8a1d67445da14cf516e9b164e8>:0 
	Source: mscorlib
	TargetSite: Void .ctor(String, FileMode, FileAccess, FileShare, Int32, Boolean, FileOptions)
	
2021-01-18 08:41:40.374 Info App: Creating virtual unaired episode WandaVision 1x3
2021-01-18 08:41:40.410 Info App: Creating virtual unaired episode WandaVision 1x4
2021-01-18 08:41:40.414 Info App: Creating virtual unaired episode WandaVision 1x5
2021-01-18 08:41:40.418 Info App: Creating virtual unaired episode WandaVision 1x6
2021-01-18 08:41:40.422 Info App: Creating virtual unaired episode WandaVision 1x7
2021-01-18 08:41:40.437 Info App: Creating virtual unaired episode WandaVision 1x8
2021-01-18 08:41:40.441 Info App: Creating virtual unaired episode WandaVision 1x9
2021-01-18 08:41:40.518 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.5.4.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz -noautorunwebapp
	Operating system: Unix 12.2.2.0 
	Framework: Mono: 5.10.1.57 (5.10.1.57 Tue Dec  8 02:36:57 UTC 2020)
	OS/Process: X64/X64
	Runtime: usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 8
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/media/tv/WandaVision/tvshow.nfo" is denied.
	  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
	  at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, System.Int32 bufferSize, MediaBrowser.Model.IO.FileOpenOptions fileOpenOptions) [0x00052] in <690051a8047b487181d736f4befb907e>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, MediaBrowser.Model.IO.FileOpenOptions fileOpenOptions) [0x00000] in <690051a8047b487181d736f4befb907e>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, System.Boolean isAsync) [0x0002c] in <690051a8047b487181d736f4befb907e>:0 
	  at NfoMetadata.Savers.BaseNfoSaver.SaveToFile (System.IO.Stream stream, System.String path) [0x0002b] in <bca1d5ddc56e4982885f453f4020f0c3>:0 
	  at NfoMetadata.Savers.BaseNfoSaver.Save (MediaBrowser.Controller.Entities.BaseItem item, System.Threading.CancellationToken cancellationToken) [0x00032] in <bca1d5ddc56e4982885f453f4020f0c3>:0 
	  at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, MediaBrowser.Controller.Library.ItemUpdateType updateType, MediaBrowser.Controller.Library.IMetadataSaver[] savers, System.Threading.CancellationToken cancellationToken) [0x0004a] in <fa35dd8a1d67445da14cf516e9b164e8>:0 
	Source: mscorlib
	TargetSite: Void .ctor(String, FileMode, FileAccess, FileShare, Int32, Boolean, FileOptions)

Has something changed here that needs some different settings?  I'd prefer not to write back to the media folders.

Thanks

Link to comment
Share on other sites

Quote

I've had a look in the log and it appears to be trying to write a file back to the media folder.

You configured the library to save nfo files, so it's trying to do what you asked it to do.

Link to comment
Share on other sites

adrianwi

Thanks.  I found that setting hidden in the Library options and switched it off.

What changed in Emby to stop it working, as it did before with the same settings and permissions?

Link to comment
Share on other sites

12 minutes ago, adrianwi said:

Thanks.  I found that setting hidden in the Library options and switched it off.

What changed in Emby to stop it working, as it did before with the same settings and permissions?

Nothing changed. From the error message we can see that Emby Server is trying to save the nfo files, but is being denied write access by your file system.

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