Bond-009
898bb95564
Fix InvalidOpEx while trying to read HttpResponseContent 2x ( #9861 )
1 year ago
SeaEagle1
126047bfd6
Use compile-time generated regex and remove loglevel check
2 years ago
SeaEagle1
9352a24374
Rescue PlayTo function in case of malformed Xml response
...
(port from 10.8 fix)
2 years ago
Cody Robibero
e1a30a4aef
Merge pull request #8598 from Neuheit/ipv4fallback
2 years ago
Stepan Goremykin
26958162d0
Remove unused using directives
2 years ago
Stepan Goremykin
2c03f7e85d
Use TryGetValue
2 years ago
Cody Robibero
89be3aa37f
Convert Person.Type to use PersonKind enum ( #9487 )
2 years ago
Bond_009
dab75d35d2
Enable nullable for more files
2 years ago
Bond_009
4b01aaa0f7
Allocate less Lists
2 years ago
Bond_009
cf29e9a9c5
Fix #7516
2 years ago
Zoltan Csizmadia
e0519189b2
Use Directory.Packages.props ( #9135 )
...
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2 years ago
Patrick Barron
63b0132562
Remove OS information from System Info ( #9175 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2 years ago
renovate[bot]
e408da4651
chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to v3.3.4 ( #9117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Cody Robibero
9a740344be
Add support for .sup subtitle ( #8808 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/8628
2 years ago
Shadowghost
697efec86e
Cleanup and refactor streambuilder
2 years ago
Bond_009
fd9dc1e308
Update deps
2 years ago
Bond_009
cf67381e31
Fix release build
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
236dd650d0
Update projects to .net7
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Bond-009
210a4921f2
Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis ( #8709 )
2 years ago
Bond_009
556cc8062d
Investigate some TODO comments
2 years ago
ignacio laborde
c6bf6e00de
Remove unnecessary ToList usage
2 years ago
Neuheit
c9a387943f
Add IPv4 fallback from IPv6 failure.
...
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2 years ago
Claus Vium
14027f962c
Merge pull request #6751 from Bond-009/tests12
...
Fix DLNA UpdateProfile test
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
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);
```
2 years ago
Bond_009
7d48f97db9
Fix regression in DlnaHttpClient
...
```
[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
```
2 years ago
Bond-009
33611614ed
Merge pull request #7433 from Bond-009/ssdphttpclient
2 years ago
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
Cody Robibero
a99e87a00c
Merge pull request #7954 from cvium/fix_7953_dlna_url
...
(cherry picked from commit 2c0c3eb3ee
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Cody Robibero
38102499cb
Merge pull request #7947 from nyanmisaka/video-range-condition
...
(cherry picked from commit f1d56aa5ce
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Bond_009
5b4e14940e
Fix format string
2 years ago
Joshua M. Boniface
0e1a41f7e9
Merge pull request #7868 from cvium/disable_dlna
...
(cherry picked from commit aa0f6cb5eb
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
Bond-009
2b1a915ead
Merge pull request #7604 from Jellifi007/fixes-diactritics
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
(cherry picked from commit 8d1d973438
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
InvoxiPlayGames
dc8fdb154a
get DLNA profile in XML request, correctly format UUID
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
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>
3 years ago
Bond_009
09e897d372
Clean up DLNA profile code
3 years ago
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
3 years ago
Bond_009
cafeedcadf
Rework SsdpHttpClient
3 years ago
Bond-009
03f1eff21a
Implement TransportState according to spec ( #7426 )
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* 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
3 years ago
Bond_009
1c14c86b20
Fix some warnings
3 years ago
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
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
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Bond_009
05836c8cd3
Fix warning SA1414 and CA1849
3 years ago
Bond_009
77c615ba42
Error on SA1316
3 years ago