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
```
2022-08-22 19:01:19 +02:00
Bond-009
33611614ed
Merge pull request #7433 from Bond-009/ssdphttpclient
2022-08-22 17:52:19 +02:00
Cody Robibero
38102499cb
Merge pull request #7947 from nyanmisaka/video-range-condition
...
(cherry picked from commit f1d56aa5cef4c60021e0b29c5d9fb3adf384fda7)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:14 -04:00
Bond_009
5b4e14940e
Fix format string
2022-06-14 16:43:48 +02:00
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Bond_009
cafeedcadf
Rework SsdpHttpClient
2022-03-08 23:00:43 +01:00
Bond-009
03f1eff21a
Implement TransportState according to spec ( #7426 )
2022-03-08 16:12:03 +01:00
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
2022-02-21 14:15:09 +01:00
Bond_009
1c14c86b20
Fix some warnings
2022-02-14 14:46:04 +01:00
Bond_009
e7be01d7a5
Flush to disk async where possible
2022-01-22 23:36:42 +01:00
Bond_009
05836c8cd3
Fix warning SA1414 and CA1849
2022-01-10 10:57:32 +01:00
Bond_009
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
cvium
b50c3852ef
Remove unused dependencies
2021-11-16 12:24:17 +01:00
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
2021-09-26 09:11:25 -06:00
Bond_009
ec45808275
SsdpHttpClient: Ensure successful status code before reading response
2021-09-21 22:32:14 +02:00
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
2021-08-13 21:08:24 -04:00
Bond_009
501de7b6dc
Enable nullable in more files
2021-07-26 23:02:32 +02:00
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
2021-06-18 18:56:10 -04:00
Claus Vium
75704effae
Merge pull request #5659 from ssenart/feature/5644-dlna_next_track
2021-05-24 20:35:07 +02:00
Claus Vium
2f9034c94b
Update Emby.Dlna/PlayTo/Device.cs
2021-05-24 19:37:23 +02:00
Claus Vium
e134a3677c
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-24 19:29:29 +02:00
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
2021-05-18 18:09:46 -04:00
Bond_009
06caee28b7
Enable nullable reference types for Emby.Dlna
2021-05-07 14:43:50 +02:00
Bond-009
f4a59c92e6
Merge pull request #5826 from BaronGreenback/ssdpFix
...
PlayTo Fix: Use external ip not internal interface
2021-04-25 18:51:11 +02:00
Bond-009
184e05aeb6
Merge pull request #5681 from BaronGreenback/ContentFeatureOptimization
...
Various DLNA Optimizations
2021-04-22 16:45:36 +02:00
BaronGreenback
bc1cc2d04a
Remove unused using directives
2021-04-17 11:37:55 +01:00
BaronGreenback
3199d1c902
Fix: PlayTo using external ip not internal
2021-04-15 18:36:47 +01:00
Patrick Barron
8607b52541
Make device/session code async
2021-04-10 16:57:25 -04:00
Bond-009
4f387dca6e
Merge pull request #5598 from cvium/fix_hls_default_values
2021-04-03 19:36:41 +02:00
BaronGreenback
d9a50cb510
Various DLNA Optimizations
2021-04-02 19:06:38 +01:00
Stéphane Senart
3164781ce0
[5644] [DLNA] [Music] Next track command from any DLNA device does not do anything.
2021-03-30 22:18:32 +02:00
Stéphane Senart
ec113816aa
[5644] [DLNA] [Music] Next track command from any DLNA device does not do anything.
2021-03-29 23:43:02 +02:00
Stéphane Senart
a7c82b2681
[5644] [DLNA] [Music] Next track command from any DLNA device does not do anything.
2021-03-29 12:11:38 +02:00
cvium
74e14b4ca5
fix isdirectstream default
2021-03-22 22:34:47 +01:00
cvium
7dedeb6c79
change HLS endpoint defaults to false
2021-03-22 20:53:55 +01:00
BaronGreenback
4bd345fbab
DLNA Exception catching
2021-03-22 17:21:12 +00:00
Bond_009
e8413ed8c0
Use XDocument.LoadAsync instead of XDocument.Parse
2021-03-06 03:33:52 +01:00
BaronGreenback
d819a1d928
Remove Content-Length header from DLNA HEAD request ( #5335 )
2021-03-03 15:41:18 +01:00
Bond_009
40b9e7592f
Fix build
2021-02-20 23:34:15 +01:00
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
2021-02-20 23:29:33 +01:00
dkanada
13d65318eb
Merge pull request #5223 from Bond-009/minor10
...
Minor improvements
2021-02-20 10:56:55 +09:00
Bond_009
e9f22303a4
Properly forward cancellationTokens
2021-02-15 14:19:17 +01:00
Bond_009
65bab55ca0
Minor improvements
2021-02-13 00:39:18 +01:00
BaronGreenback
e81b7c8f4f
reverted
2021-01-18 12:17:18 +00:00
BaronGreenback
828a9b7c75
rollback
2021-01-17 23:30:56 +00:00
BaronGreenback
13012bfa27
Fix bug in GetItemId
2021-01-17 22:43:05 +00:00
BaronGreenback
16d092a8a7
Fixed encoding issue
2021-01-15 12:17:50 +00:00
Bill Thornton
cfca27e99a
Fix capitalization of Playstate message
2021-01-05 10:06:55 -05:00
Greenback
8999871b68
cleaned change
2020-12-07 18:31:45 +00:00
Greenback
d14d8145d5
Fixed createPlayList
2020-12-07 18:27:22 +00:00