Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
Bond_009
499c3dbdca
Fix build for .Net Core 2.x
5 years ago
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
5 years ago
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
5 years ago
Bond_009
7243689215
Minor improvements
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
dkanada
1ad67e223f
Merge pull request #1462 from Bond-009/installationmanager
...
Improvements to InstallationManager
5 years ago
Bond_009
2a58c643d2
Fix more warnings
5 years ago
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
5 years ago
Bond-009
e8028de4d7
Merge pull request #1560 from jellyfin/release-10.3.z
...
Backmerge for 10.3.7
5 years ago
Joshua M. Boniface
cf2f5b2026
Merge pull request #1538 from joshuaboniface/epg
...
Try to fix XmlTvListingsProvider
5 years ago
Bond_009
b294b802a8
Try to fix XmlTvListingsProvider
5 years ago
Bond_009
b1bd062709
Properly set content type
5 years ago
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
5 years ago
Bond_009
5fc4ad6c4e
Address comments
5 years ago
Bond_009
3603c64fa6
Use HttpResponseHeaders instead of a dictionary
5 years ago
Bond_009
d405a400aa
Fixes issues with HttpClientManager
5 years ago
Claus Vium
7eb94e9674
Update MediaBrowser.Common/Net/IHttpClient.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Bond-009
0a5550b13d
Remove more unused stuff
5 years ago
Bond-009
067200be83
Remove usage of depricated 'WebRequest'
...
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
6 years ago
Bond_009
65a0ca2f32
Improvements to InstallationManager
6 years ago
Anthony Lavado
d4a42a1680
Merge pull request #1080 from Bond-009/httpclient
...
Remove usage of deprecated 'WebRequest'
6 years ago
Bond-009
d9c159122f
Merge pull request #1229 from voodoos/cleanup/SocketSharp
...
Cleaning WebSocketSharp continued
6 years ago
Bond-009
a8da122fb3
Merge pull request #1252 from jellyfin/release-10.3.z
...
Backmerge release 10.3.0
6 years ago
Bond-009
8f703f4744
Remove unused event
...
Release builds were failing because of this unused event.
6 years ago
Joshua Boniface
ca3bb308b3
Add the proper Class too
6 years ago
VooDooS
ba12d96d23
Removed wrapping of HeaderNames fields
6 years ago
VooDooS
5f6ab836de
Extend Microsoft.Net.Http.Headers.HeaderNames
6 years ago
Claus Vium
be86ea2982
Update MediaBrowser.Common/Net/IHttpClient.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
6 years ago
Bond-009
d0fbd260d5
Merge branch 'master' into httpclient
6 years ago
Bond-009
b44a70ff36
Simplify/remove/clean code
...
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant
And ofc fix some warnings ;)
6 years ago
Bond_009
764c901cd7
Fix exception caused by #1096
...
```cs
MediaBrowser.Common.Extensions.ResourceNotFoundException: Configuration
with key subtitles not found.
at
Emby.Server.Implementations.AppBase.BaseConfigurationManager.<>c__DisplayClass42_0.<GetConfiguration>b__0(String
k) in
/home/pi/dev/jellyfin/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs:line
247
at
System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey
key, Func`2 valueFactory)
at
Emby.Server.Implementations.AppBase.BaseConfigurationManager.GetConfiguration(String
key) in
/home/pi/dev/jellyfin/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs:line
238
at
MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.AddExternalSubtitles(Video
video, List`1 currentStreams, MetadataRefreshOptions
options, CancellationToken cancellationToken) in
/home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line
486
at
MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.Fetch(Video
video, CancellationToken cancellationToken, MediaInfo
mediaInfo, BlurayDiscInfo blurayInfo,
MetadataRefreshOptions options) in
/home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line
204
at
MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T
item, MetadataRefreshOptions options,
CancellationToken cancellationToken) in
/home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line
119
at
MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1
provider, TItemType item, String logName,
MetadataRefreshOptions options, RefreshResult
refreshResult, CancellationToken cancellationToken)
in
/home/pi/dev/jellyfin/MediaBrowser.Providers/Manager/MetadataService.cs:line
806
```
6 years ago
Vasily
11fde02035
Merge pull request #1105 from ploughpuff/ratelimit
...
Only delay making MusicBrainz request if necessary
6 years ago
PloughPuff
d125fbc43d
Added contact email to user agent
...
MusicBrainz request a contact email address is supplied in comment section of user agent field.
6 years ago
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
6 years ago
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
6 years ago
Vasily
297f25cfc2
Merge pull request #1059 from Bond-009/os
...
Remove EnvironmentInfo
6 years ago
Joshua Boniface
3c4043199a
Implement review feedback
6 years ago
Joshua Boniface
132ce3ece1
Add further resources to complete WebPath
6 years ago
Bond-009
7f42dcc60f
Remove more unused stuff
6 years ago
Bond-009
369785c184
Remove usage of depricated 'WebRequest'
...
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
6 years ago
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
6 years ago
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
6 years ago
Claus Vium
8c609bc9ce
Reduce aspnet imports
6 years ago
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
6 years ago
Claus Vium
318e0d4a24
Add GetValueOrDefault dictionary extension
6 years ago
Xu Fasheng
cbd0e71c07
Send DLNA devices message to only the matched interface
...
This will be the right way for multiple interfaces, or the client will
receive all devices message with different IP addresses and could not
detect which one could access.
And provide one option DlnaOptions.SendOnlyMatchedHost to fallback to old
behaviour if this commit missed something.
6 years ago
Xu Fasheng
cf4e64f430
Add option to toggle if ignore virtual interfaces
...
Some VPN like ZerotierOne owns IP address but no gateway, and there is no
good idea in NetworkManager.GetIPsDefault() to filter such virtual interfaces,
so just provide one option to let user decide it.
6 years ago
Bond_009
77a5617774
Removed remaining self-update code
6 years ago
Bond_009
81a8ebde22
Move to Microsoft.Extensions.DependencyInjection
...
This PR replaces SimpleInjector with
Microsoft.Extensions.DependencyInjection.
6 years ago