- February 2, 2019
- 468
- 62
- 72
- Home Country
- United Kingdom
MediaPortal 2 Version: 2.2
Description
I have reproduced the problem with VS2017 compiled current master branch (SHA-1: 11cc07571c5240288128e4dae4ce69b66085569c).
I have created a playlist of all my music (4860 tracks altogether), but any attempt to play it results in the following exception in the log:
Steps to Reproduce:
Have lots of music (I have 4680 tracks in my playlist, but I suspect anything over 1000 would do).
Create a playlist with lots of tracks.
Go to playlists and choose the playlist.
Click Load playlist.
Click Play audio items.
Nothing is played, and the exception above appears in the log.
Description
I have reproduced the problem with VS2017 compiled current master branch (SHA-1: 11cc07571c5240288128e4dae4ce69b66085569c).
I have created a playlist of all my music (4860 tracks altogether), but any attempt to play it results in the following exception in the log:
[2019-02-06 17:36:00,342] [562187 ] [2 ] [ERROR] - ApplicationLauncher: Unhandled exception in application
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.AggregateException: One or more errors occurred. ---> UPnP.Infrastructure.CP.UPnPException: Error invoking action 'X_MediaPortal_LoadCustomPlaylist' ---> UPnP.Infrastructure.CP.UPnPRemoteException: Action Failed
at UPnP.Infrastructure.CP.DeviceTree.CpAction.AsyncActionCallResult.GetOutParams() in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 100
at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result) in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 316
--- End of inner exception stack trace ---
at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result) in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 320
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at MediaPortal.Common.Services.ServerCommunication.UPnPContentDirectoryServiceProxy.<LoadCustomPlaylistAsync>d__48.MoveNext() in E:\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Services\ServerCommunication\UPnPContentDirectoryServiceProxy.cs:line 501
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at MediaPortal.UiComponents.Media.Models.ManagePlaylistsModel.<>c__DisplayClass47_0.<LoadPlaylist>b__1(IList`1 itemIds)
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at MediaPortal.UiComponents.Media.Models.PlayItemsModel.<AsyncAddToPlaylist>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at MediaPortal.UiComponents.Media.Models.PlayItemsModel.<>c__DisplayClass47_0.<<PlayOrEnqueueItemsInternal>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at MediaPortal.UiComponents.Media.Models.PlayItemsModel.<PlayOrEnqueueItemsInternal>d__47.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> UPnP.Infrastructure.CP.UPnPException: Error invoking action 'X_MediaPortal_LoadCustomPlaylist' ---> UPnP.Infrastructure.CP.UPnPRemoteException: Action Failed
at UPnP.Infrastructure.CP.DeviceTree.CpAction.AsyncActionCallResult.GetOutParams() in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 100
at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result) in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 316
--- End of inner exception stack trace ---
at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result) in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 320
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at MediaPortal.Common.Services.ServerCommunication.UPnPContentDirectoryServiceProxy.<LoadCustomPlaylistAsync>d__48.MoveNext() in E:\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Services\ServerCommunication\UPnPContentDirectoryServiceProxy.cs:line 501
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at MediaPortal.UiComponents.Media.Models.ManagePlaylistsModel.<>c__DisplayClass47_0.<LoadPlaylist>b__1(IList`1 itemIds)
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at MediaPortal.UiComponents.Media.Models.PlayItemsModel.<AsyncAddToPlaylist>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at MediaPortal.UiComponents.Media.Models.PlayItemsModel.<>c__DisplayClass47_0.<<PlayOrEnqueueItemsInternal>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at MediaPortal.UiComponents.Media.Models.PlayItemsModel.<PlayOrEnqueueItemsInternal>d__47.MoveNext()
---> (Inner Exception #0) UPnP.Infrastructure.CP.UPnPException: Error invoking action 'X_MediaPortal_LoadCustomPlaylist' ---> UPnP.Infrastructure.CP.UPnPRemoteException: Action Failed
at UPnP.Infrastructure.CP.DeviceTree.CpAction.AsyncActionCallResult.GetOutParams() in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 100
at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result) in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 316
--- End of inner exception stack trace ---
at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result) in E:\MediaPortal-2\MediaPortal\Source\Core\UPnP\Infrastructure\CP\DeviceTree\CpAction.cs:line 320
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at MediaPortal.Common.Services.ServerCommunication.UPnPContentDirectoryServiceProxy.<LoadCustomPlaylistAsync>d__48.MoveNext() in E:\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Services\ServerCommunication\UPnPContentDirectoryServiceProxy.cs:line 501<---
<---
Steps to Reproduce:
Have lots of music (I have 4680 tracks in my playlist, but I suspect anything over 1000 would do).
Create a playlist with lots of tracks.
Go to playlists and choose the playlist.
Click Load playlist.
Click Play audio items.
Nothing is played, and the exception above appears in the log.