jellyfin/Emby.Dlna/PlayTo
Bond_009 343fc8c668 Fix ObjectDisposedException
```
System.Net.Http.HttpRequestException: An error occurred while sending the request.
 ---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Http.StringContent'.
   at System.Net.Http.HttpContent.CheckDisposed()
   at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnection.SendRequestContentAsync(HttpRequestMessage request, HttpContentWriteStream stream, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync(HttpConnection connection, HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/SsdpHttpClient.cs:line 41
   at Emby.Dlna.PlayTo.Device.GetTransportInfo(TransportCommands avCommands, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 629
   at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 445
```
2020-09-07 12:22:33 +02:00
..
Device.cs migrate to IHttpClientFactory in Emby.Dlna 2020-08-31 11:26:42 -06:00
DeviceInfo.cs Reduce warnings in Emby.Dlna 2020-08-20 17:08:33 +02:00
MediaChangedEventArgs.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
PlaybackProgressEventArgs.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
PlaybackStartEventArgs.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
PlaybackStoppedEventArgs.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
PlaylistItem.cs Fix some warnings 2020-02-23 12:11:43 +01:00
PlaylistItemFactory.cs Fix some warnings 2020-02-23 12:11:43 +01:00
PlayToController.cs Merge branch 'master' into event-rewrite-1 2020-08-24 20:04:13 -04:00
PlayToManager.cs migrate to IHttpClientFactory in Emby.Dlna 2020-08-31 11:26:42 -06:00
SsdpHttpClient.cs Fix ObjectDisposedException 2020-09-07 12:22:33 +02:00
TransportCommands.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
TransportState.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
uBaseObject.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
UpnpContainer.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
uPnpNamespaces.cs Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00