WIP Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread
Hi Dan,
When I try to delete an episode, Ember displays the delete confirmation dialog correctly.
But after clicking OK, Ember hangs for 2-3 minutes, then is responsive again, but the file is still present in the library and on the file system.
The file is on a SMB share and I have full access permissions.
Log below.

thanks!

Code:
2016-08-03 23:25:23.6639,Ember_Media_Manager.frmMain,Ember_Media_Manager.frmMain.cmnuEpisodeRemoveFromDisk_Click,1,ERROR,cmnuEpisodeRemoveFromDisk_Click,"EXCEPTION OCCURRED:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
   at System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
   at System.Windows.Forms.DataGridView.get_Item(String columnName, Int32 rowIndex)
   at Ember_Media_Manager.frmMain.cmnuEpisodeRemoveFromDisk_Click(Object sender, EventArgs e)*   at System.Collections.ArrayList.get_Item(Int32 index)
   at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
   at System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
   at System.Windows.Forms.DataGridView.get_Item(String columnName, Int32 rowIndex)
   at Ember_Media_Manager.frmMain.cmnuEpisodeRemoveFromDisk_Click(Object sender, EventArgs e)"

EDIT: After clicking the 'deleted' epsiode I get a popup error and Ember closes.
Further log:
Code:
2016-08-03 23:34:34.3228,Ember_Media_Manager.My.MyApplication,Ember_Media_Manager.My.MyApplication.MyApplication_UnhandledException,1,ERROR,EmberAPI,"EXCEPTION OCCURRED:System.ArgumentOutOfRangeException: Value must be >= 0, was given: -1
Parameter name: ShowID
   at EmberAPI.Database.Load_TVShow(Int64 ShowID, Boolean withSeasons, Boolean withEpisodes, Boolean withMissingEpisodes)
   at EmberAPI.Database.AddTVShowInfoToDBElement(DBElement _TVDB, DBElement _TVDBShow)
   at EmberAPI.Database.Load_TVEpisode(Int64 EpisodeID, Boolean withShow)
   at Ember_Media_Manager.frmMain.LoadInfo_TVEpisode(Int64 ID)
   at Ember_Media_Manager.frmMain.SelectRow_TVEpisode(Int32 iRow)
   at Ember_Media_Manager.frmMain.tmrLoad_TVEpisode_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)*   at EmberAPI.Database.Load_TVShow(Int64 ShowID, Boolean withSeasons, Boolean withEpisodes, Boolean withMissingEpisodes)
   at EmberAPI.Database.AddTVShowInfoToDBElement(DBElement _TVDB, DBElement _TVDBShow)
   at EmberAPI.Database.Load_TVEpisode(Int64 EpisodeID, Boolean withShow)
   at Ember_Media_Manager.frmMain.LoadInfo_TVEpisode(Int64 ID)
   at Ember_Media_Manager.frmMain.SelectRow_TVEpisode(Int32 iRow)
   at Ember_Media_Manager.frmMain.tmrLoad_TVEpisode_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"

After restarting Ember, the 'deleted' episode does not exist in the database, but still exists on the filesystem.
4x R-Pi4b LibreELEC v10 | Aeon Nox: SiLVO | Flirc cases
Storage Synology DS411 | 4 x WD RED 6TB
Software MariaDB 10.4.19 | Filebot | Ember Media Manager
wiki (wiki) | First time user (wiki) | Debug_Log (wiki) | mysql (wiki) | artwork (wiki)


Messages In This Thread
RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - by zerocool_ie - 2016-08-04, 00:34
nfo file status? - by NightMyst - 2017-06-21, 07:24
Audio metadata error - by Doomnie - 2017-11-04, 08:16
EmberMM Import Poster.jpg - by MePoEmberMM - 2018-02-06, 01:27
User rating sync - by fred_gaou - 2018-04-28, 22:25
database is locked - by gorb - 2019-08-19, 11:41
Logout Mark Read Team Forum Stats Members Help
Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread2