LokiMidgard / Bes-Music

A Windows 10 (including Mobile) Music player that downloads your Music from OneDrive and Syncs your Playlists between devices.
MIT License
33 stars 2 forks source link

Errors while moving music folder crashs App #4

Closed LokiMidgard closed 3 years ago

LokiMidgard commented 3 years ago

The XBox does not support access to the music folder.

Frame Image Function Offset
0 MusicPlayer.exe MusicPlayer::OneDriveLibrary::_GetDataStoreFolder_d__48.MoveNext 0x00000000000001C4
1 SharedLibrary.dll System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x0000000000000021
2 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.ThrowForNonSuccess 0x0000000000000070
3 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.HandleNonSuccessAndDebuggerNotification 0x0000000000000038
4 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.ValidateEnd 0x0000000000000017
5 MusicPlayer.exe MusicPlayer::OneDriveLibrary::_StorageLocationChanged_d__37.MoveNext 0x0000000000000362
6 SharedLibrary.dll System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x0000000000000021
7 System.Private.Threading System::Runtime::CompilerServices::AsyncMethodBuilderCore::c._ThrowAsync_b9_0 0x000000000000001E
8 System.Private.Threading System::Threading::TimerCallback.Invoke 0x0000000000000028
9 System.Private.Threading System::Threading::WinRTSynchronizationContext::Invoker.InvokeCore 0x000000000000004C

Solution

  1. Add Error handler to the movment of folders
  2. Remove the UI to change the folder from XBox
LokiMidgard commented 3 years ago

Fixed by 931e5f3094587d01abae7f94555a4f0ab37941ef and 7771f246069fcc576c38611b78720a6b9f13547a