2019-07-30, 22:33
(2019-06-07, 09:30)DanCooper Wrote: That's strange, all DLL's will be indexed manually at the start and before the command line will be exequeted. I'ill check that, bug has been added to the tracker: LinkI'm having same problem and I already have the file on the root of EmberMediaManager.exe
This only happens for tv shows...
I had to call my script using powershell script as on latest Sonarr version you can't no longer pass arguments...
python:python2w C:\ProgramData\Sonarr\scripts\EmberMediaManager\main.py
I can't even get anything on EMM logs.
If I run my script directly on powershell it calls it without a problem.
Ran again with same error on Sonarr log file:
python:powershell.exe at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
powershell.exe at System.Windows.Forms.Control.WndProcException(Exception e)
powershell.exe at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
powershell.exe at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledException(UnhandledExceptionEventArgs e)
powershell.exe at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.raise_UnhandledException(Object sender, UnhandledExceptionEventArgs e)
powershell.exe at Ember_Media_Manager.My.MyApplication.MyApplication_UnhandledException(Object sender, UnhandledExceptionEventArgs e)
powershell.exe at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
powershell.exe Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
powershell.exe ERROR:EmberMediaManager:Ember Media Manager failed with: -1073740771
powershell.exe INFO:EmberMediaManager:Ember Media Manager: running on PID: (15192)
powershell.exe INFO:EmberMediaManager:TV Show Internal ID: 149
powershell.exe INFO:EmberMediaManager:TV Show TVDB ID: 366026
powershell.exe INFO:EmberMediaManager:TV Show Full Path: T:\TV\Typewriter
powershell.exe INFO:EmberMediaManager:TV Show Title: Typewriter
powershell.exe INFO:EmberMediaManager:Starting Ember Media Manager with application arguments: ['C:\\ProgramData\\EmberMediaManager\\Ember Media Manager.exe', u'-profile', u'redglory', u'-scanfolder', u'"T:\\TV\\Typewriter"', u'-nowindow']
powershell.exe INFO:EmberMediaManager:TV Show Typewriter already on kodi's library. Scan folder for new episode.
powershell.exe INFO:EmberMediaManager:Sonarr Ember Media Manager post-processing script started.
My application folder