Shadowghost
4fc52a840c
Merge branch 'master' into network-rewrite
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
Shadowghost
cea8e8bbf6
Fix logging output
2 years ago
Shadowghost
f6e41269d9
Enforce interface bindings on SSDP, add Loopback to LAN if no LAN defined
2 years ago
Shadowghost
2281b8c997
Move away from using Collection, simplify code, add proper ordering
2 years ago
Shadowghost
2043a33f81
Small cleanup and logging fix
2 years ago
Shadowghost
066db8ac7f
Migrate NetworkManager and Tests to native .NET IP objects
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
ignacio laborde
8952819494
remove unnecessary ToList in DlnaManager
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
cvium
0485ff1899
Create a store key constant for network
3 years ago
Cody Robibero
5b7e8a27fb
Fix creating DLNA profiles
3 years ago
cvium
93fd1c7075
Fix
3 years ago
cvium
b50c3852ef
Remove unused dependencies
3 years ago
Marius Luca
a774d1fa10
- flush the XmlWriter before calling the StringBuilder ToString() method
3 years ago
Cody Robibero
4c88bf3fe3
Merge pull request #6808 from cvium/dlnope_never_again
3 years ago
cvium
efa76c0b63
Remove unused field
3 years ago
cvium
3f09fb8d70
length
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Claus Vium
c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
...
Fix for Livetv and DLNA when bind interfaces specified.
3 years ago
cvium
a90735bc5a
Last small fixes
3 years ago
cvium
37a04d5dbf
Reduce indentation
3 years ago
cvium
e1f7f1405e
Use GetOrderBy in GetChildrenSorted
3 years ago
cvium
6985a4f255
Fix SortCriteria and refactor SetSorting
3 years ago
cvium
53c16c2342
Build an array instead of using LINQ
3 years ago
cvium
c1c77c8762
comments
3 years ago
cvium
2b02b53fc0
Merge branch 'master' into dlnope_never_again
3 years ago
cvium
996500b2f8
review stuff
3 years ago
Claus Vium
66912deb84
Apply suggestions from code review
3 years ago
Claus Vium
ac06022e0f
Update Emby.Dlna/ContentDirectory/ControlHandler.cs
3 years ago
cvium
a236f52c31
Simplify and reduce LOC in ControlHandler
3 years ago
Cody Robibero
40045d2147
Update to full dotnet 6
3 years ago
cvium
82e6a21f3b
Use the new method in DLNA
3 years ago
LinFor
5c69d110cc
Samsung DLNA fixes
3 years ago
Cody Robibero
2f6437a987
Use correct id when finding existing dlna profile
3 years ago
Cody Robibero
2b10251b32
Update to dotnet6.rc2
3 years ago
Claus Vium
1156699481
Merge pull request #6657 from Bond-009/dotnetbug
3 years ago
Claus Vium
b16e6621b3
Merge pull request #6663 from crobibero/dotnet-6-rc1
...
Reference dotnet6-rc1 packages
3 years ago
Bond_009
f7ae3c6a85
Set AnalysisMode to AllEnabledByDefault
3 years ago
Cody Robibero
017380f1dd
Reference dotnet6-rc1 packages
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Bond_009
f31224fa8f
Remove sync FileStream hack
3 years ago
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
ec45808275
SsdpHttpClient: Ensure successful status code before reading response
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
...
Use async FileStreams where it makes sense
3 years ago
Cody Robibero
ff9d14c811
Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond-009
fc9f45b42d
Merge pull request #6381 from Bond-009/nullable5
...
Enable nullable for DlnaManager
3 years ago
Patrick Barron
45f478f63e
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Library/IUserManager.cs
# MediaBrowser.Controller/Security/IAuthenticationRepository.cs
# MediaBrowser.Controller/Session/ISessionManager.cs
3 years ago
Bond-009
e5a29824e5
Merge branch 'master' into minor15
3 years ago
Bond_009
4e9fbabef2
Enable nullable for DlnaManager
3 years ago
Bond-009
00c90cfb21
Merge pull request #6354 from Bond-009/nullable4
...
Enable nullable in more files
3 years ago
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Bond_009
501de7b6dc
Enable nullable in more files
3 years ago
Bond_009
8528e9bddb
Improve platform checks
3 years ago
Bond_009
1f99c9b90c
Minor fixes
3 years ago
Patrick Barron
ae878fa051
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
3 years ago
Bond_009
981cf4cfa0
Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Patrick Barron
be88efce3c
Merge branch 'master' into authenticationdb-efcore
...
# 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
3 years ago
Claus Vium
75704effae
Merge pull request #5659 from ssenart/feature/5644-dlna_next_track
4 years ago
Claus Vium
2f9034c94b
Update Emby.Dlna/PlayTo/Device.cs
4 years ago
Claus Vium
e134a3677c
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
4 years ago
Bond_009
06caee28b7
Enable nullable reference types for Emby.Dlna
4 years ago
Maxr1998
70771fdcd6
Nullability handling for device profile classes
4 years ago
Bond-009
f4a59c92e6
Merge pull request #5826 from BaronGreenback/ssdpFix
...
PlayTo Fix: Use external ip not internal interface
4 years ago
Claus Vium
12496677bd
Merge pull request #5861 from BaronGreenback/ProfileMatch
...
Change profile matching to match what the web interface says.
4 years ago
Bond-009
184e05aeb6
Merge pull request #5681 from BaronGreenback/ContentFeatureOptimization
...
Various DLNA Optimizations
4 years ago
BaronGreenback
53e1b302cc
Changes as requested
4 years ago
BaronGreenback
522d5a7158
Fixed indent
4 years ago
BaronGreenback
41246909dc
fixed merge
4 years ago