aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna
AgeCommit message (Collapse)Author
2022-12-30Add support for .sup subtitle (#8808)Cody Robibero
Fixes https://github.com/jellyfin/jellyfin/issues/8628
2022-12-07Cleanup and refactor streambuilderShadowghost
2022-12-07Update depsBond_009
2022-12-07Fix release buildBond_009
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-07Update projects to .net7Bond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-12-05Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis ↵Bond-009
(#8709)
2022-11-27Investigate some TODO commentsBond_009
2022-10-25Remove unnecessary ToList usageignacio laborde
2022-10-07Merge pull request #6751 from Bond-009/tests12Claus Vium
Fix DLNA UpdateProfile test
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-08-15Fix various typos luz paz
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-06-29Merge pull request #7954 from cvium/fix_7953_dlna_urlCody Robibero
(cherry picked from commit 2c0c3eb3ee6eabdf1d2c94619f094f711870f820) Signed-off-by: Joshua Boniface <joshua@boniface.me>
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-06-10Merge pull request #7868 from cvium/disable_dlnaJoshua M. Boniface
(cherry picked from commit aa0f6cb5eb7c7750cc750412fdfcb266b0a5409e) Signed-off-by: crobibero <cody@robibe.ro>
2022-05-20Merge pull request #7604 from Jellifi007/fixes-diactriticsBond-009
Co-authored-by: Cody Robibero <cody@robibe.ro> (cherry picked from commit 8d1d9734381472b301deb0118bbb8da2a769a65e) Signed-off-by: crobibero <cody@robibe.ro>
2022-05-09Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 (#7726)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22get DLNA profile in XML request, correctly format UUIDInvoxiPlayGames
2022-03-21Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406dependabot[bot]
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0-beta.376 to 1.2.0-beta.406. - [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases) - [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406) --- updated-dependencies: - dependency-name: StyleCop.Analyzers dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-19Clean up DLNA profile codeBond_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-02-06Merge pull request #7241 from Bond-009/async5Cody Robibero
2022-01-22Flush to disk async where possibleBond_009
2022-01-22Ban the usage of Task.ResultBond_009
If the calling function can't be made async easily you can still use .GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-20Properly populate QueryResultCody Robibero
2022-01-10Fix warning SA1414 and CA1849Bond_009
2022-01-05Error on SA1316Bond_009
2022-01-03remove unnecessary ToList in DlnaManagerignacio laborde
2021-12-27More cleanupBond_009
2021-12-24Update StyleCopBond_009
2021-12-20Use our own Contains extensioncvium
2021-12-12Use BaseItemKind where possibleCody Robibero
2021-11-24Create a store key constant for networkcvium
2021-11-21Fix creating DLNA profilesCody Robibero
2021-11-16Fixcvium
2021-11-16Remove unused dependenciescvium
2021-11-14- flush the XmlWriter before calling the StringBuilder ToString() methodMarius Luca
2021-11-09Merge pull request #6808 from cvium/dlnope_never_againCody Robibero
2021-11-09Remove unused fieldcvium
2021-11-09lengthcvium
2021-11-09Fix some warningsBond_009
down to 580