Jump to content

[solved] Is there a way to write NFO Files from all Movies?


looking111

Recommended Posts

looking111

Hello,

 

I'am using Embyserver on Ubuntu. I would like to generate for every Movie a NFO File. I search for, but i find out that this is not possible in Emby if data's exist. So i check every NFO box in the Admininterface for test. But if i add a new movie, no nfo will generate. So is there an option that i can generate NFO's?

 

Embyversion 4.0.1.0

 

Thanks a lot

Edited by looking111
Link to comment
Share on other sites

Happy2Play

Hello,

 

I'am using Embyserver on Ubuntu. I would like to generate for every Movie a NFO File. I search for, but i find out that this is not possible in Emby if data's exist. So i check every NFO box in the Admininterface for test. But if i add a new movie, no nfo will generate. So is there an option that i can generate NFO's?

 

Embyversion 4.0.1.0

 

Thanks a lot

 

If you have the option enabled and are not getting nfo files with your media, you will need to post a server log.  But if this is happening it maybe a permissions issue.  

 

Since the setting only applies to new media you have to do a Refresh (not a scan) on the libraries to generate for existing media.  Assuming permissions permit.

Link to comment
Share on other sites

looking111

First it was an permissionproblem from the group, but no the embyuser is in this group an have permissions. If i login on the cmd an edit some files or create files that is working fine. But if emby scan the library and add new movies, it generates NFO's, but they are emty. Strange. Can you help me?

2019-02-12 01:23:02.175 Error ProviderManager: Error in metadata saver
    *** Error Report ***
    Version: 4.0.1.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Unix 4.15.18.11
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/home/Movies/Sience-Fiction/movie1.nfo' is denied. ---> System.IO.IOException: Permission denied
       --- End of inner exception stack trace ---
       at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
       at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
       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 NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path)
       at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, CancellationToken cancellationToken)
       at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
    Source: System.Private.CoreLib
    TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
       at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
       at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
       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 NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path)
       at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, CancellationToken cancellationToken)
       at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
    InnerException: System.IO.IOException: Permission denied
    Source:
    TargetSite:
Edited by looking111
Link to comment
Share on other sites

looking111

Thank you. Is no solved. The problem was the samba connection. After i changed from default 1.0 to 3.0 in the fstab it's working now :) :) :)

Edited by looking111
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...