crobibero
9626101c9f
Merge remote-tracking branch 'upstream/master' into 3.1.7
2020-08-24 07:39:16 -06:00
crobibero
340f83c3f5
Ignore null json values
2020-08-23 07:48:12 -06:00
crobibero
d951554779
fix copy-pasta
2020-08-21 14:37:51 -06:00
crobibero
384a62dc08
Add nullable int32, int64 json converters
2020-08-21 10:23:47 -06:00
Patrick Barron
98ed90c4a2
Merge branch 'master' into event-rewrite-1
2020-08-19 18:11:17 -04:00
crobibero
abb79bf810
remove OS and email from default UserAgent
2020-08-19 13:41:00 -06:00
crobibero
f6b8cd4b46
Fix build
2020-08-19 07:09:07 -06:00
crobibero
ac5c0866f3
P E R F O R M A N C E
2020-08-19 06:52:18 -06:00
crobibero
076e17f355
Add default http client
2020-08-19 06:31:45 -06:00
Patrick Barron
a77cf53573
Allow plugins to register services.
2020-08-16 17:25:14 -04:00
Patrick Barron
98cbf1c2de
Migrate ActivityLogEntryPoint.OnPackageInstallationFailed to IEventConsumer
2020-08-14 15:56:54 -04:00
crobibero
5e6cdc8842
Install specific plugin version if requested
2020-08-14 08:54:21 -06:00
crobibero
64ace58ef5
fix docs
2020-08-14 08:34:32 -06:00
crobibero
64658a0bd0
Return int64 in json as number
2020-08-14 08:23:23 -06:00
David
b92fbe4d69
Use VersionPrefix
2020-08-13 19:03:24 +02:00
David
a61f6e3308
Fix nuget ci
2020-08-13 15:22:12 +02:00
crobibero
6709645ec9
bump deps
2020-08-12 15:52:29 -06:00
David
9e95fe8f9d
Add plugin assemblies to mvc builder
2020-08-11 18:20:16 +02:00
David
4ea412f2ab
Fix remote images
2020-08-05 21:57:01 +02:00
crobibero
f915c3e5d9
Merge remote-tracking branch 'upstream/master' into api-migration
2020-08-03 11:24:13 -06:00
Bond-009
ab9c1295ce
Merge pull request #3538 from Ullmie02/api-fix
...
Fix value parsing in Jellyfin.Api
2020-07-23 10:37:30 +02:00
Bond-009
89ff865d40
Merge pull request #3508 from BaronGreenback/nullable
...
Part 1: nullable Emby.DLNA
2020-07-22 18:41:58 +02:00
crobibero
1385064497
Merge remote-tracking branch 'upstream/master' into api-migration-merge
2020-07-20 14:28:33 -06:00
BaronGreenback
301ddc1dac
Update HttpContextExtensions.cs
2020-07-19 22:19:17 +01:00
BaronGreenback
7becef73df
Update MediaBrowser.Common/Extensions/HttpContextExtensions.cs
...
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-07-19 17:54:29 +01:00
BaronGreenback
69ba385782
Corrected comment
2020-07-18 16:55:46 +01:00
BaronGreenback
f9b0816b80
Changes a suggested.
2020-07-18 16:54:23 +01:00
Patrick Barron
4742ddbb71
Update .NET Core to 3.1.6
2020-07-17 19:48:11 -04:00
BaronGreenback
e33c6f6b29
Update IApplicationHost.cs
2020-07-17 12:54:55 +01:00
David
c6a0306a34
Move field to the controller
2020-07-14 20:20:24 +02:00
David
9f567e6471
Don't recreate JsonSerializerOptions every time
2020-07-14 12:39:58 +02:00
David
ee03b919f9
Fix parsing
2020-07-12 20:11:59 +02:00
BaronGreenback
ab10f21027
Part 1 of a multi-PR change for Emby.DLNA
2020-07-05 17:47:23 +01:00
Patrick Barron
fe02c6e863
Merge pull request #2929 from crobibero/api-scheduled-tasks
...
Scheduled Tasks to Jellyfin.Api
2020-06-25 23:46:03 +00:00
dkanada
4e08876028
Merge pull request #3418 from Bond-009/minor3
...
Minor changes
2020-06-23 16:56:44 +09:00
Bond-009
3d42f37538
Minor changes
2020-06-22 15:35:53 +02:00
Bond-009
464066f362
Merge pull request #3411 from neilsb/system-plugin-removal
...
Prevent system plugins from being uninstalled
2020-06-22 15:23:35 +02:00
dkanada
552a358c9c
Merge pull request #3244 from jellyfin/custom-repos
...
Initial implementation for custom plugin repositories
2020-06-22 22:08:43 +09:00
Neil Burrows
0bab57ebbc
Wrapping long line on function parameters (take 2)
2020-06-22 11:56:18 +01:00
Neil Burrows
966ebfaf68
Wrapping long line on function parameters
2020-06-22 11:53:15 +01:00
Neil Burrows
c20400fa40
Prevent system plugins from being uninstalled
2020-06-22 10:13:28 +01:00
Cody Robibero
43221fc26b
Merge branch 'master' into SSDP
2020-06-20 15:33:13 -06:00
David
6651cb8d24
Add JsonInto32Converter
...
Add additional swagger type mapping
2020-06-19 12:24:39 +02:00
dkanada
f5d82441a4
Merge branch 'master' into custom-repos
2020-06-17 02:09:32 +09:00
dkanada
6db1878011
Merge pull request #3315 from crobibero/dashboard-update
...
Add MessageId to websocket message, fix ws exception
2020-06-15 10:55:33 +09:00
crobibero
39376bace3
Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks
2020-06-13 15:06:07 -06:00
crobibero
ec3e15db57
Fix merge and build
2020-06-13 13:11:41 -06:00
crobibero
829eb1a849
merge master into api-migration
2020-06-13 13:03:09 -06:00
crobibero
5b6e8fb22c
Remove whitespace
2020-06-12 06:53:47 -06:00
Cody Robibero
4c0dd10fb3
Update MediaBrowser.Common/Json/Converters/JsonNonStringKeyDictionaryConverter.cs
...
Co-authored-by: aled <aled@wibblr.com>
2020-06-11 16:21:53 -06:00
BaronGreenback
306f7b3c30
Update INetworkManager.cs
2020-06-11 23:10:13 +01:00
BaronGreenback
2cecde658b
Update INetworkManager.cs
...
Editting comments - adding periods
2020-06-11 22:58:29 +01:00
crobibero
30609c848b
Add MessageId to websocket message, add JsonNonStringKeyDictionaryConverter
2020-06-11 10:51:47 -06:00
crobibero
a6815018dc
Update to .NET Core 3.1.5
2020-06-11 07:13:56 -06:00
crobibero
6c53e36ccf
Fix Api Routing
2020-06-04 15:17:05 -06:00
crobibero
a787efc660
Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks
2020-06-04 15:16:04 -06:00
dkanada
b7f4b8e2b5
initial implementation for custom plugin repositories
2020-06-04 23:57:57 +09:00
Vasily
21505377d5
Merge pull request #3236 from Bond-009/common
...
Enable StyleCop for MediaBrowser.Common
2020-06-04 11:56:41 +03:00
crobibero
8b59934ccb
remove extra Clear call
2020-06-03 09:12:12 -06:00
Bond-009
f404e915ee
Enable StyleCop for MediaBrowser.Common
2020-06-03 13:04:45 +02:00
crobibero
01a5103fef
Add Dictionary with non-string keys to System.Text.Json
2020-06-02 11:47:33 -06:00
crobibero
4fe0beec16
Fix Json Enum conversion, map all JsonDefaults properties to API
2020-06-02 08:23:12 -06:00
dkanada
7972daaba4
fix a few issues with the plugin manifest
2020-05-24 15:40:27 +09:00
crobibero
341b947cde
Move int64 converter to JsonDefaults location
2020-05-22 10:48:01 -06:00
BaronGreenback
d5a924772b
Update MediaBrowser.Common/Net/INetworkManager.cs
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17 20:44:35 +01:00
BaronGreenback
5e1be0d4f0
Update MediaBrowser.Common/Net/INetworkManager.cs
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17 20:44:19 +01:00
BaronGreenback
61e65d032e
Update MediaBrowser.Common/Net/INetworkManager.cs
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17 20:43:54 +01:00
Mark Monteiro
3ed76d7e08
Update to .NET Core 3.1.4
2020-05-17 13:33:38 -04:00
BaronGreenback
8a69300bf5
Changes styles as suggested by @barronpm
...
Added addtional comments & source type as per intellisense suggestion
change code as per sonacloud
2020-04-29 12:24:01 +01:00
Vasily
5922c35d69
Merge pull request #2920 from Bond-009/tests2
...
Add some simple tests
2020-04-29 12:17:01 +03:00
BaronGreenback
ebd589aa86
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28 21:57:39 +01:00
BaronGreenback
a3140f83c6
Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored."
...
This reverts commit 2aaecb8e14
.
2020-04-28 21:51:49 +01:00
BaronGreenback
2aaecb8e14
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28 21:45:46 +01:00
Mark Monteiro
cbd62e00a4
Ensure transcoding path is created when it is retrieved
2020-04-26 15:07:37 -04:00
Bond_009
118f30059c
Merge branch 'master' into nullable4
2020-04-23 11:29:19 +02:00
Mark Monteiro
8f02fb9a4f
Remove unused usings
...
This addresses the new issues identified in SonarCloud analysis
2020-04-22 13:09:59 -04:00
Bond-009
d744d7d234
Merge branch 'master' into register-services-correctly
2020-04-22 13:05:03 -04:00
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
2020-04-22 00:17:44 +02:00
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
2020-04-21 16:21:09 -04:00
Bond_009
c430a7ed8f
Address comments
2020-04-21 10:18:26 +02:00
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-20 20:11:33 -04:00
Bond_009
7f4a229cd2
Add some simple tests
2020-04-20 10:18:12 +02:00
dkanada
e6ef680775
add code suggestions
2020-04-20 14:27:46 +09:00
Mark Monteiro
9728aa8b0a
Merge branch 'master' into register-services-correctly
2020-04-13 17:06:24 -04:00
dkanada
cb2523e2ef
merge branch master into plugin
2020-04-13 14:38:19 +09:00
Bond-009
3d611743ed
Merge pull request #2680 from mark-monteiro/remove-common-process
...
Remove CommonProcess and ProcessFactory
2020-04-11 20:30:20 +02:00
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-11 10:00:39 -04:00
dkanada
bd55bdb4e3
merge branch master into plugin
2020-04-11 20:10:16 +09:00
dkanada
8e9aeb84b1
remove release channel from plugin classes
2020-04-11 19:33:36 +09:00
Mark Monteiro
8e3b09a996
Do not use IAsyncEnumerable unnecessarily
2020-04-06 22:04:24 -04:00
Bond_009
2fcbc2a5b8
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
2020-04-05 21:19:04 +02:00
Mark Monteiro
3d8501e462
Document exception
2020-04-05 09:25:23 -04:00
Mark Monteiro
aee6a1b476
Remove unnecessary async and parameter from ApplicationHost initialization method
2020-04-04 20:40:50 -04:00
Mark Monteiro
4efdc63337
Add missing call to ConfigureAwait()
2020-04-03 20:51:30 -04:00
Mark Monteiro
e0f40f57d8
Merge remote-tracking branch 'upstream/master' into remove-common-process
2020-04-03 20:22:03 -04:00
Bond_009
2be394089e
Enable Microsoft.CodeAnalysis.FxCopAnalyzers for Jellyfin.Common
2020-04-02 20:12:18 +02:00
dkanada
5a816f0b22
Merge pull request #2731 from Bond-009/minor2
...
Minor improvements
2020-04-03 01:41:05 +09:00
Vasily
07ea120ba9
Merge pull request #2601 from mark-monteiro/support-running-without-web-content
...
Support Running Server Without Web Content
2020-04-01 23:38:43 +03:00
Bond_009
4419587c2a
Minor improvements
2020-04-01 15:30:53 +02:00
Mark Monteiro
1c13be085f
Make HasExitedSafe() private
2020-03-27 01:28:24 +01:00
Mark Monteiro
97c36d11d4
Use a TimeSpan instead of ms and support providing a custom CancellationToken
2020-03-27 01:09:09 +01:00
Mark Monteiro
ee2f911a2b
Remove unnecessary CommonProcess abstraction
2020-03-27 00:10:16 +01:00
Mark Monteiro
aa9737afb3
Update .NET Core to 3.1.3
2020-03-25 20:09:48 +01:00
Mark Monteiro
debab44870
Update all packages to .NET Core 3.1.2
2020-03-22 02:03:07 +01:00
Mark Monteiro
e2685c51ec
Merge remote-tracking branch 'upstream/master' into support-running-without-web-content
2020-03-15 18:07:02 +01:00
Mark Monteiro
05ab61200a
Do not call UseContentRoot() on the web host builder
...
This call has nothing to do with static web content and should not have ever been called with the web content path: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/?view=aspnetcore-3.1&tabs=windows#content-root
Since this call is removed, the ContentRoot property is also removed from ApplicationHost as it is no longer needed.
Finally, move validation of the static content path to the DashboardService where it is actually used.
2020-03-15 17:42:57 +01:00
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
2020-03-11 20:26:43 +01:00
Mark Monteiro
6131599e88
Merge branch 'master' into support-injecting-iconfiguration
2020-03-10 22:45:17 +01:00
Bond_009
ada3f96668
Add tests for alpha numeric sorting
2020-03-05 00:54:46 +01:00
Mark Monteiro
7e3b6768f8
Add NuGet reference to config abstractions in MediaBrowser.Common project
2020-03-01 12:10:32 +01:00
Mark Monteiro
48f8118072
Do not save a reference to the startup config in ApplicationHost
2020-02-28 23:28:15 +01:00
dkanada
974a04c129
update plugin classes for nightly builds
2020-02-26 01:58:39 +09:00
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
2020-02-23 12:11:43 +01:00
Mark Monteiro
8ffb073ccb
Enable documentation warnings for fully documented files
2020-02-12 20:05:26 +01:00
Mark Monteiro
a381eb884c
add-some-xml-documentation
2020-02-10 10:26:28 +01:00
Bond_009
2186df8ac4
Update deps
2020-01-28 22:42:07 +01:00
Bond_009
bb236b9591
Merge branch 'master' into warn12
2020-01-10 21:18:16 +01:00
Bond_009
f9a454628d
Preformance!!!
2019-12-22 22:21:41 +01:00
Bond_009
cf2e2a3f30
Fix exceptions while scanning
...
Fixes these exceptions:
```
[2019-12-22 20:48:14.779 +01:00] [ERR] Error in WaitForExit
System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.GetWaitState()
at System.Diagnostics.Process.WaitForExitCore(Int32 milliseconds)
at System.Diagnostics.Process.WaitForExit(Int32 milliseconds)
at Emby.Server.Implementations.Diagnostics.CommonProcess.WaitForExit(Int32 timeMs) in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 100
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 785
[2019-12-22 20:48:14.790 +01:00] [INF] Killing ffmpeg process
[2019-12-22 20:48:14.795 +01:00] [ERR] Error killing process
System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.Kill()
at Emby.Server.Implementations.Diagnostics.CommonProcess.Kill() in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 95
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 799
[2019-12-22 20:48:14.808 +01:00] [ERR] Error in "ffprobe"
System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.streams[0].start_pts | LineNumber: 32 | BytePositionInLine: 26.
---> System.InvalidOperationException: Cannot get the value of a token type 'Number' as a string.
at System.Text.Json.Utf8JsonReader.GetString()
at System.Text.Json.Serialization.Converters.JsonConverterString.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
at System.Text.Json.JsonPropertyInfoNotNullable`4.OnRead(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader)
at System.Text.Json.JsonPropertyInfo.Read(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader)
at System.Text.Json.JsonSerializer.HandleValue(JsonTokenType tokenType, JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, Utf8JsonReader& reader, Exception ex)
at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)
at System.Text.Json.JsonSerializer.ReadCore(JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& readStack)
at System.Text.Json.JsonSerializer.ReadAsync[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options, CancellationToken cancellationToken)
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 399
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line 122
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 815
```
2019-12-22 22:09:09 +01:00
Bond-009
137db45fc7
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-12-19 22:01:05 +01:00
Bond_009
2ef4ffd698
More warnings (removed)
2019-12-11 00:13:57 +01:00
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
2019-12-06 12:06:13 +01:00
Vasily
e41dd316d1
Merge pull request #2098 from Bond-009/config2
...
Fix GetTranscodePath function and cache path update logline
2019-12-05 12:05:46 +03:00
dkanada
a7ef1aa7ec
Merge pull request #2050 from Bond-009/nullref
...
Fix possible nullref when updating packages
2019-12-05 15:23:48 +09:00
Bond_009
4a0df15bbd
Fix GetTranscodePath function and cache path update logline
...
* GetTranscodePath returned an empty string after the option was left
blank in the web UI
* Unified the log style for all paths
2019-12-04 22:18:37 +01:00
Bond-009
6f45d95951
Minor improvements to network code
2019-11-28 17:46:06 +01:00
Joshua M. Boniface
48120d01dc
Merge pull request #1991 from Bond-009/transtemp
...
Don't append transcodes to transcoding temp path
2019-11-24 15:13:50 -05:00
Bond-009
e808e8b2d2
Update MediaBrowser.Common/Configuration/EncodingConfigurationExtensions.cs
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-11-24 20:15:53 +01:00
Bond_009
6a6bfa6da9
Fix possible nullref when updating packages
2019-11-24 17:23:36 +01:00
dkanada
51cdc6ea16
Merge pull request #1926 from Bond-009/auth
...
Add clearer exceptions, warnings and docs
2019-11-23 01:14:32 +09:00
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
2019-11-21 16:57:49 +01:00
Bond_009
03fe0e762d
Fix typos in docs
2019-11-09 20:23:09 +01:00
Bond-009
126165080b
Doc improvements
2019-11-07 10:55:02 +01:00
Bond-009
983d38a43b
Merge branch 'master' into installationmanager
2019-11-07 10:50:55 +01:00
dkanada
3bfb36a67d
Merge pull request #1915 from Bond-009/hex
...
Rewrite hex encoder/decoder
2019-11-02 04:03:36 +09:00
Bond_009
d529f81cd9
Improve IInstallationManager interface
2019-11-01 17:57:19 +01:00
Bond_009
3f7836d9eb
Update deps and add MultiThreading analyzer
2019-11-01 17:55:44 +01:00
Bond_009
593107e190
Multiplication is faster than bit shifting
2019-11-01 17:52:29 +01:00
Bond_009
b6627af65f
Make decode even faster
2019-11-01 17:52:29 +01:00
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
2019-11-01 17:52:29 +01:00
Bond_009
016be02cd6
More warning fixes
2019-10-29 17:56:05 +01:00
Joshua M. Boniface
91600b1c81
Merge pull request #1898 from Bond-009/jsonfix
...
Fix Json serialization error
2019-10-20 15:16:01 -04:00
Bond_009
fef35d0505
Add clearer exceptions, warnings and docs
2019-10-20 21:12:03 +02:00
Bond_009
bbc0875387
Don't shuffle some types by default
2019-10-20 16:08:40 +02:00
Vasily
9040ef87dc
Merge pull request #1871 from Bond-009/doc
...
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
2019-10-16 12:40:20 +03:00
Bond_009
5edb8159a7
Fix Json serialization error
2019-10-15 17:49:49 +02:00
Bond_009
9d4ce82ab9
Enable TreatWarningsAsErrors
for MediaBrowser.Common and Emby.Photos
...
Adds `#pragma warning disable CS1591` to all files in
MediaBrowser.Common containing undocumented members.
2019-10-09 17:14:15 +02:00
Bond_009
e553eba31e
Use System.Text.Json api
2019-10-08 20:59:53 +02:00
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
2019-09-23 20:32:44 +02:00
Bond-009
6f17a0b7af
Remove legacy auth code ( #1677 )
...
* Remove legacy auth code
* Adds tests so we don't break PasswordHash (again)
* Clean up interfaces
* Remove duplicate code
* Use auto properties
* static using
* Don't use 'this'
* Fix build
2019-09-17 12:07:15 -04:00
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
2019-09-02 02:19:29 -04:00
Bond_009
499c3dbdca
Fix build for .Net Core 2.x
2019-08-16 17:37:40 +02:00
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
2019-08-15 21:01:44 -07:00
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
2019-08-11 16:52:37 +02:00
Bond_009
7243689215
Minor improvements
2019-08-11 15:57:36 +02:00
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
2019-08-11 15:54:58 +02:00
dkanada
1ad67e223f
Merge pull request #1462 from Bond-009/installationmanager
...
Improvements to InstallationManager
2019-08-11 03:47:10 -07:00
Bond_009
2a58c643d2
Fix more warnings
2019-08-09 23:16:24 +02:00
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
2019-07-25 00:15:06 +02:00
Bond-009
e8028de4d7
Merge pull request #1560 from jellyfin/release-10.3.z
...
Backmerge for 10.3.7
2019-07-24 19:10:04 +02:00
Joshua M. Boniface
cf2f5b2026
Merge pull request #1538 from joshuaboniface/epg
...
Try to fix XmlTvListingsProvider
2019-07-14 17:09:00 -04:00
Bond_009
b294b802a8
Try to fix XmlTvListingsProvider
2019-07-13 17:18:27 -04:00
Bond_009
b1bd062709
Properly set content type
2019-07-13 17:12:06 -04:00
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
2019-07-06 23:08:52 +02:00
Bond_009
5fc4ad6c4e
Address comments
2019-07-06 20:04:45 +02:00
Bond_009
3603c64fa6
Use HttpResponseHeaders instead of a dictionary
2019-07-06 20:04:45 +02:00
Bond_009
d405a400aa
Fixes issues with HttpClientManager
2019-07-06 20:04:42 +02:00
Claus Vium
7eb94e9674
Update MediaBrowser.Common/Net/IHttpClient.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-06-18 22:21:07 -04:00
Bond-009
0a5550b13d
Remove more unused stuff
2019-06-18 22:20:34 -04:00
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
2019-06-17 19:35:05 -04:00
Bond_009
65a0ca2f32
Improvements to InstallationManager
2019-06-14 18:38:14 +02:00
Anthony Lavado
d4a42a1680
Merge pull request #1080 from Bond-009/httpclient
...
Remove usage of deprecated 'WebRequest'
2019-06-14 09:19:56 -04:00
Bond-009
d9c159122f
Merge pull request #1229 from voodoos/cleanup/SocketSharp
...
Cleaning WebSocketSharp continued
2019-05-09 17:16:51 +02:00
Bond-009
a8da122fb3
Merge pull request #1252 from jellyfin/release-10.3.z
...
Backmerge release 10.3.0
2019-04-20 12:25:29 +02:00
Bond-009
8f703f4744
Remove unused event
...
Release builds were failing because of this unused event.
2019-04-18 13:19:16 +02:00
Joshua Boniface
ca3bb308b3
Add the proper Class too
2019-04-17 22:46:26 -04:00
VooDooS
ba12d96d23
Removed wrapping of HeaderNames fields
2019-04-12 15:25:18 +02:00
VooDooS
5f6ab836de
Extend Microsoft.Net.Http.Headers.HeaderNames
2019-04-11 15:35:06 +02:00
Claus Vium
be86ea2982
Update MediaBrowser.Common/Net/IHttpClient.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-03-27 16:34:56 +01:00
Bond-009
d0fbd260d5
Merge branch 'master' into httpclient
2019-03-27 16:34:26 +01:00
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 ;)
2019-03-25 22:25:32 +01:00
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
```
2019-03-15 17:34:15 +01:00
Vasily
11fde02035
Merge pull request #1105 from ploughpuff/ratelimit
...
Only delay making MusicBrainz request if necessary
2019-03-15 16:01:55 +03:00
PloughPuff
d125fbc43d
Added contact email to user agent
...
MusicBrainz request a contact email address is supplied in comment section of user agent field.
2019-03-14 21:34:09 +00:00
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
2019-03-14 22:17:56 +01:00
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
2019-03-14 22:11:47 +01:00
Vasily
297f25cfc2
Merge pull request #1059 from Bond-009/os
...
Remove EnvironmentInfo
2019-03-13 00:01:00 +03:00
Joshua Boniface
3c4043199a
Implement review feedback
2019-03-12 09:18:45 -04:00
Joshua Boniface
132ce3ece1
Add further resources to complete WebPath
2019-03-10 17:04:18 -04:00
Bond-009
7f42dcc60f
Remove more unused stuff
2019-03-08 20:32:14 +01:00
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
2019-03-08 20:17:17 +01:00
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
2019-03-07 22:41:41 +01:00
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
2019-03-07 20:16:51 +01:00
Claus Vium
8c609bc9ce
Reduce aspnet imports
2019-03-07 19:04:09 +01:00
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
2019-03-05 19:20:28 +01:00
Claus Vium
318e0d4a24
Add GetValueOrDefault dictionary extension
2019-03-05 10:27:25 +01:00
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.
2019-02-22 20:18:34 +08:00
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.
2019-02-22 20:13:17 +08:00
Bond_009
77a5617774
Removed remaining self-update code
2019-02-18 16:57:08 +01:00
Bond_009
81a8ebde22
Move to Microsoft.Extensions.DependencyInjection
...
This PR replaces SimpleInjector with
Microsoft.Extensions.DependencyInjection.
2019-02-12 20:52:23 +01:00