aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/PlayTo
AgeCommit message (Collapse)Author
2023-11-15Remove Emby.DlnaPatrick Barron
2023-11-09Merge branch 'master' into media-typeCody Robibero
2023-11-05Add IDisposableAnalyzers to more projectsBond_009
2023-10-14Merge branch 'master' into fix-resharper-warningsStepan Goremykin
# Conflicts: # Emby.Server.Implementations/Updates/InstallationManager.cs # tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs
2023-10-11Multiple Stream changesBond_009
* Remove useless MemoryStream in DlnaHttpClient * Use HttpContent.ReadFromJsonAsync extension * Call ConfigureAwait for IAsyncDisposable * Use HttpContent.CopyToAsync where possible
2023-10-10Convert string MediaType to enum MediaTypeCody Robibero
2023-10-08Remove redundant nullable directiveStepan Goremykin
2023-10-08Use null propagationStepan Goremykin
2023-10-08Make files readonlyStepan Goremykin
2023-07-29Enable nullable for more filesBond_009
2023-07-19fix: set memorystream position after copyingcvium
2023-07-06Merge pull request #9799 from Bond-009/genregexBond-009
2023-06-28Use RegexGenerator where possibleBond_009
2023-06-15Merge branch 'master' into network-rewriteShadowghost
2023-06-10Fix InvalidOpEx while trying to read HttpResponseContent 2x (#9861)Bond-009
2023-05-25Merge branch 'master' into network-rewriteShadowghost
2023-05-13Use compile-time generated regex and remove loglevel checkSeaEagle1
2023-05-12Rescue PlayTo function in case of malformed Xml responseSeaEagle1
(port from 10.8 fix)
2023-05-09Merge branch 'master' into network-rewriteShadowghost
2023-04-06Use TryGetValueStepan Goremykin
2023-03-16Merge branch 'master' into network-rewriteShadowghost
2023-03-07Enable nullable for more filesBond_009
2023-02-17Consistently write IP in upercaseShadowghost
2022-12-07Cleanup and refactor streambuilderShadowghost
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-11-27Investigate some TODO commentsBond_009
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
Did a simple search/replace on the whole repo (except the RSSDP project) This reduces LOC and should improve performance (methods containing a throw statement don't get inlined) ``` if \((\w+) == null\) \s+\{ \s+throw new ArgumentNullException\((.*)\); \s+\} ``` ``` ArgumentNullException.ThrowIfNull($1); ```
2022-08-22Fix regression in DlnaHttpClientBond_009
``` [18:53:50] [ERR] [25] Emby.Dlna.Main.DlnaEntryPoint: Error updating device info for 192.168.1.21 - Sonos Connect:Amp Berging 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, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, 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.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Emby.Dlna.PlayTo.DlnaHttpClient.SendRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/DlnaHttpClient.cs:line 47 at Emby.Dlna.PlayTo.Device.GetTransportInfo(TransportCommands avCommands, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 705 at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 521 ```
2022-08-22Merge pull request #7433 from Bond-009/ssdphttpclientBond-009
2022-06-29Merge pull request #7947 from nyanmisaka/video-range-conditionCody Robibero
(cherry picked from commit f1d56aa5cef4c60021e0b29c5d9fb3adf384fda7) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-14Fix format stringBond_009
2022-03-11Merge pull request #7346 from Bond-009/guidClaus Vium
Optimize Guid comparisons
2022-03-08Rework SsdpHttpClientBond_009
2022-03-08Implement TransportState according to spec (#7426)Bond-009
2022-02-21Optimize Guid comparisonsBond_009
* Use Guid.Equals(Guid) instead of the == override * Ban the usage of Guid.Equals(Object) to prevent accidental boxing * Compare to default(Guid) instead of Guid.Empty
2022-02-14Fix some warningsBond_009
2022-01-22Flush to disk async where possibleBond_009
2022-01-10Fix warning SA1414 and CA1849Bond_009
2021-12-27More cleanupBond_009
2021-11-16Remove unused dependenciescvium
2021-09-26Remove all instances of en-US cultureCody Robibero
2021-09-21SsdpHttpClient: Ensure successful status code before reading responseBond_009
2021-08-13Merge branch 'master' into authenticationdb-efcorePatrick Barron
# Conflicts: # Jellyfin.Server.Implementations/Security/AuthorizationContext.cs # MediaBrowser.Controller/Library/IUserManager.cs # MediaBrowser.Controller/Security/IAuthenticationRepository.cs # MediaBrowser.Controller/Session/ISessionManager.cs
2021-07-26Enable nullable in more filesBond_009
2021-06-18Merge branch 'master' into authenticationdb-efcorePatrick Barron
# Conflicts: # Emby.Server.Implementations/Devices/DeviceManager.cs # Emby.Server.Implementations/HttpServer/Security/SessionContext.cs # Emby.Server.Implementations/Security/AuthenticationRepository.cs # Emby.Server.Implementations/Session/SessionManager.cs # Jellyfin.Server.Implementations/Security/AuthorizationContext.cs # MediaBrowser.Controller/Library/IUserManager.cs # MediaBrowser.Controller/Net/ISessionContext.cs
2021-05-24Merge pull request #5659 from ssenart/feature/5644-dlna_next_trackClaus Vium
2021-05-24Update Emby.Dlna/PlayTo/Device.csClaus Vium
2021-05-24Apply suggestions from code reviewClaus Vium
Co-authored-by: Cody Robibero <cody@robibe.ro>