Bond-009
e011659186
Merge pull request #4210 from nielsvanvelzen/typed-websocket-message
...
Use enum for WebSocket message types
4 years ago
github@esslinger.dev
dd4f3a7c51
feat: convert supportedCommands strings to enums
4 years ago
Jim Cartlidge
fcd1b2f0e4
Merged with latest master
4 years ago
dkanada
206c382b92
Merge pull request #4211 from BaronGreenback/NullPointerFix
...
Null Pointer Fix : PlayToController.cs
4 years ago
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
4 years ago
BaronGreenback
a9864368c4
Update PlayToController.cs
4 years ago
Jim Cartlidge
5edf24db5c
Updated to master
4 years ago
Niels van Velzen
3459655bb4
Use GeneralCommandType enum in GeneralCommand name
4 years ago
Jim Cartlidge
9ef79d190b
Large number of files
4 years ago
Bond-009
18fe328979
Merge pull request #4084 from BaronGreenback/PlayTo-url-corruption-fix
...
Unstable: PlayTo corruption url fix
4 years ago
BaronGreenback
c84aabe954
Update PlayToManager.cs
...
Fixed name violation
4 years ago
BaronGreenback
fde5afc36b
Update PlayToManager.cs
...
removed tab
4 years ago
BaronGreenback
544db8cc06
Update PlayToManager.cs
...
made code more readable.
4 years ago
BaronGreenback
ed9021f40b
Update PlayToManager.cs
4 years ago
Bond_009
343fc8c668
Fix ObjectDisposedException
...
```
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, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync(HttpConnection connection, HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, 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.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/SsdpHttpClient.cs:line 41
at Emby.Dlna.PlayTo.Device.GetTransportInfo(TransportCommands avCommands, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 629
at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 445
```
4 years ago
crobibero
d8a0edc511
Revert "Remove ResponseHeadersRead where applicable"
...
This reverts commit 85844a84b6
.
4 years ago
crobibero
85844a84b6
Remove ResponseHeadersRead where applicable
4 years ago
crobibero
b398c35068
use UserAgent.ParseAdd where possible
4 years ago
crobibero
4038d15c83
Properly migrate all HttpCompletionOption
4 years ago
crobibero
8215f15c45
migrate to IHttpClientFactory in Emby.Dlna
4 years ago
Patrick Barron
9fa4fff15d
Merge branch 'master' into event-rewrite-1
...
# Conflicts:
# Emby.Dlna/Emby.Dlna.csproj
# Emby.Dlna/Eventing/DlnaEventManager.cs
# Emby.Dlna/Service/BaseService.cs
# Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
# MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
4 years ago
Bond_009
170e434f92
Fix all warnings in Emby.Dlna
4 years ago
Bond-009
6292a9e4e9
Merge branch 'master' into warn24
4 years ago
David
1337a0dcec
Code review
4 years ago
David
ca2b36bdb0
Reduce warnings in Emby.Dlna
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond_009
2b400c99ef
Fix warnings
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
Bond_009
65453c0a84
Fix build and more Append calls
4 years ago
telans
7f307f9082
brace multiline if statements
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8e3d874802
remove regions
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
5 years ago
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Bond_009
15634a1913
Merge branch 'master' into websocket
5 years ago
Bond-009
64692af1a2
Update Device.cs
5 years ago
Bond-009
91b17e7289
Update Device.cs
5 years ago
Bond-009
ad0e2e42e6
Update Device.cs
5 years ago
Bond_009
3161e85f76
Address comments
5 years ago
Bond-009
f6c9a44703
Update Device.cs
5 years ago
Bond_009
8a566dfe73
Fix build
5 years ago
Bond_009
be8ba96183
Fix some warnings
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Claus Vium
241e351a61
Merge branch 'master' into dlnawarnings
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
Bond_009
82112b6788
Improvements to dlna server
...
* Improve response writer
* Add analyzers
* Error on warnings in release mode
* Disable doc warnings
5 years ago
Bond_009
976459d3e8
Rewrite WebSocket handling code
5 years ago
Bond_009
d529f81cd9
Improve IInstallationManager interface
5 years ago
Bond_009
237db8ae92
Clean up livestreaming code
5 years ago
Bond_009
5eaf5465a5
Check checksum for plugin downloads
...
* Compare the MD5 checksum when downloading plugins
* Reduced log spam due to http requests
* Removed 'GetTempFileResponse' function from HttpClientManager
* Fixed caching for HttpClientManager
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
5 years ago
Bond_009
b1bd062709
Properly set content type
5 years ago
Bond_009
d405a400aa
Fixes issues with HttpClientManager
5 years ago
Bond-009
d623f616fa
Improved dispose method
6 years ago
Bond-009
fc8de8aead
Check if disposed first
6 years ago
Vasily
e04a152ed0
Merge pull request #996 from Bond-009/libscan
...
Reduce the amount of exceptions thrown
6 years ago
Vasily
75996476a7
Merge pull request #1061 from Bond-009/dead
...
Remove dead code
6 years ago
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
6 years ago
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
6 years ago
Bond-009
65c0b486aa
Remove dead code
...
What it says on the tin
6 years ago
Claus Vium
8c609bc9ce
Reduce aspnet imports
6 years ago
Claus Vium
318e0d4a24
Add GetValueOrDefault dictionary extension
6 years ago
Bond-009
9993dafe54
Don't mix LINQ and roreach loops for readability
6 years ago
Claus Vium
91afaaf8fe
Cleanup in QueryParamCollection
6 years ago
Claus Vium
333bd2107a
Remove HttpUtility
6 years ago
Joshua M. Boniface
6c6e9ca9f2
Merge pull request #889 from Bond-009/xmlex
...
Fix uncaught xml error
6 years ago
Anders Thomsen
7bb8985f11
Fix race condition in adding dlna devices to session when the device is discovered repeatedly
6 years ago
Bond-009
a82303ccd1
Fix uncaught xml error
6 years ago
Bond-009
be89a5e719
Don't rename method
6 years ago
Bond_009
84d56976ba
Some small changes in Device.cs and DidlBuilder.cs
...
Device.cs:
* Improve dispose function
* Style fixes
* Remove unused field
DidlBuilder.cs:
* Remove unused field
* Replace giant if chain with a switch statement
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Bond_009
8af256f9c2
Fix always null expressions
6 years ago
Andrew Rabert
8de4eb7d19
Rename ApplicationSemanticVersion to ApplicationVersion
6 years ago
Erwin de Haan
924ec0c191
Revert Jellyfin.Versioning, Update all versions and user agents.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
cc719fd77c
EditorConfig reformat: BDInfo, DvdLib, Emby.Dlna
6 years ago
Erwin de Haan
8bfb54a41b
Visual Studio Reformat: Emby.Dlna
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Bond_009
79d18cf5a5
Clean up some catch statements
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
b7ebb67cbb
Remove the need for NullLogger
6 years ago
Bond_009
3d3ec3588b
Mark where ILogger is being set to null
6 years ago