Jump to content

Identify doesn't save after clicking save


Go to solution Solved by Luke,

Recommended Posts

Posted

Version 4.8.11.0

There are a few tv shows that I can't save after identify. I'll click save over and over but nothing happens and when I exit, it stays missing.

 

Screen Shot 2025-03-31 at 10.08.28 PM.png

Screen Shot 2025-03-31 at 10.08.47 PM.png

Screen Shot 2025-03-31 at 10.09.50 PM.png

Posted
On 3/31/2025 at 10:38 PM, Luke said:

Hi there, please attach the Emby server log from when the problem occurred:

Thanks!

 

Sorry I don't understand. Am I not posting in Windows Community? Where does this thread belong? My apologies.

Posted
3 minutes ago, BigIrn said:

Sorry I don't understand. Am I not posting in Windows Community? Where does this thread belong? My apologies.

 

Screenshot 2025-04-02 at 2.14.43 PM.png

Screenshot 2025-04-02 at 2.15.57 PM.png

embyserver.txt

Posted

I think it is working just fine getting new data based on what you did. You can close the dialog if you don't want to wait for it.

justinrh
Posted
4 hours ago, BigIrn said:

Sorry I don't understand. Am I not posting in Windows Community? Where does this thread belong? My apologies.

Nothing wrong with the subforum you posted in.  Luke didn't question that.  He just asked for a server log.

Posted

When you clock OK it kicks off a metadata refresh. You can just close the dialog and let it run in the background.

Happy2Play
Posted

@Lukeisn't there a path issue going on here at least with this example?

	Line 224335: 2025-04-02 14:15:39.714 Info App: Setting provider id's to item 762301-One-Punch Man: {"Tvdb":"293088","IMDB":"tt4508902","Official Website":"http://www.onepunchman-anime.net/","Tmdb":"63926","X (Twitter)":"opm_anime"}
	Line 224343: 2025-04-02 14:15:41.000 Debug App: Running TvdbSeriesProvider for \\m4\media\tv shows\One-Punch Man
	Line 224345: 2025-04-02 14:15:41.261 Debug App: Running MovieDbSeriesProvider for \\m4\media\tv shows\One-Punch Man
	Line 224347: 2025-04-02 14:15:41.341 Debug App: Running SeriesNfoProvider for \\m4\media\tv shows\One-Punch Man
	Line 224348: 2025-04-02 14:15:41.341 Debug App: SeriesNfoProvider returned no metadata for \\m4\media\tv shows\One-Punch Man
	Line 224349: 2025-04-02 14:15:41.342 Debug App: Running TvdbSeriesImageProvider for \\m4\media\tv shows\One-Punch Man
	Line 224350: 2025-04-02 14:15:41.343 Debug App: Running FanartSeriesProvider for \\m4\media\tv shows\One-Punch Man
	Line 224353: 2025-04-02 14:15:41.401 Error App: Error getting file \\m4\media\tv shows\One-Punch Man
	Line 224388: 	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '\\m4\media\tv shows\One-Punch Man'.
	Line 224570: 2025-04-02 14:16:17.770 Info App: Setting provider id's to item 762301-One-Punch Man: {"Tvdb":"293088","IMDB":"tt4508902","Official Website":"http://www.onepunchman-anime.net/","Tmdb":"63926","X (Twitter)":"opm_anime"}
	Line 224588: 	System.IO.IOException: System.IO.IOException: The specified network name is no longer available. : '\\m4\media\tv shows\One-Punch Man'

 

2025-04-02 14:15:41.401 Error App: Error getting file \\m4\media\tv shows\One-Punch Man
	*** Error Report ***
	Version: 4.8.11.0
	Command line: C:\Users\image\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.26100
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: C:/Users/image/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\image\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\image\AppData\Roaming\Emby-Server\system
	System.IO.IOException: System.IO.IOException: The specified server cannot perform the requested operation. : '\\m4\media\tv shows'
	   at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()
	   at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
	   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.EnumerateFileSystemInfos(DirectoryInfo dir, Boolean recursive)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive, FileSystemCredentials credentials)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal(String path)
	   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.Private.CoreLib
	TargetSite: Boolean MoveNext()
	
2025-04-02 14:15:41.403 Error Server: Error processing request
	*** Error Report ***
	Version: 4.8.11.0
	Command line: C:\Users\image\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.26100
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: C:/Users/image/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\image\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\image\AppData\Roaming\Emby-Server\system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '\\m4\media\tv shows\One-Punch Man'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.EnumerateFileSystemInfos(DirectoryInfo dir, Boolean recursive)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive, FileSystemCredentials credentials)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal(String path)
	   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
	   at Emby.Providers.Manager.MetadataService`2.GetActorsFolderPathFromParentFolder(String folder, IDirectoryService directoryService)
	   at Emby.Providers.Manager.MetadataService`2.ImportPeopleImagesFromActorsSubfolder(BaseItem item, List`1 people, IDirectoryService directoryService)
	   at Emby.Providers.Manager.MetadataService`2.SaveItem(MetadataResult`1 result, Boolean isFirstRefresh, LibraryOptions libraryOptions, ItemUpdateType reason, IDirectoryService directoryService, MetadataRefreshOptions metadataRefreshOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, BaseItem[] collectionFolders, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, BaseItem[] collectionFolders, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.ProviderManager.RefreshItem(BaseItem item, MetadataRefreshOptions options, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, 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.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	
2025-04-02 14:15:41.403 Info Server: http/1.1 Response 404 to host11. Time: 1693ms. POST 

But will assume related to other topic on this path issue.

 

Posted

Yes it looks like his UNC share is unreachable.

Posted

@Happy2Play@LukeIs there a best practice when it comes to drive shares? Mine goes in and out and it didn't used to when I was using WMC.

  • Solution
Posted
15 minutes ago, BigIrn said:

@Happy2Play@LukeIs there a best practice when it comes to drive shares? Mine goes in and out and it didn't used to when I was using WMC.

When it goes out (sleep?), then you just want to refrain from doing operations in Emby that will need to touch the drive, such as refreshing metadata, using the Identify feature, etc.

You may also want to consider enabling the caching options on each of your emby libraires so that the drive is accessed less frequently.

If you want to prevent it from becoming unavailable in the first place, then obviously that is a question for your environment and not an Emby question. But in that situation you'd want to make sure the machine with the network share is not sleeping, disconnecting it's network connection when idle, etc.

Posted
Here's a more detailed explanation:
I have a mac share on VPN that hosts media I have saved and emby running on windows that uses the mac shared drives using smb. I think this is how I fixed it:
 
When mapping a network drive, select the "Reconnect at logon" option to automatically reconnect the drive when the user logs in.
  • Adjusting KeepConn:
    The KeepConn registry value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters controls how long a client-side session remains active before disconnecting. You can increase this value to allow for longer idle times before disconnection.
  • Locate the Key: Open the Registry Editor (regedit) and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters.
  • Find or Create KeepConn: Look for the KeepConn value. If it doesn't exist, create a new REG_DWORD value named KeepConn.
  • Modify Value: Double-click KeepConn and change the value data to a larger number (in seconds) to extend the idle time before disconnection. The default is 600 seconds (10 minutes).
  • Alternative: Autodisconnect
    You can also modify the Autodisconnect value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters to prevent automatic disconnection.
  • Locate the Key: Open the Registry Editor (regedit) and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters.
  • Find or Create Autodisconnect: Look for the Autodisconnect value. If it doesn't exist, create a new REG_DWORD value named Autodisconnect.
  • Modify Value: Double-click Autodisconnect and change the value data to ffffffff to disable automatic disconnection. 
     
    Followed with this on the mac that hosts:

    Open Terminal.

    In Terminal, use these commands to make packet signing optional for clients:

    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server

    SigningRequired -bool FALSE

    sudo /usr/libexec/smb-sync-preferences

     

  • Thanks 1
Posted

Thanks for following up !

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