Compare commits

...

8797 Commits

Author SHA1 Message Date
Alan Azar
5a7433472e Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-10-30 01:05:32 -04:00
Kenneth SB
17973964fa Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2021-10-28 13:05:32 -04:00
Alan Azar
fc2e826b4d Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-10-28 13:05:32 -04:00
De sousa John
4599ce659c Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2021-10-27 08:05:33 -04:00
WWWesten
91655bb5fe Translated using Weblate (Esperanto)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eo/
2021-10-27 08:05:33 -04:00
Alan Azar
a1b63aaa08 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-10-27 08:05:33 -04:00
Claus Vium
b0e0eba667 Merge pull request #6737 from Bond-009/nullable9
Enable nullable for MediaBrowser.Providers
2021-10-27 09:04:18 +02:00
Bond-009
2d4066748d Merge pull request #6446 from Deathspike/master 2021-10-27 09:01:00 +02:00
Deathspike
2410b3a3cf Resolve subtitle selection feedback (#6446) 2021-10-26 20:51:35 +02:00
Bond_009
f5ca9cbc3b Enable nullable for MediaBrowser.Providers 2021-10-26 15:49:01 +02:00
Claus Vium
39d5bdac96 Change ReadOnlySpan to string following PR 6383 (#6734) 2021-10-26 14:47:34 +02:00
Claus Vium
1b478cfdec Merge pull request #6735 from Bond-009/nullable8
Enable nullable for more files
2021-10-26 14:35:32 +02:00
Bond_009
1b6eb2ff2d Enable nullable for more files 2021-10-26 13:56:30 +02:00
Roel van Uden
b830d38a34 Rework subtitle selection to reduce code clutter 2021-10-26 12:59:11 +02:00
Claus Vium
dc72d90703 Merge pull request #6383 from sushilicious/master
Made default parser a tiny bit mroe robust
2021-10-26 12:10:57 +02:00
Claus Vium
deb349f4c5 Merge pull request #5755 from BaronGreenback/NetworkAccessPolicy 2021-10-26 00:06:31 +02:00
Claus Vium
26cfde8765 Merge pull request #6551 from MrChip53/xmltv-improve 2021-10-26 00:03:37 +02:00
Claus Vium
8b2309df82 Merge pull request #6535 from Bond-009/dlnacontrollertests 2021-10-25 23:47:37 +02:00
Claus Vium
5eda5eb636 Merge pull request #6486 from fredriklindberg/support-forwarded-headers-for-api-url 2021-10-25 22:41:32 +02:00
Joshua M. Boniface
da6225fb73 Merge pull request #6680 from MarcelCoding/master
Add Docker Healthcheck
2021-10-24 12:03:53 -04:00
Bond-009
ca217270b7 Merge pull request #6544 from cvium/fix_ffmpeg_path_updating 2021-10-24 01:09:44 +02:00
ButterflyOfFire
f2656b7ee2 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-10-23 10:36:41 -04:00
WWWesten
d4c1912e64 Translated using Weblate (Esperanto)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eo/
2021-10-23 06:39:31 -04:00
rimasx
1e69530752 Translated using Weblate (Estonian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/et/
2021-10-22 08:05:31 -04:00
WWWesten
b53dea7113 Translated using Weblate (Esperanto)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eo/
2021-10-22 08:05:31 -04:00
Claus Vium
768ec60e11 Merge pull request #6689 from 1337joe/expand-image-extraction 2021-10-21 23:05:32 +02:00
Bond-009
197325020e Merge pull request #6716 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.2.3 2021-10-20 14:43:15 +02:00
dependabot[bot]
1cf2ec26a3 Bump Swashbuckle.AspNetCore.ReDoc from 6.2.2 to 6.2.3
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.2.2...v6.2.3)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.ReDoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-20 12:24:31 +00:00
Bond-009
4979a9597a Merge pull request #6714 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.2.3 2021-10-20 14:23:54 +02:00
Bond-009
4cb0f6facf Merge pull request #6715 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-4.2.2 2021-10-20 14:23:35 +02:00
Bond-009
39bd559001 Merge pull request #6718 from MBR-0001/master 2021-10-20 14:22:59 +02:00
Joe Rogers
31baea072a Address review comments
Clean up style
Fix references in class summaries
Combine Where+FirstOrDefault queries
Break up large method, long lines
Add validation on file extension
Apply test naming conventions
Extract mock of Movie class, comment on why not mocking interface

Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-10-20 14:10:16 +02:00
Sindre S. Kjær
7d8fb947b6 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2021-10-19 15:25:05 -04:00
MBR-0001
ade3afad41 Add IsAutomated to SubtitleSearchRequest 2021-10-19 21:06:05 +02:00
Jessica
8388f7c462 Translated using Weblate (Welsh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cy/
2021-10-19 00:18:49 -04:00
WWWesten
4d32470715 Translated using Weblate (Esperanto)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eo/
2021-10-18 14:01:35 -04:00
Jessica
dd0c1d3d27 Added translation using Weblate (Welsh) 2021-10-18 14:01:35 -04:00
dependabot[bot]
b084afa1a0 Bump prometheus-net.DotNetRuntime from 4.2.1 to 4.2.2
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/4.2.1...4.2.2)

---
updated-dependencies:
- dependency-name: prometheus-net.DotNetRuntime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 12:01:09 +00:00
dependabot[bot]
0b937c32d5 Bump Swashbuckle.AspNetCore from 6.2.2 to 6.2.3
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.2.2...v6.2.3)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 12:00:59 +00:00
Joshua M. Boniface
5395892f66 Merge pull request #6695 from crobibero/dotnet6-rc2 2021-10-16 00:34:35 -04:00
rimasx
6cc4be85fc Translated using Weblate (Estonian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/et/
2021-10-14 16:05:30 -04:00
lyaschuchenko
a720b12ec3 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2021-10-14 16:05:30 -04:00
JULIAN AUGUSTO RUIZ MARTINEZ
e88e1fa8e9 Translated using Weblate (Pirate)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pr/
2021-10-14 16:05:30 -04:00
Cody Robibero
2b10251b32 Update to dotnet6.rc2 2021-10-12 18:31:58 -06:00
Claus Vium
09f33d3b87 Merge pull request #6558 from dmitrylyzo/ffmpeg-exitcode 2021-10-13 00:04:09 +02:00
Claus Vium
6ab412ed00 Merge pull request #6681 from dmitrylyzo/fix-latest-sort-order 2021-10-13 00:02:03 +02:00
rimasx
e3edd7ae2c Added translation using Weblate (Estonian) 2021-10-11 15:39:58 -04:00
Bond-009
646733d298 Merge pull request #6687 from jellyfin/dependabot/nuget/Diacritics-3.3.4 2021-10-11 14:56:50 +02:00
Bond-009
12d9859113 Merge pull request #6688 from jellyfin/dependabot/nuget/Serilog.Settings.Configuration-3.3.0 2021-10-11 14:56:10 +02:00
Joe Rogers
e3eee10d05 Add image provider tests and clean up 2021-10-11 14:09:02 +02:00
Joe Rogers
8d70cc2dde Add support for non-jpg image extractions 2021-10-11 14:09:02 +02:00
Joe Rogers
6ce8cce12c Add handling for embedded background and logo 2021-10-11 14:09:01 +02:00
Joe Rogers
be9ed29f63 Split EmbeddedImage extracting to new provider 2021-10-11 14:09:01 +02:00
dependabot[bot]
37a87a41ba Bump Serilog.Settings.Configuration from 3.2.0 to 3.3.0
Bumps [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/serilog/serilog-settings-configuration/releases)
- [Changelog](https://github.com/serilog/serilog-settings-configuration/blob/dev/CHANGES.md)
- [Commits](https://github.com/serilog/serilog-settings-configuration/commits)

---
updated-dependencies:
- dependency-name: Serilog.Settings.Configuration
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 12:00:53 +00:00
dependabot[bot]
59e3beb5fe Bump Diacritics from 2.1.20036.1 to 3.3.4
Bumps [Diacritics](https://github.com/thomasgalliker/Diacritics.NET) from 2.1.20036.1 to 3.3.4.
- [Release notes](https://github.com/thomasgalliker/Diacritics.NET/releases)
- [Commits](https://github.com/thomasgalliker/Diacritics.NET/commits)

---
updated-dependencies:
- dependency-name: Diacritics
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 12:00:48 +00:00
Dmitry Lyzo
32f3d60a84 Throw on FFmpeg non-zero exit code 2021-10-10 19:53:32 +03:00
Dmitry Lyzo
c26e6d89b4 Move FfmpegException to MediaBrowser.Common 2021-10-10 19:48:11 +03:00
Marcel
b225c3fd3c Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-10-10 17:26:06 +02:00
Marcel
f750235933 Added healthcheck url environemnt variable 2021-10-10 15:15:43 +00:00
TheGoose
aa93774b29 Translated using Weblate (English (United Kingdom))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_GB/
2021-10-10 07:05:27 -04:00
Claus Vium
8fc4a48070 Merge pull request #6501 from crobibero/schedules-direct 2021-10-09 23:21:09 +02:00
Marcel
5d11fd68c6 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-10-09 21:41:46 +02:00
Dmitry Lyzo
2b004e1f76 Add more sorting to Latest 2021-10-09 21:36:39 +03:00
Marcel
32d6e7db7c Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-10-09 17:00:20 +02:00
Cody Robibero
a81dfabdb6 Fix indentation and build errors 2021-10-09 07:16:50 -06:00
Claus Vium
e775286de5 Merge pull request #6646 from 1337joe/test-mp4-metadata 2021-10-09 12:48:30 +02:00
Claus Vium
1156699481 Merge pull request #6657 from Bond-009/dotnetbug 2021-10-09 12:19:44 +02:00
Marcel
fe461ff66b Added Docker Healthcheck 2021-10-09 08:25:22 +00:00
Claus Vium
1bfe6342df Merge pull request #6676 from Bond-009/rng
Use static crypto rng
2021-10-09 08:11:22 +02:00
Claus Vium
b16e6621b3 Merge pull request #6663 from crobibero/dotnet-6-rc1
Reference dotnet6-rc1 packages
2021-10-08 16:06:15 +02:00
Claus Vium
eea2ba9b68 Merge pull request #6678 from Bond-009/random
Use new Random.Shared instead of creating new instances
2021-10-08 16:04:23 +02:00
Claus Vium
851a5f3b55 Merge pull request #6665 from Bond-009/tests6
Improve test coverage for QuickConnectManager
2021-10-08 15:53:13 +02:00
Claus Vium
098b598293 Merge pull request #6677 from Bond-009/shuffle2
Remove duplicate Fisher–Yates shuffle impl
2021-10-08 15:51:51 +02:00
Cody Robibero
3bbd98cc3f Merge remote-tracking branch 'upstream/master' into schedules-direct 2021-10-08 07:49:40 -06:00
Bond-009
a01f9775ff Merge pull request #6667 from Bond-009/warn53 2021-10-08 15:43:38 +02:00
Bond_009
d05062fec0 Use new Random.Shared instead of creating new instances 2021-10-08 15:40:13 +02:00
Bond_009
dc8feca6bb Remove duplicate Fisher–Yates shuffle impl 2021-10-08 15:20:11 +02:00
Bond_009
3b492d4af8 Use static crypto rng 2021-10-08 15:02:58 +02:00
Bond-009
556ef5f157 Merge pull request #6673 from cvium/pinfile 2021-10-08 11:51:04 +02:00
cvium
3add805cbf Return the path to the pinfile in forgot password 2021-10-07 23:20:54 +02:00
Claus Vium
93198787d1 Merge pull request #6666 from Bond-009/issue6123 2021-10-07 21:56:37 +02:00
Bond-009
68aa5db2b5 Merge pull request #6670 from lyarenei/update-split-whitelist
Update artist split whitelist
2021-10-07 14:47:26 +02:00
Systerm
6297fa5bf7 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2021-10-06 17:39:23 -04:00
Bond_009
f7ae3c6a85 Set AnalysisMode to AllEnabledByDefault 2021-10-06 11:39:54 +02:00
Bond_009
03f933aaa0 Fix the last few warnings
Enables TreatWarningsAsErrors for all projects
2021-10-06 11:30:45 +02:00
Bond-009
c5285cee1c Merge pull request #6664 from cvium/subtitle_refresh 2021-10-06 10:48:32 +02:00
Bond-009
a1246ba3a0 Merge pull request #6649 from barronpm/implementations-warn2 2021-10-06 10:47:40 +02:00
Dominik Krivohlavek
ef99225c40 Add 22/7 to split whitelist 2021-10-06 10:32:28 +02:00
Patrick Barron
e0db541381 Update indentation 2021-10-05 22:07:16 -04:00
Bond_009
67147400bf Fix issue #6123 2021-10-05 21:47:59 +02:00
cvium
7abdf71c49 Revert to old line 2021-10-05 19:49:43 +02:00
Bond_009
74d75fad46 Improve test coverage for QuickConnectManager 2021-10-05 16:59:11 +02:00
cvium
229917a2f8 Queue refresh after subtitle upload + minor fixes 2021-10-04 21:12:09 +02:00
joanMelchor
d245e45254 Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2021-10-04 14:05:26 -04:00
Cody Robibero
017380f1dd Reference dotnet6-rc1 packages 2021-10-04 07:43:40 -06:00
Bond-009
647c080ef7 Merge pull request #6662 from jellyfin/dependabot/nuget/DotNet.Glob-3.1.3 2021-10-04 15:07:37 +02:00
Bond-009
62d5315b0b Merge pull request #6661 from jellyfin/dependabot/nuget/sharpcompress-0.30.0 2021-10-04 15:07:11 +02:00
dependabot[bot]
fc96305e78 Bump DotNet.Glob from 3.1.2 to 3.1.3
Bumps [DotNet.Glob](https://github.com/dazinator/DotNet.Glob) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/dazinator/DotNet.Glob/releases)
- [Changelog](https://github.com/dazinator/DotNet.Glob/blob/develop/ReleaseNotes.md)
- [Commits](https://github.com/dazinator/DotNet.Glob/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: DotNet.Glob
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 12:01:09 +00:00
dependabot[bot]
2b61fad3a0 Bump sharpcompress from 0.29.0 to 0.30.0
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.29...0.30)

---
updated-dependencies:
- dependency-name: sharpcompress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 12:00:56 +00:00
Patrick Barron
232e48f5e8 Fix warnings in EmbyTV 2021-10-03 21:41:22 -04:00
Patrick Barron
25b68bc3b2 Fix warnings in ChannelManager 2021-10-03 21:41:22 -04:00
Patrick Barron
b7e405889d Fix warnings in LibraryChangedNotifier 2021-10-03 21:41:22 -04:00
Patrick Barron
6cc69b80b6 Fix warnings in DeviceId 2021-10-03 21:41:22 -04:00
Patrick Barron
80223c548c Fix warnings in WebSocketConnection 2021-10-03 21:41:22 -04:00
Patrick Barron
7180983654 Fix warnings in SessionManager 2021-10-03 21:41:22 -04:00
Patrick Barron
876a902356 Fix warnings in Library 2021-10-03 21:41:22 -04:00
Patrick Barron
aa3c33060d Fix warnings in Playlists 2021-10-03 21:41:22 -04:00
Patrick Barron
7ea4c844c8 Fix warnings in InstallationManager 2021-10-03 21:41:22 -04:00
Patrick Barron
b17a452d16 Fix warnings in ServerApplicationPaths 2021-10-03 21:41:22 -04:00
Patrick Barron
7ae055f740 Fix warnings in UdpServer 2021-10-03 21:41:22 -04:00
Patrick Barron
8c8ca9aded Fix warnings in UdpSocket 2021-10-03 21:41:22 -04:00
Patrick Barron
c09ef74b51 Fix warnings in IO 2021-10-03 21:41:22 -04:00
Patrick Barron
078200d8d4 Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
Bond-009
1888e7ac21 Merge pull request #6656 from daullmer/vsc-net6 2021-10-03 20:28:10 +02:00
Bond_009
9af16fcb6c Remove workaround for dotnet/runtime#42790 2021-10-03 19:52:38 +02:00
David Ullmer
d284e09a8a Change .vscode/launch.json to use .NET 6 2021-10-03 18:38:21 +02:00
Bond-009
9718c0b2ee Merge pull request #6651 from KonH/fix_common_warnings 2021-10-03 17:17:56 +02:00
Bond-009
6a575b3f77 Merge pull request #6648 from barronpm/implementations-warn1 2021-10-03 17:13:39 +02:00
Claus Vium
c60428f869 Merge pull request #6580 from Artiume/patch-1 2021-10-03 14:04:45 +02:00
Claus Vium
4fb4ceab04 Merge pull request #6644 from Bond-009/nullable7 2021-10-03 14:03:56 +02:00
Claus Vium
1f779ce7cd Merge pull request #6641 from Bond-009/convertfrom 2021-10-03 14:03:46 +02:00
KonH
6cbfdea4c0 Fix warning: Type cast is redundant (#2149) 2021-10-03 11:05:18 +07:00
KonH
d45fcdd5af Fix warning: Redundant control flow jump statement (#2149) 2021-10-03 11:02:53 +07:00
KonH
e3fccd5ae6 Fix warning: Qualifier is redundant (#2149) 2021-10-03 11:01:40 +07:00
KonH
b6bf43af45 Fix warning: Using directive is not required by the code and can be safely removed (#2149) 2021-10-03 10:49:41 +07:00
KonH
7c282ec369 Fix warning: The nullable warning suppression expression is redundant (#2149) 2021-10-03 10:43:41 +07:00
Patrick Barron
21007aec20 Fix warnings in Data 2021-10-02 13:03:04 -04:00
Patrick Barron
4ba9b6c305 Fix warnings in ScheduledTasks 2021-10-02 12:53:51 -04:00
Patrick Barron
5043a887cc Document IStartupOptions 2021-10-02 11:54:31 -04:00
Joe Rogers
4c2adc39c7 Add test data and unit test for mp4 metadata probe 2021-10-01 22:03:12 +02:00
Bond_009
1ee58bf020 Enable nullable for ItemDataProvider 2021-10-01 11:21:22 +02:00
Bond_009
d4373a2ddb Use ConvertFrom with invariant culture instead of current culture 2021-10-01 10:54:06 +02:00
Claus Vium
531efc345a Merge pull request #6639 from 1337joe/mp4-track-title-fallback
Add mp4 track title fallback
2021-10-01 08:15:34 +02:00
Joe Rogers
ce0457faf5 Add mp4 track title fallback (#6638) 2021-09-30 23:53:33 +02:00
Tim040
7bf2ece20e Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-09-30 10:30:07 -04:00
Bond-009
dd5e9e3fc6 Merge pull request #6631 from GodTamIt/dotnet-version 2021-09-30 11:05:59 +02:00
Chris Tam
1a70ba6a48 Update README for .NET version 2021-09-29 16:31:17 -04:00
Bond-009
be6fe62d52 Merge pull request #6629 from crobibero/globalize 2021-09-29 09:42:47 +02:00
Cody Robibero
6fb3ec0319 Disable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT in docker images 2021-09-28 19:09:37 -06:00
Claus Vium
fa506b1ff6 Merge pull request #6627 from Bond-009/empty
Add regression test for #6560
2021-09-28 13:17:06 +02:00
Bond_009
055e04338e Add regression test for #6560 2021-09-28 12:03:32 +02:00
Bond-009
94b1236459 Merge pull request #6623 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.2.2 2021-09-28 11:15:35 +02:00
dependabot[bot]
3d098173ff Bump Swashbuckle.AspNetCore.ReDoc from 6.2.1 to 6.2.2
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.2.1...v6.2.2)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.ReDoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 09:11:16 +00:00
Bond-009
a085e5a62c Merge pull request #6622 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.2.2 2021-09-28 11:10:35 +02:00
Bond-009
2def7043ce Merge pull request #6546 from ianjazz246/theorydata 2021-09-28 10:59:25 +02:00
dependabot[bot]
5b1feb1cea Bump Swashbuckle.AspNetCore from 6.2.1 to 6.2.2
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.2.1...v6.2.2)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 12:00:58 +00:00
Claus Vium
60f3d7ca6c Merge pull request #6618 from crobibero/zip-dir 2021-09-27 09:21:48 +02:00
Cody Robibero
7668cd13f5 Create output directory when extracting archive files 2021-09-26 16:23:43 -06:00
Bond-009
837d8feddc Merge pull request #6616 from crobibero/culture-info 2021-09-26 17:52:34 +02:00
Cody Robibero
9234e5bf80 Remove all instances of en-US culture 2021-09-26 09:11:25 -06:00
Bond-009
8858d8e597 Merge branch 'master' into theorydata 2021-09-25 22:24:57 +02:00
Bond-009
82cb685178 Merge pull request #6596 from crobibero/jeff-ext
Add Jellyfin.Extensions to nuget package publish
2021-09-25 22:18:28 +02:00
Claus Vium
17273a6075 Merge pull request #6614 from Bond-009/warn36 2021-09-25 20:50:31 +02:00
Claus Vium
c5491dc46c Merge pull request #6613 from Bond-009/randomaccess 2021-09-25 20:34:21 +02:00
Bond_009
79642af3b8 Fix some warnings 2021-09-25 20:32:53 +02:00
Claus Vium
b37829dfbf Merge pull request #6611 from Bond-009/error 2021-09-25 20:25:42 +02:00
Claus Vium
e6f3531f40 Merge pull request #6612 from Bond-009/async3 2021-09-25 20:22:42 +02:00
Bond_009
a4eede29ab Use RandomAccess instead of a FileStream where it makes sense 2021-09-25 20:17:12 +02:00
Bond_009
f31224fa8f Remove sync FileStream hack 2021-09-25 19:44:40 +02:00
Bond_009
65665de660 Fix user DB migration 2021-09-25 19:39:24 +02:00
Bond-009
2ee3e9e00f Merge pull request #6590 from jellyfin/dotnet6 2021-09-25 19:21:37 +02:00
Bond_009
4643fd5dcb Address comments 2021-09-25 18:15:46 +02:00
Cody Robibero
5e8d58a6a6 Update path for openapi spec 2021-09-25 07:51:55 -06:00
Mislav Milinković
d81c9a7a8c Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2021-09-25 09:30:05 -04:00
Ouail Ouazani
984f17c64f Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-09-25 09:30:05 -04:00
Cody Robibero
d156d49113 Update codeql dotnet version 2021-09-25 06:40:19 -06:00
Cody Robibero
4fc3de9b75 Fix builds for dotnet6 (#6595)
* Target net6.0

* Use new Enum.TryParse(ReadOnlySpan<char>) overload

* Replace RNGCryptoServiceProvider with RandomNumberGenerator

* ci - target net6.0 (#6594)

* Update deployment for dotnet6

* Use generic 6.0.x preview for CI

* Update direct dotnet download links

Co-authored-by: Bond_009 <bond.009@outlook.com>
2021-09-25 06:21:48 -06:00
Bond_009
e627b1b154 Fix failing tests 2021-09-25 13:58:16 +02:00
Bond_009
5fd315b17c Address comments 2021-09-24 20:15:46 +02:00
Bond_009
086d5925c9 Update Jellyfin.Extensions to .Net6 2021-09-24 20:15:46 +02:00
Cody Robibero
be00480fe2 ci - target net6.0 (#6594) 2021-09-24 20:15:46 +02:00
Bond_009
fb2f07dc84 Replace RNGCryptoServiceProvider with RandomNumberGenerator 2021-09-24 20:15:46 +02:00
Bond_009
4d1d9f23d5 Use new Enum.TryParse(ReadOnlySpan<char>) overload 2021-09-24 20:15:46 +02:00
Bond_009
13fbfe6091 Target net6.0 2021-09-24 20:15:46 +02:00
Claus Vium
1ebd3c9ac3 Merge pull request #6593 from Bond-009/ex 2021-09-22 09:21:41 +02:00
Claus Vium
7c8a81f7bc Merge pull request #6592 from Bond-009/dlna3 2021-09-22 09:19:24 +02:00
Claus Vium
8d9114dea3 Merge pull request #6597 from Bond-009/subs 2021-09-22 08:20:57 +02:00
Bond_009
dc1b726ef8 Add regression test for #5323 2021-09-22 02:00:17 +02:00
Cody Robibero
a605a38499 Add Jellyfin.Extensions to nuget package publish 2021-09-21 17:05:34 -06:00
Bond-009
12a54c070e Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-09-21 23:12:38 +02:00
Claus Vium
a353081ea3 Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs 2021-09-21 22:54:11 +02:00
Bond_009
8fec510971 ItemImageProvider: improve HTTP error handling 2021-09-21 22:47:30 +02:00
Bond_009
ec45808275 SsdpHttpClient: Ensure successful status code before reading response 2021-09-21 22:32:14 +02:00
cvium
95f344722c Don't set ffmpeg path from null to its Display value + add 404 2021-09-21 18:51:15 +00:00
Claus Vium
b4c0518001 Merge pull request #6588 from Bond-009/escape
Fix issue #6587
2021-09-21 20:49:14 +02:00
Claus Vium
46701e16b5 Merge pull request #6589 from Bond-009/ffmpeg3 2021-09-21 20:49:02 +02:00
evlian
f1498d49ca Translated using Weblate (Albanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sq/
2021-09-21 12:30:06 -04:00
artiume
5b1813b699 update armv8 2021-09-21 11:46:01 -04:00
artiume
9e54ee1829 update armv7 2021-09-21 11:44:20 -04:00
Bond_009
52585a865e Validate ffmpeg path 2021-09-21 13:28:34 +02:00
Bond_009
f6622bd810 Fix issue #6587 2021-09-21 13:22:40 +02:00
Claus Vium
b598f0e9fb Merge pull request #6584 from Bond-009/datetime
Specify DateTimeStyles when possible
2021-09-21 08:17:55 +02:00
Joshua M. Boniface
18506f7c21 Merge pull request #6569 from crobibero/dotnet-5.0.10
Update to dotnet 5.0.10
2021-09-21 02:11:27 -04:00
Claus Vium
c38d19682c Merge pull request #6553 from ankenyr/master 2021-09-21 08:09:41 +02:00
Bond_009
653df7d8e5 Specify DateTimeStyles when possible 2021-09-21 01:21:45 +02:00
Claus Vium
9bb222b408 Merge pull request #6582 from Bond-009/shutdown
Allow shutdown while starting WebHost
2021-09-20 23:40:58 +02:00
Bond-009
747d464be3 Merge pull request #6541 from cvium/symlink_workaround 2021-09-20 22:39:35 +02:00
Bond-009
32ea4806f8 Merge pull request #6538 from cvium/livetv_oh_no 2021-09-20 22:38:44 +02:00
Bond_009
520aeb9a8e Allow shutdown while starting WebHost 2021-09-20 22:27:20 +02:00
Claus Vium
1b0e6b871b Merge pull request #6571 from Dixin/master
Fix extra folder name and type mapping.
2021-09-20 21:25:12 +02:00
Bond-009
eb0f7e071b Merge pull request #6576 from jellyfin/dependabot/nuget/DiscUtils.Udf-0.16.13
Bump DiscUtils.Udf from 0.16.4 to 0.16.13
2021-09-20 14:41:30 +02:00
artiume
7e8557fec6 Update Docker Image 2021-09-20 08:30:47 -04:00
dependabot[bot]
a77c38a813 Bump DiscUtils.Udf from 0.16.4 to 0.16.13
Bumps [DiscUtils.Udf](https://github.com/DiscUtils/DiscUtils) from 0.16.4 to 0.16.13.
- [Release notes](https://github.com/DiscUtils/DiscUtils/releases)
- [Changelog](https://github.com/DiscUtils/DiscUtils/blob/develop/Changelog.txt)
- [Commits](https://github.com/DiscUtils/DiscUtils/commits)

---
updated-dependencies:
- dependency-name: DiscUtils.Udf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 12:01:05 +00:00
Claus Vium
b51a3cbf98 Merge pull request #6567 from Bond-009/alloc 2021-09-20 09:43:04 +02:00
Dixin
27e32083a1 Update LINQ query according to code review feedback.
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-20 00:27:51 -07:00
Dixin
dc8420c7a2 Fix extra folder type resolving. 2021-09-19 16:54:00 -07:00
Cody Robibero
e7d6c45509 Upgrade to dotnet 5.0.10 2021-09-19 15:06:27 -06:00
Bond_009
9148820d89 Add more tests 2021-09-19 21:26:00 +02:00
Bond_009
a6d1e542e6 Reduce allocations 2021-09-19 20:53:31 +02:00
Claus Vium
a3a8e058bc Merge pull request #6563 from Bond-009/subtitleencoder 2021-09-19 10:35:03 +02:00
Claus Vium
e2b746dfce Merge pull request #6564 from Bond-009/azure
Fix Azure CI
2021-09-18 16:57:38 +02:00
Bond_009
d283702cac Fix Azure CI 2021-09-18 16:21:54 +02:00
Bond_009
b0194bce6c Add regression test for issue #5168 2021-09-18 15:31:45 +02:00
Bond_009
34b38454e0 Fix SubtitleEncoder and add regression tests 2021-09-18 15:23:55 +02:00
Bond_009
69cf8c1947 Add tests for DlnaController 2021-09-17 20:53:52 +02:00
gbrea
8d57afb55f Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2021-09-17 03:30:05 -04:00
Claus Vium
9d46b3695f Merge pull request #6556 from nielsvanvelzen/openapi-security-scheme
Use standard Authorization header in OpenAPI specification
2021-09-16 08:14:58 +02:00
Meem Khan
b9407779e4 Translated using Weblate (Urdu (Pakistan))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ur_PK/
2021-09-15 17:30:00 -04:00
Niels van Velzen
be946cef87 Use standard Authorization header in OpenAPI specification 2021-09-15 19:28:20 +02:00
Fredrik Lindberg
90174f68e2 Dynamically populate LocalAddress based on HTTP request
Support populating the LocalAddress field in the system info
endpoint based on the x-forwarded-host and x-forwarded-proto header.

The x-forwarded-host header must contain both the host and port for
the url to be properly constructed.

Behind network configuration option that is disabled by default.
2021-09-14 21:38:11 +02:00
emmanuel billeaud
fffdf9f7b6 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2021-09-14 08:30:06 -04:00
Claus Vium
fffb57bb15 Merge pull request #6502 from crobibero/publish-jeff-extension
Add Jellyfin.Extensions to package publish
2021-09-14 13:44:46 +02:00
Claus Vium
97b8a672b5 Merge pull request #6555 from jellyfin/dependabot/nuget/libse-3.6.2 2021-09-13 18:39:30 +02:00
Claus Vium
da7a6e9fe4 Merge pull request #6554 from jellyfin/dependabot/nuget/sharpcompress-0.29.0 2021-09-13 18:39:09 +02:00
Rob
d557a5371e Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-13 08:32:28 -07:00
Rob
8d45656c51 Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-13 08:32:18 -07:00
Rob
96bc24b1dc Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-13 08:32:12 -07:00
Cody Robibero
ea3e66e918 Fix namespace 2021-09-13 06:32:26 -06:00
dependabot[bot]
b53c36ee4a Bump libse from 3.6.0 to 3.6.2
Bumps [libse](https://github.com/SubtitleEdit/subtitleedit) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/SubtitleEdit/subtitleedit/releases)
- [Changelog](https://github.com/SubtitleEdit/subtitleedit/blob/master/Changelog.txt)
- [Commits](https://github.com/SubtitleEdit/subtitleedit/compare/3.6.0...3.6.2)

---
updated-dependencies:
- dependency-name: libse
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 12:01:30 +00:00
dependabot[bot]
65e10946d8 Bump sharpcompress from 0.28.3 to 0.29.0
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.28.3 to 0.29.0.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.28.3...0.29)

---
updated-dependencies:
- dependency-name: sharpcompress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 12:01:22 +00:00
cocool97
83b4d4d25a Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2021-09-13 04:30:03 -04:00
ankenyr
2b5f3f294e Fixing #6269 by comparing PremiereDate when episode comparison would otherwise be equal. 2021-09-12 15:05:37 -07:00
Cody Robibero
7a7fe3e681 Fix types and property names 2021-09-12 13:56:26 -06:00
Mr. Chip53
1a8dcae5e4 Fix #6171 2021-09-12 13:30:53 -05:00
Claus Vium
f11f572997 Merge pull request #6457 from Izumiko/adult 2021-09-11 23:00:11 +02:00
ianjazz246
19b8bcaec4 Use TheoryData instead of MemberData and ClassData 2021-09-11 13:31:24 -07:00
ianjazz246
3313efce19 Revert "Use TheoryData in UrlDecodeQueryFeatureTest"
This reverts commit c5393b2579.
2021-09-11 13:29:58 -07:00
Claus Vium
62113c4603 Update Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs 2021-09-11 15:07:09 +02:00
Claus Vium
cec0dd94ba Update Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs 2021-09-11 15:06:56 +02:00
Claus Vium
6b8b7f1426 Update Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-09-11 14:19:50 +02:00
cvium
e34aa22dc1 Remove AsyncFile.OpenRead 2021-09-11 14:09:22 +02:00
cvium
794b73c62d Use File.GetAttributes instead of creating a new FileInfo 2021-09-11 13:32:59 +02:00
cvium
3bc9f38833 Fix SA1614 and SA1116 2021-09-11 12:47:01 +02:00
cvium
30152c8d96 Include the MIT license 2021-09-11 12:39:52 +02:00
cvium
6a2df35b37 Read file length for symlinks, supersedes #5775 and #5824 2021-09-11 12:31:29 +02:00
ianjazz246
c5393b2579 Use TheoryData in UrlDecodeQueryFeatureTest 2021-09-10 20:11:16 -07:00
Claus Vium
00f7f68e53 Merge pull request #5648 from OancaAndrei/syncplay-sessions-fix
Fix session references in SyncPlay
2021-09-10 17:44:44 +02:00
Bond-009
d7109d4d82 Merge pull request #6531 from GodTamIt/img-lang
Fix images "not loading" after manual identification
2021-09-10 13:35:03 +02:00
cvium
ae0055c494 Missing linebreaks that Rider apparently can't just do for me? 2021-09-10 13:09:24 +02:00
cvium
ff328fefc5 Replace GetDirectStreamProviderByUniqueId with GetLiveStreamInfoByUniqueId 2021-09-10 12:53:45 +02:00
cvium
026a7af0e8 Don't throw when livestream file isn't found 2021-09-10 11:54:26 +02:00
cvium
a60a1ab89b Fix xmldoc 2021-09-10 11:46:08 +02:00
cvium
6637a3096a Remove the dependency on BaseAuthorizationHandler 2021-09-10 11:44:50 +02:00
cvium
8496d7638a Merge branch 'master' into NetworkAccessPolicy 2021-09-10 11:40:28 +02:00
hoanghuy309
7ce62194d1 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2021-09-10 04:30:00 -04:00
cvium
1a5a74d2a9 Remove more unused args 2021-09-10 10:03:42 +02:00
cvium
f3573b061c Remove the unused arg 2021-09-10 09:56:48 +02:00
cvium
1603d1928e Kill ProgressiveFileCopier and seek to end for ongoing livetv 2021-09-10 09:29:14 +02:00
Chris Tam
b0cd1f5e39 Fix images "not loading" after manual identification 2021-09-09 19:16:15 -04:00
Claus Vium
b96dbbf553 Merge pull request #6534 from Bond-009/warn35 2021-09-09 19:40:21 +02:00
Bond_009
0d16c48998 Fix some warnings 2021-09-09 15:59:13 +02:00
Bond-009
448125f2b4 Merge pull request #6523 from cvium/fix_livetv_cts_disposed 2021-09-09 13:46:26 +02:00
hoanghuy309
1a5d8e89da Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2021-09-08 13:30:00 -04:00
Lukáš Kucharczyk
95f287e819 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2021-09-08 13:30:00 -04:00
Claus Vium
c794e48562 Merge pull request #6522 from ferferga/efcore-improvements 2021-09-07 19:40:03 +02:00
Fernando Fernández
e5980f8686 Fix typo in comment and remove useless ones 2021-09-07 19:25:04 +02:00
Claus Vium
9c628cad22 Merge pull request #6526 from jellyfin/Bond-009-patch-2 2021-09-07 14:49:50 +02:00
Bond-009
71ab4a5754 Fix it for real(tm) this time 2021-09-07 14:18:04 +02:00
Bond-009
8dc0911374 Fix log message 2021-09-07 14:03:32 +02:00
cvium
fdab8eebc9 Fix disposed exception when ffmpeg exits early in GetLiveHlsStream 2021-09-07 08:54:58 +02:00
Fernando Fernández
154b7d8505 Fix identation 2021-09-06 21:35:54 +02:00
Fernando Fernández
f4af78817d Move model configuration to its own classes 2021-09-06 21:15:31 +02:00
Fernando Fernández
c2652d21e1 Log EFCore migrations 2021-09-06 21:15:31 +02:00
Fernando Fernández
3d0b1ccae6 Remove all unused usings 2021-09-06 21:15:30 +02:00
Fernando Fernández
59b67584fc Use appHost.Resolve for accessing the context in Program.cs 2021-09-06 20:35:02 +02:00
Cody Robibero
23e6c918a2 Remove Linq to index search 2021-09-06 11:08:40 -06:00
Claus Vium
ec35b8b425 Merge pull request #6521 from ferferga/fix-typos
Fix Dockerfile typos
2021-09-06 18:23:19 +02:00
Fernando Fernández
488e276f01 Fix Dockerfile typos 2021-09-06 17:51:08 +02:00
Bond-009
92aa820f37 Merge pull request #6520 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.2.1
Bump Swashbuckle.AspNetCore.ReDoc from 6.1.5 to 6.2.1
2021-09-06 15:08:03 +02:00
Bond-009
18bac550de Merge pull request #6519 from jellyfin/dependabot/nuget/FsCheck.Xunit-2.16.3
Bump FsCheck.Xunit from 2.16.1 to 2.16.3
2021-09-06 14:28:19 +02:00
dependabot[bot]
5f1b5cd305 Bump Swashbuckle.AspNetCore.ReDoc from 6.1.5 to 6.2.1
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.1.5 to 6.2.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.5...v6.2.1)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.ReDoc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:17:43 +00:00
Bond-009
9ea42c8b6c Merge pull request #6517 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-4.2.1
Bump prometheus-net.DotNetRuntime from 4.2.0 to 4.2.1
2021-09-06 14:17:04 +02:00
Bond-009
dddfac9ac4 Merge pull request #6516 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.2.1
Bump Swashbuckle.AspNetCore from 6.1.5 to 6.2.1
2021-09-06 14:16:58 +02:00
Bond-009
a26b03b9d7 Merge pull request #6518 from jellyfin/dependabot/nuget/SQLitePCLRaw.bundle_e_sqlite3-2.0.6
Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.5 to 2.0.6
2021-09-06 14:16:46 +02:00
dependabot[bot]
c52fc714aa Bump FsCheck.Xunit from 2.16.1 to 2.16.3
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.16.1 to 2.16.3.
- [Release notes](https://github.com/fsharp/FsCheck/releases)
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md)
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.1...2.16.3)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:01:04 +00:00
dependabot[bot]
fdec42bccc Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.5 to 2.0.6
Bumps [SQLitePCLRaw.bundle_e_sqlite3](https://github.com/ericsink/SQLitePCL.raw) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases)
- [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.0.5...v2.0.6)

---
updated-dependencies:
- dependency-name: SQLitePCLRaw.bundle_e_sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:00:58 +00:00
dependabot[bot]
9e96f36131 Bump prometheus-net.DotNetRuntime from 4.2.0 to 4.2.1
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: prometheus-net.DotNetRuntime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:00:55 +00:00
dependabot[bot]
4a4a291aa9 Bump Swashbuckle.AspNetCore from 6.1.5 to 6.2.1
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.1.5 to 6.2.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.5...v6.2.1)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:00:53 +00:00
Claus Vium
74fef6c05b Merge pull request #6177 from Bond-009/async
Use async FileStreams where it makes sense
2021-09-06 13:55:34 +02:00
Claus Vium
bf0a0c8b62 Merge pull request #6494 from Bond-009/cleanup 2021-09-06 13:55:16 +02:00
Claus Vium
06242121c5 Merge pull request #4615 from strugee/fix-restart.sh 2021-09-06 13:53:23 +02:00
Claus Vium
7d8efa35fa Merge pull request #5092 from OancaAndrei/syncplay-clear-queue 2021-09-06 13:51:07 +02:00
Claus Vium
ba90b1215b Merge pull request #6515 from Maeur1/master
Update Intel Compute Runtime Resources
2021-09-06 13:50:03 +02:00
Mayur Panchal
cee884613d Update Intel Compute Runtime Resources 2021-09-06 20:55:00 +10:00
dkanada
f6c0db4bb5 merge branch 'master' into syncplay-sessions-fix 2021-09-06 13:42:48 +09:00
dkanada
5e3905d41a merge branch 'master' into syncplay-clear-queue 2021-09-06 13:35:58 +09:00
dkanada
e9508616cc Merge pull request #4005 from cromefire/patch-2
Add additional opts for systemd / upstart
2021-09-06 13:31:44 +09:00
dkanada
1716137a89 Merge pull request #6066 from jellyfin/dependabot/github_actions/cirrus-actions/rebase-1.5
Bump cirrus-actions/rebase from 1.4 to 1.5
2021-09-06 02:31:59 +09:00
dkanada
b8eb8940c7 Merge pull request #6257 from MrTimscampi/music-library-backdrop
Use artist backdrop for generated library image
2021-09-06 02:30:49 +09:00
Claus Vium
66659b0842 Merge pull request #6089 from BaronGreenback/IsRoot_fix
Set UserRootFolder.IsRoot to true
2021-09-05 15:25:40 +02:00
Bond-009
ff83fabac3 Merge pull request #6456 from GodTamIt/vp8-vp9
Disambiguate vpx to vp8 or vp9
2021-09-04 16:26:07 +02:00
Bond-009
a569e5860f Merge pull request #6506 from Artiume/patch-5 2021-09-04 16:17:55 +02:00
artiume
30bc5369ca Update bug_report.md 2021-09-04 09:43:39 -04:00
artiume
0c1f27d2db Request FFmpeg version 2021-09-04 09:33:02 -04:00
Chris Tam
b205d5a032 Disambiguate vpx to vp8 or vp9 2021-09-04 07:36:17 -04:00
Claus Vium
8c463b9b81 Merge pull request #4799 from tommasodotNET/bug/authorization-header-issue
Authorization header parsing
2021-09-04 00:31:13 +02:00
cvium
907d9fa195 remove some newlines 2021-09-03 23:58:07 +02:00
cvium
1172ece856 remove leading and trailing whitespace from the key 2021-09-03 23:56:19 +02:00
Cody Robibero
7a0a675bd5 Add Jellyfin.Extensions to package publish 2021-09-03 14:21:33 -06:00
Cody Robibero
04973a489f use JsonOptions 2021-09-03 13:56:51 -06:00
cvium
60185f99c4 fix the build 2021-09-03 21:43:06 +02:00
Cody Robibero
0587b539ec Suggestions from review 2021-09-03 13:36:07 -06:00
cvium
6b3ecf2533 Merge branch 'master' into bug/authorization-header-issue 2021-09-03 21:33:41 +02:00
cvium
048c478b0d Merge branch 'master' into bug/authorization-header-issue 2021-09-03 21:25:18 +02:00
Claus Vium
e229f6d9bb Merge pull request #6499 from Bond-009/warn34
Fix some warnings
2021-09-03 21:14:10 +02:00
Cody Robibero
47e24a2cf7 Add SchedulesDirect json tests 2021-09-03 12:35:52 -06:00
Cody Robibero
058baf5abd Add IReadOnlyList extensions 2021-09-03 12:35:32 -06:00
Bond_009
637e86478f Fix some warnings 2021-09-03 19:32:11 +02:00
Claus Vium
fb5385f1df Merge pull request #6201 from barronpm/authenticationdb-efcore
Migrate Authentication DB to EF Core
2021-09-03 19:17:13 +02:00
Cody Robibero
ff9d14c811 Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore 2021-09-03 11:01:55 -06:00
Cody Robibero
47be1bf69f Enable nullable for SchedulesDirect 2021-09-03 10:59:40 -06:00
Claus Vium
95ca1d5487 Merge pull request #6498 from Bond-009/invalidop
Fix InvalidOperationException when serializing MediaPathInfo
2021-09-03 18:45:06 +02:00
Bond-009
3ec7ecf399 Merge pull request #6358 from MrTimscampi/audio-people 2021-09-03 17:15:58 +02:00
Bond_009
b458f85c47 Fix InvalidOperationException when serializing MediaPathInfo 2021-09-03 16:39:03 +02:00
Bond-009
79e51b7fa2 Merge pull request #6475 from crobibero/warn-259810
Remove more and more warnings
2021-09-03 16:17:02 +02:00
siankatabg
2f360151c2 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-09-03 09:29:58 -04:00
Cody Robibero
bfb37a9ed9 Fix typos 2021-09-03 07:21:21 -06:00
Cody Robibero
3f2c706575 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-03 07:19:50 -06:00
Cody Robibero
611c20dba8 Fix indentation 2021-09-03 06:57:33 -06:00
Cody Robibero
8e498b01e7 Fix issues from merge 2021-09-03 06:57:04 -06:00
Cody Robibero
ec13412155 Merge remote-tracking branch 'upstream/master' into warn-259810 2021-09-03 06:56:45 -06:00
Patrick Barron
88157fcc77 Re-add documentation 2021-09-02 20:22:08 -04:00
Patrick Barron
098bd5cfa9 Remove IAuditableEntity 2021-09-02 20:18:46 -04:00
Claus Vium
b1e7cfd84c Merge pull request #6497 from Bond-009/fuzz1
Add SqliteItemRepository.ItemImageInfoFromValueString as a fuzzing target
2021-09-02 21:48:46 +02:00
Bond_009
286dabdc4b Add SqliteItemRepository.ItemImageInfoFromValueString as a fuzzing
target

and add test cases
2021-09-02 21:28:00 +02:00
Bond_009
e3dac4fda2 Use async FileStreams where it makes sense 2021-09-02 14:02:04 +02:00
Bond-009
620dd94970 Merge pull request #6495 from qsniyg/zero-activity-days
Allow zero activity log retention days
2021-09-02 13:15:37 +02:00
Gokdag Goktepe
4bed19e22f Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2021-09-02 04:29:58 -04:00
Claus Vium
ffef1baa2f Merge pull request #6485 from markshark05/patch-1
Update M3U Channel Name Precedence
2021-09-02 08:39:18 +02:00
qsniyg
2cf08dcd34 Allow zero activity log retention days 2021-09-01 15:52:59 -07:00
Mike
cf9c678406 Add subtitle format(codec) to stream display title (#5853)
Co-authored-by: Michał Kurek <michal.kurek@mail.com>
2021-09-01 18:59:59 +02:00
Bond_009
6f405dc36d Clean up VideoImageProvider 2021-09-01 18:47:24 +02:00
Bond-009
855f9c4a8e Merge pull request #6425 from boolemancer/boolemancer/fix_image_extractor
Fix explicit stream selection in MediaEncoder.ExtractImageInternal
2021-09-01 18:24:29 +02:00
Claus Vium
5ca88a835e Merge pull request #6492 from Bond-009/gitignore
Ignore Omnisharp crash logs
2021-09-01 14:45:05 +02:00
Bond_009
55c8fb7814 Ignore Omnisharp crash logs 2021-09-01 12:28:52 +00:00
Claus Vium
8ae1eb6c50 Merge pull request #6491 from Bond-009/fixbuild
Fix build
2021-09-01 14:23:50 +02:00
Bond_009
07f64102dd Fix build 2021-09-01 14:06:09 +02:00
Claus Vium
4cd372109d Merge pull request #6473 from Bond-009/nullable7
Enable nullable for more files
2021-09-01 09:28:19 +02:00
Claus Vium
501c7a639f Merge pull request #6474 from Bond-009/tests11 2021-09-01 09:24:57 +02:00
Patrick Barron
cb52ccc699 Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-31 10:57:48 -04:00
Mark Titorenkov
a0ee16d38d Update M3U Channel Name Precedence
Sets the ExtInf display name to have a higher precedence than the `tvg-name` attribute for channel names.

Usually `namInExtInf` is a more descriptive and human readable name if both it and `tvg-name` are available. `tvg-name` is more likely to be an internal identifier such as just the channel number with a prefix in my provider's case.
2021-08-31 15:12:09 +03:00
Claus Vium
e83d7a8667 Merge pull request #6327 from nyanmisaka/tonemap-overlay 2021-08-30 20:41:12 +02:00
Claus Vium
ae031fdd28 Merge branch 'master' into tonemap-overlay 2021-08-30 20:02:31 +02:00
Claus Vium
442e756395 Merge pull request #6183 from stanionascu/bdiso-playback 2021-08-30 19:54:06 +02:00
Claus Vium
b7e13f3a03 Merge pull request #5697 from Bond-009/ffmpeg2
Simplify the way we choose our ffmpeg
2021-08-30 19:36:51 +02:00
Bond_009
963ab2dab6 Simplify the way we choose our ffmpeg
* no longer search $PATH
* no longer require a full path
* don't fall back
2021-08-30 15:40:52 +02:00
Cody Robibero
ecb4b8e0aa Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-30 07:11:34 -06:00
Bond-009
9bf2769cdb Merge pull request #6434 from crobibero/docker-bullseye 2021-08-30 15:09:47 +02:00
Bond-009
bb685e4920 Merge pull request #6422 from daullmer/nfo-fanart 2021-08-30 15:02:25 +02:00
Bond-009
32a11c006d Merge pull request #6480 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-4.2.0
Bump prometheus-net.DotNetRuntime from 4.1.0 to 4.2.0
2021-08-30 14:25:30 +02:00
Bond-009
d07a6eb7e0 Merge pull request #6481 from jellyfin/dependabot/nuget/SQLitePCLRaw.bundle_e_sqlite3-2.0.5
Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.4 to 2.0.5
2021-08-30 14:25:12 +02:00
Bond-009
07c7ee8f9f Merge pull request #6479 from jellyfin/dependabot/nuget/FsCheck.Xunit-2.16.1
Bump FsCheck.Xunit from 2.16.0 to 2.16.1
2021-08-30 14:24:48 +02:00
dependabot[bot]
e2fdab4be4 Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.4 to 2.0.5
Bumps [SQLitePCLRaw.bundle_e_sqlite3](https://github.com/ericsink/SQLitePCL.raw) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases)
- [Commits](https://github.com/ericsink/SQLitePCL.raw/commits)

---
updated-dependencies:
- dependency-name: SQLitePCLRaw.bundle_e_sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 12:01:04 +00:00
dependabot[bot]
4c5f7207e3 Bump prometheus-net.DotNetRuntime from 4.1.0 to 4.2.0
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: prometheus-net.DotNetRuntime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 12:00:56 +00:00
dependabot[bot]
e40fde04d6 Bump FsCheck.Xunit from 2.16.0 to 2.16.1
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/fsharp/FsCheck/releases)
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md)
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.0...2.16.1)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 12:00:52 +00:00
Cody Robibero
d7459fa2ec Add missing xmldoc 2021-08-28 23:02:13 -06:00
Cody Robibero
cba07b1ca6 Remove more and more warnings 2021-08-28 16:32:50 -06:00
Bond_009
0f7c875076 Fix test 2021-08-28 20:53:34 +02:00
Bond_009
69ba539c70 Add more tests for LibraryStructureController 2021-08-28 20:12:25 +02:00
Bond_009
909573f2f1 Add tests for LibraryStructureController 2021-08-28 19:30:57 +02:00
Bond_009
645825db36 Enable nullable for more files 2021-08-28 17:32:09 +02:00
TheFeelTrain
e88367fe70 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2021-08-28 07:29:55 -04:00
Bond-009
48fdc63367 Merge pull request #6461 from jellyfin/dependabot/nuget/prometheus-net.AspNetCore-5.0.1
Bump prometheus-net.AspNetCore from 4.2.0 to 5.0.1
2021-08-27 18:33:54 +02:00
dependabot[bot]
41712e16be Bump prometheus-net.AspNetCore from 4.2.0 to 5.0.1
Bumps [prometheus-net.AspNetCore](https://github.com/prometheus-net/prometheus-net) from 4.2.0 to 5.0.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.2.0...v5.0.1)

---
updated-dependencies:
- dependency-name: prometheus-net.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 15:32:56 +00:00
Bond-009
72c6e4920d Merge pull request #6462 from jellyfin/dependabot/nuget/prometheus-net-5.0.1
Bump prometheus-net from 4.2.0 to 5.0.1
2021-08-27 17:32:24 +02:00
wolong gl
59b8056add Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2021-08-26 21:29:56 -04:00
Vinícius Costa
5bcd1648cb Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2021-08-26 21:29:56 -04:00
SeanPai
c2bcceaa21 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2021-08-26 21:29:56 -04:00
Changho Park
80dc92238a Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2021-08-26 21:29:56 -04:00
lsousa
3ebede56fe Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2021-08-26 21:29:56 -04:00
Weevild
6c7b9d4044 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2021-08-26 21:29:56 -04:00
Lukáš Kucharczyk
d3527334bc Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2021-08-26 21:29:56 -04:00
Kaiay
74d22d2f9a Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2021-08-26 21:29:56 -04:00
Izumiko
7027e2feb2 Add 'includeAdult' option for TheMovieDb 2021-08-25 20:46:51 +08:00
Claus Vium
e15fea5dad Merge pull request #5228 from lbenini/baseitemkind-fixes 2021-08-23 22:30:05 +02:00
dependabot[bot]
efed4728e6 Bump prometheus-net from 4.2.0 to 5.0.1
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 4.2.0 to 5.0.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.2.0...v5.0.1)

---
updated-dependencies:
- dependency-name: prometheus-net
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 12:00:54 +00:00
wolong gl
98b72019e6 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2021-08-23 03:29:54 -04:00
Marcin Woliński
7c7ad820c2 Translated using Weblate (Polish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pl/
2021-08-23 03:29:54 -04:00
Cody Robibero
50b3d74c95 Switch to TheoryData and clean up tests 2021-08-21 17:31:06 -06:00
Bond-009
8a460fc6ba Merge pull request #6444 from cvium/fix_liverecordingsplayback
Use ProgressiveFileStream for LiveRecordings endpoint
2021-08-21 16:15:15 +02:00
Bond-009
ec649fcaf5 Merge pull request #6445 from cvium/progressivefilestream_timeout
Add timeout to ProgressiveFileStream
2021-08-21 16:14:34 +02:00
cvium
468283bfb2 Move test to TypedBaseItem folder to avoid conflicts 2021-08-18 20:11:28 +02:00
Claus Vium
663c79cba8 Merge branch 'master' into baseitemkind-fixes 2021-08-18 18:25:48 +02:00
Joshua M. Boniface
72d3f7020a Merge branch 'master' into patch-2 2021-08-18 02:46:59 -04:00
Joshua M. Boniface
e5cbafdb6b Merge pull request #5606 from lmnotran/feature/delay-service-start
Delay starting service until after network is online
2021-08-18 02:25:54 -04:00
Oatavandi
6438410111 Translated using Weblate (Malayalam)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ml/
2021-08-17 22:29:54 -04:00
hoanghuy309
6de2a519f2 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2021-08-17 22:29:54 -04:00
aqweg
2a8cb5d795 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2021-08-17 22:29:54 -04:00
nextlooper42
0c54708e1c Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2021-08-17 22:29:54 -04:00
WWWesten
2e5cb8d8b1 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2021-08-17 22:29:54 -04:00
WWWesten
a311116f51 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-08-17 22:29:54 -04:00
millallo
c842a2efa2 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2021-08-17 22:29:54 -04:00
Adam Bokor
61aa992628 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2021-08-17 22:29:54 -04:00
Henry Moritz
88b2b9a82a Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2021-08-17 22:29:54 -04:00
FancyNerd92
9d445cf7fb Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2021-08-17 22:29:54 -04:00
Deathspike
95988ce33d Fix embedded subtitles taking priority over external ones 2021-08-17 20:15:16 +02:00
cvium
12a7fda0a6 Add timeout to ProgressiveFileStream 2021-08-17 19:18:26 +02:00
cvium
f23ef1f1b9 Use ProgressiveFileStream for LiveRecordings endpoint 2021-08-17 13:38:28 +02:00
Bond-009
2e7418142a Merge pull request #6437 from jellyfin/dependabot/nuget/Serilog.Settings.Configuration-3.2.0
Bump Serilog.Settings.Configuration from 3.1.0 to 3.2.0
2021-08-16 14:54:28 +02:00
Bond-009
d9f7b84156 Merge pull request #6438 from jellyfin/dependabot/nuget/FsCheck.Xunit-2.16.0
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
2021-08-16 14:53:56 +02:00
Bond-009
b5157004c4 Merge pull request #6439 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.11.0
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
2021-08-16 14:53:39 +02:00
dependabot[bot]
ee37784a35 Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:01:04 +00:00
dependabot[bot]
4077cb2648 Bump FsCheck.Xunit from 2.15.3 to 2.16.0
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.15.3 to 2.16.0.
- [Release notes](https://github.com/fsharp/FsCheck/releases)
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md)
- [Commits](https://github.com/fsharp/FsCheck/compare/2.15.3...2.16.0)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:00:55 +00:00
dependabot[bot]
05103a483e Bump Serilog.Settings.Configuration from 3.1.0 to 3.2.0
Bumps [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/serilog/serilog-settings-configuration/releases)
- [Changelog](https://github.com/serilog/serilog-settings-configuration/blob/dev/CHANGES.md)
- [Commits](https://github.com/serilog/serilog-settings-configuration/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: Serilog.Settings.Configuration
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:00:51 +00:00
Claus Vium
52e27da921 Merge pull request #6239 from jvoisin/patch-1
Add a LGTM.com badge
2021-08-16 09:19:59 +02:00
Claus Vium
aac1435502 Merge pull request #6397 from MrChip53/m3u-improvements 2021-08-16 09:12:43 +02:00
Claus Vium
fb5db696eb Merge pull request #6403 from ankenyr/master 2021-08-16 09:03:34 +02:00
Claus Vium
fa77902955 Merge pull request #6430 from Bond-009/minor17
Minor improvements
2021-08-16 08:59:43 +02:00
Claus Vium
e3c2a8a3be Update Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs 2021-08-16 08:52:16 +02:00
Cody Robibero
b504d1f724 Also update arm, arm64 Dockerfile 2021-08-15 19:32:45 -06:00
Cody Robibero
33bf8e34d1 Update Dockerfile to use debian:bullseye-slim 2021-08-15 18:57:14 -06:00
ankenyr
6ba7db3d55 Removing if statement and always testing reverse of x and y. 2021-08-15 15:48:01 -07:00
ankenyr
0f9e95b4c5 Breaking up the test theory so episodes and the results are on their own lines. 2021-08-15 15:31:58 -07:00
Rob
9220682fd1 Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-15 15:26:00 -07:00
Rob
10fbb4d48d Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Thanks for this suggestion. I will try to keep this in mind going forward with future PRs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-15 15:23:18 -07:00
MrTimscampi
7f52cda03c Make performer regex static 2021-08-16 00:22:36 +02:00
MrTimscampi
d82c2e4237 Address comments 2021-08-16 00:22:36 +02:00
MrTimscampi
8594ee7a22 Fix documentation for lyricist and arranger 2021-08-16 00:22:36 +02:00
MrTimscampi
c9b1cd1d8c Add some new music-related person types and parse from ffprobe 2021-08-16 00:22:36 +02:00
MrTimscampi
f35a527608 Add performers to the ffprobe normalization for audio 2021-08-16 00:22:36 +02:00
MrTimscampi
24083d2e38 Address comments 2021-08-16 00:22:36 +02:00
MrTimscampi
7e71c25059 Add test for audio file ffprobe normalization 2021-08-16 00:22:34 +02:00
MrTimscampi
3300d2d7d3 Enable people for audio files 2021-08-16 00:20:48 +02:00
Bond-009
db0d5b048a Merge pull request #6423 from richlander/mediabrowser-controller
Fix warnings in MediaBrowser.Controller
2021-08-16 00:06:40 +02:00
Bond_009
19824bff94 Minor improvements 2021-08-15 23:48:19 +02:00
Claus Vium
d3f291f159 Merge pull request #6392 from Bond-009/tests9
ApiServiceCollectionExtensions.AddProxyAddresses: Add more tests
2021-08-15 19:56:08 +02:00
Joshua M. Boniface
84d7db7a31 Merge pull request #6427 from winterqt/patch-1
Disable UseAppHost in portable deployment
2021-08-15 13:34:47 -04:00
Joshua M. Boniface
7fabb32482 Merge pull request #6429 from crobibero/dotnet-5.0.9
Update to dotnet 5.0.9
2021-08-15 13:34:04 -04:00
Rich Lander
e7a3552aae Update per feedback 2021-08-15 10:32:23 -07:00
Rich Lander
312e2685f8 Update MediaBrowser.Controller/Entities/IHasMediaSources.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-15 10:30:12 -07:00
dkanada
3cc1df68ac Merge pull request #6428 from Bond-009/tests10
Fix PasswordHash tests
2021-08-16 01:43:30 +09:00
Cody Robibero
709f8e9faa Update to dotnet 5.0.9 2021-08-15 08:30:15 -06:00
Bond-009
fc9f45b42d Merge pull request #6381 from Bond-009/nullable5
Enable nullable for DlnaManager
2021-08-15 14:14:33 +02:00
Bond_009
e8e0836f95 Fix PasswordHash tests 2021-08-15 14:13:20 +02:00
Winter
890e99725e Disable UseAppHost in portable deployment 2021-08-14 19:29:31 -04:00
dtorner
c80930c6d4 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2021-08-14 06:21:47 -04:00
Daniel
585207e05b Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2021-08-14 06:21:47 -04:00
FancyNerd92
7eb4da4eef Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2021-08-14 06:21:47 -04:00
cotlol
b6691d3fe9 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2021-08-14 06:21:47 -04:00
FancyNerd92
9b451f357f Translated using Weblate (English)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en/
2021-08-14 06:21:47 -04:00
artiume
7ee404ec98 Added translation using Weblate (Pirate) 2021-08-14 06:21:47 -04:00
boolemancer
2345646ff1 Fix explicit stream selection in MediaEncoder.ExtractImageInternal 2021-08-14 02:55:51 -07:00
Rich Lander
e3df4dcaae Fix warnings in MediaBrowser.Controller 2021-08-13 20:34:36 -07:00
Patrick Barron
8a1e55251e Fix devices migration 2021-08-13 21:28:17 -04:00
Patrick Barron
1615663bd2 Remove old response code documentation 2021-08-13 21:08:49 -04:00
Patrick Barron
1b197a2c2a Fix QuickConnect tests, move class to proper namespace 2021-08-13 21:08:38 -04: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
Patrick Barron
15baf04bd2 Add IAuditableEntity 2021-08-13 20:35:31 -04:00
David Ullmer
bf441e49b9 Add test for fanart tag 2021-08-13 20:36:14 +02:00
David Ullmer
12e58840eb Modify FetchThumbNode method to read children of fanart tag 2021-08-13 20:33:53 +02:00
David Ullmer
577d665192 Move thumb tag parsing to separate method 2021-08-13 20:16:05 +02:00
Bond-009
04571e93f8 Merge pull request #6339 from richlander/mediabrowser-controller-entities 2021-08-13 18:07:19 +02:00
Bond-009
d639b030ac Merge pull request #6335 from richlander/media-provides-analysis-fixes 2021-08-13 17:56:39 +02:00
Nyanmisaka
a84dc794c6 Merge branch 'master' into tonemap-overlay 2021-08-13 15:01:06 +08:00
Bond-009
e33901b9f5 Merge pull request #6267 from Bond-009/minor15
Minor fixes
2021-08-13 01:31:42 +02:00
Bond-009
e5a29824e5 Merge branch 'master' into minor15 2021-08-13 00:33:18 +02:00
Bond_009
4c1286fd24 Address comment 2021-08-12 21:38:54 +02:00
Bond-009
f83a5bb08e Merge pull request #6414 from richlander/mediabrowser-controller-mediaencoding 2021-08-12 17:30:30 +02:00
Rich Lander
ad6f27143f Update MediaBrowser.Controller/Entities/Folder.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-11 13:38:23 -07:00
Rich Lander
1ac2524844 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-11 13:37:46 -07:00
ankenyr
78bbfca990 Separating out error cases from good cases. 2021-08-11 09:56:36 -07:00
Claus Vium
8458960e57 Merge pull request #6377 from richlander/optimize-docker
Optimize Dockerfiles
2021-08-11 18:29:07 +02:00
Joshua M. Boniface
ac8a768747 Merge pull request #6394 from h1dden-da3m0n/ci/noisy-container 2021-08-11 12:06:10 -04:00
Claus Vium
0216c452f1 Merge pull request #6025 from daullmer/localization-test 2021-08-11 13:14:39 +02:00
Claus Vium
3a47ad11e9 Apply suggestions from code review 2021-08-11 12:57:31 +02:00
Claus Vium
a29f702432 Merge pull request #6258 from gnuyent/feat/hardware-encode-status 2021-08-11 12:54:27 +02:00
Claus Vium
08152d2a98 Apply suggestions from code review 2021-08-11 12:50:35 +02:00
Claus Vium
408d5c78a9 Merge pull request #6262 from MrTimscampi/scanner-prefer-original-date 2021-08-11 12:39:05 +02:00
Julien Machiels
8d5b87025b Update tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-11 09:42:40 +02:00
Claus Vium
c2de5f2c23 Merge pull request #6412 from richlander/mediabrowser-controller-session 2021-08-11 08:37:18 +02:00
Rich Lander
32d27d71a8 Fix warnings in MediaBrowser.Controller/MediaEncoding directory 2021-08-10 14:29:48 -07:00
David Ullmer
d7c9b14175 Apply suggestions from code review 2021-08-10 20:28:57 +02:00
Bond-009
589ad56a8c Merge pull request #6409 from jellyfin/dependabot/nuget/UTF.Unknown-2.4.0
Bump UTF.Unknown from 2.3.0 to 2.4.0
2021-08-10 20:00:48 +02:00
David Ullmer
45e0f7893b Merge remote-tracking branch 'upstream/master' into localization-test 2021-08-10 14:03:21 +02:00
David Ullmer
b5880c2680 Minor improvements 2021-08-10 14:03:15 +02:00
David Ullmer
6b61b50b53 Revert "Refactor LocalizationManager and remove dead method"
This reverts commit db2b53a4b5.
2021-08-10 13:39:51 +02:00
David Ullmer
77aee515a2 Use correct string comparison 2021-08-10 13:37:33 +02:00
Erdinc
854bb79ae8 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2021-08-10 05:29:48 -04:00
Rich Lander
9951a51395 Fix warnings in MediaBrowser.Controller/Session 2021-08-09 19:47:26 -07:00
Rich Lander
cb990ae973 Update per feedback 2021-08-09 18:52:38 -07:00
Rich Lander
870887046c Update MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-09 18:50:41 -07:00
ankenyr
67f81e8c07 Changing test name to be more descrptive. 2021-08-09 11:27:19 -07:00
Rob
579ed5c1fc Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-08-09 11:27:40 -07:00
dependabot[bot]
c4d8e6f056 Bump UTF.Unknown from 2.3.0 to 2.4.0
Bumps [UTF.Unknown](https://github.com/CharsetDetector/UTF-unknown) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/CharsetDetector/UTF-unknown/releases)
- [Commits](https://github.com/CharsetDetector/UTF-unknown/compare/v2.3...v2.4)

---
updated-dependencies:
- dependency-name: UTF.Unknown
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 12:00:53 +00:00
millallo
55389453be Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2021-08-08 13:29:50 -04:00
Julien Machiels
6c2cbafee0 Update MediaBrowser.MediaEncoding/Probing/FFProbeHelpers.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-08-08 16:37:35 +02:00
Bond-009
ab88e30cfa Merge pull request #6404 from crobibero/redirect-base-url
Fix redirect logic if request path is exactly the base url
2021-08-08 14:53:19 +02:00
ankenyr
5eac267569 Reverting sln file. 2021-08-07 15:55:52 -07:00
ankenyr
8e6436d8dd Removing moved files. 2021-08-07 15:36:23 -07:00
ankenyr
8b4d9339cf Changing namespace to be within Jellyfin.Server.Implementations.Tests 2021-08-07 15:07:12 -07:00
MrTimscampi
924dfe1db0 Add test for year-only parsing for FFProbe 2021-08-07 22:24:10 +02:00
MrTimscampi
ba609aefea Attempt to parse YYYY format dates in GetDictionaryDateTime
DateTime.TryParse doesn't properly parse year-only dates, so parsing results from FFProbe sometimes returns null (for example, some music tagged with Beets has yyyy format dates for release dates).
As a result, Jellyfin would previously no get the date from the FFProbe results.
This adds DateTime.TryParseExact with a format of 'yyyy' as a fallback, to attempt to properly parse the value, even if it's only a year.
2021-08-07 22:11:32 +02:00
MrTimscampi
534e088105 Prefer original data when getting premiere date from ffprobe 2021-08-07 22:02:43 +02:00
Cody Robibero
bdbac12d4f Update Jellyfin.Server/Middleware/BaseUrlRedirectionMiddleware.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-07 09:06:31 -06:00
Cody Robibero
a7585dd2d6 Fix redirect logic if request path is exactly the base url 2021-08-07 07:36:45 -06:00
ankenyr
14a53fe402 Adding tests for AiredEpisodeOrderComparer. 2021-08-06 23:12:29 -07:00
Anthony Lavado
3ee0c68cb7 Merge pull request #6402 from jellyfin/README-links
Add sponsor links
2021-08-06 14:49:31 -04:00
Anthony Lavado
439ae4ec6f Add sponsor links
Adds a horizontal line after project description and the rest of the readme, and another at the end before including DO and JB sponsorship links with images.
2021-08-06 14:32:04 -04:00
Bond-009
971c2bc7de Merge pull request #6328 from Bond-009/epparser
Improve episode parser
2021-08-06 17:29:34 +02:00
MrChip53
eaa5575b23 Add comment 2021-08-06 10:07:50 -05:00
Chris Simoni
883d28d03d Update Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-06 08:10:28 -05:00
h1dden-da3m0n
ed2a637ce3 fix missing build dependencies
needed by the build sh-scripts
2021-08-06 01:48:06 +02:00
sushilicious
6bc7d78f6f Update Emby.Naming/Video/CleanStringParser.cs
Cleaned up code a bit

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-05 13:09:42 -07:00
sushilicious
b2a10609af Made CleanStringParser go through regexps only once 2021-08-04 23:25:54 -07:00
sushilicious
7fdef4b82b Merge branch 'master' of https://github.com/jellyfin/jellyfin into HEAD 2021-08-04 23:15:48 -07:00
MrChip53
6c42d2345d Properly stream M3U file over http 2021-08-04 19:19:03 -05:00
h1dden-da3m0n
ea798de61f remove packages bundled in dotnet/sdk base image 2021-08-05 00:25:58 +02:00
h1dden-da3m0n
6a3ec7b479 change OS packaging images to be quiet
also uses the base dotnet/sdk image where possible
2021-08-04 23:34:12 +02:00
Bond_009
60053c7f3d Fix log messages 2021-08-04 18:49:54 +02:00
Bond_009
442dc10aac ApiServiceCollectionExtensions.AddProxyAddresses: Add more tests 2021-08-04 18:43:26 +02:00
Bond-009
2521a13d7d Merge pull request #6388 from Bond-009/minor16
Minor improvements
2021-08-04 18:40:13 +02:00
Bond_009
f1f72c3060 Minor improvements 2021-08-04 14:40:09 +02:00
Cody Robibero
398ca85944 Merge remote-tracking branch 'upstream/master' into baseitemkind-fixes 2021-08-04 06:24:58 -06:00
Cody Robibero
d212b6fb08 Clean test 2021-08-04 06:24:25 -06:00
Bond-009
1b8eb1aefe Merge pull request #6386 from richlander/mediabrowser-controller-livetv
Fix warnings in MediaBrowser.Controller/LiveTv
2021-08-04 13:13:34 +02:00
Nyanmisaka
d4f09c6c9b Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-04 16:25:17 +08:00
Rich Lander
06679eeebf Fix warnings for MediaBrowser.Controller/LiveTv 2021-08-03 21:13:49 -07:00
sushilicious
460fe76467 Merge branch 'master' of https://github.com/jellyfin/jellyfin 2021-08-03 14:30:20 -07:00
sushilicious
26f8b501e7 Made CleanStringParser more robust
Now it can handle [...] at beginning of string
2021-08-03 14:19:36 -07:00
Bond_009
4e9fbabef2 Enable nullable for DlnaManager 2021-08-03 17:54:55 +02:00
Bond-009
008c6a843e Merge pull request #6342 from richlander/mediabrowser-controller-library 2021-08-03 17:06:25 +02:00
New Jorciks
fc5841242e Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2021-08-03 08:29:49 -04:00
Winnie
8997d7ffc4 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2021-08-03 08:29:49 -04:00
Max
a8c47159ea Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2021-08-03 08:29:49 -04:00
Rich Lander
3daf9e5afe Optimize Dockerfiles 2021-08-02 13:15:51 -07:00
Bond-009
0c9f824d0a Merge pull request #6375 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.1.5
Bump Swashbuckle.AspNetCore.ReDoc from 6.1.4 to 6.1.5
2021-08-02 19:16:51 +02:00
dependabot[bot]
16ae8cd200 Bump Swashbuckle.AspNetCore.ReDoc from 6.1.4 to 6.1.5
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.4...v6.1.5)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.ReDoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 17:15:58 +00:00
Bond-009
21e108ee84 Merge pull request #6376 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.1.5
Bump Swashbuckle.AspNetCore from 6.1.4 to 6.1.5
2021-08-02 19:15:14 +02:00
dependabot[bot]
3254b5f8cb Bump Swashbuckle.AspNetCore from 6.1.4 to 6.1.5
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.4...v6.1.5)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 12:00:57 +00:00
TheFeelTrain
9f378feb82 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2021-07-31 19:29:46 -04:00
Ali Amer
eadad73ee7 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-07-31 19:29:45 -04:00
Rich Lander
47da13613b Merge branch 'master' into media-provides-analysis-fixes 2021-07-30 10:44:43 -07:00
Sverre
0ee74b293d Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2021-07-30 05:29:48 -04:00
Maxim Ivanov
448ce64a56 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-07-30 05:29:48 -04:00
Bond-009
00c90cfb21 Merge pull request #6354 from Bond-009/nullable4
Enable nullable in more files
2021-07-30 09:49:40 +02:00
Rich Lander
c07e83fdf8 Invert code and style analysis configuration (#6334)
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-30 09:49:28 +02:00
Bond-009
92c2d20609 Merge pull request #6355 from Bond-009/opt
EnsureLibraryFolder: Minor optimization
2021-07-27 21:46:30 +02:00
Rich Lander
e72868f72b Update AggregateFolder.cs 2021-07-26 18:13:37 -07:00
Rich Lander
a0678a9261 Update ILibraryManager.cs 2021-07-26 17:58:56 -07:00
Rich Lander
092e7c91b4 Update ILibraryManager.cs 2021-07-26 17:07:47 -07:00
Rich Lander
6a005f6a4f Update ILibraryManager.cs 2021-07-26 16:40:05 -07:00
Rich Lander
dfaf89a681 Update ILibraryManager.cs 2021-07-26 16:31:25 -07:00
Rich Lander
5110835031 Update ILibraryManager.cs 2021-07-26 16:19:50 -07:00
Rich Lander
0bb6999d59 Update ILibraryManager.cs 2021-07-26 16:02:17 -07:00
Bond_009
a13a569ca4 EnsureLibraryFolder: Minor optimization 2021-07-26 23:25:21 +02:00
Bond_009
501de7b6dc Enable nullable in more files 2021-07-26 23:02:32 +02:00
Rich Lander
3e0aab390a Merge branch 'master' into mediabrowser-controller-entities 2021-07-26 13:08:27 -07:00
Bond-009
85e705d09e Merge pull request #6352 from jellyfin/dependabot/nuget/coverlet.collector-3.1.0
Bump coverlet.collector from 3.0.3 to 3.1.0
2021-07-26 21:26:12 +02:00
dependabot[bot]
33359d45be Bump coverlet.collector from 3.0.3 to 3.1.0
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.1.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 12:00:45 +00:00
nyanmisaka
19e3c38fa8 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-07-26 03:09:44 +08:00
SaddFox
b024059f71 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2021-07-25 09:29:45 -04:00
Bond-009
439916f4ff Merge pull request #6336 from richlander/mediabrowser-controller-channels
Fix warning in MediaBrowser.Controllers/Channels
2021-07-25 14:57:45 +02:00
Bond-009
311774e75f Merge pull request #6338 from richlander/mediabrowser-controller-providers
Fix warnings for MediaBrowser.Controller/Providers directory
2021-07-25 14:57:14 +02:00
Bond-009
90aba79fb9 Merge pull request #6346 from richlander/mediabrowser-controller-drawing
Fix warnings in MediaBrowser.Controller/Drawing
2021-07-25 14:55:59 +02:00
Bond-009
5e2975661d Merge pull request #6344 from richlander/update-sdk 2021-07-25 14:41:26 +02:00
Claus Vium
50b41dd4e7 Merge pull request #6329 from Bond-009/restests 2021-07-25 14:21:00 +02:00
Rich Lander
9aebb86a68 Fix warnings in MediaBrowser.Controller/Drawing 2021-07-24 20:33:58 -07:00
Rich Lander
e91a2b1085 Update to later .NET SDK 2021-07-24 16:42:02 -07:00
Rich Lander
5920f68ca9 Fix warnings in MediaBrowser.Controller/Library 2021-07-24 10:58:50 -07:00
nyanmisaka
3beda02d92 add support for cuda tonemap and overlay 2021-07-25 00:52:16 +08:00
nyanmisaka
aaab6a3518 add tests for FFmpeg 4.4 and 4.3.2 2021-07-25 00:52:03 +08:00
Bond-009
f3b51dd77b Update tests/Jellyfin.Model.Tests/Entities/MediaStreamTests.cs
Co-authored-by: Max Rumpf <max.rumpf1998@gmail.com>
2021-07-24 14:03:08 +02:00
Rich Lander
0ce7a15534 Fix more warnings 2021-07-23 16:36:27 -07:00
Rich Lander
a16e66615c Update MediaBrowser.Controller/Entities/AggregateFolder.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-07-23 14:19:48 -07:00
Rich Lander
32616d15f2 Update MediaBrowser.Controller/Entities/AggregateFolder.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-07-23 14:19:44 -07:00
Rich Lander
a7cc77e7fa Fix partial set of MediaBrowser.Controller/Entities warnings 2021-07-23 13:49:18 -07:00
Claus Vium
5a9bd712b3 Merge pull request #6296 from Bond-009/oscheck
Improve platform checks
2021-07-23 20:54:13 +02:00
Rich Lander
717ff4ec62 Fix warnings for MediaBrowser.Controller/Providers directory 2021-07-23 09:16:48 -07:00
Rich Lander
67efed39f2 Fix warning in m-b/channels 2021-07-22 20:37:05 -07:00
Rich Lander
927b003143 Fix remaining MediaBrowser.Providers warnings 2021-07-22 20:16:38 -07:00
Rich Lander
fb92eab69b Fix analysis issues 2021-07-22 17:33:19 -07:00
Bond_009
0512f74459 Add tests for GetResolutionText 2021-07-20 23:04:49 +02:00
Bond-009
0e2a6f8216 Merge pull request #6279 from Bond-009/tests8 2021-07-20 21:24:19 +02:00
Bond-009
c22582b5aa Merge pull request #6281 from crobibero/controller-warn-04 2021-07-20 21:24:08 +02:00
Bond-009
c817c63696 Merge pull request #6256 from MrTimscampi/better-resolution-text 2021-07-20 19:08:37 +02:00
Shin Yunho
0f0c62be68 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2021-07-20 12:29:43 -04:00
Bond_009
ef3b651aad Improve episode parser 2021-07-20 00:25:30 +02:00
Bond-009
7d9a1269f1 Merge pull request #6325 from jellyfin/dependabot/github_actions/alex-page/github-project-automation-plus-0.8.1
Bump alex-page/github-project-automation-plus from 0.7.1 to 0.8.1
2021-07-19 20:07:01 +02:00
Joshua M. Boniface
71158dfb3f Merge pull request #6326 from crobibero/5.0.8
Update to dotnet 5.0.8
2021-07-19 13:25:41 -04:00
Bond-009
95832e4d2f Merge pull request #6320 from jellyfin/dependabot/nuget/Serilog.Sinks.Console-4.0.0
Bump Serilog.Sinks.Console from 3.1.1 to 4.0.0
2021-07-19 19:25:07 +02:00
Claus Vium
d55b152e86 Merge pull request #6297 from Bond-009/parser
Fix episode parser
2021-07-19 17:46:40 +02:00
Cody Robibero
de12ee5dba Update to dotnet 5.0.8 2021-07-19 08:08:02 -06:00
dependabot[bot]
dddf216ec8 Bump alex-page/github-project-automation-plus from 0.7.1 to 0.8.1
Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/alex-page/github-project-automation-plus/releases)
- [Commits](https://github.com/alex-page/github-project-automation-plus/compare/v0.7.1...v0.8.1)

---
updated-dependencies:
- dependency-name: alex-page/github-project-automation-plus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 12:03:27 +00:00
dependabot[bot]
cd541f105c Bump Serilog.Sinks.Console from 3.1.1 to 4.0.0
Bumps [Serilog.Sinks.Console](https://github.com/serilog/serilog-sinks-console) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/serilog/serilog-sinks-console/releases)
- [Commits](https://github.com/serilog/serilog-sinks-console/compare/v3.1.1...v4.0.0)

---
updated-dependencies:
- dependency-name: Serilog.Sinks.Console
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 12:00:49 +00:00
Fawrrax
e36345b9f2 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2021-07-18 15:29:42 -04:00
Bond-009
ea7c7ea48c Merge pull request #5864 from DeeJayBro/return-on-error
Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
2021-07-17 20:54:07 +02:00
Jelly Don
0e8537a6a5 Translated using Weblate (Albanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sq/
2021-07-17 11:29:43 -04:00
SaddFox
0c26fdac37 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2021-07-17 11:29:43 -04:00
Joost
1dde41902a Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-07-17 11:29:43 -04:00
memnos
de9c367bc3 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2021-07-17 11:29:43 -04:00
Vorboid
eb9244746c Translated using Weblate (English (United Kingdom))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_GB/
2021-07-17 11:29:43 -04:00
Albert Chaos
5ba93da8b6 Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2021-07-17 11:29:43 -04:00
Bond-009
430b28a8f9 Merge pull request #6298 from crobibero/instantmix 2021-07-17 00:42:54 +02:00
Cody Robibero
b44f191d54 Remove obsolete attribute, clean controller name 2021-07-16 08:58:04 -06:00
Claus Vium
313e5ce1af Merge pull request #6304 from Bond-009/cleanstring
Add h265 to CleanStrings
2021-07-16 13:18:21 +02:00
DeeJayBro
0ad62e7af9 Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo 2021-07-16 11:48:08 +02:00
Bond_009
b9b4f3aa85 Add h265 to CleanStrings 2021-07-15 16:20:50 +02:00
Bond_009
b202bfebce Fix episode parser 2021-07-15 16:05:57 +02:00
Bill Thornton
da1dafe4cc Merge pull request #6303 from Artiume/patch-4
update bug report to ask for hwaccel
2021-07-15 10:05:50 -04:00
artiume
8af7e5fe3a update bug report to ask for hwaccel 2021-07-15 09:50:38 -04:00
Anthony Lavado
607df7899f Merge pull request #6300 from thornbill/update-stale 2021-07-14 15:25:46 -04:00
Bill Thornton
75551f04ca Disable automatic closing of PRs 2021-07-14 14:37:48 -04:00
Oatavandi
273afe8a52 Translated using Weblate (Malayalam)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ml/
2021-07-14 04:29:44 -04:00
danielxb-ar
7f06cdc83f Translated using Weblate (Spanish (Argentina))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2021-07-14 04:29:44 -04:00
nextlooper42
74d45636b5 Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2021-07-14 04:29:44 -04:00
jtasseroul
1d4d508f30 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2021-07-14 04:29:44 -04:00
Lukáš Kucharczyk
5debcf0763 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2021-07-14 04:29:44 -04:00
WWWesten
39bc4bf9e3 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-07-14 04:29:44 -04:00
wolong gl
87ba51f6e4 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2021-07-14 04:29:44 -04:00
WWWesten
93a6f13a3d Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2021-07-14 04:29:44 -04:00
Larvitar
e977665e5d Translated using Weblate (Polish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pl/
2021-07-14 04:29:44 -04:00
danielxb-ar
09904857b5 Translated using Weblate (Spanish (Latin America))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_419/
2021-07-14 04:29:44 -04:00
Csaba
ab85baf6eb Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2021-07-14 04:29:44 -04:00
Oatavandi
502c656874 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2021-07-14 04:29:44 -04:00
Moritz
31c65058a4 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2021-07-14 04:29:43 -04:00
hoanghuy309
927ec5a363 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2021-07-14 04:29:43 -04:00
Patrick Barron
60ce0c9fa9 Add dto for device options 2021-07-13 19:30:11 -04:00
Bond-009
db579e6eee Merge pull request #6292 from jellyfin/dependabot/nuget/prometheus-net.AspNetCore-4.2.0 2021-07-13 01:28:07 +02:00
Bond-009
62536196df Merge pull request #6295 from jellyfin/dependabot/nuget/SkiaSharp.NativeAssets.Linux-2.80.3 2021-07-13 01:27:56 +02:00
Cody Robibero
24c861c23b Remove extra endpoint 2021-07-12 17:22:01 -06:00
dependabot[bot]
00b1f96ed0 Bump prometheus-net.AspNetCore from 4.1.1 to 4.2.0
Bumps [prometheus-net.AspNetCore](https://github.com/prometheus-net/prometheus-net) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: prometheus-net.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 21:54:28 +00:00
dependabot[bot]
903628af76 Bump SkiaSharp.NativeAssets.Linux from 2.80.2 to 2.80.3
Bumps SkiaSharp.NativeAssets.Linux from 2.80.2 to 2.80.3.

---
updated-dependencies:
- dependency-name: SkiaSharp.NativeAssets.Linux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 21:54:28 +00:00
Bond-009
b20977dc25 Merge pull request #6289 from Bond-009/warn33
Fix some warnings
2021-07-12 23:53:52 +02:00
Bond-009
34fba1a787 Merge pull request #6294 from jellyfin/dependabot/nuget/SkiaSharp-2.80.3 2021-07-12 23:53:29 +02:00
Bond-009
03279d711f Merge pull request #6293 from jellyfin/dependabot/nuget/prometheus-net-4.2.0
Bump prometheus-net from 4.1.1 to 4.2.0
2021-07-12 23:53:17 +02:00
Bond_009
8528e9bddb Improve platform checks 2021-07-12 20:21:51 +02:00
dependabot[bot]
26f6c5520c Bump SkiaSharp from 2.80.2 to 2.80.3
Bumps SkiaSharp from 2.80.2 to 2.80.3.

---
updated-dependencies:
- dependency-name: SkiaSharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 12:00:57 +00:00
dependabot[bot]
e757c58e86 Bump prometheus-net from 4.1.1 to 4.2.0
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: prometheus-net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 12:00:56 +00:00
Claus Vium
951a9f39c0 Merge pull request #6240 from Bond-009/quickconnecttests
Add tests for QuickConnectManager
2021-07-12 09:39:11 +02:00
Claus Vium
b6006742fa Merge pull request #6290 from Bond-009/update2
Remove old "has update available" code
2021-07-12 09:34:34 +02:00
Bond_009
915141f196 Fix some warnings 2021-07-11 22:51:36 +02:00
Bond_009
b91c4be74c Remove old "has update available" code
This is the job of a package manager (or maybe the tray app for windows)
2021-07-11 22:42:02 +02:00
Bond_009
8b1a211081 MediaInfoControllerTests: Check Content-Length 2021-07-11 22:06:01 +02:00
Brandon Nguyen
c6bac31042 Add int values to HardwareEncodingType enum 2021-07-11 11:59:52 -07:00
Bond-009
203c46de33 Merge pull request #6283 from natedawg/master 2021-07-11 13:07:57 +02:00
natedawg
6957bc9a12 Fix spelling of artist K/DA in splitting whitelist 2021-07-10 16:26:42 -07:00
Cody Robibero
65f8d8c0cd [CA1801] Parameter is never used. Remove the parameter or use it in the method body. 2021-07-10 10:09:02 -06:00
Cody Robibero
4281722d5a Fix [SA1629] Documentation text should end with a period 2021-07-10 10:05:41 -06:00
Bond-009
61141314e8 Merge pull request #6280 from MrTimscampi/audio-exceptions
Add more artist names to the splitting whitelist
2021-07-10 17:39:06 +02:00
MrTimscampi
020c0fc4cb Add more artist names to the splitting whitelist 2021-07-10 17:09:44 +02:00
Bond_009
abbcf5e4f7 Add tests for Playback/BitrateTest endpoint 2021-07-10 15:09:56 +02:00
Bond-009
c47390914c Merge pull request #6276 from crobibero/bitrate-test 2021-07-10 15:08:47 +02:00
Bond-009
94d5d630a8 Merge pull request #6115 from Maxr1998/refactor-proberesultnormalizer
Refactor ProbeResultNormalizer
2021-07-10 14:05:16 +02:00
Cody Robibero
43b0d0fa95 Fix error message, use range parameters 2021-07-10 05:34:15 -06:00
Tim040
ff010c16aa Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-07-09 23:45:39 -04:00
aqilisk
0f57959c55 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-07-09 23:45:39 -04:00
Kachelkaiser
7bf9cc6887 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2021-07-09 23:45:39 -04:00
Benito Sebe
faa3ec14e9 Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2021-07-09 23:45:39 -04:00
Rajmond Burgaj
ff1a78a82f Translated using Weblate (Albanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sq/
2021-07-09 23:45:39 -04:00
Fabrício Jácome
f282f6f924 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2021-07-09 23:45:39 -04:00
Hannes
7a2791e904 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-07-09 23:45:39 -04:00
Cody Robibero
e7022cc3fc Use asp validation and increase max size 2021-07-09 09:07:22 -06:00
Bond-009
d8b9f4dc2d Merge pull request #6274 from thornbill/restore-max-resolution-params
Restore max width and height params
2021-07-09 13:44:27 +02:00
Maxr1998
11a5551218 Refactor ProbeResultNormalizer
Improve code structure and readability
2021-07-09 02:06:38 +02:00
Bill Thornton
3090971feb Restore max width and height params 2021-07-08 14:53:56 -04:00
Bond-009
40c73e96a9 Merge pull request #6268 from Bond-009/redirecttest
Add test for RobotsRedirectionMiddleware
2021-07-08 16:16:04 +02:00
Brandon Nguyen
d0c5e25ec0 Use nullable enum type instead of strings 2021-07-05 16:52:52 -07:00
Bond_009
e19dce3c53 Add test for RobotsRedirectionMiddleware 2021-07-06 01:07:10 +02:00
Bond_009
5bd8ba886a Add tests for QuickConnectManager 2021-07-06 00:02:54 +02:00
Bond_009
1f99c9b90c Minor fixes 2021-07-06 00:01:33 +02:00
Bond-009
a9aeb6570b Merge pull request #6233 from Bond-009/warn32
MediaBrowser.Providers: Remove some warnings
2021-07-05 23:59:08 +02:00
MrTimscampi
3b8947aba6 Add using keywords to non-disposed objects in BuildThumbCollageBitmap 2021-07-05 19:41:10 +02:00
MrTimscampi
a25c3d1cda Remove usage of this in GetResolutionText 2021-07-04 10:22:17 +02:00
Brandon Nguyen
df17c67f11 Use hardware encoding string over boolean 2021-07-03 15:29:07 -07:00
Brandon Nguyen
7e3c94d094 Add hardware encoding status to playback data
Resolves #6087
2021-07-03 01:12:09 -07:00
MrTimscampi
8a65a6dfc3 Use artist backdrop for generated library image 2021-07-03 02:50:28 +02:00
MrTimscampi
bcae195cc3 Refactor GetResolutionText
This improves GetResolutionText a little by making it easier to read and better parsing resolutions (Also adding a few new ones like PAL resolutions and 8K)

Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2021-07-03 01:45:24 +02:00
Bond-009
1dcf03e33c Merge pull request #6236 from Bond-009/quickconnect
Fix QuickConnect
2021-06-30 01:05:24 +02:00
Bond-009
539dc2ba82 Merge pull request #6241 from jellyfin/dependabot/nuget/Serilog.Sinks.Async-1.5.0
Bump Serilog.Sinks.Async from 1.4.0 to 1.5.0
2021-06-28 21:18:24 +02:00
Bond-009
3100ecd145 Merge pull request #6242 from jellyfin/dependabot/nuget/Serilog.Sinks.File-5.0.0
Bump Serilog.Sinks.File from 4.1.0 to 5.0.0
2021-06-28 21:17:30 +02:00
dependabot[bot]
b434b16ddc Bump Serilog.Sinks.File from 4.1.0 to 5.0.0
Bumps [Serilog.Sinks.File](https://github.com/serilog/serilog-sinks-file) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/serilog/serilog-sinks-file/releases)
- [Changelog](https://github.com/serilog/serilog-sinks-file/blob/dev/CHANGES.md)
- [Commits](https://github.com/serilog/serilog-sinks-file/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: Serilog.Sinks.File
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 12:00:58 +00:00
dependabot[bot]
d933262c2b Bump Serilog.Sinks.Async from 1.4.0 to 1.5.0
Bumps [Serilog.Sinks.Async](https://github.com/serilog/serilog-sinks-async) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/serilog/serilog-sinks-async/releases)
- [Commits](https://github.com/serilog/serilog-sinks-async/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: Serilog.Sinks.Async
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 12:00:51 +00:00
Julien Voisin
66e452422c Add a LGTM.com badge 2021-06-28 06:15:07 +00:00
Patrick Barron
06d682c296 Merge remote-tracking branch 'origin/authenticationdb-efcore' into authenticationdb-efcore 2021-06-27 16:46:09 -04:00
Patrick Barron
af2e7aec2e Add missing service registration for IAuthenticationManager 2021-06-27 16:45:41 -04:00
Patrick Barron
fdba71e133 Fix Api Key authentication 2021-06-27 16:44:34 -04:00
Patrick Barron
bbac9ff67e GetDeviceOptions always returns an instance of DeviceOptions 2021-06-27 16:42:26 -04:00
Bond_009
4e80eac5f3 Fix QuickConnect 2021-06-27 18:20:37 +02:00
Bond_009
cf061f7563 MediaBrowser.Providers: Remove some warnings 2021-06-27 02:00:27 +02:00
Patrick Barron
5d1139ec62 Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-06-26 15:17:57 -04:00
Patrick Barron
befedaf6fc Update Emby.Server.Implementations/Session/SessionManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-06-25 21:13:38 -04:00
Patrick Barron
dbfd30ec4c Migrate DeviceOptions 2021-06-24 09:38:37 -04:00
Patrick Barron
d3e02e918d Merge pull request #166 from crobibero/authdb-qc
Fix QuickConnect interation with AuthenticationDb
2021-06-24 06:21:41 -04:00
crobibero
397868be95 Fix issues with QuickConnect and AuthenticationDb 2021-06-23 21:07:08 -06:00
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
2021-06-23 20:22:12 -04:00
Claus Vium
9405604913 Merge pull request #6174 from Bond-009/diacritics
Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net
2021-06-22 12:25:59 +02:00
Bond_009
981cf4cfa0 Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net 2021-06-22 09:48:40 +02:00
Claus Vium
a41065a248 Merge pull request #6200 from nielsvanvelzen/fix-quickconnect
Refactor Quick Connect
2021-06-22 09:43:14 +02:00
Niels van Velzen
7d46ca9317 Refactor Quick Connect 2021-06-22 09:13:14 +02:00
Claus Vium
f50bdb0f32 Merge pull request #6204 from Bond-009/extensions 2021-06-22 07:38:08 +02:00
Patrick Barron
f96722fa74 Fix migration 2021-06-21 19:06:21 -04:00
Patrick Barron
3884837513 Convert method group to lambda in DeviceManager 2021-06-21 19:01:34 -04:00
Patrick Barron
784f29f753 Use named tuple for QuickConnect 2021-06-21 19:00:24 -04:00
Patrick Barron
544e059395 Revert unintended change in SchedulesDirect 2021-06-21 18:57:59 -04:00
crobibero
39e84ba4ab Suggestions from review 2021-06-21 16:06:54 -06:00
Cody Robibero
fa7b7b84e7 Update CONTRIBUTORS.md
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-06-21 16:06:25 -06:00
Bond_009
db716bde95 Jellyfin.Extensions: Enable analyzers for release mode 2021-06-22 00:01:27 +02:00
Joshua M. Boniface
026d8d28b7 Merge pull request #6210 from bellegarde-c/master
debian: Add maxcpucount option to override_dh_auto_build. Fix #5234
2021-06-21 17:08:39 -04:00
Cédric Bellegarde
46665168a7 debian: Add maxcpucount option to override_dh_auto_build. Fix #5234 2021-06-21 11:39:51 +02:00
Claus Vium
96b2887a15 Merge pull request #6208 from h1dden-da3m0n/ci/no-automation-in-forks 2021-06-21 08:49:37 +02:00
h1dden-da3m0n
44b54a2637 disable project automation in forks
these workflows always fail in forks due to missing tokens etc.
2021-06-20 19:42:52 +02:00
crobibero
ac76519081 Enhance BaseItemKindTests 2021-06-20 07:15:46 -06:00
crobibero
790b284184 Add missing BaseItemKind 2021-06-20 07:15:32 -06:00
crobibero
23dd6e2d9f Merge remote-tracking branch 'upstream/master' into baseitemkind-fixes 2021-06-20 07:09:24 -06:00
Patrick Barron
d64e14fcb8 Use ReadOnlySpan in GetImagesForPrograms 2021-06-19 15:26:24 -04:00
Patrick Barron
67308f489f Implement DeleteDevice 2021-06-19 15:24:53 -04:00
Patrick Barron
2a9474f6e7 Count records before skipping 2021-06-19 15:24:42 -04:00
Patrick Barron
6b24cc6d1f Fix UpdateDeviceOptions 2021-06-19 15:24:26 -04:00
Patrick Barron
3123ea2a94 Add missing ConfigureAwait call 2021-06-19 15:09:16 -04:00
Bond_009
6f8ccab788 Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
Patrick Barron
54fdc2fd88 Use ExecuteSqlInterpolated instead of ExecuteSqlRaw
oop
2021-06-18 19:15:08 -04: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
Bond-009
0c3dcdf77b Merge pull request #6197 from MrTimscampi/sub-delivery-docs
Document SubtitleDeliveryMethod
2021-06-19 00:42:54 +02:00
Patrick Barron
336ba2879f Re-add support for API keys 2021-06-18 18:26:58 -04:00
Patrick Barron
0292936c65 Use consistent name for db context 2021-06-18 17:09:59 -04:00
Patrick Barron
4206c0e091 Combine if statements 2021-06-18 17:09:39 -04:00
Patrick Barron
3264575047 Add data migration 2021-06-18 17:07:30 -04:00
Patrick Barron
3fd0b1a359 Recreate devices migration with missing fields 2021-06-18 17:07:22 -04:00
Patrick Barron
3d9c16ba6b Fix concurrency issues 2021-06-18 17:06:38 -04:00
Patrick Barron
373155a063 Correctly handle devices without custom names 2021-06-18 16:57:46 -04:00
MrTimscampi
22efb69e92 Document SubtitleDeliveryMethod 2021-06-18 18:26:14 +02:00
Joshua M. Boniface
c791c3a215 Merge pull request #6191 from crobibero/5.0.7
Update to dotnet 5.0.7
2021-06-18 11:29:55 -04:00
Bond-009
004c53a5a5 Merge pull request #6180 from crobibero/test-controller
Ignore Test Controllers
2021-06-18 11:44:45 +02:00
Claus Vium
cd36b8067f Merge pull request #5988 from Bond-009/fuzz
Add fuzzing infrastructure
2021-06-14 19:30:05 +02:00
crobibero
e021a0e9ce Update to dotnet 5.0.7 2021-06-14 06:44:55 -06:00
Stanislav Ionascu
351ae66509 Better detection of the ISO DVD/BD types
The ISO image will be opened and checked for disc-type specific
folders.
Can be overridden using NAME.dvd.iso / NAME.bluray.iso
2021-06-13 19:24:06 +02:00
Bond-009
aaa9cc604f Merge pull request #6176 from nielsvanvelzen/userid-required
Require userId in getItems and getTrailers endpoints
2021-06-13 15:06:30 +02:00
crobibero
d32bbf181a Ignore all test controllers 2021-06-13 06:32:28 -06:00
Bond-009
04daf0ff49 Merge pull request #6175 from nielsvanvelzen/crobibero-is-stupid
Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle
2021-06-12 17:02:33 +02:00
Niels van Velzen
226abde3f7 Change userId to required in operations that would otherwise throw exceptions 2021-06-12 16:19:34 +02:00
Niels van Velzen
0a0e10e854 Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle 2021-06-12 15:38:13 +02:00
Claus Vium
93dbbfea03 Merge pull request #6173 from Bond-009/tests5
Add test for ReadOnlySpan.Count extension
2021-06-12 08:08:46 +02:00
Bond-009
83e492b72b Merge pull request #5384 from Larvitar/season-metadata-fix 2021-06-12 00:58:58 +02:00
Bond_009
5fb72951a0 Add test for ReadOnlySpan.Count extension 2021-06-12 00:56:09 +02:00
Claus Vium
8daa679a26 Update MediaBrowser.Providers/Manager/MetadataService.cs 2021-06-12 00:22:55 +02:00
Claus Vium
cb77f8ee28 Merge pull request #6172 from Bond-009/nullable6
Remove useless nullable directives
2021-06-12 00:22:30 +02:00
Bond-009
cfad97ff28 Merge pull request #6096 from cvium/saving_private_ram 2021-06-12 00:20:54 +02:00
cvium
66de842896 Use stackalloc in Format3DParser.Parse 2021-06-12 00:16:33 +02:00
Bond_009
383c2d7374 Remove useless nullable directives 2021-06-11 23:36:10 +02:00
Stan
adf406b182 Fix playback of complex BluRay ISOs (#6166) 2021-06-10 20:07:28 +02:00
Claus Vium
d366fd3fd7 Merge pull request #6165 from Bond-009/tests4
Fix duplicate keys causing an exception
2021-06-09 10:23:29 +02:00
Bond_009
06401ffa0d Fix duplicate keys causing an exception 2021-06-09 09:59:30 +02:00
Bond_009
f7392394fd Add fuzzing infra 2021-06-08 22:22:32 +02:00
Claus Vium
b986cb57b7 Merge pull request #6163 from Bond-009/tests3
Fix index out of range and add reg tests
2021-06-08 15:53:34 +02:00
Bond_009
2fc14375f8 Fix index out of range and add reg tests 2021-06-08 15:35:49 +02:00
Claus Vium
ed2f08d05f Merge pull request #6156 from Bond-009/minor14
Minor fixes
2021-06-07 23:09:50 +02:00
Claus Vium
93387ba235 Merge pull request #5990 from BaronGreenback/UrlDecoding 2021-06-07 23:07:59 +02:00
Claus Vium
19a1889906 Merge pull request #6162 from crobibero/no-base-redirect
Redirect to default if root is requested
2021-06-07 23:06:33 +02:00
BaronGreenback
147612f59b Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:22:37 +01:00
BaronGreenback
37326a8099 Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:22:28 +01:00
BaronGreenback
ada052fcb1 Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:22:17 +01:00
BaronGreenback
c1fa7cbbf8 Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:22:11 +01:00
BaronGreenback
371f8629b1 Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:47 +01:00
BaronGreenback
133ce65e28 Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:30 +01:00
BaronGreenback
e71c10df46 Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:22 +01:00
BaronGreenback
e1a0b5d2a1 Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:15 +01:00
BaronGreenback
cc2166550f Update Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:20:44 +01:00
BaronGreenback
b59e81dcdf Update Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:20:37 +01:00
dependabot[bot]
4e9570598b Bump cirrus-actions/rebase from 1.4 to 1.5
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.4 to 1.5.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.4...1.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 14:17:50 +00:00
Joshua M. Boniface
cee8b87330 Merge pull request #6137 from ferferga/actions
Refactor Github Actions
2021-06-07 10:17:11 -04:00
crobibero
dfc776e451 Redirect to default if root is requested 2021-06-07 07:47:49 -06:00
Bond-009
2b5762fc68 Merge pull request #6160 from jellyfin/dependabot/nuget/sharpcompress-0.28.3
Bump sharpcompress from 0.28.2 to 0.28.3
2021-06-07 15:30:19 +02:00
dependabot[bot]
2245c6c43e Bump sharpcompress from 0.28.2 to 0.28.3
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.28.2 to 0.28.3.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.28.2...0.28.3)

---
updated-dependencies:
- dependency-name: sharpcompress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 13:27:11 +00:00
Bond-009
5075c04d23 Merge pull request #6161 from jellyfin/dependabot/nuget/SQLitePCL.pretty.netstandard-3.1.0 2021-06-07 15:26:12 +02:00
dependabot[bot]
e81eb2f065 Bump SQLitePCL.pretty.netstandard from 3.0.1 to 3.1.0
Bumps [SQLitePCL.pretty.netstandard](https://github.com/jellyfin/SQLitePCL.pretty.netstandard) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/jellyfin/SQLitePCL.pretty.netstandard/releases)
- [Commits](https://github.com/jellyfin/SQLitePCL.pretty.netstandard/commits)

---
updated-dependencies:
- dependency-name: SQLitePCL.pretty.netstandard
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 12:00:45 +00:00
Claus Vium
f17d43c564 Merge pull request #6071 from BaronGreenback/DLNAFolderFixPart1
Make DLNA folders to work as expected.
2021-06-07 09:55:58 +02:00
Claus Vium
9963d0ce5e Merge pull request #5803 from crobibero/healthy-base-url 2021-06-07 09:54:44 +02:00
Claus Vium
1c6bf16d15 Merge pull request #6150 from Bond-009/proptest 2021-06-07 09:46:46 +02:00
Claus Vium
b8f5a14384 Merge pull request #6117 from LinFor/pr_originaltitle_in_lookupinfo
Add OriginalTitle to ItemLookupInfo
2021-06-07 09:37:49 +02:00
Bond-009
ce434ebc7a Add comment 2021-06-06 19:30:43 +02:00
Bond_009
c78457e6d3 Minor fixes 2021-06-06 18:11:51 +02:00
Cody Robibero
d461e3912a Remove warninigs from MediaBrowser.Controller (Part 3) (#6078)
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-06-06 17:16:41 +02:00
cvium
9111730a0a More review 2021-06-05 20:16:04 +02:00
Bond_009
915855e422 Add property based testing 2021-06-05 13:32:22 +02:00
Cody Robibero
9154f20b34 Don't dispose managed CancellationTokenSource (#6139) 2021-06-04 14:36:58 +02:00
Tommaso Stocchi
02a56d8cf7 Changed return type desc in GetParts() summary 2021-06-03 17:45:22 +02:00
Tommaso Stocchi
2a72c33ba6 authorizationheader as readonlyspan<char> instead of string 2021-06-03 17:43:50 +02:00
Tommaso Stocchi
d1b34a1e97 -fix authorizationHeader is no longer a string 2021-06-03 17:37:42 +02:00
Tommaso Stocchi
2b232df07f Merge branch 'master' into bug/authorization-header-issue 2021-06-03 17:15:32 +02:00
Tommaso Stocchi
dc261b815f -fix AuthorizationHeader parameter name 2021-06-03 17:12:16 +02:00
Tommaso Stocchi
d86964eb6a Merge branch 'bug/authorization-header-issue' of https://github.com/tommasodotNET/jellyfin into bug/authorization-header-issue 2021-06-03 17:10:22 +02:00
Tommaso Stocchi
3c019d1324 Using for instead of while 2021-06-03 17:10:19 +02:00
Tommaso Stocchi
3951546b1f Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
Co-authored-by: artiume <siderite@gmail.com>
2021-06-03 17:07:25 +02:00
Joshua M. Boniface
b060d9d0f1 Merge pull request #6131 from BaronGreenback/Fix_NetworkFlooding
Fix network flooding issue
2021-06-02 22:07:58 -04:00
Bond-009
1e1e9dbb58 Merge pull request #6135 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.10.0
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
2021-06-01 22:53:14 +02:00
Fernando Fernández
854a12b312 Refactor Github Actions 2021-05-31 22:44:59 +02:00
cvium
cfba7daa50 revert test change 2021-05-31 14:27:26 +02:00
dependabot[bot]
38ebd6147a Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 12:01:11 +00:00
cvium
0835b26889 review 2021-05-31 13:55:54 +02:00
Joshua M. Boniface
80875e2573 Merge pull request #6133 from ferferga/pull_request_target 2021-05-30 18:59:27 -04:00
Fernando Fernández
d9bd162739 Don't trigger workflows in unnecessary events and always use jellyfin-bot 2021-05-31 00:40:02 +02:00
Fernando Fernández
a29ee991a4 Use pull_request_target instead of pull_request 2021-05-31 00:35:41 +02:00
Joshua M. Boniface
499dee0100 Add workflow for checking stable backports (#6056)
Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
2021-05-30 13:50:50 -04:00
BaronGreenback
40a43f9485 remove link between ssdp and upnp 2021-05-30 15:43:16 +01:00
Bond-009
9712fa85c4 Merge pull request #6121 from Bond-009/warn52
Fix some warnings
2021-05-30 10:11:05 +02:00
Mariusz Chryc
d44025c620 Clear episode and season provider IDs during ApplySearchResult 2021-05-29 10:56:38 +02:00
Claus Vium
3b5214e595 Update Emby.Naming/Video/VideoListResolver.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-28 19:01:29 +02:00
Claus Vium
2d5ed7cb95 Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-28 19:01:08 +02:00
Bond_009
0bc0601442 Fix some warnings 2021-05-28 14:33:54 +02:00
crobibero
9595aa258e Simplify BaseUrlRedirectionMiddleware 2021-05-27 06:31:00 -06:00
crobibero
01e8ff8ddf Merge remote-tracking branch 'upstream/master' into healthy-base-url 2021-05-27 06:07:57 -06:00
Bond-009
71c98d2f81 Merge pull request #6116 from Maxr1998/contribs
Fix broken link in CONTRIBUTORS and add myself
2021-05-27 13:12:53 +02:00
PingWin
05c241da78 Add OriginalTitle to ItemLookupInfo 2021-05-27 10:36:56 +00:00
Maxr1998
2c161fc4f1 Fix broken link in CONTRIBUTORS and add myself 2021-05-27 12:12:44 +02:00
Claus Vium
b12f509de3 Merge pull request #5696 from Maxr1998/fix-music-video-metadata-probing 2021-05-27 10:20:22 +02:00
Claus Vium
6b9251fa10 Merge pull request #6102 from LinFor/pr_dont_prefer_omdb_rating
Don't prefer OMDB rating over all other providers
2021-05-27 08:28:16 +02:00
Claus Vium
6080093b51 Merge pull request #6094 from crobibero/album-artist-sort
Add sorting to /Artists/AlbumArtists
2021-05-27 07:23:34 +02:00
Claus Vium
61346dd2e2 Merge pull request #5828 from jackrvan/issue-5813
Add NextUpCutoffDate to NextUpQuery
2021-05-27 07:22:06 +02:00
Jack
accb974605 Add optional back 2021-05-26 22:49:53 -04:00
Jack
e3ff473bd4 Review notes to set value to Datetime min value instead of null 2021-05-25 20:46:29 -04:00
PingWin
7cba148a30 Don't prefer OMDB rating over all other providers 2021-05-25 14:38:02 +00:00
David Ullmer
e33e3ba610 Make localizationManager local instead of field 2021-05-25 12:33:55 +02:00
Claus Vium
8a58d552a6 Update tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj 2021-05-25 00:35:16 +02: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
Claus Vium
ffe2770388 Merge pull request #6043 from peterspenler/feature/chromecast-aac-handling
Reorder requested audio channels checks
2021-05-24 19:24:40 +02:00
Claus Vium
de80ce93db Merge pull request #6031 from ferferga/sql-optimization
Run SQLite query planner optimization at shutdown/restart
2021-05-24 13:50:34 +02:00
Fernando Fernández
6db229af5d Address review comments 2021-05-24 10:48:01 +02:00
Fernando Fernández
3b822116ed Create scheduled task for database optimization 2021-05-24 10:45:21 +02:00
Fernando Fernández
69baa9c467 Run SQLite query planner optimization at shutdown/restart 2021-05-24 10:45:21 +02:00
Claus Vium
74ba079c5c Merge pull request #5886 from Artiume/patch-3
Request all the logs
2021-05-24 08:53:29 +02:00
Claus Vium
9f2e8063ec Merge pull request #5997 from JKI12/master
Fixes for Book Progress
2021-05-24 08:52:38 +02:00
Claus Vium
1594385497 Merge pull request #6038 from crobibero/delete-existing-sessions
Don't logout if deviceId is null
2021-05-24 08:43:44 +02:00
Claus Vium
45e27a3bc4 Merge pull request #6075 from MrTimscampi/codec-tag-hdr
Properly detect Dolby Vision files derived from AV1, AVC and HEVC
2021-05-24 08:27:22 +02:00
cvium
1580bf5469 Fix property instantiation order 2021-05-24 08:03:24 +02:00
cvium
42a2cc1747 Remove some unnecessary allocations 2021-05-24 00:30:41 +02:00
crobibero
e01ce826e0 Allow sorting for AlbumArtist 2021-05-23 08:38:05 -06:00
BaronGreenback
51fb6e1d2d Merge branch 'master' into IsRoot_fix 2021-05-22 22:01:03 +01:00
Bond-009
db9d3b8653 Merge pull request #6090 from cvium/bump_sqlitepclpretty
Bump SQLitePCL.pretty.netstandard to 3.0.1
2021-05-21 23:16:30 +02:00
cvium
3b59064f97 Bump SQLitePCL.pretty.netstandard to 3.0.1 2021-05-21 19:35:00 +02:00
BaronGreenback
d0537a3271 Set isRoot to true 2021-05-21 15:07:35 +01:00
Marius Lindvall
19e2e0b7b8 Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2021-05-21 08:31:01 -04:00
TokieSan
d6ab9ab328 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-05-21 08:31:01 -04:00
Bond-009
0a30d8dd98 Merge pull request #6086 from Bond-009/deadcode
Remove dead code
2021-05-21 13:52:37 +02:00
Bond_009
9b8eb1ba53 Remove dead code 2021-05-21 13:43:49 +02:00
Bond-009
8046143158 Merge pull request #6084 from Bond-009/nullable5
Enable nullable reference types for MediaBrowser.MediaEncoding
2021-05-21 13:05:13 +02:00
Bond-009
d61530eb4b Merge pull request #6083 from Bond-009/nullable4
Enable nullable reference types for Emby.Server.Implementations
2021-05-21 13:05:03 +02:00
Patrick Barron
37a8a82ac5 Make methods static in AuthenticationContext 2021-05-21 00:19:54 -04:00
Patrick Barron
b6446c06ee Merge branch 'master' into authenticationdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Security/AuthenticationRepository.cs
#	Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
#	MediaBrowser.Controller/Devices/IDeviceManager.cs
2021-05-21 00:19:07 -04:00
Patrick Barron
a0c6f72762 Migrate authentication db to EF Core 2021-05-20 23:56:59 -04:00
Patrick Barron
b03f2353d8 Generate Access token in constructor 2021-05-20 20:57:10 -04:00
Patrick Barron
f4d1c3ef7a Add device query class 2021-05-20 20:48:53 -04:00
Patrick Barron
ab63a7745c Add PaginatedQuery abstract class, change startIndex to skip 2021-05-20 20:48:41 -04:00
Patrick Barron
e1f7086077 Remove unnecessary query class 2021-05-20 20:39:22 -04:00
Bond-009
a937a854f2 Merge pull request #6013 from Bond-009/minor13 2021-05-21 01:29:36 +02:00
Bond-009
95b909546d Merge pull request #6033 from Ullmie02/tmdb-person-language 2021-05-20 22:50:42 +02:00
Bond_009
7e8428e588 Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
Bond-009
a7b7ff000b Merge branch 'master' into tmdb-person-language 2021-05-20 22:46:40 +02:00
Bond-009
e8790bfa96 Merge pull request #6054 from cvium/allocationz_2_extreme_db_plsdonthurtme 2021-05-20 22:40:25 +02:00
Bond_009
26d7fc8280 Enable nullable reference types for MediaBrowser.MediaEncoding.Subtitles 2021-05-20 22:10:19 +02:00
Sanaf Raw
c6ca722e57 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2021-05-19 16:30:58 -04:00
cvium
e0f793799a Fix build 2021-05-19 19:52:45 +02:00
cvium
7e6a45c402 Review changes 2021-05-19 19:33:24 +02:00
cvium
1027792b16 Review changes 2021-05-19 08:51:46 +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
8d2e5ef8c6 Merge pull request #6042 from crobibero/mbc-warn-2 2021-05-18 21:21:26 +02:00
David Ullmer
ee7a95e088 Move GetMetadataLanguage 2021-05-18 13:44:38 +02:00
Bond-009
19e9bef256 Merge pull request #6074 from Bond-009/nullablequery
Enable nullable for InternalItemsQuery
2021-05-18 13:23:01 +02:00
David Ullmer
6353966abd Fix cache key 2021-05-18 13:17:34 +02:00
MrTimscampi
8407c3d558 Properly detect Dolby Vision files derived from AV1, AVC and HEVC 2021-05-18 12:37:00 +02:00
Bond_009
2b321d8b89 Enable nullable for InternalItemsQuery 2021-05-18 12:23:26 +02:00
Bond-009
44087da17a Merge pull request #6072 from crobibero/dotnet-5.0.6 2021-05-18 07:52:44 +02:00
Jack
7a17de84d9 Add optional to nextUpDateCutoff help text 2021-05-17 21:35:58 -04:00
crobibero
be17028e22 Remove erroneous newline 2021-05-17 18:34:44 -06:00
Joshua M. Boniface
24ddcd5955 Merge pull request #6047 from crobibero/dotnet-5.0.6
Update to Dotnet 5.0.6
2021-05-17 19:56:14 -04:00
BaronGreenback
48bb338352 Enable child items to be returned if a musicAlbum 2021-05-17 23:34:50 +01:00
Bond-009
c64bdbb4ff Merge pull request #6051 from Bond-009/tests7
Add tests for Recordinghelper
2021-05-18 00:05:33 +02:00
siankatabg
0cb69e28b9 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-05-17 12:13:49 -04:00
David Ullmer
96e05e5b66 Add tests for NoralizeLanguage 2021-05-17 12:55:27 +02:00
Anthony Lavado
92b606d7c0 Merge pull request #6037 from ferferga/pat_token 2021-05-16 14:38:11 -04:00
cvium
81ac11828b Fix ArrayIndexOutOfBounds 2021-05-16 20:16:47 +02:00
cvium
be4aeb5c2c Rename SQL extension methods 2021-05-16 19:06:10 +02:00
Claus Vium
652909e8a5 Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-16 15:27:31 +02:00
cvium
415e8fc0f3 Forward 2021-05-16 14:54:36 +02:00
cvium
eaafbdd623 Remove some leftover junk from a project that isn't in the sln 2021-05-16 14:52:56 +02:00
cvium
1b49435a0e Reduce some allocations 2021-05-16 14:49:11 +02:00
Bond-009
9b82b37095 Merge pull request #6053 from jellyfin/cuda-fix
Fix the 'No decoder surfaces left' error on Cuda
2021-05-16 11:58:28 +00:00
nyanmisaka
ffc5aba023 Fix the 'No decoder surfaces left' error on Cuda 2021-05-16 18:40:28 +08:00
Bond-009
5acb4e9491 Merge pull request #5999 from Bond-009/legacyhdhomerun
Add support for legacy HDhomerun DUAl
2021-05-16 10:29:28 +00:00
Bond-009
f06f3450c1 Merge pull request #5307 from barronpm/using-declarations 2021-05-16 09:58:10 +00:00
Bond_009
a9f44c21eb Add tests for Recordinghelper 2021-05-16 01:24:49 +02:00
crobibero
b6dda30a33 Fix suggestions from review 2021-05-15 15:33:50 -06:00
Bond-009
ca92a9a80c Merge pull request #6050 from Bond-009/ruleset3
Fully disable stupid rules
2021-05-15 20:55:41 +00:00
BaronGreenback
53bfe0e77d Changes as requested 2021-05-15 20:24:41 +01:00
Bond_009
42be818a09 Fully disable stupid rules 2021-05-15 20:38:29 +02:00
crobibero
66b185898f Update to dotnet5.0.6 2021-05-14 17:28:36 -06:00
Fernando Fernández
73654481e2 chore: replace GH_TOKEN with JF_BOT_TOKEN 2021-05-13 18:43:28 +02:00
Patrick Barron
81992ef205 Fix build 2021-05-13 10:47:00 -04:00
peterspenler
3c981cf41f Reorder requested audio channels checks 2021-05-13 09:55:31 -04:00
crobibero
6bcbc2b88a Reduce warnings in MediaBrowser.Controller 2021-05-13 07:33:11 -06:00
Haziq Rohaizan
88a7875a27 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-05-13 04:29:07 -04:00
archon eleven
abbdaa997e Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-05-13 04:29:07 -04:00
Benjamin Vraspillai
59c4170966 Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2021-05-13 04:29:07 -04:00
crobibero
f53aa55bdb Don't logout if deviceId is null. 2021-05-12 13:32:54 -06:00
BaronGreenback
d0bfb56d2e changed to slice. 2021-05-12 16:19:08 +01:00
David Ullmer
c584d36fd4 Fix Tmdb person language 2021-05-12 14:57:58 +02:00
BaronGreenback
85ecea7722 corrected tests 2021-05-11 21:45:15 +01:00
Joshua M. Boniface
6f3bd59aac Merge pull request #5995 from tuky/patch-1
Respect configured JELLYFIN_USER in Debian's postinst
2021-05-11 09:20:06 -04:00
Bond-009
50f617357b Merge pull request #5929 from crobibero/sort 2021-05-11 12:41:25 +00:00
dkanada
138c564e8f Merge pull request #6023 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-4.1.0
Bump prometheus-net.DotNetRuntime from 4.0.0 to 4.1.0
2021-05-11 21:07:00 +09:00
dkanada
708e2de44d Merge pull request #6010 from crobibero/🐄
Mooooove the label commenter config
2021-05-11 21:06:33 +09:00
dkanada
720b364aa1 Merge pull request #5975 from thornbill/fix-web-docker-build
Fix web build in dockerfiles
2021-05-11 21:05:59 +09:00
Bond-009
c10f86960d Merge pull request #6026 from Ullmie02/tv-parental-rating-fix
Use TMDb parental rating building from movies for shows
2021-05-11 11:56:34 +00:00
Cody Robibero
e3f55a0c54 Reduce warnings in MediaBrowser.Controller (#6006)
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-11 13:55:46 +02:00
Haziq Rohaizan
a84e8c3884 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-05-10 17:16:08 -04:00
archon eleven
c9db6a78ee Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-05-10 17:16:08 -04:00
archon eleven
af5b09bd97 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-05-10 17:01:33 -04:00
Haziq Rohaizan
5b08bdda37 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2021-05-10 17:00:38 -04:00
David Ullmer
cb01dd8684 Use TMDb parental rating building from movies for shows 2021-05-10 20:56:20 +02:00
David Ullmer
db2b53a4b5 Refactor LocalizationManager and remove dead method 2021-05-10 18:05:35 +02:00
David Ullmer
88bfd1bcf4 Add tests for LocalizationManager 2021-05-10 17:58:21 +02:00
Ishan Badgainya
b9163ff2aa Translated using Weblate (Hindi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hi/
2021-05-10 11:30:58 -04:00
Erikas
289c06adca Translated using Weblate (Lithuanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2021-05-10 11:30:58 -04:00
thecoldicelander
a315ab4fa4 Translated using Weblate (Icelandic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/is/
2021-05-10 11:30:58 -04:00
Benjamin Vraspillai
b0a12c0bb0 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2021-05-10 11:30:58 -04:00
Benjamin Vraspillai
0115ca9bc2 Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2021-05-10 11:30:58 -04:00
Daniel Wykerd
b281488d36 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2021-05-10 11:30:58 -04:00
emmanuel billeaud
323bc75c13 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2021-05-10 11:30:58 -04:00
Benjamin Vraspillai
ba8ff2a7bc Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2021-05-10 11:30:58 -04:00
Dan Johansen
0668ab6721 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2021-05-10 11:30:58 -04:00
Levi
9c0d1f676d Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2021-05-10 11:30:58 -04:00
Marcus Hsu
566ad0907b Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2021-05-10 11:30:58 -04:00
Lukáš Kucharczyk
d2e8df1a48 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2021-05-10 11:30:58 -04:00
WWWesten
7af45a8f01 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-05-10 11:30:58 -04:00
0TTA
07ea5e2472 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2021-05-10 11:30:58 -04:00
a19guillermobf
85c771e64b Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2021-05-10 11:30:58 -04:00
Oskari Lavinto
9b2a87f981 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2021-05-10 11:30:58 -04:00
Federico Antoniazzi
7dc721923e Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2021-05-10 11:30:58 -04:00
radiusgreenhill
2bf2746231 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2021-05-10 11:30:58 -04:00
Koos van Riemsdijk
1237a7b82a Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-05-10 11:30:58 -04:00
WWWesten
dc15cc1370 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2021-05-10 11:30:58 -04:00
Robolov
061016a2a9 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2021-05-10 11:30:58 -04:00
Manjot Singh
0158f74d37 Translated using Weblate (Punjabi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pa/
2021-05-10 11:30:58 -04:00
flackseven
b5bde8d46e Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2021-05-10 11:30:58 -04:00
WWWesten
eaa102fc74 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2021-05-10 11:30:58 -04:00
WWWesten
90a8cd83f4 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2021-05-10 11:30:58 -04:00
Csaba
da5ca3f769 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2021-05-10 11:30:58 -04:00
WWWesten
95f25467c8 Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2021-05-10 11:30:58 -04:00
millallo
55f3dd4f2c Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2021-05-10 11:30:58 -04:00
Oatavandi
f56898a563 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2021-05-10 11:30:58 -04:00
WWWesten
2c66d36f10 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2021-05-10 11:30:58 -04:00
Csaba
c5783da4f6 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2021-05-10 11:30:58 -04:00
Baptiste
c78f584a99 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2021-05-10 11:30:58 -04:00
bvd13
7ebe30f0ab Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-05-10 11:30:58 -04:00
Patrick Barron
e55f35b62e Merge branch 'master' into using-declarations 2021-05-10 09:05:12 -04:00
dependabot[bot]
62a93d494b Bump prometheus-net.DotNetRuntime from 4.0.0 to 4.1.0
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/4.0.0...4.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 12:19:21 +00:00
BaronGreenback
903bf2a086 changed to use index 2021-05-08 16:00:41 +01:00
BaronGreenback
cb74a86975 Moved test 2021-05-08 13:33:47 +01:00
BaronGreenback
bd71de131c Changed to use span 2021-05-08 12:52:25 +01:00
BaronGreenback
7185de970c Merge remote-tracking branch 'upstream/master' into UrlDecoding 2021-05-08 12:22:09 +01:00
Bond_009
56ac64e70a Minor improvements
* properly dispose CancellationTokenSource
* rewrite DynamicHlsController.GetSegmentLengths
* remove dead code
2021-05-08 00:33:24 +02:00
Bond-009
d4a50be22c Merge pull request #6009 from jellyfin/nielsvanvelzen-disable-automation-ci
Disable automation CI on issues
2021-05-07 22:14:57 +02:00
crobibero
ce0e890d8d Mooooove the label commenter config 2021-05-07 13:39:38 -06:00
BaronGreenback
dca0298710 changed 2021-05-07 20:11:32 +01:00
Niels van Velzen
d21d1978a3 Disable automation CI on issues 2021-05-07 21:09:05 +02:00
BaronGreenback
8b34f76b63 Update Jellyfin.Api/Controllers/TestController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:51:31 +01:00
BaronGreenback
4c8cfaa61c Update Jellyfin.Api/Controllers/TestController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:51:15 +01:00
BaronGreenback
5ad8b53f5d Update Jellyfin.Api/Controllers/TestController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:51:04 +01:00
BaronGreenback
5f70b4ead1 Update tests/Jellyfin.Api.Tests/Controllers/EncodedQueryStringTest.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:50:38 +01:00
BaronGreenback
043e69d252 Update tests/Jellyfin.Api.Tests/Controllers/EncodedQueryStringTest.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:49:57 +01:00
BaronGreenback
af1fe1af6f Moved into test controller. 2021-05-07 14:37:26 +01:00
Bond-009
2f0ec9a70b Merge pull request #6005 from Bond-009/nullable3
Enable nullable reference types for Emby.Dlna
2021-05-07 15:14:30 +02:00
BaronGreenback
4f5c9e9504 tests and small fix. 2021-05-07 14:02:42 +01:00
Bond_009
06caee28b7 Enable nullable reference types for Emby.Dlna 2021-05-07 14:43:50 +02:00
Bond-009
a3c9edde34 Merge pull request #6000 from Bond-009/nullable2 2021-05-07 14:09:12 +02:00
Jake King
bc017737e6 Changed condition for readbility
- Refactored check if item is not audio book or book to be more readable
2021-05-07 10:35:03 +01:00
Bond_009
4367b97a54 Fix build 2021-05-07 00:52:06 +02:00
Bond_009
fb090df0b5 Enable nullable reference types for MediaBrowser.Controller 2021-05-07 00:39:20 +02:00
Bond_009
ead4e1e977 Add support for legacy HDhomerun DUAl 2021-05-06 23:54:42 +02:00
Bond-009
a4a3f598af Merge pull request #5982 from Bond-009/nullable 2021-05-06 23:33:41 +02:00
Bond_009
4b9a64c18c Abstract JsonDelimitedArrayConverter 2021-05-06 23:16:52 +02:00
wehrstedt
ad1d9d9a23 fixed no channel icons when using tvheadend (#5996)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Maximilian Wehrstedt <wehrstedt.coding@outlook.de>
2021-05-06 23:07:32 +02:00
Jake King
3cd57cb287 Fixes for Book Progress
- Ignore Books when checking for minium progress
2021-05-06 19:50:00 +01:00
Tobias Krönke
8eee32c8c2 Respect configured JELLYFIN_USER in Debian's postinst
In my setup I configured a different user. But updates keep "stealing" file permissions for my `$PROGRAMDATA $CONFIGDATA $LOGDATA $CACHEDATA` directories.
2021-05-06 18:56:13 +02:00
Bond-009
4b31c007e3 Merge pull request #4986 from Bond-009/readalllines
Use new ReadAllLines extensions
2021-05-06 17:10:41 +02:00
Bond_009
ddb04dc12b Use new ReadAllLines extensions 2021-05-06 14:12:43 +02:00
BaronGreenback
c8061f92be slight format correction. 2021-05-05 23:15:24 +01:00
BaronGreenback
dabeabc553 corrected comments 2021-05-05 23:14:05 +01:00
BaronGreenback
a7bccd4fe0 removed unneeded logger. 2021-05-05 23:09:04 +01:00
BaronGreenback
81d675990f Enable automatic url decoding 2021-05-05 22:52:39 +01:00
Bond-009
95b1cf532b Merge pull request #5985 from Bond-009/minor11 2021-05-05 19:22:01 +02:00
Bond-009
a6ee4632ce Merge pull request #5987 from Bond-009/ioob
PathExtensions: Fix index out of bounds in TryReplaceSubPath
2021-05-05 17:20:14 +02:00
Bond_009
47e7c1356c PathExtensions: Fix index out of bounds in TryReplaceSubPath
Fixes #5977
2021-05-05 16:45:04 +02:00
Bond_009
bcb4010db6 More improvements 2021-05-05 15:30:32 +02:00
Bond_009
787bcd4a83 Remove dead code 2021-05-05 14:45:08 +02:00
Bond_009
4479713e04 MediaStream: Replace string.IndexOf with string.Contains where possible 2021-05-05 14:44:53 +02:00
Bond_009
e432796f6f Minor improvements 2021-05-05 14:39:50 +02:00
Bond-009
d729a76707 Merge pull request #5934 from Bond-009/utf8
SqliteItemRepository: Parse ChannelId directly from utf-8 data
2021-05-05 14:04:20 +02:00
Bond-009
b6df851363 Merge pull request #5984 from Bond-009/container
Add regression test for ContainerProfile.ContainsContainer
2021-05-05 13:51:34 +02:00
BaronGreenback
2e98de9062 Code Clean up: Convert to null-coalescing operator ?? (#5845)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05 13:51:14 +02:00
Bond-009
04447ed014 Merge pull request #5979 from Ullmie02/nfo-fanart
Add support for fanart aspect in thumb tag
2021-05-05 13:39:56 +02:00
BaronGreenback
f2c10471bf Code Clean up: Use Pattern Matching (#5838)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05 13:37:36 +02:00
Bond_009
39931fe3ad Add regression test for ContainerProfile.ContainsContainer 2021-05-05 13:33:34 +02:00
Bond-009
18d799b22a Merge pull request #5980 from Maxr1998/fix-direct-play
Fix direct play for DirectPlayProfiles without any codecs set
2021-05-05 13:28:51 +02:00
Bond_009
91c2a57b28 Enable nullable reference types for MediaBrowser.Common 2021-05-05 12:57:01 +02:00
Maxr1998
65a9a4771a Fix direct play for DirectPlayProfiles without any codecs set
70771fdcd6 broke direct play by treating empty container/codec strings as unsupported in `ContainerProfile.ContainsContainer()`` (which is also used for video and audio codec checks). Instead, they should be treated as supported, for both the positive and negative list option.
2021-05-05 12:25:54 +02:00
David Ullmer
e57b80b8e2 Add support for fanart aspect in thumb tag 2021-05-05 10:11:31 +02:00
Bond-009
48e81e65e8 Merge pull request #5938 from cvium/allocationz 2021-05-05 09:35:30 +02:00
Bill Thornton
260782349c Fix web build in dockerfiles 2021-05-05 00:58:12 -04:00
Bill Thornton
52db719f50 Merge pull request #5963 from jellyfin/dependabot/github_actions/alex-page/github-project-automation-plus-v0.7.1
Bump alex-page/github-project-automation-plus from v0.6.0 to v0.7.1
2021-05-05 00:21:36 -04:00
Bill Thornton
f7435a605d Merge pull request #5944 from shortspider/ContinueReading
Add ResumeBook Section
2021-05-05 00:20:42 -04:00
Bill Thornton
df40828e1f Merge pull request #5941 from Maxr1998/device-profile-docs
Improve documentation for DeviceProfile
2021-05-05 00:19:49 -04:00
Bill Thornton
7fdd8df8a5 Merge pull request #5779 from joshuaboniface/issue-comments
Add label commenter workflow
2021-05-05 00:11:47 -04:00
Bill Thornton
7d8fca92f9 Merge pull request #5762 from BaronGreenback/networkTestHardening
Fix network test on dns failure
2021-05-05 00:10:11 -04:00
Bill Thornton
cd543f7e50 Merge pull request #5738 from cvium/resolve-from-path
Resolve name from episode folder
2021-05-05 00:08:40 -04:00
Bill Thornton
77f0f89e45 Merge pull request #5623 from barronpm/ef-cleanup2
EF Core Cleanup 2
2021-05-04 23:59:15 -04:00
Bill Thornton
9d02ebb577 Merge pull request #4981 from Ullmie02/nfo-ratings
Add .nfo ratings tag
2021-05-04 23:55:33 -04:00
Joshua M. Boniface
d655145867 Merge pull request #5973 from crobibero/legacy-ci-apiclient
Kill the CI
2021-05-04 21:32:08 -04:00
crobibero
08213f2368 Fully remove reference. 2021-05-04 19:30:51 -06:00
Joshua M. Boniface
a598a8071b Merge pull request #5968 from crobibero/legacy-ci-apiclient 2021-05-04 21:19:07 -04:00
Cody Robibero
08d0765623 Restore launchSettings.json 2021-05-04 19:17:16 -06:00
Joshua M. Boniface
fe0fce26e4 Merge pull request #5969 from crobibero/required-revert
Remove Required attributes
2021-05-04 21:14:23 -04:00
crobibero
1a178e8490 Remove Required attributes 2021-05-04 19:11:01 -06:00
crobibero
31cf9f4b76 Remove legacy apiclient generation 2021-05-04 18:21:08 -06:00
Maxr1998
031a5c122d Improve documentation for DeviceProfile 2021-05-05 00:58:43 +02:00
Bond-009
9d3f614527 Merge pull request #5943 from Maxr1998/device-profile-defaults 2021-05-05 00:40:32 +02:00
Maxr1998
b2bb062ced Revert shortened 'is ... or' check 2021-05-04 23:38:17 +02:00
Maxr1998
244ad5b225 Apply review feedback 2021-05-04 22:57:27 +02:00
cvium
ad3e835bcf remove redundant code 2021-05-04 19:57:03 +02:00
Bond-009
2390583b35 Merge pull request #5961 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.1.4
Bump Swashbuckle.AspNetCore.ReDoc from 6.1.3 to 6.1.4
2021-05-04 11:16:35 +02:00
dependabot[bot]
ee92dffa82 Bump Swashbuckle.AspNetCore.ReDoc from 6.1.3 to 6.1.4
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.3...v6.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-04 09:01:23 +00:00
Bond-009
ca5b86b1af Merge pull request #5960 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.1.4
Bump Swashbuckle.AspNetCore from 6.1.3 to 6.1.4
2021-05-04 10:54:22 +02:00
cvium
c0feb3694b rename to SplitEnumerator and fix test 2021-05-03 23:51:45 +02:00
Claus Vium
b9d18f0fa7 Merge branch 'master' into allocationz 2021-05-03 22:52:31 +02:00
Bond-009
8bcffdc52e Merge pull request #5962 from jellyfin/dependabot/nuget/SQLitePCL.pretty.netstandard-2.2.0 2021-05-03 17:31:09 +02:00
dependabot[bot]
2ee33bd602 Bump alex-page/github-project-automation-plus from v0.6.0 to v0.7.1
Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from v0.6.0 to v0.7.1.
- [Release notes](https://github.com/alex-page/github-project-automation-plus/releases)
- [Commits](https://github.com/alex-page/github-project-automation-plus/compare/v0.6.0...50502d399cbb98cefe7ce1f99f93f78c6756562e)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 12:03:25 +00:00
dependabot[bot]
9b1243cf5e Bump SQLitePCL.pretty.netstandard from 2.1.0 to 2.2.0
Bumps [SQLitePCL.pretty.netstandard](https://github.com/jellyfin/SQLitePCL.pretty.netstandard) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/jellyfin/SQLitePCL.pretty.netstandard/releases)
- [Commits](https://github.com/jellyfin/SQLitePCL.pretty.netstandard/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 12:00:50 +00:00
dependabot[bot]
6f722bac0f Bump Swashbuckle.AspNetCore from 6.1.3 to 6.1.4
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.3...v6.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 12:00:39 +00:00
Bond-009
e042651c54 Merge pull request #5956 from BaronGreenback/MultipleInstanciations
Minor optimization.
2021-05-03 09:50:47 +02:00
Joshua M. Boniface
e71cd8274a Merge pull request from GHSA-rgjw-4fwc-9v96
Remove /Images/Remote API endpoint
2021-05-02 16:53:36 -04:00
Bond-009
f6d967ded6 Merge pull request #5954 from Bond-009/tests5
Add tests for SqliteItemRepository.(De)SerializeProviderIds
2021-05-02 21:18:33 +02:00
BaronGreenback
bcba501dfb minor optimization. 2021-05-02 19:25:04 +01:00
Bond-009
7eb9f579a8 Merge pull request #5955 from Bond-009/tests6
Don't run integration tests in parallel
2021-05-02 17:48:45 +02:00
Bond_009
bdd7a37794 Don't run integration tests in parallel
* Easier to debug failing tests when the logs aren't scrambled
* Static properties could cause issues
2021-05-02 13:04:35 +02:00
Bond_009
874f92e93a Add tests for SqliteItemRepository.(De)SerializeProviderIds 2021-05-02 12:45:02 +02:00
Bond-009
ea5bc90189 Merge pull request #5952 from Bond-009/tests4 2021-05-02 11:35:21 +02:00
Joshua M. Boniface
3e4c860986 Remove /Items/RemoteSearch/Image API endpoint 2021-05-02 01:22:52 -04:00
Joshua M. Boniface
dc81d576ab Remove /Images/Remote API endpoint 2021-05-02 01:20:58 -04:00
Bond-009
266913c5d8 Merge pull request #5937 from Maxr1998/videoscontroller-api-fix
Remove extraneous 'stream' parameter
2021-05-02 00:43:41 +02:00
Bond_009
8a6b9e1fb6 Add tests for SqliteItemRepository.(De)SerializeImages 2021-05-02 00:26:30 +02:00
Bond-009
9a8c08b3e7 Merge pull request #5945 from Bond-009/fix
Fix scanning
2021-05-01 17:43:12 +02:00
Bond-009
214ab0b45f Merge pull request #5946 from Bond-009/tmdbutils
TmdbUtils: Use ordinal string compare
2021-05-01 17:43:05 +02:00
Bond_009
e128b6d997 TmdbUtils: Use ordinal string compare 2021-05-01 15:59:21 +02:00
Bond_009
c608d5104d Fix scanning 2021-05-01 15:56:16 +02:00
Maxr1998
70771fdcd6 Nullability handling for device profile classes 2021-05-01 13:06:10 +02:00
cvium
716cbb0695 remove span based setproviderid 2021-04-30 23:35:29 +02:00
Bond-009
360d80c873 Merge pull request #5890 from Bond-009/filesystem
Reduce string allocations/fs lookups in resolve code
2021-04-30 20:45:43 +02:00
cvium
ba2e346d12 prevent cancellationtoken leakage 2021-04-30 15:27:07 +02:00
cvium
a6726730fc revert the last bits of the getcount experiment 2021-04-30 15:11:16 +02:00
cvium
608cba817c Reduce some allocations with the magic of spans etc. 2021-04-30 15:09:36 +02:00
Maxr1998
e90fbe90f9 Remove extraneous 'stream' parameter
The argument isn't passed to the method but causes the API generator to include an unnecessary parameter.
Also fixes some typos in the documentation comments.
2021-04-30 15:07:27 +02:00
Bond-009
13d09cbc47 Merge pull request #5911 from jellyfin/dependabot/nuget/AutoFixture.AutoMoq-4.17.0
Bump AutoFixture.AutoMoq from 4.16.0 to 4.17.0
2021-04-30 12:47:42 +02:00
dependabot[bot]
182117d0a7 Bump AutoFixture.AutoMoq from 4.16.0 to 4.17.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 08:47:38 +00:00
Bond-009
a4837475d3 Merge pull request #5913 from jellyfin/dependabot/nuget/AutoFixture.Xunit2-4.17.0
Bump AutoFixture.Xunit2 from 4.16.0 to 4.17.0
2021-04-30 10:32:26 +02:00
Nathan Mascitelli
bdab8d1edb Add ResumeBook section 2021-04-29 22:35:57 -04:00
Bond-009
eeb5d4bd1e Merge pull request #5842 from BaronGreenback/optimization
Code Clean up: Group Methods
2021-04-29 21:14:57 +02:00
Bond-009
78e66325fd Merge pull request #5891 from Bond-009/filesystem2 2021-04-29 21:14:14 +02:00
Bond-009
7195d3e42f Merge pull request #5893 from Bond-009/db
SqliteItemRepository: remove redundant operations
2021-04-29 21:13:24 +02:00
Bond_009
34313ef216 SqliteItemRepository: Parse ChannelId directly from utf-8 data 2021-04-29 16:23:29 +02:00
Bond-009
dcc2df75ec Merge pull request #5903 from iwalton3/auto-leave-syncplay
Leave SyncPlay group on session disconnect.
2021-04-29 14:19:07 +02:00
Cody Robibero
69e91c33d8 Update Jellyfin.Api/Controllers/GenresController.cs 2021-04-29 04:10:26 -06:00
crobibero
d27ca993a5 Add ability to sort on Genre, MusicGenre, Artist 2021-04-28 18:33:30 -06:00
dependabot[bot]
c1563d9303 Bump AutoFixture.Xunit2 from 4.16.0 to 4.17.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 13:35:13 +00:00
Bond-009
adfc03ac9d Merge pull request #5651 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-4.0.0
Bump prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0
2021-04-27 15:34:38 +02:00
Bond-009
bca06cb1d7 Merge pull request #5912 from jellyfin/dependabot/nuget/AutoFixture-4.17.0
Bump AutoFixture from 4.16.0 to 4.17.0
2021-04-27 15:34:26 +02:00
Bond-009
b95ae84319 Merge pull request #5915 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.1.3
Bump Swashbuckle.AspNetCore.ReDoc from 6.0.7 to 6.1.3
2021-04-26 23:57:49 +02:00
dependabot[bot]
a3cb8dbc9d Bump Swashbuckle.AspNetCore.ReDoc from 6.0.7 to 6.1.3
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.0.7 to 6.1.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.7...v6.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 21:47:14 +00:00
Bond-009
1c4e7f6e10 Merge pull request #5917 from jellyfin/dependabot/github_actions/alex-page/github-project-automation-plus-v0.6.0
Bump alex-page/github-project-automation-plus from v0.5.1 to v0.6.0
2021-04-26 23:46:27 +02:00
Bond-009
ad3fc093b1 Merge pull request #5914 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.1.3
Bump Swashbuckle.AspNetCore from 6.0.7 to 6.1.3
2021-04-26 23:46:09 +02:00
dependabot[bot]
47c54166e1 Bump prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 3.4.1 to 4.0.0.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/3.4.1...4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 14:43:14 +00:00
Bond-009
b54f799121 Merge pull request #5916 from jellyfin/dependabot/nuget/sharpcompress-0.28.2
Bump sharpcompress from 0.28.1 to 0.28.2
2021-04-26 16:42:27 +02:00
dependabot[bot]
e409d89138 Bump alex-page/github-project-automation-plus from v0.5.1 to v0.6.0
Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from v0.5.1 to v0.6.0.
- [Release notes](https://github.com/alex-page/github-project-automation-plus/releases)
- [Commits](https://github.com/alex-page/github-project-automation-plus/compare/v0.5.1...4230e39aec629f1b622666350cdbdf29ff149aca)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 12:03:24 +00:00
dependabot[bot]
24a05bc9f8 Bump sharpcompress from 0.28.1 to 0.28.2
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.28.1 to 0.28.2.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.28.1...0.28.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 12:00:57 +00:00
dependabot[bot]
d5037a8988 Bump Swashbuckle.AspNetCore from 6.0.7 to 6.1.3
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.0.7 to 6.1.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.7...v6.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 12:00:48 +00:00
dependabot[bot]
eee3b385da Bump AutoFixture from 4.16.0 to 4.17.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 12:00:42 +00:00
Bond-009
5df87b3e0d Merge pull request #5904 from cvium/fix-updatepeople-questionmark
add UpdatePeopleAsync and add people to both tables
2021-04-25 18:53:28 +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
Claus Vium
12496677bd Merge pull request #5861 from BaronGreenback/ProfileMatch
Change profile matching to match what the web interface says.
2021-04-25 17:27:32 +02:00
cvium
77261a8445 add UpdatePeopleAsync and add people to both tables 2021-04-24 20:22:23 +02:00
Ian Walton
e4691d45f5 Leave SyncPlay group on session disconnect. 2021-04-24 11:32:34 -04:00
Bond-009
224c48821e Merge pull request #5887 from Bond-009/perf
Improve perf of db save and query
2021-04-24 15:57:51 +02:00
Bond-009
1a54338e38 Merge pull request #5892 from crobibero/password-obsolete 2021-04-23 10:17:49 +02:00
Bond-009
184e05aeb6 Merge pull request #5681 from BaronGreenback/ContentFeatureOptimization
Various DLNA Optimizations
2021-04-22 16:45:36 +02:00
Bond-009
d83b2b1b2e Merge pull request #5889 from Bond-009/di
Remove unused/duplicate services
2021-04-22 16:36:39 +02:00
Bond_009
a02e37daa0 SqliteItemRepository: remove redundant operations
removed:
* nameof -> FullName lookup
* IndexOf before Replace
* Enum.GetNames -> Enum.Parse roundtrip
2021-04-22 16:05:12 +02:00
crobibero
940c30081e Mark PasswordSha1 as obsolete 2021-04-22 06:49:54 -06:00
crobibero
856819e58f Don't use obsolete Password property 2021-04-22 06:49:42 -06:00
Bond_009
33327aa1a9 Improve fast path of ManagedFileSystem.GetValidFilename
|                      Method |          Data |        Mean |     Error |    StdDev |      Median |  Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------------------- |-------------- |------------:|----------:|----------:|------------:|-------:|------:|------:|----------:|
|       GetValidFilenameBench |    AC/DCKD/A |    52.29 ns |  0.537 ns |  0.448 ns |    52.35 ns | 0.0255 |     - |     - |      80 B |
|    GetValidFilenameOldBench |    AC/DCKD/A |    86.68 ns |  1.205 ns |  1.127 ns |    86.33 ns | 0.0587 |     - |     - |     184 B |
|    GetValidFilenameWinBench |    AC/DCKD/A |   448.55 ns |  1.228 ns |  1.088 ns |   448.33 ns | 0.0505 |     - |     - |     160 B |
| GetValidFilenameOldWinBench |    AC/DCKD/A |   865.21 ns |  5.734 ns |  5.083 ns |   866.60 ns | 0.0839 |     - |     - |     264 B |
|       GetValidFilenameBench | ValidFileName |    16.00 ns |  0.234 ns |  0.207 ns |    16.02 ns | 0.0102 |     - |     - |      32 B |
|    GetValidFilenameOldBench | ValidFileName |   100.66 ns |  1.255 ns |  1.174 ns |   101.21 ns | 0.0587 |     - |     - |     184 B |
|    GetValidFilenameWinBench | ValidFileName |   116.60 ns |  1.624 ns |  1.519 ns |   116.88 ns | 0.0356 |     - |     - |     112 B |
| GetValidFilenameOldWinBench | ValidFileName | 1,052.66 ns | 18.077 ns | 33.056 ns | 1,037.25 ns | 0.0839 |     - |     - |     264 B |
2021-04-22 12:31:47 +02:00
crobibero
5b0dc21c64 Mark password property as obsolete 2021-04-21 20:46:15 -06:00
Bond_009
81209258ab ManagedFileSystem: Rewrite GetValidFilename and more improvements 2021-04-22 03:11:21 +02:00
Bond_009
b323044139 Reduce string allocations/fs lookups in resolve code 2021-04-22 01:24:21 +02:00
Bond_009
b0914f9f2c Remove unused/duplicate services 2021-04-22 01:20:55 +02:00
Bond_009
f46195899e Improve perf of db save and query 2021-04-21 22:25:08 +02:00
Bond-009
95ab603a40 Merge pull request #5878 from Artiume/patch-2 2021-04-21 20:05:42 +02:00
artiume
831e768ee7 Request more logs 2021-04-21 13:15:03 -04:00
Bond-009
e19d89bb4f Merge pull request #5881 from cvium/tmdb-episode-externalids
Add tvrage and imdb ids for episodes
2021-04-21 16:15:53 +02:00
Bond-009
aa992efd31 Update MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProvider.cs 2021-04-21 16:15:31 +02:00
Bond-009
d5163b4167 Merge pull request #5877 from Bond-009/circ1
EncodingHelper: Fix circular dependency
2021-04-21 15:49:17 +02:00
Bond-009
24103d0953 Merge pull request #5876 from Bond-009/nullref5
DeepCopy: Throw ArgumentNullException if one of the args is null
2021-04-21 14:08:36 +02:00
Bond-009
86a2e6eeda Merge pull request #5867 from Bond-009/provider
ProviderManager: fix discard and 2 warnings
2021-04-21 13:53:53 +02:00
Bond-009
6b103f7ab2 Merge pull request #5870 from cvium/fix-tmdbpersonprovider 2021-04-21 13:53:41 +02:00
Bond-009
18cf030c77 Merge pull request #5866 from Bond-009/httpmsghandler
Switch from HttpClientHandler to SocketsHttpHandler
2021-04-21 13:53:03 +02:00
Bond-009
48ed4b016c Merge pull request #5808 from cvium/semi-fix-collection-perf 2021-04-21 13:52:51 +02:00
Bond-009
da78a96312 Merge pull request #5807 from Bond-009/refreshdelay
Remove throttle in refresh code
2021-04-21 13:52:05 +02:00
artiume
005ae80b31 Update var names 2021-04-21 07:11:14 -04:00
BaronGreenback
20e19ae9b3 Moved Assert 2021-04-21 12:08:02 +01:00
BaronGreenback
53e1b302cc Changes as requested 2021-04-21 10:18:29 +01:00
BaronGreenback
39eb5da44f Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:21 +01:00
BaronGreenback
740e5ec167 Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:14 +01:00
BaronGreenback
2559ceffab Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:05 +01:00
cvium
96348ed744 Add tvrage and imdb ids for episodes 2021-04-21 08:33:29 +02:00
artiume
dcd96909cd Fix Audiobook Resume
https://github.com/jellyfin/jellyfin/issues/5703
2021-04-20 19:28:18 -04:00
Bond_009
499bac5185 EncodingHelper: Fix circular dependency 2021-04-20 23:03:36 +02:00
Bond_009
63e9b1ae2d DeepCopy: Throw ArgumentNullException if one of the args is null 2021-04-20 22:59:51 +02:00
BaronGreenback
522d5a7158 Fixed indent 2021-04-20 18:17:48 +01:00
BaronGreenback
41246909dc fixed merge 2021-04-20 18:14:50 +01:00
BaronGreenback
f8b717e7c5 Merge branch 'master' into ProfileMatch 2021-04-20 18:10:38 +01:00
BaronGreenback
7848ea1484 missed one. 2021-04-20 18:08:19 +01:00
BaronGreenback
a99caa0daa Changed testing 2021-04-20 18:05:38 +01:00
Bond-009
5a6e60b414 Merge pull request #5859 from cvium/fix-streambuilder-permissions
Respect user settings for transcode and remux
2021-04-20 17:56:12 +02:00
Bond-009
233900401e Merge pull request #5873 from cvium/fix-displaypref-migration 2021-04-20 15:51:57 +02:00
cvium
4d7c1fbdca use int.Parse 2021-04-20 13:43:05 +02:00
cvium
c0ea56a10d use int.Parse 2021-04-20 13:35:08 +02:00
Bond-009
94d339cf12 Merge pull request #5744 from mohd-akram/absolute-dvd-order 2021-04-20 13:29:31 +02:00
cvium
cbb855e65f Check for empty string when migrating displaypreferences 2021-04-20 13:24:15 +02:00
BaronGreenback
092c610fbf Update Emby.Dlna/DlnaManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-20 08:26:41 +01:00
cvium
06b8cf42d1 Fix TMDb Person Provider 2021-04-20 08:59:15 +02:00
Bond_009
dcd6ab769b ProviderManager: fix discard and 2 warnings 2021-04-19 23:52:58 +02:00
Bond_009
500c2e5224 Switch from HttpClientHandler to SocketsHttpHandler
SocketsHttpHandler is the default for .Net Core 2.1 and newer

Set RequestHeaderEncoding to UTF-8 by default
2021-04-19 22:37:24 +02:00
BaronGreenback
4449217f8f simplified isMatch 2021-04-19 14:24:58 +01:00
Bond-009
4c915f5edf Merge pull request #5683 from jellyfin/dependabot/nuget/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 12.0.3 to 13.0.1
2021-04-19 15:11:11 +02:00
Bond-009
83f20fee4a Merge pull request #5799 from jellyfin/dependabot/nuget/AutoFixture.Xunit2-4.16.0
Bump AutoFixture.Xunit2 from 4.15.0 to 4.16.0
2021-04-19 15:10:11 +02:00
dependabot[bot]
dc628d1e1c Bump AutoFixture.Xunit2 from 4.15.0 to 4.16.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 13:07:31 +00:00
BaronGreenback
95b733ad4c reworked code 2021-04-19 14:07:14 +01:00
Bond-009
8e6d79aa3e Merge pull request #5690 from jellyfin/dependabot/nuget/AutoFixture.AutoMoq-4.16.0
Bump AutoFixture.AutoMoq from 4.15.0 to 4.16.0
2021-04-19 15:06:45 +02:00
Bond-009
5a4cfe11cf Merge pull request #5863 from cvium/fix-index-migration
use IF NOT EXISTS in migration
2021-04-19 15:06:08 +02:00
Mohamed Akram
64071873a0 Use StringComparison.Ordinal 2021-04-19 16:51:44 +04:00
Bond-009
4eeb69233d Merge pull request #5852 from cvium/fix-person-creation
Add Person to TypedBaseItems if it's new
2021-04-19 14:28:57 +02:00
dependabot[bot]
442bc8671b Bump AutoFixture.AutoMoq from 4.15.0 to 4.16.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 12:08:51 +00:00
Bond-009
8536418553 Merge pull request #5809 from jellyfin/dependabot/nuget/AutoFixture-4.16.0
Bump AutoFixture from 4.15.0 to 4.16.0
2021-04-19 14:07:57 +02:00
Bond-009
ebe8301404 Merge pull request #5860 from cvium/fix-notification-user-list
Fix notification disabled users list
2021-04-19 14:07:18 +02:00
cvium
586e1fc58a use IF NOT EXISTS in migration 2021-04-19 13:51:55 +02:00
BaronGreenback
c68f616377 Flip fields 2021-04-19 12:36:30 +01:00
Mohamed Akram
90b941b3f6 Add review changes 2021-04-19 14:59:24 +04:00
cvium
a9ca3c8b01 Fix notification disabled users list 2021-04-19 11:38:27 +02:00
cvium
8933389753 Respect user settings for transcode and remux 2021-04-19 10:49:52 +02:00
Claus Vium
665220c4fb Merge pull request #5848 from sgmoore/IndexError
Fix ArgumentOutOfRangeException scanning AudioBooks
2021-04-19 08:29:28 +02:00
cvium
351b987982 Add Person to TypedBaseItems if it's new 2021-04-18 12:34:33 +02:00
Stephen Moore
e841922ffd Fix ArgumentOutOfRangeException scanning AudioBooks
AudioResolver.ResolveMultipleAudio method can attempt to access the first item in a List without checking if the list is empty which throws an ArgumentOutOfRangeException and stops the 'Scan Library' process.
2021-04-17 17:21:40 +01:00
Bond-009
990e4e8e58 Merge pull request #5843 from BaronGreenback/Cleanup4
Code Clean up: Remove unused using directives
2021-04-17 14:51:33 +02:00
BaronGreenback
bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00
BaronGreenback
bb6fddde9a Group Methods 2021-04-17 11:19:09 +01:00
Jack
198cc6e76a Some code cleanup. Allow NextUpDateCutoff to be null 2021-04-16 13:57:22 -04:00
Jack
d7855500c2 Add NextUpCutoffDate to NextUpQuery 2021-04-15 14:48:21 -04:00
BaronGreenback
3199d1c902 Fix: PlayTo using external ip not internal 2021-04-15 18:36:47 +01:00
Cody Robibero
b63f615fd4 Enable nullability for ServerDiscoveryInfo (#5804) 2021-04-15 15:39:59 +02:00
Bond-009
91d6ffd731 Merge pull request #5810 from jellyfin/dependabot/github_actions/eps1lon/actions-label-merge-conflict-v2.0.1
Bump eps1lon/actions-label-merge-conflict from v2.0.0 to v2.0.1
2021-04-14 22:47:48 +02:00
Joshua M. Boniface
e2cfc308ea Merge pull request #5729 from crobibero/dotnet5.0.5
Update to dotnet 5.0.5
2021-04-14 09:49:43 -04:00
Bond-009
159431ad2a Merge pull request #5612 from Bond-009/passwordhash 2021-04-14 15:41:23 +02:00
dependabot[bot]
1d4c8dcde3 Bump eps1lon/actions-label-merge-conflict from v2.0.0 to v2.0.1
Bumps [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict) from v2.0.0 to v2.0.1.
- [Release notes](https://github.com/eps1lon/actions-label-merge-conflict/releases)
- [Changelog](https://github.com/eps1lon/actions-label-merge-conflict/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eps1lon/actions-label-merge-conflict/compare/v2.0.0...b8bf8341285ec9a4567d4318ba474fee998a6919)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 12:51:54 +00:00
Bond-009
9b4f1bbf19 Add workflows for rebase and automation (#5451)
Add workflows for rebase and automation
2021-04-14 14:51:27 +02:00
crobibero
78791a932f Simplify baseUrl check 2021-04-14 06:44:11 -06:00
Fernando Fernández
55700e0d1c Add workflows for rebase and project automation 2021-04-14 14:14:17 +02:00
BaronGreenback
0b774eac12 Enables the ability to bind to loopback address. (#5773) 2021-04-14 11:26:05 +02:00
Patrick Barron
12fa5c0c41 Add AccessToken to device 2021-04-13 20:01:31 -04:00
Patrick Barron
75df6965a0 Don't use database for QuickConnect 2021-04-13 20:01:21 -04:00
cvium
d44b2e2ee5 fixes 2021-04-13 20:12:50 +02:00
Bond_009
3d0a42da9e Remove throttle in refresh code 2021-04-13 20:09:50 +02:00
dependabot[bot]
d459f625d5 Bump Newtonsoft.Json from 12.0.3 to 13.0.1
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 17:11:49 +00:00
dependabot[bot]
27202ae8aa Bump AutoFixture from 4.15.0 to 4.16.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 17:11:34 +00:00
Bond-009
51af569159 Merge pull request #5802 from jellyfin/dependabot/nuget/TMDbLib-1.8.1
Bump TMDbLib from 1.7.3-alpha to 1.8.1
2021-04-13 19:10:59 +02:00
Bond-009
7c9772ac81 Merge pull request #5713 from Bond-009/websocketauth
Add tests for unauthenticated websocket access
2021-04-13 18:29:29 +02:00
Bond-009
ba2a1c0209 Merge pull request #5806 from Bond-009/nullref5
Fix possible ArgumentNullException
2021-04-13 18:00:33 +02:00
Bond_009
2b948aead9 Fix possible ArgumentNullException
```
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem
           item, IRemoteImageProvider provider, IReadOnlyCollection`1
           preferredLanguages, CancellationToken cancellationToken,
           Nullable`1 type) in
   /home/bond/dev/jellyfin/MediaBrowser.Providers/Manager/ProviderManager.cs:line
   280
```
2021-04-13 19:53:09 +02:00
Bond-009
4d014e3e5a Merge pull request #5653 from jellyfin/dependabot/nuget/BlurHashSharp.SkiaSharp-1.2.0
Bump BlurHashSharp.SkiaSharp from 1.1.1 to 1.2.0
2021-04-13 16:34:51 +02:00
cvium
723b6abcb3 Optimize the way items are grouped into collections 2021-04-13 15:38:13 +02:00
crobibero
b11718a01d Properly redirect healthcheck endpoint if using BaseUrl 2021-04-13 07:12:49 -06:00
dependabot[bot]
f1c4b541c1 Bump TMDbLib from 1.7.3-alpha to 1.8.1
Bumps [TMDbLib](https://github.com/LordMike/TMDbLib) from 1.7.3-alpha to 1.8.1.
- [Release notes](https://github.com/LordMike/TMDbLib/releases)
- [Commits](https://github.com/LordMike/TMDbLib/compare/v1.7.3-alpha...v1.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 13:09:28 +00:00
dependabot[bot]
63355af518 Bump BlurHashSharp.SkiaSharp from 1.1.1 to 1.2.0
Bumps [BlurHashSharp.SkiaSharp](https://github.com/Bond-009/BlurHashSharp) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/Bond-009/BlurHashSharp/releases)
- [Commits](https://github.com/Bond-009/BlurHashSharp/commits/v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 13:09:10 +00:00
Bond-009
89ae336694 Merge pull request #5654 from jellyfin/dependabot/nuget/BlurHashSharp-1.2.0
Bump BlurHashSharp from 1.1.1 to 1.2.0
2021-04-13 15:08:25 +02:00
Bond-009
8fdb3c88c4 Merge pull request #5794 from richlander/patch-1
Remove coupling to distro
2021-04-13 14:51:38 +02:00
Bond-009
0dbaa97d0d Merge pull request #5792 from Bond-009/nullref4 2021-04-13 11:25:51 +02:00
Rich Lander
fe54e9ae9d Remove coupling to distro
- The substring `-buster-slim` isn't useful/correct. 
- .NET 6 (from my team) is based exclusively on bullseye.
- If you update just `DOTNET_VERSION` to `6.0`, `docker build` will fail. 
- If the goal is to force using `buster` throughout the Dockerfile, then making `DOTNET_VERSION` configurable isn't correct.
- Context: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/6.0/bullseye-slim/amd64/Dockerfile#L1

Just saw this as a drive by look at your code. Is intended as helpful context.
2021-04-12 17:16:26 -07:00
Bond-009
8a73e19f5e Merge pull request #5768 from Bond-009/dangling 2021-04-12 22:43:26 +02:00
Bond_009
8045a488ce Fix possible ArgumentNullException
```
  Error Message:
   System.ArgumentNullException : Value cannot be null. (Parameter 'source')
  Stack Trace:
     at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Emby.Server.Implementations.Library.LibraryManager.ResolveItem(ItemResolveArgs args, IItemResolver[] resolvers) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 475
   at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, String collectionType, LibraryOptions libraryOptions) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 618
   at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, Folder parent) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 536
   at Emby.Server.Implementations.Library.LibraryManager.GetUserRootFolder() in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 812
   at Emby.Server.Implementations.Library.LibraryManager.GetCollectionFolders(BaseItem item) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 2080
   at Emby.Server.Implementations.Library.LibraryManager.GetLibraryOptions(BaseItem item) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 2116
   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IEnumerable`1 savers) in /home/vsts/work/1/s/MediaBrowser.Providers/Manager/ProviderManager.cs:line 672
   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType) in /home/vsts/work/1/s/MediaBrowser.Providers/Manager/ProviderManager.cs:line 655
   at Emby.Server.Implementations.Library.LibraryManager.RunMetadataSavers(BaseItem item, ItemUpdateType updateReason) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 2017
   at Emby.Server.Implementations.Library.LibraryManager.UpdateItemsAsync(IReadOnlyList`1 items, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 1975
   at Emby.Server.Implementations.Library.LibraryManager.CreateRootFolder() in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 775
   at Emby.Server.Implementations.Library.LibraryManager.get_RootFolder() in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 180
   at Emby.Server.Implementations.IO.LibraryMonitor.Start() in /home/vsts/work/1/s/Emby.Server.Implementations/IO/LibraryMonitor.cs:line 135
   at Emby.Server.Implementations.IO.LibraryMonitorStartup.RunAsync() in /home/vsts/work/1/s/Emby.Server.Implementations/IO/LibraryMonitorStartup.cs:line 26
   at Emby.Server.Implementations.ApplicationHost.StartEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)+MoveNext() in /home/vsts/work/1/s/Emby.Server.Implementations/ApplicationHost.cs:line 518
   at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
   at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/Emby.Server.Implementations/ApplicationHost.cs:line 502
   at Jellyfin.Server.Integration.Tests.JellyfinApplicationFactory.CreateServer(IWebHostBuilder builder) in /home/vsts/work/1/s/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs:line 101
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Jellyfin.Server.Integration.Tests.Controllers.ActivityLogControllerTests.ActivityLog_GetEntries_Ok() in /home/vsts/work/1/s/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs:line 21
--- End of stack trace from previous location ---
```
2021-04-12 22:01:35 +02:00
Claus Vium
dc4714fe40 fix webp compatibility testing (#5787) 2021-04-12 19:54:32 +02:00
Cody Robibero
cc59abd54e Mark cropWhitespace parameter as obsolete (#5751) 2021-04-12 15:50:24 +02:00
Bond-009
b94218849c Merge pull request #5784 from Bond-009/racecondition
Fix random failing of tests
2021-04-12 15:47:37 +02:00
BaronGreenback
10d358c8da Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2021-04-12 10:28:24 +01:00
Bond_009
a4ffc7a813 Fix random failing of tests
Fully initialize the configuration manager at the init stage

```
Failed Jellyfin.Server.Integration.Tests.Controllers.ActivityLogControllerTests.ActivityLog_GetEntries_Ok [2 s]
  Error Message:
   MediaBrowser.Common.Extensions.ResourceNotFoundException : Configuration with key metadata not found.
  Stack Trace:
     at Emby.Server.Implementations.AppBase.BaseConfigurationManager.<>c__DisplayClass43_0.<GetConfiguration>b__0(String k) in D:\a\1\s\Emby.Server.Implementations\AppBase\BaseConfigurationManager.cs:line 309
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Emby.Server.Implementations.AppBase.BaseConfigurationManager.GetConfiguration(String key) in D:\a\1\s\Emby.Server.Implementations\AppBase\BaseConfigurationManager.cs:line 300
   at MediaBrowser.Common.Configuration.ConfigurationManagerExtensions.GetConfiguration[T](IConfigurationManager manager, String key) in D:\a\1\s\MediaBrowser.Common\Configuration\IConfigurationManager.cs:line 88
   at MediaBrowser.Controller.Library.MetadataConfigurationExtensions.GetMetadataConfiguration(IConfigurationManager config) in D:\a\1\s\MediaBrowser.Controller\Library\MetadataConfigurationStore.cs:line 28
   at Emby.Server.Implementations.Library.ResolverHelper.SetDateCreated(BaseItem item, IFileSystem fileSystem, FileSystemMetadata info) in D:\a\1\s\Emby.Server.Implementations\Library\ResolverHelper.cs:line 159
   at Emby.Server.Implementations.Library.ResolverHelper.EnsureDates(IFileSystem fileSystem, BaseItem item, ItemResolveArgs args) in D:\a\1\s\Emby.Server.Implementations\Library\ResolverHelper.cs:line 153
   at Emby.Server.Implementations.Library.ResolverHelper.SetInitialItemValues(BaseItem item, ItemResolveArgs args, IFileSystem fileSystem, ILibraryManager libraryManager) in D:\a\1\s\Emby.Server.Implementations\Library\ResolverHelper.cs:line 81
   at Emby.Server.Implementations.Library.LibraryManager.ResolveItem(ItemResolveArgs args, IItemResolver[] resolvers) in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 480
   at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, String collectionType, LibraryOptions libraryOptions) in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 618
   at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, Folder parent) in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 536
   at Emby.Server.Implementations.Library.LibraryManager.CreateRootFolder() in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 732
   at Emby.Server.Implementations.Library.LibraryManager.get_RootFolder() in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 180
   at Emby.Server.Implementations.IO.LibraryMonitor.Start() in D:\a\1\s\Emby.Server.Implementations\IO\LibraryMonitor.cs:line 135
   at Emby.Server.Implementations.IO.LibraryMonitorStartup.RunAsync() in D:\a\1\s\Emby.Server.Implementations\IO\LibraryMonitorStartup.cs:line 26
   at Emby.Server.Implementations.ApplicationHost.StartEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)+MoveNext() in D:\a\1\s\Emby.Server.Implementations\ApplicationHost.cs:line 541
   at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
   at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync(CancellationToken cancellationToken) in D:\a\1\s\Emby.Server.Implementations\ApplicationHost.cs:line 525
   at Jellyfin.Server.Integration.Tests.JellyfinApplicationFactory.CreateServer(IWebHostBuilder builder) in D:\a\1\s\tests\Jellyfin.Server.Integration.Tests\JellyfinApplicationFactory.cs:line 101
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Jellyfin.Server.Integration.Tests.Controllers.ActivityLogControllerTests.ActivityLog_GetEntries_Ok() in D:\a\1\s\tests\Jellyfin.Server.Integration.Tests\Controllers\ActivityLogControllerTests.cs:line 21
--- End of stack trace from previous location ---

```
2021-04-12 00:28:17 +02:00
Bond-009
1361ccd9ea Merge pull request #5763 from Bond-009/ipobjects
Minor improvements to IPObjects
2021-04-11 23:31:03 +02:00
Joshua M. Boniface
4deccd451e Mention testing too 2021-04-11 16:31:10 -04:00
Joshua M. Boniface
f381c53634 Fix typo 2021-04-11 14:51:45 -04:00
Joshua M. Boniface
7aa53b060e Add label commenter workflow
Right now the main purpose is to handle instructions for stable
backports. Can be expanded in the future.
2021-04-11 14:46:43 -04:00
Joshua M. Boniface
770c123d12 Merge pull request #5764 from cvium/fix-folders-perms
Do not check permissions for Folders collectiontype
2021-04-11 13:30:15 -04:00
Joshua M. Boniface
19e7ebb279 Merge pull request #5416 from BaronGreenback/SubnetOverlappFix 2021-04-11 13:29:00 -04:00
Joshua M. Boniface
cd0daa7985 Merge pull request #5748 from cvium/playlist-audio-type
Set mediatype to Audio for playlists in a music library
2021-04-11 13:28:49 -04:00
BaronGreenback
fb7587dd84 Renamed 2021-04-11 17:17:05 +01:00
Bond-009
58fb3e9610 Merge pull request #5767 from cvium/dont-delete-artwork
Do not touch "old" local artwork unless saving locally
2021-04-11 17:56:01 +02:00
Bond-009
790f7430aa Merge pull request #5556 from oddstr13/image-fill-resize 2021-04-11 13:34:22 +02:00
Bond-009
f0625bb023 Merge pull request #5769 from cvium/workstation-gc
Enable Workstation GC mode
2021-04-11 13:33:42 +02:00
cvium
01491796a2 Enable Workstation GC mode 2021-04-11 12:57:28 +02:00
Odd Stråbø
d0857cf655 Fix build, increase StringBuilder starting size 2021-04-11 08:21:23 +02:00
Odd Stråbø
e0edbc5754 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-11 08:21:23 +02:00
Odd Stråbø
afff226514 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-11 08:21:23 +02:00
Odd Stråbø
e57c1655fb Remove GetSizeEstimate & GetEstimatedAspectRatio
from MediaBrowser.Controller.Drawing.ImageHelper

Rework GetCacheFilePath to take requested with and height parameters
in stead of using estimated output size
2021-04-11 08:21:23 +02:00
Odd Stråbø
13d0837b78 (mostly)Fix ResizeFill 2021-04-11 08:21:23 +02:00
Odd Stråbø
383aa4e4d9 Add Resize to fill box alternative to image endpoints 2021-04-11 08:20:47 +02:00
Bond-009
240e67d485 Merge pull request #5747 from cvium/more-convertimage-fixes
Catch IOException and include stack trace when saving images
2021-04-11 00:58:49 +02:00
Bond-009
f4654aaeb1 Merge pull request #5766 from cvium/fix-scheduledtaskworker
Use sync Serialize when writing scheduled tasks to disk
2021-04-11 00:38:44 +02:00
Bond_009
5fc664fd4f Add test for handling dangling symlinks 2021-04-11 00:35:32 +02:00
cvium
35cfd760d4 Do not touch "old" local artwork unless saving locally 2021-04-11 00:27:53 +02:00
cvium
42bcf171d9 Use sync Serialize when writing scheduled tasks to disk 2021-04-10 23:54:35 +02:00
Bond-009
62117a6c12 Merge pull request #5746 from cvium/dangling-symlinks 2021-04-10 23:18:55 +02:00
Patrick Barron
ed0b5ff017 Fix builds 2021-04-10 17:11:59 -04:00
Claus Vium
bf510ca04e Merge pull request #5750 from iwalton3/fix-audio-selection-uns
Fix setting audio stream in PlaybackInfo for jellyfin-web.
2021-04-10 23:10:16 +02:00
Patrick Barron
3ebc047434 Convert UpdateUser to solely async 2021-04-10 16:59:41 -04:00
cvium
f2e7491755 Do not check permissions for Folders collectiontype 2021-04-10 22:58:32 +02:00
Patrick Barron
8607b52541 Make device/session code async 2021-04-10 16:57:25 -04:00
Bond_009
be9cb7af2c Minor improvements to IPObjects 2021-04-10 22:42:09 +02:00
Patrick Barron
44e71774b1 Rewrite device manager using EF Core 2021-04-10 16:17:36 -04:00
Patrick Barron
f47fe308b1 Add navigation property to device entity 2021-04-10 16:17:02 -04:00
Patrick Barron
98e19c9fd3 Add device indexes 2021-04-10 16:16:08 -04:00
Patrick Barron
e6f1ffdc8d Add device entities to schema. 2021-04-10 16:15:59 -04:00
Patrick Barron
9cd5352358 Add device options entity 2021-04-10 16:03:20 -04:00
BaronGreenback
1fe26fe352 Work through dns failure on test. 2021-04-10 19:44:09 +01:00
BaronGreenback
af027b6283 Fixed after accepting suggestion. 2021-04-10 19:23:27 +01:00
BaronGreenback
0db5df86df Update Jellyfin.Api/Constants/Policies.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-10 18:49:18 +01:00
Bond-009
85daaec318 Merge pull request #5759 from Bond-009/logging
Fix LogUnmatchedProfile formatting
2021-04-10 17:17:24 +02:00
Bond_009
117736aac9 Fix LogUnmatchedProfile formatting 2021-04-10 17:09:45 +02:00
BaronGreenback
cf3aff93f2 revert change error 2021-04-10 12:09:24 +01:00
BaronGreenback
5fb7557763 Network Access Policy 2021-04-10 12:03:52 +01:00
Patrick Barron
271b4cadb7 Add device entity. 2021-04-09 23:16:07 -04:00
Bond-009
b2fbf97abd Merge pull request #4988 from Bond-009/crop 2021-04-10 02:57:43 +02:00
Bond-009
9d548c62ba Merge pull request #5258 from Smith00101010/next-up-specials-fix 2021-04-10 01:38:57 +02:00
Ian Walton
321e383965 Fix setting audio stream in PlaybackInfo for jellyfin-web. 2021-04-09 19:24:41 -04:00
Claus Vium
f99237cf9b Update Emby.Server.Implementations/IO/ManagedFileSystem.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-10 00:16:37 +02:00
cvium
ef527df28f Set mediatype to Audio for playlists in a music library 2021-04-10 00:06:48 +02:00
cvium
f2cba352e5 catch ioexception and include stack trace 2021-04-09 23:30:07 +02:00
Claus Vium
1a92d94e92 Merge pull request #5712 from BaronGreenback/5700 2021-04-09 23:06:40 +02:00
Claus Vium
d532e95410 Merge pull request #5734 from jellyfin/fix-isplayed-itemvalues
move IsPlayed to outerquery
2021-04-09 23:05:43 +02:00
cvium
1a3352003d don't die on dangling symlinks 2021-04-09 23:02:36 +02:00
Mohamed Akram
ce4f730221 Add support for TMDB series absolute and DVD order 2021-04-09 20:02:23 +04:00
cvium
381db60ed3 fix test 2021-04-09 15:05:39 +02:00
cvium
5c4be2416d Remove unused import 2021-04-09 13:48:25 +02:00
cvium
53db1a1ffc ... 2021-04-09 13:47:47 +02:00
cvium
457229c56d Simplification 2021-04-09 13:43:40 +02:00
cvium
69d2368fbc Copy paste error 2021-04-09 13:31:17 +02:00
cvium
e7fc18d0f3 Fix type check 2021-04-09 13:28:27 +02:00
cvium
08ccf2a49c Resolve name from episode folder 2021-04-09 13:20:12 +02:00
Bond-009
6577f1deb2 Merge pull request #5736 from jellyfin/catch-httprequestex-librarymanager
fetching images should not kill the scanner
2021-04-09 12:41:17 +02:00
Bond-009
900793e25d Merge pull request #5731 from Bond-009/usertests
Add tests for UserController
2021-04-09 12:04:13 +02:00
Claus Vium
a21b2714e7 fetching images should not kill the scanner 2021-04-09 12:03:56 +02:00
Claus Vium
db530e61f5 move IsPlayed to outerquery
IsPlayed is a column in UserDatas and does not belong in the inner query. None of the other UserDatas columns are in the innerquery.
2021-04-09 11:32:19 +02:00
Bond_009
391554d391 Add tests for UserController 2021-04-09 01:04:49 +02:00
Bond-009
a19a97ca42 Merge pull request #5721 from Bond-009/authenticatedtests
Add code to test authenticated endpoints
2021-04-08 23:33:18 +02:00
Bond-009
9bf3ec4ae2 Merge pull request #5730 from thornbill/disable-hevc-encoding
Disable HEVC encoding by default
2021-04-08 18:16:04 +02:00
Bill Thornton
cc0f191228 Disable hevc encoding by default 2021-04-08 09:57:17 -04:00
BaronGreenback
b645bb20de Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-08 14:38:25 +01:00
crobibero
b1faf8c2e8 Update to dotnet 5.0.5 2021-04-08 07:36:13 -06:00
Claus Vium
9d0467addf Merge pull request #5725 from BrianCArnold/Fix2845_PlaylistDeletion 2021-04-08 14:25:51 +02:00
Bond-009
47bbe4c146 Merge pull request #5717 from cvium/nullable-custompref-value 2021-04-08 13:15:02 +02:00
Brian Arnold
a2acfb02e9 Can't reference System.IO.Path as 'Path', even though System.IO is in the usings, because there is a Path property of the class. 2021-04-08 05:19:28 -04:00
BrianCArnold
2314487e38 Update MediaBrowser.Controller/Playlists/Playlist.cs
Included suggested change from cvium

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-08 04:03:43 -04:00
Brian Arnold
7c457da9ab Fixed issue with determining if a directory was a directory or file when it contained a '.' character in the directory path.
Resolves: #2845
2021-04-08 02:49:41 -04:00
Joshua M. Boniface
14f94b6793 Merge pull request #5707 from ferferga/deyarn 2021-04-07 18:51:22 -04:00
Bond-009
631df8c560 Merge pull request #5520 from Bond-009/hdhomerun2 2021-04-08 00:27:58 +02:00
Bond_009
45a16c19a7 Add code to test authenticated endpoints 2021-04-07 21:35:54 +02:00
Bond-009
51a075a895 Merge pull request #5711 from jellyfin/dependabot/nuget/Microsoft.AspNetCore.Mvc.Testing-5.0.5
Bump Microsoft.AspNetCore.Mvc.Testing from 5.0.3 to 5.0.5
2021-04-07 17:42:38 +02:00
Bond-009
5042246360 Merge pull request #5710 from jellyfin/dependabot/nuget/Microsoft.AspNetCore.Authorization-5.0.5
Bump Microsoft.AspNetCore.Authorization from 5.0.3 to 5.0.5
2021-04-07 17:42:27 +02:00
Claus Vium
f718735b4e Merge pull request #5688 from crobibero/api-docs-sever-discovery
Add SessionDiscoveryInfo to generated api-docs
2021-04-07 14:36:49 +02:00
Claus Vium
a1718e392b Merge pull request #5631 from BrianCArnold/FixMessageCommand 2021-04-07 14:36:08 +02:00
cvium
4892e0cf06 fix build...somehow 2021-04-07 13:17:59 +02:00
cvium
d772fddfb3 make custompref value nullable 2021-04-07 13:09:00 +02:00
Bond_009
fbd9141ecd Add tests for unauthenticated websocket access 2021-04-06 22:46:54 +02:00
BaronGreenback
65f880be32 Keep plugin status after update. 2021-04-06 20:59:47 +01:00
dependabot[bot]
3651ee5ed3 Bump Microsoft.AspNetCore.Mvc.Testing from 5.0.3 to 5.0.5
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.3...v5.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 18:35:51 +00:00
dependabot[bot]
e85ac4d975 Bump Microsoft.AspNetCore.Authorization from 5.0.3 to 5.0.5
Bumps [Microsoft.AspNetCore.Authorization](https://github.com/dotnet/aspnetcore) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.3...v5.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 18:35:36 +00:00
Bond-009
221d9373e8 Merge pull request #5708 from Bond-009/netanalyzers
Enable NetAnalyzers for more projects
2021-04-06 20:34:30 +02:00
Bond_009
95327b842e Enable NetAnalyzers for more projects 2021-04-06 20:02:06 +02:00
Fernando Fernández
8d6713af65 Use npm ci instead of npm i 2021-04-06 17:37:50 +02:00
Fernando Fernández
ba958c70d5 (jellyfin-web): Switch to npm 2021-04-06 17:24:01 +02:00
Maxr1998
a7c8bc632f Fix typo in test data filename 2021-04-06 15:34:29 +02:00
Maxr1998
07751768f4 Add tests for music video metadata 2021-04-06 15:34:29 +02:00
Maxr1998
24ac8a1223 Improve metadata probing to better support music videos 2021-04-06 15:34:29 +02:00
Bond-009
3412120c61 Merge pull request #5702 from cvium/ws-auth
add simple auth handling to websocketmanager
2021-04-05 17:31:10 +02:00
cvium
14d0acf285 add simple auth handling to websocketmanager 2021-04-05 15:12:47 +02:00
Bond-009
d748d6cf3f Merge pull request #5699 from Bond-009/ffprobetests 2021-04-05 13:50:44 +02:00
Bond_009
e6d487f7ea Add test for ProbeResultNormalizer.GetMediaInfo 2021-04-05 01:53:00 +02:00
Bond-009
7978f30ff7 Merge pull request #5693 from Maxr1998/probe-result-tweaks 2021-04-04 17:16:17 +02:00
Maxr1998
873ad72c18 Support MKV DATE_RELEASED tag for PremiereDate
https://www.matroska.org/technical/tagging.html#temporal-information
2021-04-04 15:41:01 +02:00
Maxr1998
8d27e10cb6 Interpret ffprobe date as UTC
Currently, dates are parsed according to the local time, which results in potentially wrong data being stored in the database after normalizing to UTC - e.g. 2021-04-04 would be stored as '2021-04-03 22:00:00Z' and displayed in the UI as 03.04.2021.
2021-04-04 15:13:54 +02:00
Maxr1998
e0f513232b Reduce nesting 2021-04-04 15:13:54 +02:00
Bond-009
8eaefce14e Merge pull request #5691 from Bond-009/nullref3
Fix possible nullref
2021-04-04 13:22:49 +02:00
Bond_009
2ed0801be2 Fix possible nullref
when `ProviderManager.SaveMetadata` gets called before
`ProviderManager.AddParts`

```
Error Message:
   System.ArgumentNullException : Value cannot be null. (Parameter 'source')
  Stack Trace:
     at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IEnumerable`1 savers) in D:\a\1\s\MediaBrowser.Providers\Manager\ProviderManager.cs:line 674
   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType) in D:\a\1\s\MediaBrowser.Providers\Manager\ProviderManager.cs:line 655
   at Emby.Server.Implementations.Library.LibraryManager.RunMetadataSavers(BaseItem item, ItemUpdateType updateReason) in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 2012
   at Emby.Server.Implementations.Library.LibraryManager.UpdateItemsAsync(IReadOnlyList`1 items, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken) in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 1970
   at Emby.Server.Implementations.Library.LibraryManager.CreateRootFolder() in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 775
   at Emby.Server.Implementations.Library.LibraryManager.get_RootFolder() in D:\a\1\s\Emby.Server.Implementations\Library\LibraryManager.cs:line 180
   at Emby.Server.Implementations.IO.LibraryMonitor.Start() in D:\a\1\s\Emby.Server.Implementations\IO\LibraryMonitor.cs:line 135
   at Emby.Server.Implementations.IO.LibraryMonitorStartup.RunAsync() in D:\a\1\s\Emby.Server.Implementations\IO\LibraryMonitorStartup.cs:line 26
   at Emby.Server.Implementations.ApplicationHost.StartEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)+MoveNext() in D:\a\1\s\Emby.Server.Implementations\ApplicationHost.cs:line 541
   at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
   at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync(CancellationToken cancellationToken) in D:\a\1\s\Emby.Server.Implementations\ApplicationHost.cs:line 525
   at Jellyfin.Server.Integration.Tests.JellyfinApplicationFactory.CreateServer(IWebHostBuilder builder) in D:\a\1\s\tests\Jellyfin.Server.Integration.Tests\JellyfinApplicationFactory.cs:line 101
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Jellyfin.Server.Integration.Tests.OpenApiSpecTests.GetSpec_ReturnsCorrectResponse() in D:\a\1\s\tests\Jellyfin.Server.Integration.Tests\OpenApiSpecTests.cs:line 26
--- End of stack trace from previous location ---
```
2021-04-04 01:45:15 +02:00
Bond-009
fa64d8e4f2 Merge pull request #5637 from dmitrylyzo/check-media-type 2021-04-04 01:25:09 +02:00
Dmitry Lyzo
36da7a06d7 Less negation
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-04-04 02:09:57 +03:00
Bond-009
ea2bd3398b Merge pull request #5685 from Bond-009/uselessnullcheck
Remove useless null check
2021-04-03 23:50:00 +02:00
Bond-009
cb111eb767 Merge pull request #5661 from ferferga/openapi-product-version
Return Major.Minor.Build instead of Major.Minor.Build.Revision for OpenAPI
2021-04-03 22:07:47 +02:00
Bond-009
4f387dca6e Merge pull request #5598 from cvium/fix_hls_default_values 2021-04-03 19:36:41 +02:00
Bond-009
9f21dd63ae Merge pull request #5684 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.9.4
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
2021-04-03 19:25:25 +02:00
crobibero
31d1dbfda6 Add SessionDiscoveryInfo to generated api-docs 2021-04-03 06:54:09 -06:00
Bond-009
959a09bdb0 Merge pull request #5676 from Bond-009/useless 2021-04-03 02:00:03 +02:00
Bond_009
0a00a73fec Remove useless null check 2021-04-03 01:46:31 +02:00
dependabot[bot]
7c70205326 Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.1 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.9.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 22:42:12 +00:00
Bond-009
8cb3dc8469 Merge pull request #5590 from jellyfin/dependabot/nuget/Microsoft.Extensions.Diagnostics.HealthChecks-5.0.4
Bump Microsoft.Extensions.Diagnostics.HealthChecks from 5.0.3 to 5.0.4
2021-04-03 00:41:40 +02:00
Bond-009
ec0ef1530c Merge pull request #5602 from Ullmie02/IP-string-IP 2021-04-03 00:32:43 +02:00
dependabot[bot]
820a373016 Bump Microsoft.Extensions.Diagnostics.HealthChecks from 5.0.3 to 5.0.4
Bumps [Microsoft.Extensions.Diagnostics.HealthChecks](https://github.com/dotnet/aspnetcore) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.3...v5.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 22:27:11 +00:00
Bond-009
a92736baad Merge pull request #5174 from barronpm/authenticateuser-cleanup 2021-04-03 00:26:56 +02:00
Bond-009
fd66ca25cd Merge pull request #5652 from jellyfin/dependabot/nuget/Serilog.AspNetCore-4.1.0
Bump Serilog.AspNetCore from 3.4.0 to 4.1.0
2021-04-03 00:26:00 +02:00
BaronGreenback
d9a50cb510 Various DLNA Optimizations 2021-04-02 19:06:38 +01:00
Bond-009
6f373f615b Merge pull request #5675 from Bond-009/copytotests
Add tests for CopyToExtensions
2021-04-02 16:38:30 +02:00
Patrick Barron
499785bebb Use new entities for API key endpoints 2021-04-01 17:08:22 -04:00
Patrick Barron
1c501b17d7 Add ApiKey entity and associated relationships 2021-04-01 17:05:54 -04:00
Bond-009
a0258618ac Update Emby.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-01 21:24:34 +02:00
Bond_009
c533b20496 Remove ManagedFileSystem.IsRootPath
`Path.IsPathRooted` should be used instead
2021-04-01 19:39:00 +02:00
Max Rumpf
21e7ceae8e StreamBuilder tweaks (#5668)
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-01 19:18:14 +02:00
Bond_009
aa76957338 Remove useless code 2021-04-01 19:16:00 +02:00
Bond_009
11f7ab4dd4 Add tests for CopyToExtensions 2021-04-01 19:13:03 +02:00
Bond-009
7c51d0a50e Merge pull request #5671 from jellyfin/tmdbmovieprovider-originaltitle
set original title in tmdbmovieprovider
2021-04-01 17:39:22 +02:00
Bond-009
38913a42b4 Merge pull request #5672 from jellyfin/skip-bad-images
ensure only valid images are saved in ItemImageProvider
2021-04-01 17:38:05 +02:00
Patrick Barron
16ca8c7536 Remove unused SessionManager methods 2021-04-01 10:49:09 -04:00
Claus Vium
df60d176b8 ensure only valid images are saved in ItemImageProvider 2021-04-01 15:27:28 +02:00
Claus Vium
28a0eb6d53 set original title in tmdbmovieprovider 2021-04-01 14:28:03 +02:00
Brian C. Arnold
3820671724 Merge remote-tracking branch 'main/master' into FixMessageCommand 2021-03-31 08:08:27 -04:00
BrianCArnold
4fa2a32d81 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-31 01:24:38 -04:00
BrianCArnold
af03b280bc Update SessionController.cs 2021-03-31 01:23:51 -04: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
Bond-009
b49d50e634 Merge pull request #5467 from Ullmie02/nfo-fixes 2021-03-30 15:35:56 +02:00
Fernando Fernández
8c6bd2537c Return Major.Minor.Build instead of Major.Minor.Build.Revision for OpenAPI version 2021-03-30 15:15:16 +02:00
BrianCArnold
80fe48fda9 Update SessionController.cs
Removed unnecessary construction of POCO to represent data from POST body
2021-03-30 07:29:40 -04: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
Brian Arnold
54107ae882 Fix spacing requirement for MessageCommand. 2021-03-29 11:40:07 -04:00
Brian Arnold
ca25301e64 Added Required attribute to Text property of MessageCommand. 2021-03-29 10:10:44 -04:00
dependabot[bot]
949ef2ed10 Bump BlurHashSharp from 1.1.1 to 1.2.0
Bumps [BlurHashSharp](https://github.com/Bond-009/BlurHashSharp) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/Bond-009/BlurHashSharp/releases)
- [Commits](https://github.com/Bond-009/BlurHashSharp/commits/v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 12:00:57 +00:00
dependabot[bot]
023467ebce Bump Serilog.AspNetCore from 3.4.0 to 4.1.0
Bumps [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore) from 3.4.0 to 4.1.0.
- [Release notes](https://github.com/serilog/serilog-aspnetcore/releases)
- [Commits](https://github.com/serilog/serilog-aspnetcore/compare/v3.4.0...v4.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 12:00:44 +00: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
Ionut Andrei Oanca
776ce7c660 Send playing item status in SyncPlay group update 2021-03-29 11:29:48 +02:00
David
1669cb6618 Split valid and invalid tests 2021-03-29 10:35:29 +02:00
Ionut Andrei Oanca
9eb740ba57 Fix storing outdated sessions in SyncPlay 2021-03-28 13:25:40 +02:00
Brian C. Arnold
998833ea6e Removed null check for body object and user [Required] attribute in replacement. 2021-03-27 23:29:24 -04:00
Brian Arnold
f114ba57dd Fixed comment and code block runes to match coding
standards required by Jellyfin team.
2021-03-27 23:29:24 -04:00
Brian Arnold
81e3e5ca48 Changed SessionController.SendMessageCommand
implementation receive data in the POST body, as that is how the
jellyfin-web client currently posts the data to the server.

Resolves: #5628
2021-03-27 23:29:24 -04:00
Bond-009
a890a85092 Merge pull request #5495 from BaronGreenback/RemoteAccessFix 2021-03-27 17:24:47 +01:00
Dmitry Lyzo
364e8931af Check appropriate profile type 2021-03-27 11:53:57 +03:00
Claus Vium
9144d11a9d Merge pull request #5624 from crobibero/subtitle-format 2021-03-27 09:25:34 +01:00
BaronGreenback
aae2aad0f2 changed split to single quotes 2021-03-27 08:16:48 +00:00
Bond-009
1de031a7c3 Merge pull request #5634 from cvium/directoryservice-case-sensitive
make directoryservice cache case sensitive
2021-03-27 00:51:52 +01:00
crobibero
afe3b5999e Fix route naming 2021-03-26 17:40:55 -06:00
Claus Vium
90d9530aed Merge pull request #5629 from lmaonator/fix-cast-stream-selection 2021-03-27 00:34:57 +01:00
cvium
7670189561 make directoryservice cache case sensitive 2021-03-27 00:26:56 +01:00
David
78f7fdeacc Rename methods and optimize allocations 2021-03-26 17:16:29 +01:00
lmaonator
694d772b11 Update Jellyfin.Api/Controllers/SessionController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-26 14:13:45 +01:00
crobibero
5b758c4711 Mark query parameters as obsolete 2021-03-26 07:07:45 -06:00
lmaonator
db2fbcef2b Fix stream selection having no effect when casting
When casting to jellyfin-mpv-shim from jellyfin-web in the browser,
jellyfin-web sends data about which version (for grouped items) and
which streams the user selected in the browser to the
"Sessions/{sessionId}/Playing" API endpoint.

The API endpoint currently doesn't forward them to jellyfin-mpv-shim
through the Play command, which results in the default streams being
played instead of the browser selected ones.

PlayRequest already has the properties and they are already sent to the
cast client by SendPlayCommand when present.
jellyfin-mpv-shim will already use them to select the wanted streams
when it receives the Play command.

All that's needed to make it work is to take the parameters and assign
them to PlayRequest.
2021-03-26 13:41:34 +01:00
crobibero
e0ff51cf2a Mark query parameters as obsolete 2021-03-25 20:30:15 -06:00
crobibero
73fe9d3f69 Allow subtitle format to be set from query parameter. 2021-03-25 18:06:25 -06:00
Patrick Barron
7364155579 Clean up user deletion 2021-03-25 19:51:27 -04:00
Patrick Barron
a7b29e2fe0 Clean up user renaming 2021-03-25 19:51:27 -04:00
Patrick Barron
daa21c9e99 Add migration 2021-03-25 19:51:27 -04:00
Patrick Barron
ea0a9c2cca Properly configure foreign keys 2021-03-25 19:51:27 -04:00
Patrick Barron
a07ad71222 Use NOCASE collation and index on username field 2021-03-25 19:51:27 -04:00
Patrick Barron
3c4187e780 Add indexes for user permissions and preferences 2021-03-25 19:51:27 -04:00
Patrick Barron
f1cadb27d9 Add id properties for preferences and permissions 2021-03-25 19:51:27 -04:00
Patrick Barron
0a579e5bbd Configure user deletion behavior 2021-03-25 19:51:27 -04:00
Patrick Barron
3ffef5794e Delete unnecessary indexes
Multicolumn indexes can be queried on the first column without needing a separate index
2021-03-25 19:51:26 -04:00
Patrick Barron
36669ff451 Use correct setter access modifiers 2021-03-25 19:51:26 -04:00
Bond-009
6946e58ca4 Merge pull request #5614 from jellyfin/Bond-009-patch-2 2021-03-25 23:55:54 +01:00
Bond-009
4cea6d9ccf Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-25 18:53:36 +01:00
Claus Vium
411570e6d4 Merge pull request #5621 from cvium/enable-range-processing-download
enable range processing for download endpoints
2021-03-25 17:01:18 +01:00
Claus Vium
a76d997a86 Merge pull request #5620 from MrTimscampi/iso-ignore 2021-03-25 17:00:32 +01:00
cvium
b3d084044e enable range processing for download endpoints 2021-03-25 15:09:37 +01:00
MrTimscampi
5bb7d99b48 Remove DVDs from files exempt from chapter image extraction 2021-03-25 13:16:09 +01:00
MrTimscampi
ef9eba8bc9 Ignore format for ISO files 2021-03-25 12:23:29 +01:00
Bond-009
6d0b2ed080 Merge pull request #5579 from cocool97/master 2021-03-25 01:45:43 +01:00
Bond-009
55102973d6 Merge pull request #5596 from BaronGreenback/DLNA_Hardening
Implemented DLNA exception handling
2021-03-25 01:29:10 +01:00
Bond-009
16011d96a0 Merge pull request #5321 from Ullmie02/nfo-thumb 2021-03-25 01:10:37 +01:00
Claus Vium
e64f9f2f66 Merge pull request #5613 from accek/accek-samsung-dlna-fix 2021-03-24 23:04:28 +01:00
Szymon Acedański
b1e8a8565f Update Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-24 22:46:08 +01:00
cocool97
86852178c2 Update MediaBrowser.Controller/LiveTv/ChannelInfo.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-24 21:23:59 +01:00
Bond-009
066c19a26b Fix possible null ref exception 2021-03-24 21:06:03 +01:00
Szymon Acedański
136136dea9 Fix incorrect responses for HEAD /audio/<id>/stream
Without this fix my Samsung Soundbar (HW-Q80R) fails to play using DLNA
and returns "Error: Resource not found (716)" instead.

I had a look on tcpdump network logs between Jellyfin and the soundbar
and noticed that the device performs a HEAD request for the media before
responding to the DLNA UPNP control request from Jellyfin (or BubbleUPNP
Android App).

Jellyfin retuns 204 No Content response, which is unusual.  Common web
servers generally return 200 OK if the GET would return content, and
this is not-very-clearly suggested [in HTTP
spec](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1)

The other patch is to ensure, that invalid Content-Length: 0 is not
returned with the HEAD response in the streaming case.

I think in both cases we still don't return the same headers with HEAD
as with GET (e.g. Content-Length or Accept-Ranges), but at least we
don't return anything misleading.
2021-03-24 20:43:54 +01:00
Bond_009
c2cd7fa0b2 Add more PasswordHash tests 2021-03-24 18:39:33 +01:00
Bond_009
d77507ba09 Rewrite PasswordHash.Parse to work with ReadOnlySpans 2021-03-24 18:21:14 +01:00
Mason Tran
415b03d719 Delay starting services until after network is online 2021-03-24 02:35:44 -04:00
David
a4cac09d5b Use |= 2021-03-23 19:25:32 +01:00
David
c2af50c51d Add tests for IsInNetwork 2021-03-23 17:39:55 +01:00
David
19e4ef82dd Remove conversion from IPAddress to string to IPAddress 2021-03-23 17:16:10 +01:00
David
572600b38e Use conditional operator instead of if/else block 2021-03-23 15:47:55 +01:00
BaronGreenback
6765f6ab17 fix compilation 2021-03-23 00:12:14 +00:00
Bond-009
8410a9a266 Merge pull request #5586 from nyanmisaka/disable-autorotate 2021-03-22 22:59:01 +01: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
Kenneth SB
4637bbc723 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2021-03-22 13:34:36 -04:00
BaronGreenback
4bd345fbab DLNA Exception catching 2021-03-22 17:21:12 +00:00
BaronGreenback
5d16d1f66d Merge branch 'master' into RemoteAccessFix 2021-03-22 17:05:44 +00:00
BaronGreenback
7fa525c83b Added more tests 2021-03-22 17:04:09 +00:00
Nyanmisaka
0853d1265c Disable auto rotation for some HWA methods (#5586)
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-22 17:59:57 +01:00
Bond-009
f6671e05fd Merge pull request #5580 from Bond-009/integrationtests2 2021-03-22 17:57:14 +01:00
Bond_009
5253483ce4 Improve naming 2021-03-22 13:49:00 +01:00
Nyanmisaka
fab4bf184e Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-22 19:47:05 +08:00
Nyanmisaka
a6bc191607 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-22 19:25:41 +08:00
nyanmisaka
fcb070abf7 disable auto rotation for some HWA methods 2021-03-22 18:36:04 +08:00
Joshua M. Boniface
fe8cf29cad Merge pull request from GHSA-wg4c-c9g9-rxhx
Fix issues 1 through 5 from GHSL-2021-050
2021-03-21 19:12:14 -04:00
Joshua M. Boniface
890a490776 Merge pull request #5532 from cvium/fix_episode_extras_questionmark 2021-03-21 15:13:56 -04:00
Bond_009
c5079ebed5 Add tests for GetFirstUser, UpdateStartupUser and CompleteWizard 2021-03-21 03:59:31 +01:00
Bond_009
849ced470a Add StartupControllerTests 2021-03-21 03:26:51 +01:00
LIAUD
72db3df605 Changed CONTRIBUTORS.md 2021-03-20 20:31:38 +01:00
LIAUD
32853ca244 Add 'group-title' channel parsing 2021-03-20 20:15:19 +01:00
Bill Thornton
9fe3ca7a92 Merge pull request #5476 from jellyfin/EraYaN-nuget-ci
Remove BuildPackage dependency for PublishNuget in CI
2021-03-19 20:50:42 -04:00
Erwin de Haan
1f3aa3fe6f Apply review suggestions 2021-03-20 01:28:14 +01:00
Erwin de Haan
470305f75e Authenticated arbitrary file overwrite in SubtitleController -> SubtitleManager
GHSL-2021-050: Issue 5 Arbitrary file overwrite.
2021-03-20 01:14:59 +01:00
Erwin de Haan
239a7156cc Fix arbitrary image file reads in ImageByNameController
GHSL-2021-050: Issue 4 Arbitrary image file read and directory traversal.
2021-03-20 01:14:59 +01:00
Erwin de Haan
f61d18612b Fix directory traversal in the HlsSegmentController in a fairly rudimentary but working way.
GHSL-2021-050: Issue 1,2,3 Arbitrary file read and directory traversal.
The segment id's can probably just be verified to be an actual ID or to not contain any forward or backward slashes
2021-03-20 01:14:59 +01:00
Bond-009
1a0ce16f4d Merge pull request #5504 from crobibero/json-string-converter 2021-03-20 00:48:41 +01:00
David
7685569480 Rollback char.IsDigit 2021-03-19 12:34:21 +01:00
Claus Vium
9360fecb31 Merge pull request #5559 from cvium/fix-tmdb-search-clean
Clean the entity name for non-words before searching
2021-03-19 09:24:20 +01:00
Claus Vium
e1c6bb0482 Merge pull request #5561 from barronpm/permissions-fix 2021-03-19 09:23:32 +01:00
andrewthemeow
9857c21717 Translated using Weblate (Lithuanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2021-03-19 02:50:08 -04:00
David
59641e5c76 Use ReadOnlySpan<char> and char.IsDigit 2021-03-18 20:52:56 +01:00
David
840eeff2af Apply suggestions from code review 2021-03-18 11:25:58 +01:00
Patrick Barron
85da0b50e2 Fix user mocking 2021-03-17 21:24:14 -04:00
Patrick Barron
12b8e29aef Fix duplicate permissions 2021-03-17 17:42:45 -04:00
cvium
151156f227 Clean the entity name for non-words before searching 2021-03-17 10:29:45 +01:00
Vitorvlv
37aa3e8735 Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2021-03-16 23:19:43 -04:00
David
14cbd22fbe Use Helper Methods for provider url parsing 2021-03-16 21:45:12 +01:00
Alyssa Ross
e14311ca8b Translated using Weblate (Esperanto)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eo/
2021-03-16 15:19:34 -04:00
Bond-009
f42cee4790 Merge pull request #5550 from cvium/revert_underscore_multiversion 2021-03-16 14:38:29 +01:00
cvium
23c3188501 revert underscore as a multiversion separator 2021-03-15 23:24:59 +01:00
Claus Vium
94820f569b Merge pull request #5512 from crobibero/api-spec-version 2021-03-15 18:01:20 +01:00
Claus Vium
baa43c6b41 Merge pull request #5475 from BaronGreenback/SSDPFix 2021-03-15 09:06:15 +01:00
cvium
025e351f61 add unit tests 2021-03-15 08:25:20 +01:00
cvium
ab0cff8556 do not resolve episode-like files if they are in extras folders 2021-03-14 19:56:45 +01:00
BaronGreenback
4c7680e186 Merge remote-tracking branch 'upstream/master' into SubnetOverlappFix 2021-03-14 18:40:44 +00:00
Bond-009
f2125da9f9 Merge pull request #5395 from barronpm/ef-cleanup 2021-03-14 19:08:50 +01:00
BaronGreenback
6087831aa6 Fixed selection of correct interface ip 2021-03-14 17:30:25 +00:00
Patrick Barron
e5380c653b Merge branch 'master' into ef-cleanup
# Conflicts:
#	Jellyfin.Data/Entities/Libraries/MediaFileStream.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
2021-03-14 10:19:35 -04:00
Claus Vium
109f24514f Merge pull request #5510 from BaronGreenback/DlnaFirstFix
Fix: Streaming crashing due to no deviceProfileId match.
2021-03-14 15:07:31 +01:00
Claus Vium
bd70f56218 Merge pull request #5324 from danieladov/master
Fix duplicated movies when group movies into collections is enabled
2021-03-14 13:37:00 +01:00
Bond-009
0e5d4a3bcf Merge pull request #5422 from Bond-009/warn51 2021-03-14 00:41:40 +01:00
Bond-009
5c0c205bed Merge pull request #5522 from Bond-009/integrationtests
Fix integration test project
2021-03-14 00:21:51 +01:00
Bond_009
72d3eed15c Fix integration test project 2021-03-14 01:07:53 +01:00
BaronGreenback
b1f0c5eb49 Update NetworkExtensions.cs
changed description
2021-03-13 22:16:12 +00:00
Bond-009
8bb2420a25 Merge pull request #5518 from crobibero/missing-endpoints
Add missing InstantMix endpoints
2021-03-13 22:59:47 +01:00
Bond_009
01dfa8801a Fix GetDaysOfWeek behavior 2021-03-13 22:40:23 +01:00
Bond_009
46a41ecba6 Sunday isn't a weekend 2021-03-13 22:33:28 +01:00
Bond_009
a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
Bond_009
d9eb7ae6dc Fix invalid crc in TryGetReturnValueOfGetSet_InvalidPacketType test 2021-03-13 21:28:04 +01:00
Bond_009
f9640f4366 Rewrite HdHomerunManager.ParseReturnMessage 2021-03-13 21:12:11 +01:00
Mister Rajoy
8883aa4a37 Merge branch 'master' of https://github.com/danieladov/jellyfin 2021-03-13 20:35:52 +01:00
Mister Rajoy
4cc3b938fa Change Guid.Parse to Guid.TryParse 2021-03-13 20:33:05 +01:00
Bond_009
e8b18e5f8f Add test for HdHomerunManager.ParseReturnMessage 2021-03-13 19:32:40 +01:00
Bond_009
7fb3a354fd Add test for HdHomerunManager.WriteSetMessage with lockkey 2021-03-13 19:24:47 +01:00
Daniel
7a3109104b Remove empty line
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-13 19:24:02 +01:00
Daniel
4b17648df3 Remove empty line
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-13 19:23:52 +01:00
Bond_009
f5789483fd Add test for HdHomerunManager.WriteSetMessage 2021-03-13 19:21:29 +01:00
crobibero
9ac9543ee2 Add missing InstantMix endpoints 2021-03-13 09:09:22 -07:00
crobibero
1169a0214b Set default version 2021-03-13 08:43:14 -07:00
crobibero
37b1b31a46 Convert full ValueSequence 2021-03-13 08:41:16 -07:00
Bond-009
260b48ef9d Merge pull request #5515 from jellyfin/fix-refresh-endpoint
fix refresh endpoint
2021-03-13 15:07:42 +01:00
Bond-009
b755c25217 Merge pull request #5220 from Bond-009/hdhomerun 2021-03-13 15:05:18 +01:00
Bond-009
7a988ef77d Merge pull request #5500 from crobibero/api-integration-fix
Fix third party integration
2021-03-13 15:03:06 +01:00
Claus Vium
fe2a310fe2 fix refresh endpoint
It was originally a POST 9af6eda0b4/MediaBrowser.Api/Library/LibraryService.cs (L155)
2021-03-13 09:13:45 +01:00
crobibero
500832bdfd Set openapi version to server version 2021-03-12 17:11:43 -07:00
BaronGreenback
1d5b7b61fb Change First to FirstOrDefault 2021-03-12 22:20:13 +00:00
BaronGreenback
4cf88f67ba Update NetworkManager.cs 2021-03-12 14:58:04 +00:00
BaronGreenback
b7fb152faf Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-12 14:44:05 +00:00
crobibero
e814d8e2cf Add JsonStringConverter 2021-03-12 06:43:57 -07:00
WWWesten
80846a1c66 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-03-12 08:21:06 -05:00
Bond-009
a037e30b41 Merge pull request #5457 from cvium/fix_double_artist 2021-03-12 13:18:12 +01:00
crobibero
eef15dc7ac Fix third part integration 2021-03-11 22:45:58 -07:00
Bond-009
d7f0aaaec1 Merge pull request #5417 from Bond-009/codeanal
Add code analysis attributes where appropriate
2021-03-12 00:15:12 +01:00
BaronGreenback
e5914fd28c split tests 2021-03-11 22:47:37 +00:00
BaronGreenback
3fa84500cf Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-11 22:46:24 +00:00
BaronGreenback
f66cb9777d Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-11 22:46:07 +00:00
BaronGreenback
034ee38583 Update Jellyfin.sln
reverted
2021-03-11 21:42:01 +00:00
BaronGreenback
3fdf0de6e3 Fix remote access 2021-03-11 21:36:58 +00:00
Bond-009
e3adc9ab74 Merge pull request #5480 from crobibero/api-session-message-type
Add SessionMessageType to generated openapi spec
2021-03-11 22:35:33 +01:00
Bond-009
d967267cef Merge pull request #5461 from cvium/fix_multiversion 2021-03-11 22:31:06 +01:00
Anthony Lavado
227eaca99c Merge pull request #5490 from thornbill/remove-forum-badge 2021-03-11 10:45:06 -05:00
Bill Thornton
e6407b414b Remove forum badge 2021-03-11 09:34:10 -05:00
crobibero
8e09276d7d Add websocket session message type to generated openapi.json 2021-03-10 16:33:46 -07:00
Erwin de Haan
b827913fcf Run CollectArtifacts taks regardless of result from BuildPackage and BuildDocker 2021-03-10 21:09:45 +01:00
Erwin de Haan
e6f49f5009 Remove BuildPackage dependeny for PublishNuget in CI 2021-03-10 21:00:33 +01:00
BaronGreenback
1723ed1604 removed the space AGAIN!!! 2021-03-10 19:59:58 +00:00
BaronGreenback
5db998e135 removed space. 2021-03-10 19:59:18 +00:00
BaronGreenback
0960c945d0 Revert "removed space"
This reverts commit a324d8a9c5.
2021-03-10 19:58:45 +00:00
BaronGreenback
a324d8a9c5 removed space 2021-03-10 19:57:32 +00:00
BaronGreenback
1dd6036765 Fixed false starts 2021-03-10 19:56:33 +00:00
BaronGreenback
2f843b3b48 Hide msg if dlna disabled 2021-03-10 19:32:13 +00:00
BaronGreenback
eafb8cf652 Null Pointer fix 2021-03-10 19:27:22 +00:00
cvium
7d69c2550c fix copy/paste error in test 2021-03-10 19:30:23 +01:00
cvium
b0af11c34e make the eligibility check more strict wrt. brackets 2021-03-10 19:29:52 +01:00
David
954148eb6d Fix Radarr url nfo files 2021-03-10 17:08:24 +01:00
David
8a74d76598 Fix id tag setting IMDb id when it is TMDb id 2021-03-10 17:03:19 +01:00
BaronGreenback
2fe26ef136 removed parameter preset 2021-03-10 13:28:18 +00:00
Claus Vium
5592967497 Merge pull request #5403 from BaronGreenback/DLNAProfileFix 2021-03-10 11:50:08 +01:00
cvium
3824c09e77 fix multiversion eligibility check for complex folder names 2021-03-10 10:47:35 +01:00
BaronGreenback
84da57cd48 Update StreamingHelpers.cs
Updated condition
2021-03-10 09:07:11 +00:00
Claus Vium
84e16a8535 Merge pull request #5431 from cvium/fix_tmdb_imdbid
Use imdbid as fallback in movie provider
2021-03-10 08:37:00 +01:00
cvium
c5a870051a Use distinct for artists to avoid double refreshing 2021-03-10 08:20:02 +01:00
Claus Vium
88a8fa7100 Merge pull request #5447 from joshuaboniface/fix-fedora-build
Remove Microsoft repo from install step
2021-03-09 19:41:25 +01:00
Claus Vium
329edd9dbe Merge pull request #5444 from Ullmie02/hdhr-fix 2021-03-09 19:41:01 +01:00
Joshua M. Boniface
235b36a4c7 Remove Microsoft repo from install step
This was breaking Fedora builds due to a mismatch. We can use the .NET
SDK 5.0 from the Fedora 33 repos instead and this seems to work.
2021-03-09 12:41:51 -05:00
David
ece0d67f99 Use FileShare.Read for log files 2021-03-09 17:31:31 +01:00
David
eca3b37d6e Use FileShare.Read to fix HdHomeRun 2021-03-09 17:01:05 +01:00
Bond-009
97fd136a8c Merge pull request #5428 from cvium/fix_tmdb_year
Default to the searchinfo year, fallback to parsed year
2021-03-09 15:59:37 +01:00
Bond-009
087e98d78a Merge pull request #5336 from Bond-009/integration 2021-03-09 14:51:45 +01:00
Bond_009
a618d6053f Move TestPluginWithoutPages to the correct project 2021-03-09 14:24:19 +01:00
Bond_009
37eb7d6d49 Perform static initialization only once 2021-03-09 14:24:19 +01:00
Bond_009
b9577d0fd9 Check for specific status code instead of success 2021-03-09 14:24:19 +01:00
Bond_009
3471ddfc84 Fix duplicate project id in sln 2021-03-09 14:24:17 +01:00
Bond_009
bbbb811e72 Fix azure 2021-03-09 14:21:30 +01:00
Bond_009
afc70b28d4 Add Jellyfin.Server.Tests to solution 2021-03-09 14:21:28 +01:00
Bond_009
fa8bfece4e Split integration tests from unit tests 2021-03-09 14:17:59 +01:00
cvium
880c8636bc Use imdbid as fallback in movie provider
Includes post-ProviderIdExtensions cleanup
2021-03-09 11:44:39 +01:00
cvium
80fb52e64f Default to the searchinfo year, fallback to parsed year 2021-03-09 10:46:54 +01:00
Bond-009
94db751f4b Merge pull request #4754 from jellyfin/warn50 2021-03-09 05:58:01 +01:00
pkreuzt
e89bd8ba02 Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2021-03-08 23:04:24 -05:00
Bond_009
d202df6e8a Remove useless line 2021-03-09 03:22:51 +01:00
Bond_009
9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
Bond_009
5241bd41ef Add code analysis attributes where appropriate 2021-03-09 01:28:21 +01:00
BaronGreenback
a031f7e410 Fix for multiple ip's in the same subnet per interface. 2021-03-09 00:07:21 +00:00
Joshua M. Boniface
3c46f10e3d Merge pull request #5315 from BaronGreenback/FixFor5280Part2 2021-03-08 18:06:40 -05:00
Joshua M. Boniface
0ef8bea125 Merge pull request #5406 from cvium/trycleanstring-dont-die-on-me 2021-03-08 16:54:26 -05:00
Joshua M. Boniface
82d88bdec6 Merge pull request #5409 from ikomhoog/master 2021-03-08 16:39:40 -05:00
Claus Vium
90cdd1345d Merge pull request #5407 from Bond-009/hack 2021-03-08 21:23:14 +01:00
BaronGreenback
d3390302f9 Update ApplicationHost.cs 2021-03-08 11:43:59 +00:00
Bond_009
54f81c4da4 Call ToLower on CollectionTypeOptions.ToString 2021-03-08 12:08:17 +01:00
Ikomhoog
02122f28cc Update contributors 2021-03-08 11:14:01 +01:00
Ikomhoog
d4201f812c Changed string.Length == 0 to string.IsNullOrEmpty in case of null 2021-03-08 11:02:51 +01:00
Bond_009
2e62c09f2e Fix casing CollectionType 2021-03-08 02:16:35 +01:00
Joshua M. Boniface
480dd66428 Merge pull request #5402 from Ullmie02/fix-null-size
Use FileShare.None when creating files
2021-03-07 19:37:21 -05:00
WWWesten
bc95268bd6 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-03-07 17:24:42 -05:00
cvium
fcacae8cde return empty span instead of null for backwards compat 2021-03-07 22:59:08 +01:00
cvium
e0db17a935 do not throw ArgumentNullException in TryCleanString 2021-03-07 22:49:31 +01:00
BaronGreenback
75c9659e05 Fix unreachable code & assign id to each profile. 2021-03-07 14:17:32 +00:00
David
60ffa6f514 Use FileShare.None when creating files 2021-03-07 14:43:28 +01:00
Bond-009
a1cdc2c63f Merge pull request #5385 from Bond-009/dlna2
Use XDocument.LoadAsync instead of XDocument.Parse
2021-03-07 02:38:05 +01:00
Patrick Barron
7c413a323b Move EF Core dependency out of Jellyfin.Data 2021-03-06 20:33:11 -05:00
Patrick Barron
7b37ae94f7 Remove unused factory method 2021-03-06 20:02:42 -05:00
Patrick Barron
f638ee6b09 Enable nullable for Jellyfin.Data and remove unnecessary attributes 2021-03-06 17:43:01 -05:00
Patrick Barron
287dab4655 Remove constructor side effects and remove unneeded parameterless constructors 2021-03-06 17:37:47 -05:00
Bond-009
497ea57fd2 Merge pull request #5381 from cvium/fix-network-substitution 2021-03-06 21:38:32 +01:00
cvium
946411be8e Remove redundant check 2021-03-06 21:18:20 +01:00
cvium
67af30d1ff Remove redundant checks 2021-03-06 20:53:50 +01:00
cvium
54211b921c rider is a prick 2021-03-06 19:07:02 +01:00
David Ullmer
b8d52dafa9 Update MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-03-06 16:02:52 +01:00
David
6f898145af Use Uri.TryCreate and ImageType helper method 2021-03-06 14:50:27 +01:00
cvium
bc661c16e1 simplify 2021-03-06 14:01:37 +01:00
dkanada
22402650cb Merge pull request #5354 from shortspider/AddFfmpegToReadme
Update README to include ffmpeg
2021-03-06 13:40:08 +09:00
Nathan Mascitelli
10229e1afe Link to jellyfin-ffmpeg 2021-03-05 23:09:35 -05:00
Bond_009
e8413ed8c0 Use XDocument.LoadAsync instead of XDocument.Parse 2021-03-06 03:33:52 +01:00
Bond-009
e839929b91 Merge pull request #5380 from Bond-009/plugins
100% branch coverage for DashboardController
2021-03-06 00:59:28 +01:00
Bond-009
db2d1bca33 Merge pull request #5382 from crobibero/json-version-converter 2021-03-06 00:03:08 +01:00
Smith00101010
6293629d32 Apply suggested formatting changes
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2021-03-05 22:51:08 +01:00
Bond-009
3741be51ec Merge pull request #5383 from cvium/fix-mergeversions-overflow
do not pick a linked item as primary when merging versions
2021-03-05 21:57:22 +01:00
Bond-009
1d87274cc2 Merge pull request #5377 from cvium/fix-tmdb-image-languages
Do not use language or imagelanguages when searching for images with TMDb
2021-03-05 21:56:09 +01:00
cvium
59814bd55e do not pick a linked item as primary when merging versions 2021-03-05 19:57:48 +01:00
Claus Vium
d0a2d00b29 Fix UpdateMediaPath model binding (#5378) 2021-03-05 16:56:21 +01:00
Cody Robibero
df1951cfe2 Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2021-03-05 08:30:49 -07:00
crobibero
fd0b3ca5ef Add JsonVersionConverter and tests 2021-03-05 07:48:45 -07:00
cvium
37e374d33d make sure network path substitution matches correctly 2021-03-05 14:09:23 +01:00
Bond_009
a6d0db5d04 100% branch coverage for DashboardController 2021-03-05 11:15:14 +01:00
Bond-009
a0f6bc14a2 Merge pull request #5375 from crobibero/default-api-value
Specify defaults or set query parameter to nullable
2021-03-05 11:04:47 +01:00
Nichgon
ed7154db68 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2021-03-05 02:54:45 -05:00
cvium
ba366118f9 Do not use language or imagelanguages when searching for images
TMDb API returns all images if languages are excluded, which is needed for the All Languages toggle in Identify.
2021-03-05 08:18:04 +01:00
crobibero
858c91ab48 Specify defaults or set query parameter to nullable 2021-03-04 18:25:52 -07:00
dkanada
8615847a8a Merge pull request #5345 from BaronGreenback/IP6Fix
Dual IP4 / IP6 server fails on non-windows platforms
2021-03-04 17:03:53 +09:00
dkanada
74a927db3e Merge pull request #5362 from crobibero/case-json
Fix case-sensitive json parsing
2021-03-04 17:02:16 +09:00
crobibero
631c0a35f6 Always use case insensitive json parsing for api 2021-03-03 17:11:19 -07:00
Claus Vium
ddc62a89ba Merge pull request #5356 from cvium/fix_provideridextensions
return false when providerid is null or empty
2021-03-03 17:24:58 +01:00
BaronGreenback
d819a1d928 Remove Content-Length header from DLNA HEAD request (#5335) 2021-03-03 15:41:18 +01:00
Bond-009
72d063c563 Merge pull request #5359 from cvium/fix_broadcasttimer_disposed
Do nothing in timer callback when device locator is disposed
2021-03-03 15:27:46 +01:00
cvium
610a30d791 Do nothing in timer callback when device locator is disposed 2021-03-03 15:13:43 +01:00
cvium
8b72b902f5 fix HasProviderId and add tests 2021-03-03 12:28:40 +01:00
cvium
a49f5d2a44 revert removal of null check 2021-03-03 09:37:21 +01:00
cvium
664c5da317 return false when providerid is null or empty 2021-03-03 09:09:57 +01:00
Nathan Mascitelli
bfe84affb3 Update README to include ffmpeg 2021-03-02 22:20:41 -05:00
David Ullmer
8f99bdd07c Fix TMDb search name containing year (#5349) 2021-03-02 21:17:25 +01:00
BaronGreenback
c275c5c1ea Update Jellyfin.Server/Program.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-02 08:57:27 +00:00
Claus Vium
e858e5f0b8 Merge pull request #5339 from Bond-009/hasproviderids
Revert breaking change to HasProviderId
2021-03-02 09:35:51 +01:00
Bond-009
1f0bbe266c Merge pull request #5342 from BaronGreenback/errorMessageCorrection
Corrected logging message
2021-03-02 03:07:45 +01:00
Patrick Barron
b5e3c02865 Move IHasPermissions.cs to correct namespace 2021-03-01 19:37:46 -05:00
BaronGreenback
5942948714 Kestrel workaround 2021-03-01 23:42:04 +00:00
Claus Vium
0b1b99c2ca Merge pull request #5338 from Bond-009/ssatests
Remove tests that are upstreamed
2021-03-01 23:40:11 +01:00
BaronGreenback
dedc94ec91 correction of ip6 loopback 2021-03-01 21:32:49 +00:00
BaronGreenback
fdd4b6b3f1 Changed message 2021-03-01 21:02:20 +00:00
Bond_009
ba62d9d1fe Revert breaking change 2021-03-01 20:35:38 +01:00
Bond_009
ed0267252f Remove tests that are upstreamed
libse (the SSA parser we use) has these same tests now
2021-03-01 20:00:00 +01:00
Bond-009
9390dd2df8 Merge pull request #5317 from Bond-009/notnullwhen
MaybeNullWhen(false) -> NotNullWhen(true)
2021-03-01 18:58:46 +01:00
Bond-009
c2af32d035 Merge pull request #5299 from Bond-009/tests13 2021-03-01 18:51:09 +01:00
Bond-009
557a2ad715 Merge pull request #5328 from jellyfin/dependabot/nuget/Moq-4.16.1
Bump Moq from 4.16.0 to 4.16.1
2021-03-01 15:51:27 +01:00
dependabot[bot]
b0d391427b Bump Moq from 4.16.0 to 4.16.1
Bumps [Moq](https://github.com/moq/moq4) from 4.16.0 to 4.16.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.16.0...v4.16.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 14:06:48 +00:00
Bond-009
640f341ce5 Merge pull request #5327 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.9.1
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
2021-03-01 15:06:03 +01:00
Bond-009
153021eec6 Merge pull request #5326 from jellyfin/dependabot/nuget/libse-3.6.0
Bump libse from 3.5.8 to 3.6.0
2021-03-01 14:30:59 +01:00
dependabot[bot]
829442c419 Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:00:38 +00:00
dependabot[bot]
fef43c556d Bump libse from 3.5.8 to 3.6.0
Bumps [libse](https://github.com/SubtitleEdit/subtitleedit) from 3.5.8 to 3.6.0.
- [Release notes](https://github.com/SubtitleEdit/subtitleedit/releases)
- [Changelog](https://github.com/SubtitleEdit/subtitleedit/blob/master/Changelog.txt)
- [Commits](https://github.com/SubtitleEdit/subtitleedit/compare/3.5.8...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:00:38 +00:00
Csaba
f6c49f1373 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2021-03-01 04:54:59 -05:00
Mister Rajoy
18cd634ec8 Fix duplicated movies when group movies into collections is enabled 2021-02-28 23:03:28 +01:00
Moshe Schmidt
4bbfcaef83 Include specials in the calculation for the "Next Up" episode. Fixes #1479 2021-02-28 21:21:26 +01:00
Sebastian
0fde0a82e4 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2021-02-28 10:01:34 -05:00
David
16694b0cfc Add nfo thumb tag support 2021-02-28 15:00:17 +01:00
dkanada
0cf4c7857b Merge pull request #5314 from barronpm/cleanup
Remove unused entity
2021-02-28 19:27:48 +09:00
BaronGreenback
8836242559 fixed tests 2021-02-28 10:25:14 +00:00
BaronGreenback
caa8e7cdf3 fixed build 2021-02-28 10:16:28 +00:00
BaronGreenback
159ecb882f Fixed bad sync 2021-02-28 10:14:05 +00:00
BaronGreenback
80ca3da55c Merge remote-tracking branch 'upstream/master' into FixFor5280Part2 2021-02-28 10:12:14 +00:00
BaronGreenback
1d6f489f17 comment change 2021-02-28 10:11:37 +00:00
BaronGreenback
f666b7e102 fix 2021-02-27 23:32:22 +00:00
Bond_009
02848189e3 MaybeNullWhen(false) -> NotNullWhen(true) 2021-02-28 00:10:36 +01:00
Claus Vium
f8c9c37c29 Merge pull request #5181 from BaronGreenback/Fix_IPHostIP6Parsing 2021-02-27 22:52:24 +01:00
Claus Vium
14605280a0 Merge pull request #5274 from BaronGreenback/bindfix 2021-02-27 22:51:45 +01:00
BaronGreenback
5074d67379 performance 2021-02-27 21:17:58 +00:00
BaronGreenback
cc19d281e7 Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-02-27 19:10:58 +00:00
BaronGreenback
d99d95422e Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-02-27 19:10:53 +00:00
Claus Vium
64730b5661 Merge pull request #5278 from BaronGreenback/STRMFix
Fix for #5168
2021-02-27 20:07:45 +01:00
Claus Vium
9e77fdc70d Merge pull request #5312 from BaronGreenback/FixFor5280 2021-02-27 20:01:51 +01:00
Claus Vium
e5f99762e2 Merge pull request #5073 from BaronGreenback/ffmpeg
Fix for 4933: Alternative ffmpeg fix
2021-02-27 19:55:52 +01:00
BaronGreenback
73ca367bf9 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-27 17:34:48 +00:00
BaronGreenback
9f03064ad8 Update MediaBrowser.Controller/IServerApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-27 17:34:44 +00:00
Patrick Barron
ebb6467db4 Remove unused entity 2021-02-27 11:42:37 -05:00
BaronGreenback
d95ca20fc7 removed bad merge code 2021-02-27 14:05:13 +00:00
BaronGreenback
a25e3c0256 fix for override ports contained in PublishedServerUrl 2021-02-27 13:56:21 +00:00
Eben van Deventer
0a1b91f084 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2021-02-26 15:41:34 -05:00
BaronGreenback
414e918c01 Optimized and added test 2021-02-26 14:30:00 +00:00
Patrick Barron
9413d974f3 Switch to using declarations in MediaBrowser.Providers 2021-02-25 20:38:18 -05:00
Patrick Barron
03cc6b1d78 Make styling more consistent 2021-02-25 19:02:27 -05:00
dkanada
c54ca489f1 Merge pull request #5217 from jellyfin/auto-manifest
handle plugin manifests automatically
2021-02-25 17:17:34 +09:00
Raúl Estévez
bae97322a0 Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2021-02-24 17:17:00 -05:00
Bond_009
2bc1eef4dd Clean up code 2021-02-24 22:18:59 +01:00
Bond-009
5860979500 Merge pull request #5301 from Bond-009/validinput 2021-02-24 22:02:47 +01:00
sebastianporta
1569cc301c Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2021-02-24 10:50:20 -05:00
BaronGreenback
039a4fb22d renamed method 2021-02-24 11:42:09 +00:00
Bond-009
bc7e31a1bc Merge pull request #5285 from Bond-009/tests11 2021-02-24 12:15:06 +01:00
Bond_009
81f527f808 CollectionType can be null 2021-02-24 11:57:04 +01:00
Bond_009
1c74e2f40e Fix build 2021-02-24 02:57:10 +01:00
Christopher G
82634a9934 Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2021-02-23 20:28:45 -05:00
Bond_009
914e891689 Fix unchecked input 2021-02-24 02:05:12 +01:00
BaronGreenback
b5c6e5fb97 Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-02-23 20:34:42 +00:00
BaronGreenback
f67137004c Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-02-23 20:34:32 +00:00
BaronGreenback
ff7cae8a13 renamed method 2021-02-23 17:06:40 +00:00
Bond_009
032d72a8a7 Pls fix race condition 2021-02-23 17:30:24 +01:00
Bond_009
acac21d8dc Improve tests 2021-02-23 16:45:10 +01:00
dkanada
9bfe945f6c catch http exception and fix possible issues 2021-02-24 00:03:26 +09:00
dkanada
fb2d178242 add await directive for image download
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-23 23:39:33 +09:00
dkanada
e9030a62fb remove useless call to dispose
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-23 23:37:32 +09:00
dkanada
454deece13 improve performance in the wrong place
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-23 23:36:49 +09:00
dkanada
64cc5889f2 add suggested changes 2021-02-23 23:11:17 +09:00
Bond_009
aff0aea60f Improve branch coverage 2021-02-23 14:14:02 +01:00
Bond-009
92e5a5c6e8 Merge pull request #5166 from netpok/index-number-end-from-nfo 2021-02-23 13:00:16 +01:00
Bond-009
e09e67deae Merge branch 'master' into tests11 2021-02-23 12:54:05 +01:00
dkanada
b18bb3d0de update timestamp parse for plugins 2021-02-23 19:22:20 +09:00
dkanada
bc746b4d05 merge branch 'master' into auto-manifest 2021-02-23 19:19:38 +09:00
Balázs Váradi
a015caba3f Remove unnecessary sanity check 2021-02-23 06:34:46 +01:00
Joshua M. Boniface
7ece3c5523 Merge pull request #5273 from Bond-009/warn31 2021-02-22 21:00:46 -05:00
Joshua M. Boniface
c0c4aff8a6 Merge pull request #5276 from Bond-009/minor12 2021-02-22 21:00:34 -05:00
Joshua M. Boniface
da55462d92 Merge pull request #5291 from Bond-009/tests12 2021-02-22 21:00:15 -05:00
Joshua M. Boniface
1442a63556 Merge pull request #5290 from Bond-009/nullref
Fix possible null ref exception
2021-02-22 21:00:04 -05:00
Joshua M. Boniface
5ce4df4178 Merge pull request #5270 from Bond-009/imdb 2021-02-22 20:59:57 -05:00
Joshua M. Boniface
23ff1fab46 Merge pull request #4984 from Bond-009/subtitleedit 2021-02-22 20:59:49 -05:00
Bond-009
6cfec511c3 Merge pull request #5287 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-6.0.7
Bump Swashbuckle.AspNetCore from 6.0.5 to 6.0.7
2021-02-22 17:13:01 +01:00
dependabot[bot]
875e02318c Bump Swashbuckle.AspNetCore from 6.0.5 to 6.0.7
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.0.5 to 6.0.7.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.5...v6.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 16:11:56 +00:00
Bond-009
accb0ad08b Merge pull request #5289 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.0.7
Bump Swashbuckle.AspNetCore.ReDoc from 6.0.5 to 6.0.7
2021-02-22 17:11:21 +01:00
Bond-009
003945f25b Update MediaBrowser.Model/LiveTv/LiveTvChannelQuery.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-22 17:10:42 +01:00
Bond_009
baadc48f43 Address comments 2021-02-22 16:27:02 +01:00
Bond-009
799fd8f545 Merge pull request #5288 from jellyfin/dependabot/nuget/sharpcompress-0.28.1
Bump sharpcompress from 0.28.0 to 0.28.1
2021-02-22 14:16:22 +01:00
Bond-009
c9ea66f0bd Merge pull request #5286 from jellyfin/dependabot/nuget/coverlet.collector-3.0.3
Bump coverlet.collector from 3.0.2 to 3.0.3
2021-02-22 14:15:22 +01:00
Bond_009
ec3237ba55 Fix tests 2021-02-22 13:46:40 +01:00
Bond_009
57102090d3 Add tests for DashboardController 2021-02-22 13:15:29 +01:00
Bond_009
93a1f434a3 Fix possible null ref exception 2021-02-22 13:13:31 +01:00
dependabot[bot]
29fb2c57c8 Bump Swashbuckle.AspNetCore.ReDoc from 6.0.5 to 6.0.7
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.0.5 to 6.0.7.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.5...v6.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 12:00:48 +00:00
dependabot[bot]
35f460998b Bump sharpcompress from 0.28.0 to 0.28.1
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.28.0 to 0.28.1.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.28...0.28.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 12:00:47 +00:00
dependabot[bot]
d033c30cd7 Bump coverlet.collector from 3.0.2 to 3.0.3
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 12:00:42 +00:00
Bond_009
ff10dd9e12 Update deps Jellyfin.Model.Tests 2021-02-22 09:58:23 +01:00
Bond-009
0beda0e32c Merge pull request #5275 from BaronGreenback/upnpStartupFix
Fixes #5148
2021-02-21 19:59:15 +01:00
BaronGreenback
473a995650 Update SubtitleEncoder.cs 2021-02-21 15:53:20 +00:00
denikrejn1000
0d3606a746 Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sr/
2021-02-21 10:42:19 -05:00
BaronGreenback
7bfc59b562 Fixed test data. 2021-02-21 13:41:37 +00:00
Claus Vium
c715bc6dd9 Merge pull request #5277 from Bond-009/modeltests
Add Jellyfin.Model.Tests project to the solution
2021-02-21 07:57:57 +01:00
Bond_009
b489761658 Add Jellyfin.Model.Tests project to the solution 2021-02-21 03:06:59 +01:00
Bond_009
b1fe28d0a6 Use GetEncodingOptions where possible 2021-02-21 02:58:30 +01:00
Bond_009
eba859e33e Minor improvements 2021-02-21 02:49:52 +01:00
BaronGreenback
5756c6dbad Merge branch 'master' into bindfix 2021-02-21 00:44:14 +00:00
BaronGreenback
cb09096a59 optimized 2021-02-21 00:42:06 +00:00
BaronGreenback
b03bd7a299 Fix testing 2021-02-21 00:41:14 +00:00
BaronGreenback
c50d0dbc72 Fixed startup racing issue 2021-02-20 23:06:48 +00:00
BaronGreenback
605bd80251 Fix for ignoreVirtualInterfaces 2021-02-20 22:46:16 +00:00
Bond_009
401bafbfd0 Address comments 2021-02-20 23:36:22 +01:00
hoanghuy309
55dd0da5da Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2021-02-20 17:34:16 -05: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
dkanada
175e2a5249 Merge pull request #5242 from jellyfin/cancellationtokens
Properly forward cancellationTokens
2021-02-20 10:52:30 +09:00
Bond_009
2b131ddaac Cover all branches 2021-02-19 17:26:34 +01:00
Bond_009
941d3f6217 Add tests for ProviderIdsExtensions 2021-02-19 17:01:52 +01:00
Bond_009
b2700ecf44 TMDB: Also search with IMDB or TVDB Id if specified 2021-02-19 16:09:23 +01:00
Andrew Rabert
5379fa0bd0 Merge pull request #5263 from Bond-009/tmdb
TMDB: Include year in search
2021-02-18 17:29:32 -05:00
Bond_009
c1b17b2fa4 TMDB: Include year in search 2021-02-18 22:58:18 +01:00
Bond-009
ae30eaf320 Merge pull request #5255 from cvium/fix_renameuser 2021-02-18 17:52:25 +01:00
Bond-009
4996c997d7 Merge pull request #5253 from jellyfin/tests10
Fix broken test
2021-02-18 17:47:57 +01:00
cvium
2112d2a9a0 Restructure tests 2021-02-17 11:51:15 +01:00
cvium
442e770688 Validate the new username when renaming 2021-02-17 11:30:14 +01:00
Bond_009
54eee41207 Fix broken test 2021-02-17 10:38:44 +01:00
Bond-009
467cd9227e Merge pull request #5251 from crobibero/vpp-null-ref
Fix vpp null reference
2021-02-17 10:07:54 +01:00
dkanada
b4c2086138 Merge pull request #5250 from barronpm/user-rename-fix
Fix user renaming logic
2021-02-17 11:49:59 +09:00
dkanada
1e2ce4e698 Merge pull request #5243 from crobibero/wish-i-had-my-swagger-back
Bump Swashbuckle.AspNetCore to 6.0.5
2021-02-17 11:48:05 +09:00
crobibero
0cce843f07 Fix vpp null reference 2021-02-16 19:14:17 -07:00
Patrick Barron
f127096660 Don't allow new users to be created with the same name as an existing user. 2021-02-16 20:48:41 -05:00
Patrick Barron
1171b5ab92 Fix user renaming logic 2021-02-16 20:41:53 -05:00
Bond-009
91ee1b1d02 Merge pull request #5235 from Ullmie02/nfo-tests 2021-02-15 20:17:57 +01:00
crobibero
9da972682c Enable non-nullable reference types in generated api spec 2021-02-15 10:08:38 -07:00
crobibero
6ad2544a30 Bump Swashbuckle.AspNetCore to 6.0.5 2021-02-15 10:07:50 -07:00
Bond-009
32934cb33d Merge pull request #5230 from orryverducci/double-rate-deint-fix
Fix double rate deinterlacing for some TS files
2021-02-15 14:35:07 +01:00
Bond-009
4770085c63 Merge pull request #5239 from jellyfin/dependabot/nuget/sharpcompress-0.28.0
Bump sharpcompress from 0.27.1 to 0.28.0
2021-02-15 14:33:51 +01:00
Bond-009
d1888d6d10 Merge pull request #5241 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.0.5
Bump Swashbuckle.AspNetCore.ReDoc from 6.0.2 to 6.0.5
2021-02-15 14:33:03 +01:00
Bond_009
e9f22303a4 Properly forward cancellationTokens 2021-02-15 14:19:17 +01:00
dependabot[bot]
7feef9a01b Bump Swashbuckle.AspNetCore.ReDoc from 6.0.2 to 6.0.5
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.0.2 to 6.0.5.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.2...v6.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 12:00:48 +00:00
dependabot[bot]
8a22913c84 Bump sharpcompress from 0.27.1 to 0.28.0
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.27.1 to 0.28.0.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.27.1...0.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 12:00:40 +00:00
David
9379f535c2 Merge remote-tracking branch 'jellyfin/master' into nfo-tests 2021-02-15 12:00:51 +01:00
David
e924545ae2 Fix tests for UNIX 2021-02-15 11:39:00 +01:00
Bond-009
30372fcd68 Merge pull request #5194 from Ullmie02/nfo-watched 2021-02-14 18:25:41 +01:00
Luca Benini
078b6244ee Restored GUID in Jellyfin.XbmcMetadata.Tests
Restored the project type guid as by review
See https://github.com/dotnet/project-system/issues/1821
2021-02-14 12:46:28 +01:00
Luca Benini
1664109d14 Merge branch 'baseitemkind-fixes' of github.com:lbenini/jellyfin into baseitemkind-fixes 2021-02-14 12:40:33 +01:00
Luca Benini
2f8d15ed08 Moved test to Jellyfin.Server.Implementation.Tests as by review
Aligned code base to review comments:
	Jellyfin.Server.Implementation.Tests is the correct place
2021-02-14 12:40:08 +01:00
Luca Benini
c4d142eda1 Fix BaseItemKind conversion for PlaylistsFolder
Return the correct ClientTypeName to allow Enum Parse
Added dynamic unit tests to ensure all BaseItem concrete descend
2021-02-14 12:40:08 +01:00
dkanada
75ec8b0c8c Merge pull request #5207 from matthin/default-language
Default to English metadata during the setup wizard.
2021-02-14 16:06:27 +09:00
dkanada
8d2b9ba657 Merge pull request #5222 from Bond-009/jsoncase
Don't enable case-insensitivity for json by default
2021-02-14 15:56:03 +09:00
dkanada
8301dabca6 Merge pull request #5226 from Bond-009/null
100% branch coverage for Emby.Naming
2021-02-14 15:49:41 +09:00
dkanada
d671a74c02 Merge pull request #5218 from jellyfin/totally-unnecessary
rename the solution file
2021-02-14 15:44:46 +09:00
David
fc7377fb9b Merge remote-tracking branch 'jellyfin/master' into nfo-tests
# Conflicts:
#	tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
#	tests/Jellyfin.XbmcMetadata.Tests/Parsers/SeriesNfoParserTests.cs
2021-02-13 22:55:33 +01:00
David
7f12b27319 Add nfo location tests 2021-02-13 22:48:29 +01:00
David
36d91a1601 Add test for music video nfo 2021-02-13 22:41:38 +01:00
David
eecdc3c110 Add more tags to nfo tests 2021-02-13 22:41:12 +01:00
Luca Benini
c8395899ba Moved test to Jellyfin.Server.Implementation.Tests as by review
Aligned code base to review comments:
	Jellyfin.Server.Implementation.Tests is the correct place
2021-02-13 19:40:15 +01:00
Orry Verducci
b718eed314 Use average frame rate when determining deinterlace mode 2021-02-13 15:27:19 +00:00
Luca Benini
991adc8efe Fix BaseItemKind conversion for PlaylistsFolder
Return the correct ClientTypeName to allow Enum Parse
Added dynamic unit tests to ensure all BaseItem concrete descend
2021-02-13 15:28:37 +01:00
Bond_009
dc9e2ad1a4 Add some more Crc32 tests 2021-02-13 11:46:38 +01:00
Bond_009
8a6242826f 100% branch coverage for Emby.Naming 2021-02-13 11:38:17 +01:00
Bond-009
6616add8c8 Merge pull request #5213 from Bond-009/tests9
Add tests for RequestHelpers.GetItemTypeStrings
2021-02-13 11:10:28 +01:00
Dar Donkov
cd612edbf0 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-02-12 23:30:50 -05:00
dkanada
542401c7f4 Merge pull request #5216 from jellyfin/remove-old-settings
remove deprecated settings from server config
2021-02-13 10:52:50 +09:00
Bond_009
65bab55ca0 Minor improvements 2021-02-13 00:39:18 +01:00
Bond_009
fd7b215c28 Don't enable case-insensitivity for json by default 2021-02-13 00:22:58 +01:00
Dar Donkov
0a8587295e Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-02-12 13:00:37 -05:00
Bond_009
e1bc322b70 Add test for WriteGetMessage 2021-02-12 18:35:54 +01:00
Bond_009
3a9fcb6abd Rewrite packet writing code for HdHomerun 2021-02-12 17:34:51 +01:00
dkanada
9caf311925 handle plugin manifests automatically 2021-02-12 22:33:10 +09:00
dkanada
57091d2854 rename the solution file 2021-02-12 22:25:43 +09:00
dkanada
9fcdbd4c4b remove deprecated settings from server config 2021-02-12 21:58:37 +09:00
Bond_009
97935d2cd2 Add tests for RequestHelpers.GetItemTypeStrings 2021-02-11 18:21:08 +01:00
Bond-009
76d66e0dee Merge pull request #5208 from crobibero/api-post-image
Add image file accept to openapi
2021-02-11 17:42:28 +01:00
Bond-009
a2ac4d3dd7 Merge pull request #5209 from crobibero/base-item-kind
Create BaseItemKind enum
2021-02-11 17:12:35 +01:00
David Ullmer
eaaab10cf3 Don't split playcount 2021-02-11 14:15:11 +01:00
David Ullmer
ab5fb1b1f2 Merge branch 'master' of github.com:jellyfin/jellyfin into nfo-watched 2021-02-11 13:48:58 +01:00
David Ullmer
ae57ed4ac7 Add nfo user data tests 2021-02-11 13:36:35 +01:00
David Ullmer
dc2f8b5e6b Fix xml loop 2021-02-11 12:43:36 +01:00
Manjot Singh
d490c1c2bc Translated using Weblate (Hindi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hi/
2021-02-11 02:20:32 -05:00
crobibero
223b42aed3 Create BaseItemKind enum 2021-02-10 17:09:23 -07:00
crobibero
d5f0b046bb Add image file accept to openapi 2021-02-10 16:12:52 -07:00
me@justinharrison.ca
90236efdf2 Default to English metadata during the setup wizard. 2021-02-10 17:08:55 -05:00
Joshua M. Boniface
bd8c269ea2 Merge pull request #5107 from jellyfin/enhanced-nvdec-vpp-tonemap 2021-02-10 01:24:51 -05:00
Joshua M. Boniface
426b55052f Merge pull request #5200 from crobibero/dotnet-5.0.3
Update to dotnet 5.0.3
2021-02-10 01:22:48 -05:00
crobibero
407c35f087 Update to dotnet 5.0.3 2021-02-09 19:02:02 -07:00
Bond-009
f2e5b14db7 Merge pull request #5193 from Ullmie02/nfo-id-test
Add test for generic nfo provider id parsing
2021-02-09 16:45:22 +01:00
Bond_009
9e5c4439b9 Comment out broken tests 2021-02-09 15:12:43 +01:00
Bond_009
f81bcf7f35 Fix tests on windows 2021-02-09 15:12:43 +01:00
Bond_009
be965e35b6 Log subtitle errors 2021-02-09 15:12:43 +01:00
Bond_009
ed8fce2dce Use SubtitleEdit to parse subtitles 2021-02-09 15:12:41 +01:00
David
3a4c33ca5f Add nfo parsing for watched, playcount and lastplayed 2021-02-09 12:42:55 +01:00
David Ullmer
086254821f Add test for generic nfo provider id parsing 2021-02-09 11:19:19 +01:00
Balázs Váradi
7ba53548a2 Fix typos in nfo tests 2021-02-09 07:21:08 +01:00
dkanada
995b370017 Merge pull request #4663 from joshuaboniface/bump-version-10.8.0
Bump version to 10.8.0 for next release
2021-02-09 11:38:31 +09:00
dkanada
7f1243978c Merge pull request #5012 from jellyfin/ws
Improve WebSocket Message Deserialization
2021-02-09 11:10:52 +09:00
dkanada
bb33d5f190 Merge pull request #5190 from jellyfin/regressiontest
Add regression test for PluginManager.SaveManifest
2021-02-09 11:04:02 +09:00
netpok
c97edc96eb Fix typo
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-08 21:02:54 +01:00
Balázs Váradi
351d61a318 Add test for multiepisode nfo parsing 2021-02-08 19:40:17 +01:00
Balázs Váradi
094ffafb24 Comment and simplify code 2021-02-08 18:56:06 +01:00
Bond_009
13c1c2815f Add regression test for PluginManager.SaveManifest 2021-02-08 17:10:20 +01:00
dkanada
76fdf73991 Merge pull request #5189 from jellyfin/antiunicode
Remove last usage of \d
2021-02-09 00:47:03 +09:00
dkanada
f0212d377e Merge pull request #5186 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.0.2
Bump Swashbuckle.AspNetCore.ReDoc from 5.6.3 to 6.0.2
2021-02-09 00:45:32 +09:00
Bond_009
88f37833df Remove last usage of \d 2021-02-08 16:33:37 +01:00
Bond-009
fba80cf6f9 Merge pull request #5188 from cvium/fix_manifest_bom
Exclude BOM when writing meta.json plugin manifest
2021-02-08 16:22:37 +01:00
cvium
311b2f5012 Exclude BOM when writing meta.json plugin manifest 2021-02-08 15:38:06 +01:00
dkanada
158e69c6f0 Merge pull request #4935 from ConfusedPolarBear/quickconnect-cleanup
Remove used quick connect tokens
2021-02-08 22:54:53 +09:00
dkanada
aea1c4f310 Merge pull request #5142 from M0ssTee/updateRegex
Replaced /d with [0-9], see issue #2923
2021-02-08 22:52:58 +09:00
dependabot[bot]
df121c1516 Bump Swashbuckle.AspNetCore.ReDoc from 5.6.3 to 6.0.2
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.6.3 to 6.0.2.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.6.3...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 12:00:45 +00:00
Nyanmisaka
22e8667105 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-02-08 16:41:38 +08:00
Jakub Fabijan
6c2eb5fc7e Translated using Weblate (Esperanto)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eo/
2021-02-08 00:30:44 -05:00
Jakub Fabijan
e8fd4531ed Added translation using Weblate (Esperanto) 2021-02-07 14:57:33 -05:00
BaronGreenback
053063fd47 Fixed IP6 host parsing 2021-02-07 17:42:23 +00:00
Oskari Lavinto
49b08798e6 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2021-02-07 10:57:52 -05:00
Patrick Barron
a5e55ba859 Clean up UserManager.AuthenticateUser 2021-02-06 15:59:27 -05:00
Bond-009
34e10622c6 Merge pull request #5171 from Ullmie02/reset-fix 2021-02-06 18:56:36 +01:00
David Ullmer
07f1a2c2dc Update Jellyfin.Api/Controllers/UserController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-06 18:36:18 +01:00
David
eb0ff0c370 Fix forgot password pin request 2021-02-06 17:18:37 +01:00
nyanmisaka
3052068161 hybird vpp tonemapping for QSV on Linux 2021-02-06 13:21:50 +08:00
nyanmisaka
b0e0e19468 add cuda format converter 2021-02-06 13:21:40 +08:00
nyanmisaka
09b9fa3ce1 add vpp tonemapping for vaapi 2021-02-06 13:21:30 +08:00
Balázs Váradi
b646787ab6 Get IndexNumberEnd from nfo 2021-02-05 20:02:47 +01:00
WWWesten
f8283d8c20 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2021-02-05 05:55:58 -05:00
WWWesten
9eabad685e Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-02-05 05:55:58 -05:00
dkanada
54a3ab15a3 Merge pull request #5005 from jellyfin/bytes
JsonSerializer deserialize from bytes where possible
2021-02-05 11:47:06 +09:00
dkanada
2e9661c415 Merge pull request #5043 from senritsu/improve-episode-number-parsing-with-digits-in-names
adjust episode path expression to allow digits in series names
2021-02-05 11:43:32 +09:00
dkanada
86859a3926 Merge pull request #5010 from BaronGreenback/Remove_IPluginConfigurationPage
Removal of IPluginConfigurationPage
2021-02-05 11:38:44 +09:00
M0ssTee
256bb3ee98 Update MediaBrowser.MediaEncoding/Subtitles/AssParser.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-04 16:14:57 -05:00
dkanada
ad203d011b Merge pull request #5006 from jellyfin/roundtrip
Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip
2021-02-04 23:28:20 +09:00
dkanada
bfbbee0bc9 Merge pull request #5085 from Ullmie02/nfo-actor-type
Process actor type in nfo files
2021-02-04 23:27:34 +09:00
dkanada
cfe37474f1 Merge pull request #5088 from Ullmie02/nfo-watched
Fix nfo saving during UserDataSaved event
2021-02-04 23:24:53 +09:00
dkanada
793ae6f7a6 Merge pull request #5112 from jellyfin/shuffle
Add test for ShuffleExtensions
2021-02-04 23:23:11 +09:00
dkanada
6afbc98b60 Merge pull request #5159 from Ullmie02/unused
Remove unused files
2021-02-04 23:21:17 +09:00
Bond-009
28ffbf6945 Merge pull request #5106 from BaronGreenback/FileShareTest2 2021-02-03 19:16:22 +01:00
BaronGreenback
8d12e6d6eb Update BaseNfoSaver.cs 2021-02-03 10:42:17 +00:00
David
f854a1ce1f Remove unused files 2021-02-03 11:34:21 +01:00
Claus Vium
3fd0987ee3 Merge pull request #5111 from Larvitar/tmdb-season-name-fix
Remove season name from metadata result
2021-02-03 08:20:21 +01:00
Claus Vium
5f63c33557 Merge pull request #5154 from crobibero/skip-attributes 2021-02-03 08:18:39 +01:00
M0ssTee
8f88d0d2cb Update Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-03 00:57:04 -05:00
crobibero
8d902478a0 Don't skip hidden files 2021-02-02 07:14:11 -07:00
Troy
8c640a1492 Replaced /d with [0-9], see issue #2923 2021-02-01 02:49:23 +00:00
Tomi
4bcf684b72 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2021-01-31 11:30:29 -05:00
Jacob Adlers
edc7efe4d7 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2021-01-31 11:30:29 -05:00
WWWesten
fa59d2afe3 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2021-01-31 11:30:29 -05:00
WWWesten
027ef41d87 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-01-31 11:30:29 -05:00
WWWesten
a50459a2a1 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-01-29 01:31:43 -05:00
Claus Vium
63be326302 Merge pull request #5117 from jellyfin/fix-framerate-locale
Make FRAME-RATE field culture invariant
2021-01-28 15:35:23 +01:00
nyanmisaka
3ce0d589ba make FRAME-RATE field culture invariant 2021-01-28 01:00:55 +08:00
Bond_009
bf4829a38c Remove redundant statement 2021-01-26 20:28:35 +01:00
Bond_009
80e22d9670 Add test for ShuffleExtensions 2021-01-26 20:21:07 +01:00
Mariusz Chryc
0d1f356373 Remove season name from metadata result 2021-01-26 19:04:20 +01:00
Bond-009
4a2678e63b Merge pull request #5097 from Bond-009/cleanup4
Remove useless abstraction and clean up formatting
2021-01-26 17:44:49 +01:00
Bond-009
51b9e62830 Merge pull request #5104 from jellyfin/dependabot/nuget/coverlet.collector-3.0.2
Bump coverlet.collector from 3.0.1 to 3.0.2
2021-01-25 22:08:34 +01:00
Claus Vium
e7e385d7a2 Merge pull request #5105 from crobibero/image-null-ref
Add null check for ImageTags
2021-01-25 19:27:59 +01:00
BaronGreenback
21d15989f5 1 attempted fix 2021-01-25 17:34:11 +00:00
crobibero
4e2d029b3d Add null check for ImageTags 2021-01-25 08:48:24 -07:00
dependabot[bot]
09471a206a Bump coverlet.collector from 3.0.1 to 3.0.2
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 12:00:44 +00:00
Claus Vium
e5828cdbf1 Merge pull request #5099 from crobibero/non-required-query-param 2021-01-25 12:55:06 +01:00
Claus Vium
f82e6ee8cc Merge pull request #5090 from Ullmie02/plugin-startup-fix 2021-01-25 12:04:25 +01:00
David Ullmer
b014f2309d Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-01-25 09:44:06 +01:00
crobibero
77b417e41e Mark non-nullable body as null 2021-01-24 15:02:56 -07:00
crobibero
ef97ead707 Fix openapi nullable properties 2021-01-24 14:36:36 -07:00
nyanmisaka
326fa8ce38 add an enhanced nvdec decoder 2021-01-25 03:40:34 +08:00
Claus Vium
98a4e1b840 Merge pull request #5095 from Bond-009/sortorder 2021-01-24 19:04:12 +01:00
Bond_009
f6b293203a Restore weird behaviour 2021-01-24 17:55:25 +01:00
Bond-009
3806cc5b3f Merge pull request #5074 from jellyfin/cov
100% branch coverage for Jellyfin.Naming
2021-01-24 14:11:48 +01:00
David Ullmer
39f9a7981a Update MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-01-24 13:35:08 +01:00
David
677bba742e Remove try-catch nesting 2021-01-24 13:34:22 +01:00
Bond_009
1c2cd7efa0 Remove useless abstraction and clean up formatting 2021-01-24 13:32:29 +01:00
David
80f3e20394 Change plugin error message 2021-01-24 13:22:04 +01:00
Bond_009
d24e7f60c7 Fix GetOrderBy and add tests 2021-01-24 11:43:05 +01:00
Bond-009
b4d04f9ca5 Merge pull request #5091 from crobibero/query-param-array
Use ArrayModelBinder for sortBy and sortOrder
2021-01-24 11:13:18 +01:00
crobibero
55670b91b2 Use ArrayModelBinder for sortBy and sortOrder 2021-01-23 17:32:13 -07:00
Ionut Andrei Oanca
68969c9530 Clear playlist in SyncPlay group 2021-01-24 01:05:17 +01:00
David Ullmer
4adbbb9f51 Catch TypeLoadException during plugin loading 2021-01-24 00:58:52 +01:00
Karandeep Singh Grewal
4aaf71b873 Translated using Weblate (Hindi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hi/
2021-01-23 18:12:17 -05:00
Bond-009
6e9cebaf74 Merge pull request #5084 from Ullmie02/nfo-tagline
Don't write tagline in <outline> in nfo files
2021-01-23 23:57:53 +01:00
David Ullmer
3838e8ac15 Update MediaBrowser.XbmcMetadata/Savers/BaseNfoSaver.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-01-23 23:36:51 +01:00
Joshua M. Boniface
3fda50de6d Merge pull request #5064 from BaronGreenback/PluginFix
Plugin bug fixes
2021-01-23 15:24:10 -05:00
Joshua M. Boniface
4b6b90e0b1 Merge pull request #5069 from crobibero/obsolete-param 2021-01-23 14:45:18 -05:00
Joshua M. Boniface
4d13cad7af Merge pull request #5062 from crobibero/delete_log_task 2021-01-23 14:43:09 -05:00
Joshua M. Boniface
3bf7e18886 Merge pull request #5031 from crobibero/5.0.2
Update to dotnet 5.0.2
2021-01-23 14:41:03 -05:00
Joshua M. Boniface
c5e9d56028 Merge pull request #4911 from Ullmie02/nuget_again 2021-01-23 14:40:06 -05:00
David
18e33b6b2d Remove check for wrong metadata saving property 2021-01-23 19:05:55 +01:00
David
454d82c52c Process actor type in nfo files 2021-01-23 18:06:26 +01:00
David
b2f2126edd Don't write tagline in <outline> in nfo files 2021-01-23 17:35:06 +01:00
Bond-009
828b0be254 Merge pull request #5047 from jellyfin/dependabot/nuget/Moq-4.16.0
Bump Moq from 4.15.2 to 4.16.0
2021-01-23 15:05:18 +01:00
dependabot[bot]
1bc1d1c07b Bump Moq from 4.15.2 to 4.16.0
Bumps [Moq](https://github.com/moq/moq4) from 4.15.2 to 4.16.0.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.15.2...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-23 13:43:41 +00:00
Bond-009
7c3db79535 Merge pull request #5053 from jellyfin/dependabot/nuget/coverlet.collector-3.0.1
Bump coverlet.collector from 3.0.0 to 3.0.1
2021-01-23 14:43:11 +01:00
Bond-009
27f8823cbe Merge pull request #5055 from jellyfin/dependabot/nuget/sharpcompress-0.27.1
Bump sharpcompress from 0.26.0 to 0.27.1
2021-01-23 14:42:29 +01:00
Bond-009
827f39f54b Merge pull request #5068 from Ullmie02/nfo-tests 2021-01-23 13:52:33 +01:00
David
7297412195 Fix indentation 2021-01-23 12:02:22 +01:00
WWWesten
91abc09e79 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2021-01-22 17:25:47 -05:00
Wong To Han, Toby
84f6d683f2 Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2021-01-22 02:44:01 -05:00
Arian Ar
d80daa3bec Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2021-01-21 18:58:04 -05:00
Rodlan Bernabe
17cff101ce Translated using Weblate (Filipino)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fil/
2021-01-21 15:21:29 -05:00
Bond_009
956ca0e5aa 100% branch coverage for Jellyfin.Naming 2021-01-21 15:46:10 +01:00
Cody Robibero
91a9af95c2 Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2021-01-21 07:01:51 -07:00
BaronGreenback
df402df908 fix return 2021-01-21 12:48:43 +00:00
crobibero
59ff2c5b4b Add ability to mark query parameter as obsolete. 2021-01-20 16:24:15 -07:00
ImSoSx
215554bb41 Translated using Weblate (Spanish (Latin America))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_419/
2021-01-20 18:07:16 -05:00
David
cf9a03790b Check rating name for "audience" 2021-01-20 20:32:45 +01:00
David
d71dce50ca Add music album nfo parser test 2021-01-20 20:02:35 +01:00
David
ccea02fbb2 Add season nfo parser test 2021-01-20 20:02:03 +01:00
David
dbd70bd394 Add episode nfo parser test 2021-01-20 19:47:31 +01:00
David
0279af5f6b Move existing tests to correct namespace 2021-01-20 19:46:44 +01:00
David
07613f0821 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2021-01-20 12:06:25 -05:00
AdmiralAnimE
27cbd14377 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-01-20 06:35:27 -05:00
AdmiralAnimE
b3059238e3 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2021-01-20 04:43:28 -05:00
BaronGreenback
89046e1d97 Bug fixes 2021-01-19 21:15:40 +00:00
Claus Vium
14bd4a110f Merge pull request #4978 from BaronGreenback/MultipeProxies 2021-01-19 20:55:21 +01:00
BaronGreenback
25eaf21a8f renamed func in test 2021-01-19 19:32:46 +00:00
BaronGreenback
ab632b96fe renamed. 2021-01-19 19:31:55 +00:00
BaronGreenback
9db8a4d88d reverted 2021-01-19 13:56:16 +00:00
BaronGreenback
82d365045a Removed systemIp6 functionality. 2021-01-19 12:50:11 +00:00
BaronGreenback
821473557c Changed mapping logic 2021-01-19 11:31:40 +00:00
BaronGreenback
dd089fd27a Changed test 2021-01-19 10:50:17 +00:00
BaronGreenback
6a7623da02 Simplified Code 2021-01-19 10:36:37 +00:00
BaronGreenback
8b2b3b77a5 Removed duplication 2021-01-19 10:29:17 +00:00
crobibero
6abee2dd22 fix delete log task 2021-01-18 19:42:50 -07:00
Claus Vium
65c09f82c5 Merge pull request #5027 from crobibero/episode-first-up 2021-01-18 15:48:53 +01:00
crobibero
1455c2aa10 Remove commented code 2021-01-18 06:47:18 -07:00
Claus Vium
b9691e8712 Merge pull request #5025 from BaronGreenback/DlnaFix 2021-01-18 14:24:35 +01:00
BaronGreenback
49e3b70722 Moved InternalsVisibleTo 2021-01-18 13:03:37 +00:00
BaronGreenback
e81b7c8f4f reverted 2021-01-18 12:17:18 +00:00
dependabot[bot]
4e13b41eed Bump sharpcompress from 0.26.0 to 0.27.1
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.26.0 to 0.27.1.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.26...0.27.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 12:01:04 +00:00
dependabot[bot]
0cb80d3815 Bump coverlet.collector from 3.0.0 to 3.0.1
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 12:01:03 +00:00
Oriol Serra
01836e55e4 Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2021-01-17 19:28:35 -05: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
senritsu
4e21b49994 adjust episode path expression to allow digits in series names
The previous expression was too greedy to consume digits, because the hyphen was optional. This lead to incorrect episode numbers for certain series with digits in their names, in those cases each episode was recognized as the same episode number (the digit from the series name).

The rule, which matches most standard  anime filenames, also had a lower priority than one of the Kodi rules, leading to incorrect recognition for absolute numbered episodes with triple digits and higher (first digit was used as season number, rest of digits as episode number). This also resolves one of the TODO test cases.

Additional test cases were added to ensure that both hyphens in different parts of the filename, as well as names without hyphens, still work correctly. All previous test cases still pass.

Unfortunately another TODO (EpisodeNumberTests.cs@L76, Uchuu Senkan Yamato 2199) with the same issue (digits in the series name) could not be trivially fixed in the same change, due to the significantly different formatting. Attempts to resolve this case did not work out for now.
2021-01-17 20:24:23 +01:00
Sinan
d8d9d90469 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2021-01-17 11:09:42 -05:00
BaronGreenback
b9f0f4f53b reverted 2021-01-17 13:35:30 +00:00
BaronGreenback
688e7c6a2d Moved internalVisibleToAttribute to .csj 2021-01-17 12:45:11 +00:00
Joshua M. Boniface
03242a6afd Merge pull request #5007 from jellyfin/create 2021-01-16 13:28:48 -05:00
Joshua M. Boniface
fe9096be94 Merge pull request #4970 from BaronGreenback/networkTestCorrection 2021-01-16 13:28:34 -05:00
Joshua M. Boniface
3204ce71b3 Merge pull request #4956 from jceresini/master
Fix rpm package dependencies
2021-01-16 13:27:36 -05:00
crobibero
a087ab389a dotnet 5.0.2 2021-01-16 10:17:33 -07:00
crobibero
3b9567d583 Add query parameter to disable returning first episode as next up 2021-01-15 15:08:48 -07:00
crobibero
3d754fa5bf Revert "Don't return first episodes in next up" 2021-01-15 15:06:11 -07:00
BaronGreenback
620648fe81 Fixed for no data. 2021-01-15 18:55:52 +00:00
BaronGreenback
16d092a8a7 Fixed encoding issue 2021-01-15 12:17:50 +00:00
BaronGreenback
a4e838fbf5 Remoed configurationPageType 2021-01-15 10:36:44 +00:00
BaronGreenback
8ef37f6b0e Rename IPluginConfigurationPage.cs to ConfigurationPageType.cs.cs
Renamed file.
2021-01-15 10:26:00 +00:00
BaronGreenback
bced1eab54 Assert.True 2021-01-13 21:16:04 +00:00
Alexander Brissman
549160b9b9 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2021-01-13 14:35:17 -05:00
BaronGreenback
4bc8a1e77b updated 2021-01-13 15:29:57 +00:00
BaronGreenback
9a730241b1 Changed to address. 2021-01-13 15:14:04 +00:00
Deniz
eb82879a4f Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2021-01-13 02:59:55 -05:00
Bond_009
9a5ceb34d1 Improve WebSocket Deserialization 2021-01-13 01:11:25 +01:00
BaronGreenback
c6aa6ceed9 Removal of IPluginConfigurationPage 2021-01-12 22:10:23 +00:00
趙映翔
f7aae0e876 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2021-01-12 16:28:17 -05:00
Oriol Serra
580b90aa4c Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2021-01-12 16:28:17 -05:00
BaronGreenback
d66bc3fb3e Fixed indentation 2021-01-12 20:43:25 +00:00
BaronGreenback
dfd7ff5732 Update MediaBrowser.Common/Net/INetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-01-12 20:41:48 +00:00
BaronGreenback
94cc5b9d8b Update MediaBrowser.Common/Net/INetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-01-12 20:41:40 +00:00
BaronGreenback
08e83cfa54 Remove additional debug logging. 2021-01-12 18:52:48 +00:00
Bond_009
eeff9f52c6 Fix Omdb caching 2021-01-12 16:27:38 +01:00
Bond-009
bffebce909 Merge pull request #5004 from jellyfin/camera-upload
remove unused notification type
2021-01-12 16:13:21 +01:00
Bond_009
1fdd2d6e05 Handle IO errors in LoadManifest 2021-01-12 16:03:13 +01:00
Bond_009
1752423e52 Open FileStream with FileMode.Create instead of FileMode.OpenOrCreate
> The OpenWrite method opens a file if one already exists for the file path,
    or creates a new file if one does not exist. For an existing file,
    it does not append the new text to the existing text. Instead,
    it overwrites the existing characters with the new characters.
    If you overwrite a longer string
    (such as "This is a test of the OpenWrite method") with a shorter string
    (such as "Second run"), the file will contain a mix of the strings
    ("Second runtest of the OpenWrite method").

Ref: https://docs.microsoft.com/en-us/dotnet/api/system.io.file.openwrite?view=net-5.0#remarks
2021-01-12 15:51:32 +01:00
Bond_009
a9b497720d Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip
This test uses a very small object (CountryInfo), using a bigger object
would increase the difference in allocated memory.

```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
  [Host]     : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
  DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT

|          Method |       Mean |    Error |   StdDev |  Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------- |-----------:|---------:|---------:|-------:|------:|------:|----------:|
|  RoundTripBytes |   932.0 ns |  5.09 ns |  4.25 ns | 0.1173 |     - |     - |     368 B |
| RoundTripString | 1,114.8 ns | 22.19 ns | 23.74 ns | 0.1469 |     - |     - |     464 B |
```
2021-01-12 15:37:18 +01:00
Bond_009
1ea2b200c0 JsonSerializer deserialize from bytes where possible
This is faster and uses way less memory
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
  [Host]     : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
  DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT

| Method |     Mean |   Error |  StdDev |   Gen 0 | Gen 1 | Gen 2 | Allocated |
|------- |---------:|--------:|--------:|--------:|------:|------:|----------:|
|  Bytes | 158.4 us | 2.56 us | 2.14 us | 16.8457 |     - |     - |  52.08 KB |
| String | 172.8 us | 0.78 us | 0.70 us | 41.5039 |     - |     - | 127.82 KB |
| Custom | 155.5 us | 2.95 us | 2.76 us | 10.0098 |     - |     - |  31.27 KB |
```
2021-01-12 15:28:02 +01:00
BaronGreenback
2979c8dd37 Fixed test on Mac 2021-01-12 13:23:10 +00:00
BaronGreenback
35a30c9d09 Impliments KnownNetworks and KnownProxies 2021-01-12 13:07:34 +00:00
dkanada
cac33ef105 remove unused notification type 2021-01-12 12:28:21 +09:00
Bond-009
aaf889f683 Merge pull request #5002 from jellyfin/dependabot/nuget/coverlet.collector-3.0.0
Bump coverlet.collector from 1.3.0 to 3.0.0
2021-01-11 14:58:23 +01:00
dependabot[bot]
b00f3334f2 Bump coverlet.collector from 1.3.0 to 3.0.0
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.3.0 to 3.0.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 12:01:03 +00:00
Claus Vium
5c00b4175a Merge pull request #4997 from crobibero/subtitle-upload-auth
Require elevated auth to upload subtitles
2021-01-10 20:45:15 +01:00
crobibero
5f998bdd1f Require elevated auth to upload subtitles 2021-01-10 10:48:37 -07:00
Claus Vium
9970b87439 Merge pull request #4994 from Bond-009/artistnfo
Add tests for artist nfo
2021-01-10 10:33:31 +01:00
Bond_009
4c3fa21e97 Add tests for artist nfo 2021-01-09 21:49:36 +01:00
Claus Vium
75a25de991 Merge pull request #4992 from Bond-009/seriesnfo
Add tests for series nfo
2021-01-09 20:43:15 +01:00
Bond_009
585821954d Add tests for series nfo 2021-01-09 20:15:16 +01:00
Bond-009
8d4312d739 Merge pull request #4989 from Bond-009/nfotests 2021-01-09 19:35:24 +01:00
Bond-009
0bb0dd646f Merge pull request #4980 from Ullmie02/chinese
Add additional chinese languages
2021-01-09 18:55:57 +01:00
Bond-009
2e33e14bb2 Merge pull request #4899 from jellyfin/nullableguid
Cover all branches in JsonNullableGuidConverter
2021-01-09 17:37:23 +01:00
Bond-009
2c74262f7c Merge pull request #4945 from obradovichv/fix-string-culture-specificity 2021-01-09 16:21:19 +01:00
David
262c6ae249 Remove ',' hack 2021-01-09 15:33:39 +01:00
Bond_009
be511ca162 Fix release build ... again 2021-01-09 15:14:26 +01:00
Bond_009
3a9ce6d366 Fix release build 2021-01-09 15:08:48 +01:00
Bond_009
d07eef4f25 Add tests for NFO parsers 2021-01-09 15:00:59 +01:00
Bond_009
620fbf0f89 Remove CropWhitespace function 2021-01-09 10:51:59 +01:00
Bond-009
a8230c07ea Merge pull request #4961 from crobibero/person-blurhash-null-ref
Fix potential null reference
2021-01-09 00:41:16 +01:00
Bond-009
45c6d79dc9 Merge pull request #4877 from jellyfin/ass 2021-01-08 21:43:45 +01:00
Bond-009
efa2dc6829 Merge pull request #4878 from jellyfin/srt
Add tests for srt parser
2021-01-08 21:43:36 +01:00
Bond-009
a554423163 Merge pull request #4976 from BaronGreenback/dlnaPortFix
Fixed DLNA Server on RC2
2021-01-08 21:06:14 +01:00
Bond-009
4549c96f6d Merge pull request #4906 from Spacetech/library_scan_ignore_inaccessible
Ignore inaccessible files & folders during library scans
2021-01-08 21:01:32 +01:00
David
357429b8ea Add .nfo ratings tag 2021-01-08 14:55:16 +01:00
Christian
cb6ae4a188 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2021-01-08 07:48:22 -05:00
David Ullmer
87c2802984 Add additional chinese languages 2021-01-08 11:25:23 +01:00
BaronGreenback
192efff791 Update DlnaEntryPoint.cs 2021-01-07 17:17:22 +00:00
minystory
7acee4070e Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2021-01-07 10:48:05 -05:00
Oatavandi
0ac993e1b3 Translated using Weblate (Malayalam)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ml/
2021-01-07 09:37:18 -05:00
Bond-009
07650d91da Merge pull request #4962 from thornbill/fix-playstate-name
Fix capitalization of Playstate message
2021-01-07 10:04:02 +01:00
Bond-009
7758c61ea8 Merge pull request #4968 from ianjazz246/fix-music-album-display
Fix library with music directly under artist folder
2021-01-07 10:02:23 +01:00
BaronGreenback
a664aac881 optimization 2021-01-06 20:46:22 +00:00
BaronGreenback
90d72d6628 Update NetworkManager.cs
Changed split character
2021-01-06 20:39:25 +00:00
BaronGreenback
8044f1f72f Update NetworkParseTests.cs 2021-01-06 20:30:57 +00:00
Bond-009
6f0a6fdd5d Merge pull request #4943 from crobibero/omdb-fix 2021-01-06 20:28:29 +01:00
Ian
0f4bbbc63c Fix 3169 and 2879 by making MusicArtistResolver run ahead of MusicAlbumResolver 2021-01-06 10:58:07 -08:00
Oatavandi
66ab4e77cd Added translation using Weblate (Malayalam) 2021-01-06 11:57:06 -05:00
crobibero
75ed532fca Add serialize test 2021-01-06 07:07:38 -07:00
GlibTongue
162e8d3045 Translated using Weblate (Urdu (Pakistan))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ur_PK/
2021-01-05 23:06:44 -05:00
David
989c6dcffa Update azure-pipelines-package.yml 2021-01-05 23:01:46 +01:00
Bill Thornton
cfca27e99a Fix capitalization of Playstate message 2021-01-05 10:06:55 -05:00
crobibero
13f347a813 Fix potential null reference 2021-01-05 07:00:48 -07:00
Joe Ceresini
530c4dc11b Use variables for version, and fix conflict 2021-01-05 00:32:46 -05:00
suelio bertulino lima
a4a261e940 Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2021-01-04 12:06:45 -05:00
Aron Szakacs
12144d2d9e Translated using Weblate (German (Swiss))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gsw/
2021-01-04 12:06:45 -05:00
crobibero
c1d1b6e9f4 Fix serialization loop 2021-01-04 07:52:44 -07:00
Tommaso Stocchi
452af30511 Added UrlDecode for authorization parts 2021-01-03 19:32:58 +01:00
obradovichv
d45e2fe95a Update contributors 2021-01-03 20:32:33 +02:00
obradovichv
0282a1ed09 Fix string culture specificity
Fix bug in SsaParser.cs primary color {\1c} formatting that would leave
behind the {\1c} closing token and instead append </font> token
unconditionally to the dialogue text. Add tests.

Change AlphanumComparatorTests.cs complementary test data generation
from an array shuffle to an array reversal. Although it was previously
using a seeded Random, the shuffle itself could result in no
rearrangement of elements if the seed or test data changed over time.
The reversal guarantees reordering of elements and has the added benefit
of simplifying the test code since no special handling is needed for
arrays of 2 elements.

Change DailyTrigger.cs logging of TriggerDate format to
"yyyy-MM-dd HH:mm:ss.fff zzz" for consistency with configured log
timestamp format and change DueTime format to culture-invariant "c"
format.
2021-01-03 20:17:27 +02:00
Bond-009
841996c642 Merge pull request #4936 from crobibero/series-start-item-id
Fix inverted SkipWhile
2021-01-03 17:40:22 +01:00
crobibero
a3a31952f4 Fix OMDb converter 2021-01-03 09:35:22 -07:00
crobibero
a15e126ef8 Fix inverted SkipWhile 2021-01-02 19:23:54 -07:00
Azunyan-
d1da1aa407 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2021-01-02 21:11:01 -05:00
lemmens95
e15b2ea10f Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2021-01-02 21:11:00 -05:00
Matt Montgomery
8dd83327b5 Remove quick connect tokens after usage 2021-01-02 16:37:43 -06:00
Manjot Singh
5932b967b7 Translated using Weblate (Punjabi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pa/
2021-01-02 13:23:32 -05:00
Tommaso Stocchi
a03880b687 Improve get auth header parts using substring 2021-01-02 18:18:47 +01:00
Manjot Singh
cf52503630 Added translation using Weblate (Punjabi) 2021-01-02 06:00:18 -05:00
dkanada
c117b12b6b Merge pull request #4920 from crobibero/person-blurhash
Attach correct Blurhash to BaseItemPerson
2021-01-02 15:45:02 +09:00
crobibero
d077c425d3 Add only correct person blurhash 2021-01-01 12:35:03 -07:00
Bond-009
9a10a18db1 Merge pull request #4905 from BaronGreenback/streamingHelper
Null exception fix
2021-01-01 18:21:21 +01:00
Bond-009
9265dd68a4 Change converter log level (#4916)
Change converter log level
2021-01-01 18:21:06 +01:00
crobibero
1b894798b1 Change log level for converters 2021-01-01 09:34:39 -07:00
David
f154c0dfad Change stable ci nuget build command 2021-01-01 14:56:14 +01:00
Gary Wilber
1fdeac0a7d Ignore inaccessible files during library scans 2020-12-31 18:40:24 -08:00
BaronGreenback
11700db312 Update StreamingHelpers.cs
Null exception fix
2021-01-01 00:25:47 +00:00
Joshua M. Boniface
406ae3e43a Merge pull request #4709 from BaronGreenback/PluginDowngrade 2020-12-31 18:47:05 -05:00
BaronGreenback
bd1c115e46 renamed imagePath to imageUrl 2020-12-31 15:59:48 +00:00
dkanada
e006cc8ac3 Merge pull request #4840 from jellyfin/dependabot/nuget/AutoFixture.AutoMoq-4.15.0
Bump AutoFixture.AutoMoq from 4.14.0 to 4.15.0
2020-12-31 23:14:19 +09:00
dependabot[bot]
6717b8c91a Bump AutoFixture.AutoMoq from 4.14.0 to 4.15.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.14.0...v4.15.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 14:13:22 +00:00
dkanada
d6db0e4b02 Merge pull request #4902 from BaronGreenback/NetmaskFix
Fixed loopback subnet
2020-12-31 23:13:07 +09:00
dkanada
ac7648ab29 Merge pull request #4841 from jellyfin/dependabot/nuget/AutoFixture.Xunit2-4.15.0
Bump AutoFixture.Xunit2 from 4.14.0 to 4.15.0
2020-12-31 23:12:23 +09:00
dkanada
8365d99e52 Merge pull request #4788 from jellyfin/dependabot/nuget/prometheus-net.AspNetCore-4.1.1
Bump prometheus-net.AspNetCore from 4.0.0 to 4.1.1
2020-12-31 23:12:09 +09:00
BaronGreenback
c76faa9708 Update IPNetAddress.cs
Corrected loopback subnet
2020-12-31 13:18:13 +00:00
BaronGreenback
149c2b2169 Added referenced assembly failure detection, and DI failure protection. 2020-12-31 11:39:34 +00:00
martinek-stepan
cc92f7afe5 Enable nullable for MediaBrowser.XbmcMetadata project (#4612)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Stepan <ste.martinek+git@gmail.com>
2020-12-31 12:09:25 +01:00
Bond_009
45331ad83a Cover all branches in JsonNullableGuidConverter 2020-12-31 11:32:32 +01:00
dependabot[bot]
fdb3632e7a Bump prometheus-net.AspNetCore from 4.0.0 to 4.1.1
Bumps [prometheus-net.AspNetCore](https://github.com/prometheus-net/prometheus-net) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.0.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 06:45:10 +00:00
dependabot[bot]
79227fcfef Bump AutoFixture.Xunit2 from 4.14.0 to 4.15.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.14.0...v4.15.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 06:43:16 +00:00
dkanada
1327bd9f7d Merge pull request #4787 from jellyfin/dependabot/nuget/prometheus-net-4.1.1
Bump prometheus-net from 4.0.0 to 4.1.1
2020-12-31 15:36:22 +09:00
dkanada
e53379502c Merge pull request #4876 from jellyfin/dependabot/nuget/DotNet.Glob-3.1.2
Bump DotNet.Glob from 3.1.0 to 3.1.2
2020-12-31 15:33:51 +09:00
dkanada
72f1bcb742 Merge pull request #4839 from jellyfin/dependabot/nuget/AutoFixture-4.15.0
Bump AutoFixture from 4.14.0 to 4.15.0
2020-12-31 15:33:30 +09:00
crobibero
dbfbf9fb5b Fix bad merge 2020-12-30 19:45:31 -07:00
Cody Robibero
5c57569692 Merge branch 'master' into PluginDowngrade 2020-12-30 18:11:37 -07:00
Joshua M. Boniface
ccc1b8bf92 Merge pull request #4729 from BaronGreenback/19.0RC---Fix-networkInterfaceFix 2020-12-30 19:57:53 -05:00
Joshua M. Boniface
0de45d8724 Merge pull request #4884 from crobibero/json-nullable-guid-converter
Add JsonConverter for Nullable Guids
2020-12-30 19:56:04 -05:00
Joshua M. Boniface
7caba04c3c Merge pull request #4890 from nielsvanvelzen/4888-fix-search-hints
Fix search hint endpoint error
2020-12-30 19:55:57 -05:00
Joshua M. Boniface
eb084f9021 Merge pull request #4891 from Artiume/patch-1 2020-12-30 19:12:40 -05:00
BaronGreenback
4c291da45c Encoding fix for System Logs. (#4564) 2020-12-30 18:31:26 +01:00
artiume
f411353c8c Update Emby.Server.Implementations/Library/UserDataManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:30:02 -05:00
artiume
c7cb177260 Update Emby.Server.Implementations/Library/UserDataManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:12:36 -05:00
artiume
77b478c726 Update Emby.Server.Implementations/Library/UserDataManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:12:13 -05:00
artiume
cd979e6b62 Add default of 5 minutes 2020-12-30 08:52:11 -05:00
artiume
99adbf0497 Split resume function for Audiobooks 2020-12-30 08:48:33 -05:00
Niels van Velzen
2bb84c0675 Fix limit parameter error for search hints endpoint 2020-12-30 11:16:09 +01:00
dependabot[bot]
9460611fbb Bump prometheus-net from 4.0.0 to 4.1.1
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.0.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-30 09:34:28 +00:00
dependabot[bot]
633507eee1 Bump DotNet.Glob from 3.1.0 to 3.1.2
Bumps [DotNet.Glob](https://github.com/dazinator/DotNet.Glob) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/dazinator/DotNet.Glob/releases)
- [Changelog](https://github.com/dazinator/DotNet.Glob/blob/develop/ReleaseNotes.md)
- [Commits](https://github.com/dazinator/DotNet.Glob/compare/3.1.0...3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-30 09:34:26 +00:00
Bond-009
054adf6379 Merge pull request #4853 from Ullmie02/servicestack-json 2020-12-30 10:33:32 +01:00
crobibero
cae38f3a7e Add JsonConverter for Nullable Guids 2020-12-29 16:08:16 -07:00
Shaunak Basu
8dfe89ea52 Translated using Weblate (Hindi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hi/
2020-12-29 11:33:54 -05:00
Shaunak Basu
782c233389 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-12-29 11:33:54 -05:00
David
3dec1fd6b2 Use UTF8 encoding and async correctly 2020-12-29 00:35:59 +01:00
David
8ac1ed16ca Use Theory instead of Fact for unit tests 2020-12-29 00:15:36 +01:00
David
9e0f425783 Make RootObject and SeasonRootObject internal again 2020-12-28 23:41:46 +01:00
Bond-009
4ed20c75f7 Merge pull request #4872 from BaronGreenback/NetworkManagerFix
Removed workaround code as web is now fixed.
2020-12-28 15:45:05 +01:00
Bond-009
f8681aa518 Merge pull request #4874 from MrTimscampi/enable-tmdb-omdb
Enable TMDB and OMDB by default
2020-12-28 15:44:45 +01:00
Bond_009
5ac36a8b58 Add tests for srt parser 2020-12-28 15:43:55 +01:00
Bond_009
07cc28946b Add tests for ass parser 2020-12-28 15:33:36 +01:00
Bond_009
d0382db37d Minor improvements to ass parser 2020-12-28 15:33:15 +01:00
Bond_009
bad516d473 Disable broken rule 2020-12-28 15:32:50 +01:00
Bond-009
3542985360 Merge pull request #4857 from crobibero/dep-2 2020-12-28 11:03:16 +01:00
MrTimscampi
48d8536d2f Enable TMDB and OMDB by default 2020-12-28 09:19:08 +01:00
dkanada
2913e2604c Merge pull request #4860 from nyanmisaka/3ch-transcode-hls
Avoid transcoding to 3ch audio for HLS streaming
2020-12-28 13:38:04 +09:00
Joshua M. Boniface
f2e05bd183 Merge pull request #4863 from nyanmisaka/boxes-backdrop
Fix boxes in library name backdrop
2020-12-27 22:29:35 -05:00
WWWesten
926c70f9f7 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2020-12-27 13:17:19 -05:00
BaronGreenback
d96c8d7efd Remove todo 2020-12-27 15:57:27 +00:00
David
21fd124bca Code revie 2020-12-27 11:15:46 +01:00
David
f73bb92ce3 Remove manual N/A removal and write directly to stream 2020-12-26 20:00:54 +01:00
mahi160
108d2da0aa Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-12-25 15:12:49 -05:00
Mislav Milinković
41324300ec Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-12-25 15:12:49 -05:00
David
e0499f8769 Remove attributes 2020-12-25 19:37:38 +01:00
Nyanmisaka
470f40442c not apply to progressive playback 2020-12-26 02:28:38 +08:00
David
dfd5a118ca Merge branch 'servicestack-json' of github.com:Ullmie02/jellyfin into servicestack-json 2020-12-25 19:22:30 +01:00
David
aacda01ca5 Add more tests 2020-12-25 19:21:58 +01:00
nyanmisaka
4839c2006b fix boxes in library name backdrop for CJK character 2020-12-26 01:24:25 +08:00
David
af62ab490c Update tests/Jellyfin.Common.Tests/Jellyfin.Common.Tests.csproj
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-25 15:21:57 +01:00
crobibero
e09dd5aa87 Add targeted tests 2020-12-25 14:43:10 +01:00
crobibero
fc212e5e5f Remove JsonOmdbNotAvailableConverterFactory 2020-12-25 14:43:10 +01:00
crobibero
6ddbe8420f Add tests for special Omdb json 2020-12-25 14:43:10 +01:00
Joshua M. Boniface
93b754c366 Merge pull request #4861 from crobibero/null-ref
Fix null reference when logging
2020-12-24 12:19:02 -05:00
crobibero
c8a95e0926 Fix null reference when logging 2020-12-24 10:05:06 -07:00
Joshua M. Boniface
7227d0d48b Merge pull request #4859 from Ullmie02/ci
Don't build unstable Nuget packages on tags
2020-12-24 09:54:15 -05:00
nyanmisaka
ae1187042a also avoid 7ch transcoding 2020-12-24 20:06:55 +08:00
nyanmisaka
bc6ec08322 avoid transcoding to 3ch audio for HLS streaming 2020-12-24 19:41:02 +08:00
David
043d045448 Put json serializer options in private field 2020-12-24 11:22:34 +01:00
David
e835dfb27d Use sync string instead of file 2020-12-24 10:31:51 +01:00
David
20993412f2 Add unstable nuget condition 2020-12-24 10:18:32 +01:00
David
a714008b59 Add missing FileStreams 2020-12-23 21:00:50 +01:00
crobibero
570b4dc0d0 Explicity reference Newtonsoft.Json 2020-12-23 12:34:07 -07:00
crobibero
79cf57ce16 Remove SQLitePCLRaw.provider.sqlite3.netstandard11 2020-12-23 12:33:50 -07:00
Claus Vium
afdc98746b Merge pull request #4856 from nyanmisaka/amf-profile
Fix some profiles for H264 AMF encoder
2020-12-23 19:30:45 +01:00
David
2a574914ea Use streams instead of strings 2020-12-23 19:24:58 +01:00
BaronGreenback
21f6d39432 copy constructor 2020-12-23 17:43:29 +00:00
nyanmisaka
b61541b6f7 fix some profiles for H264 AMF encoder 2020-12-24 01:32:23 +08:00
BaronGreenback
dae6798a18 Making it work 2020-12-23 17:25:41 +00:00
BaronGreenback
889e988167 Updated to latest unstable. 2020-12-23 17:25:34 +00:00
Bond-009
f42208673f Merge pull request #4855 from crobibero/cache-json-serializer
Initialize JsonSerializerOptions statically
2020-12-23 18:09:39 +01:00
BaronGreenback
62702fa3eb Changes as requested 2020-12-23 16:28:50 +00:00
crobibero
af8acf7128 Initialize JsonSerializerOptions statically 2020-12-23 09:01:24 -07:00
David
f38970cbd3 Remove xml docs 2020-12-23 15:03:14 +01:00
David
e2d338412f Fix OMDb "N/A" 2020-12-23 14:45:05 +01:00
David
276b219fbd Add missing options 2020-12-23 13:47:57 +01:00
David
62fcc84bf4 Remove nuget reference 2020-12-23 13:35:49 +01:00
David
b9dbdc7e54 Remove custom Json serializer from MediaBrowser.Controller 2020-12-23 13:25:49 +01:00
David
e9902e9d35 Remove custom Json serializer 2020-12-23 13:24:34 +01:00
David
196388d607 Remove custom Json serializer from Emby.Server.Implementations 2020-12-23 13:14:40 +01:00
David
bc0976ceac Remove custom Json serializer from Dlna 2020-12-23 13:14:40 +01:00
David
e09d3ba9ef Remove custom Json serializer from Providers 2020-12-23 13:14:39 +01:00
Bond-009
3a452463fc Merge pull request #4849 from crobibero/clean-deps
Remove unused dependencies
2020-12-23 11:51:41 +01:00
BaronGreenback
d98f42a6aa Update PackageInfo.cs
uncommented attribute.
2020-12-23 10:36:34 +00:00
BaronGreenback
e8df9551ef Update PluginManager.cs
Changed a to i
2020-12-23 10:31:11 +00:00
BaronGreenback
9a97933499 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-23 10:29:21 +00:00
BaronGreenback
8e04e6c837 Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-23 10:27:27 +00:00
BaronGreenback
63c290f878 Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-23 10:26:20 +00:00
BaronGreenback
4ba4eefeeb Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-23 10:26:02 +00:00
BaronGreenback
66d98cb8e4 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-23 10:24:30 +00:00
Claus Vium
e36881f4fd Merge pull request #4852 from ryanpetris/fix-schedulesdirect-refresh
SchedulesDirect no longer refreshes channels properly
2020-12-23 11:08:18 +01:00
Ryan Petris
c0c0eaec05 new List(int) does not pre-allocate indicies like Arrays, it merely sets the initial capacity. 2020-12-22 20:37:07 -07:00
Joshua M. Boniface
bfdd4727b5 Merge pull request #4850 from BaronGreenback/NetworkApiFix
Null reference fix
2020-12-22 22:21:59 -05:00
Joshua M. Boniface
ca535b2fbe Merge pull request #4847 from crobibero/display-prefs-migration-x251256
Fix another key collision in MigrateDisplayPreferencesDatabase
2020-12-22 22:21:16 -05:00
Joshua M. Boniface
a77788906c Merge pull request #4821 from BaronGreenback/disableDlna 2020-12-22 22:20:44 -05:00
BaronGreenback
e113a50597 Possible null reference fix. 2020-12-22 16:14:06 +00:00
crobibero
1dac2226c4 Remove unused deps 2020-12-22 08:57:51 -07:00
BaronGreenback
bc9462981e changed to constants 2020-12-22 15:33:25 +00:00
BaronGreenback
bf24929d27 Changed to 503. 2020-12-22 15:23:55 +00:00
BaronGreenback
1f2ecd0775 Fix for DI. 2020-12-22 15:01:26 +00:00
BaronGreenback
621e6d28cd Fallback to default guid 2020-12-22 14:07:01 +00:00
crobibero
3a6501abe0 Fix another key collision in MigrateDisplayPreferencesDatabase 2020-12-21 17:28:06 -07:00
Claus Vium
c8a89b0fe3 Merge pull request #4842 from crobibero/date-time-formatter
Add JsonDateTimeConverter
2020-12-21 23:11:54 +01:00
Claus Vium
53119ed2a1 Merge pull request #4824 from crobibero/livestream-post-body
Add request parameters to OpenLiveStreamDto
2020-12-21 23:10:46 +01:00
crobibero
d3b6a24f78 Add JsonDateTimeConverter 2020-12-21 08:41:13 -07:00
crobibero
242b5a45ab Add JsonDateTimeConverter 2020-12-21 08:12:32 -07:00
dependabot[bot]
fd488cd3ff Bump AutoFixture from 4.14.0 to 4.15.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.14.0...v4.15.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 12:00:39 +00:00
BaronGreenback
3633996a53 New json converter implemented. 2020-12-21 09:01:59 +00:00
Predrag Ljubenović
e778fda843 Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sr/
2020-12-21 02:25:41 -05:00
Page Asgardius
3df97d5441 Translated using Weblate (Spanish (Latin America))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_419/
2020-12-21 02:25:41 -05:00
Claus Vium
98da2c67a5 Merge pull request #4836 from crobibero/dashboard-theme
Return dashboardTheme when requesting DisplayPreferences
2020-12-21 00:14:30 +01:00
Claus Vium
c90c382e2f Merge pull request #4833 from Ullmie02/similar-fix
Fix similar items endpoint for movies and TV
2020-12-21 00:14:07 +01:00
David
13de663201 Fix similar endpoint for TV 2020-12-20 22:21:11 +01:00
crobibero
a682fc4516 Return dashboardTheme when requesting DisplayPreferences 2020-12-20 12:59:44 -07:00
BaronGreenback
7a66761981 write json files indented. 2020-12-20 19:30:48 +00:00
BaronGreenback
53e280b80f json name override. 2020-12-20 16:29:28 +00:00
David
eba403158e Re-add IsMovie 2020-12-20 17:00:27 +01:00
David
f4d1e33010 Fix similar items endpoint for movies and TV 2020-12-20 15:37:44 +01:00
Claus Vium
e9db47cd20 Merge pull request #4816 from nyanmisaka/profiles
Fix some video profiles for Android client
2020-12-20 13:57:25 +01:00
Claus Vium
6274cf8fcc Merge pull request #4803 from ryanpetris/fix-getuser
Fix Live TV Recording Scheduling
2020-12-20 13:54:32 +01:00
WWWesten
cc5d0af4c1 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-12-20 03:50:47 -05:00
WWWesten
1d50c2ad63 Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2020-12-20 03:50:47 -05:00
WWWesten
b8ef0823fa Translated using Weblate (Kazakh)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2020-12-19 19:14:28 -05:00
Bond-009
2e8e96874f Merge pull request #4828 from joshuaboniface/linux-alt-arch 2020-12-19 23:06:34 +01:00
Joshua M. Boniface
704d627f3a Add Azure pipeline configs for new arches 2020-12-19 15:57:08 -05:00
Joshua M. Boniface
841df64e9f Add static Linux builds for arm and musl 2020-12-19 15:56:08 -05:00
crobibero
4539164d38 Add request parameters to OpenLiveStreamDto 2020-12-19 10:55:07 -07:00
BaronGreenback
9470712118 Added xml docs 2020-12-19 17:38:46 +00:00
BaronGreenback
3d0b9f9ea1 Did the other API, 2020-12-19 09:34:04 +00:00
BaronGreenback
c98144c60d Updated docs. 2020-12-18 23:59:21 +00:00
BaronGreenback
46c7499e2b reverted change 2020-12-18 23:55:23 +00:00
BaronGreenback
bae8f0c4ec corrected. 2020-12-18 23:52:19 +00:00
BaronGreenback
f06d52c475 Disable API if dlna is disabled. 2020-12-18 23:29:21 +00:00
Greenback
d34428f2f7 removed exception 2020-12-18 22:17:50 +00:00
BaronGreenback
9bf970e5c6 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:59:14 +00:00
BaronGreenback
a293024efd Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:56:54 +00:00
BaronGreenback
5c3ebb63e6 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:56:35 +00:00
BaronGreenback
09f219bbce Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:56:15 +00:00
BaronGreenback
3708ca8dbb Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:56:03 +00:00
BaronGreenback
4757824a82 Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:55:50 +00:00
Greenback
4cc19be173 removed compiler directives. 2020-12-18 21:14:38 +00:00
Greenback
cb793af30e Renamed guid to id 2020-12-18 21:11:29 +00:00
BaronGreenback
46a64deb66 Update MediaBrowser.Model/Updates/PackageInfo.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 21:07:24 +00:00
Greenback
5c4fdaa253 MaxAbi property removed. 2020-12-18 21:05:27 +00:00
Greenback
5d748c0e9f Renamed to ImagePath 2020-12-18 20:52:44 +00:00
Greenback
ce19f2be55 Renamed Guid property to Id 2020-12-18 20:37:35 +00:00
Predrag Ljubenović
07ee98b65f Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sr/
2020-12-18 15:04:11 -05:00
Nyanmisaka
ac03ef57c9 allow empty video encoder profile
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-19 01:47:31 +08:00
Greenback
486148dd6b Removed maxAbi 2020-12-18 09:44:57 +00:00
Greenback
5a3efc5266 Changes as required. 2020-12-18 09:04:40 +00:00
BaronGreenback
4153551dfc Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:26:11 +00:00
BaronGreenback
0dcf6b09c1 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:25:39 +00:00
BaronGreenback
8ce765c4d1 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:25:04 +00:00
BaronGreenback
591ad3b04b Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:24:26 +00:00
BaronGreenback
30645e7265 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:24:12 +00:00
BaronGreenback
2d094bedf5 Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:24:00 +00:00
BaronGreenback
3a8d395c9c Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:23:46 +00:00
BaronGreenback
5d5b198525 Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:23:28 +00:00
BaronGreenback
e445c2932a Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:23:15 +00:00
Joshua M. Boniface
668e168c47 Merge pull request #4819 from crobibero/download-name
Set filename when downloading file
2020-12-18 02:17:24 -05:00
SecularSteve
be3129e012 Translated using Weblate (English (United Kingdom))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_GB/
2020-12-17 16:54:00 -05:00
crobibero
56ae63433f Set filename when downloading file 2020-12-17 13:05:44 -07:00
Miko Dela Cruz
e515b696d1 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2020-12-17 11:49:03 -05:00
nlspln
9bf51aeb6b Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-12-17 11:49:03 -05:00
nyanmisaka
cf8aa37f5b Fix some video profile for Android client
* Fix constrained high profile for some encoders
* Extended profile is not supported by any known h264 encoders
* Replace HEVC 10-bit profiles with main profile
2020-12-17 23:33:44 +08:00
BaronGreenback
0ed3c2def2 Update MediaBrowser.sln 2020-12-17 13:50:24 +00:00
Greenback
a4a40407a0 Change PluginStatus states. 2020-12-17 13:44:53 +00:00
BaronGreenback
212c76102d Update PluginManifest.cs 2020-12-17 13:37:13 +00:00
Greenback
d9aaba36ec Copy previous plugin settings if they don't exist. 2020-12-16 23:19:09 +00:00
Greenback
1ed25ebd9a Corrections as recommended. 2020-12-16 22:36:25 +00:00
Greenback
ebbb57efc3 Change json default settings. 2020-12-16 21:40:52 +00:00
Claus Vium
21d2e9ff0c Merge pull request #4771 from crobibero/typed-get-preference
Use typed UserManager GetPreference
2020-12-16 22:15:56 +01:00
Greenback
6d3e1d6b57 Small Optimization 2020-12-16 19:37:23 +00:00
Claus Vium
1f2488d7d9 Merge pull request #4807 from nyanmisaka/ps4-dlna
Correct DLNA audio codecs for PS3 and PS4
2020-12-16 15:52:16 +01:00
nyanmisaka
7c3f2e7c59 Correct DLNA audio codecs for PS3 and PS4
* https://manuals.playstation.net/document/en/ps3/current/video/filetypes.html
* https://manuals.playstation.net/document/en/ps4/music/mp_format_m.html
2020-12-16 21:20:29 +08:00
Ryan Petris
875562e580 This is only used in one place and therefore will always be HttpRequest. 2020-12-15 22:17:04 -07:00
Ryan Petris
1b3fcab6a4 If requestContext is HttpRequest, get the context from it properly. 2020-12-15 22:02:08 -07:00
Greenback
5323887540 Replaced TryGetPlugin with GetPlugin 2020-12-15 20:27:42 +00:00
Tommaso Stocchi
7c7f2316fa Added comments 2020-12-15 21:06:47 +01:00
Tommaso Stocchi
c6eefaac09 Added function to split the authorization header parts 2020-12-15 21:01:42 +01:00
Greenback
0337e39bae Updated JsonDefaults 2020-12-15 19:39:41 +00:00
Greenback
00ff3b9096 remove attribute 2020-12-15 19:35:30 +00:00
BaronGreenback
aecd35d306 Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:31:36 +00:00
BaronGreenback
24ab152e9d Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:30:23 +00:00
Bond-009
8eeed82523 Merge pull request #4792 from cvium/fix_missing_seasons
Add missing seasons during AfterMetadataRefresh
2020-12-15 20:30:13 +01:00
BaronGreenback
e4993ae574 Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:24:52 +00:00
BaronGreenback
2afa963fc1 Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:24:39 +00:00
BaronGreenback
3f1ad7f963 Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:22:54 +00:00
Greenback
c197dca759 Changed PluginId to guid so its the same type as plugin.id 2020-12-15 18:27:31 +00:00
Greenback
eb2439f23b Changes as recommended. 2020-12-15 16:37:11 +00:00
Bond-009
e84622b4ab Merge pull request #4794 from cvium/fix_image_upload
Convert from base64 when saving item images
2020-12-15 12:24:05 +01:00
Bond-009
906ee4f962 Merge pull request #4781 from crobibero/map-xmltv
Use request body for mapping xml channels
2020-12-15 12:22:39 +01:00
Greenback
c761cbff0e more changes. 2020-12-15 10:20:28 +00:00
Greenback
208d545cfe Changed as suggested. 2020-12-15 10:05:04 +00:00
Greenback
dddcfa6dbb Suggested changes. 2020-12-15 09:30:19 +00:00
BaronGreenback
41466c430d Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 09:17:06 +00:00
cvium
5b4eef741a Convert from base64 when saving item images 2020-12-15 09:27:33 +01:00
Claus Vium
bc8f1bdcac Merge pull request #4789 from crobibero/provider-search
Fix get provider id extension
2020-12-15 09:10:12 +01:00
BaronGreenback
33385c1b8c Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 07:55:14 +00:00
BaronGreenback
1c6529c9eb Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 07:54:49 +00:00
cvium
9f6000d845 Add missing seasons during AfterMetadataRefresh 2020-12-15 08:18:36 +01:00
BaronGreenback
3cff64ee32 Delete disabled.png
Should have a capital letter
2020-12-15 01:32:43 +00:00
BaronGreenback
2bb12793b2 Add files via upload 2020-12-15 01:31:56 +00:00
Greenback
cddc87e2af Fixed gitmerge. 2020-12-15 01:23:52 +00:00
BaronGreenback
67c480ad53 Merge branch 'master' into PluginDowngrade 2020-12-15 01:15:54 +00:00
Greenback
0d4aa6bad6 Enable local file repositories 2020-12-15 01:13:11 +00:00
Greenback
356d92cd71 Fixed repository listing 2020-12-15 00:49:14 +00:00
Greenback
fbb20ebef6 Plugin setting migration to folders. 2020-12-15 00:42:59 +00:00
Greenback
494ace7984 Mark plugin failure on DI Loop. 2020-12-14 23:39:47 +00:00
Greenback
d2d45295fc Rollback change. 2020-12-14 23:13:29 +00:00
Greenback
a246a77ada Delete plugin working. 2020-12-14 23:08:04 +00:00
Greenback
7986465cf7 Initial upload 2020-12-14 16:14:39 +00:00
crobibero
e051090904 Use proper array setter 2020-12-14 09:03:36 -07:00
crobibero
a515ecbada Use range operator to get subarray 2020-12-14 07:53:56 -07:00
crobibero
ca5f87c7eb Fix get provider id extension 2020-12-14 07:20:16 -07:00
Tommaso Stocchi
6e2cfc6569 Url decode for auth value 2020-12-14 14:05:53 +01:00
Tommaso Stocchi
b611a108f8 -fix split on comma and double quotes 2020-12-14 13:15:21 +01:00
Tommaso Stocchi
305e5ebaf4 Allow commas in auth values when wappred in a double quote 2020-12-14 13:14:18 +01:00
Tommaso Stocchi
13bc57ecc3 No need to double check param length 2020-12-14 13:08:07 +01:00
Tommaso Stocchi
064a9cedbd No htlml encoding on server side 2020-12-14 13:07:39 +01:00
Joshua M. Boniface
4f6a585424 Merge pull request #4716 from OancaAndrei/syncplay-new-auth-policies 2020-12-13 16:58:28 -05:00
Joshua M. Boniface
e7ae712437 Merge pull request #4773 from Artiume/patch-10
Remove opf extension for book types
2020-12-13 16:57:50 -05:00
Joshua M. Boniface
7b5319bb07 Merge pull request #4750 from crobibero/skia
Fix blueberry
2020-12-13 16:56:23 -05:00
Joshua M. Boniface
adf3ee9eeb Merge pull request #4718 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.8.3
Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
2020-12-13 16:55:47 -05:00
Joshua M. Boniface
d0ccea934f Merge pull request #4720 from MrTimscampi/activity-log-levels
Add overloaded constructor for ActivityLog levels
2020-12-13 16:55:34 -05:00
A Foley
a83a4f55d9 Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-12-13 16:46:42 -05:00
Claus Vium
a3a7467f49 Merge pull request #4713 from crobibero/robots 2020-12-13 20:12:07 +01:00
crobibero
c6b381db10 Use request body for mapping xml channels 2020-12-13 08:32:33 -07:00
crobibero
ee23d06154 Use a more descriptive function name 2020-12-13 08:15:26 -07:00
Claus Vium
8c00fbea9c Merge pull request #4675 from BaronGreenback/ProxyDNS 2020-12-13 14:22:27 +01:00
Claus Vium
4ecb30ef10 Merge pull request #4769 from crobibero/typo
Check correct fetcher list for provider name
2020-12-13 14:13:01 +01:00
Claus Vium
c5a5f77b9e Merge pull request #4726 from BaronGreenback/19.0RC--Fix-CertificateLoadError
Fix - Access Denied on using certificates in windows as user.
2020-12-13 13:35:02 +01:00
Claus Vium
13bb5e1ead Merge pull request #4761 from crobibero/playlist 2020-12-13 13:34:04 +01:00
Claus Vium
f8ef38c0ea Merge pull request #4758 from nyanmisaka/fix-landingScreen-options 2020-12-13 13:29:11 +01:00
Claus Vium
f9a78625b7 Merge pull request #4767 from nyanmisaka/fix-ssl-save 2020-12-13 13:25:21 +01:00
Bond-009
381341c83b Merge pull request #4774 from nyanmisaka/finetune-tonemap
Fine tune some tone mapping params
2020-12-13 11:57:32 +01:00
Bill Thornton
42beaddb45 Merge pull request #4731 from Sylk/readme-modification
Modified ReadMe with updated command line command
2020-12-12 23:34:45 -05:00
Bond-009
cb36feaa0f Merge pull request #4775 from barronpm/nullable-jellyfinserverimplementations
Enable Nullable for Jellyfin.Server.Implementations
2020-12-12 19:22:08 +01:00
crobibero
8f4a4a3cc5 Convert values without throwing exception 2020-12-12 10:36:17 -07:00
Patrick Barron
d9263dacd5 Enable nullable for Jellyfin.Server.Implementations 2020-12-12 11:20:48 -05:00
nyanmisaka
7be3276dff Fine tune some tone mapping params
*Set recommand algorithm to Hable
*Set recommand tone mapping peak to 100
2020-12-12 18:26:52 +08:00
artiume
297cb27ab6 remove opf extension for book types 2020-12-11 21:13:28 -05:00
crobibero
f5cce9e630 Use typed UserManager GetPreference 2020-12-11 15:04:14 -07:00
crobibero
b670937c3d Use typed UserManager GetPreference 2020-12-11 15:00:43 -07:00
Bond-009
b3caa51173 Merge pull request #4699 from crobibero/display_prefs_index
Fix CustomItemDisplayPreferences unique key collision in the migration
2020-12-11 22:29:07 +01:00
crobibero
7d24460fac Fix copy-paste error 2020-12-11 14:03:10 -07:00
Bond-009
04ba59ab40 Merge pull request #4766 from barronpm/usermanager-async
Convert DeleteUser to async
2020-12-11 21:29:20 +01:00
Nyanmisaka
d701b67de1 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-12 02:36:31 +08:00
nyanmisaka
41218c5613 fix ssl certificate cannot be saved 2020-12-11 23:52:09 +08:00
Patrick Barron
76f61eb0d6 Convert DeleteUser to async 2020-12-11 10:15:43 -05:00
crobibero
ac2593e370 Set convolveAlpha to true 2020-12-11 08:06:04 -07:00
crobibero
69d581033b Use a more descriptive middleware name 2020-12-11 07:17:06 -07:00
Claus Vium
a57e465de9 Merge pull request #4710 from OancaAndrei/syncplay-fix-session-restore
Restore sessions in SyncPlay groups upon reconnection
2020-12-11 09:57:14 +01:00
Claus Vium
e6ea5a776d Merge pull request #4724 from BaronGreenback/17.0RC----DLNA_PlayTo_Fix 2020-12-11 09:56:39 +01:00
Claus Vium
c1bb29532f Merge pull request #4756 from crobibero/api-key-inverted-condition
Fix inverted condition when authenticating with an ApiKey
2020-12-11 09:54:15 +01:00
Claus Vium
f322866127 Merge pull request #4737 from crobibero/missing-ensure-success 2020-12-11 09:53:43 +01:00
Claus Vium
0cddfbcff5 Merge pull request #4757 from cvium/semi_revert_defer_image_loading 2020-12-11 08:11:38 +01:00
Claus Vium
b56feac841 Merge pull request #4762 from crobibero/api-file-return
Fix openapi file schema
2020-12-11 08:11:25 +01:00
Nyanmisaka
a79c210c76 fix typo
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-11 11:35:00 +08:00
crobibero
34029f860c Fix openapi file schema 2020-12-10 19:05:49 -07:00
kaboom83
abcbb9f156 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2020-12-10 16:47:20 -05:00
Bond-009
933e7fa159 Merge pull request #4749 from crobibero/guid-standard 2020-12-10 21:53:32 +01:00
crobibero
297b7ea6fa Fix empty body for PlaybackInfo 2020-12-10 11:36:58 -07:00
crobibero
0d2106a272 Allow playlist to be created by query string 2020-12-10 11:36:31 -07:00
cvium
15a3d8d626 Forgot to revert some other changes, dunno if needed 2020-12-10 18:02:12 +01:00
crobibero
a9aafbaf5a Don't throw exception unless needed 2020-12-10 08:25:05 -07:00
crobibero
b66abf0556 Add support back for /emby and /mediabrowser routes 2020-12-10 08:17:02 -07:00
nyanmisaka
0332b72502 fix landing screen options 2020-12-10 22:41:00 +08:00
cvium
3f6e6c4839 Simplify 2020-12-10 14:47:47 +01:00
dependabot[bot]
3e062bc0cd Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.8.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 12:57:44 +00:00
Claus Vium
a56ac65449 Merge pull request #4753 from crobibero/5.0.1
Update to dotnet 5.0.1
2020-12-10 13:56:54 +01:00
Claus Vium
7455de1f85 Merge pull request #4701 from crobibero/plugin-version 2020-12-10 13:53:24 +01:00
cvium
dd238937f4 Remember to await the async task 2020-12-10 13:44:58 +01:00
cvium
3c5bbeb80c Remove ImageFetcherPostScanTask 2020-12-10 13:38:33 +01:00
crobibero
2478c8fa64 Fix inverted condition when authenticating with an ApiKey 2020-12-09 23:15:33 -07:00
crobibero
681a0f3e75 Add nullable guid test 2020-12-09 19:57:25 -07:00
crobibero
aa5fa7cb8f Update to dotnet 5.0.1 2020-12-09 07:36:31 -07:00
Bond-009
9e601ba731 Merge pull request #4751 from nyanmisaka/mpegts-batchsize 2020-12-09 14:37:44 +01:00
Nyanmisaka
060f6c194f Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-12-09 16:37:15 +08:00
Claus Vium
e85884ddb9 Merge pull request #4743 from crobibero/metadata-options
Actually use library options when filtering metadata providers
2020-12-09 08:34:01 +01:00
Claus Vium
31e8273795 Merge pull request #4741 from jellyfin/tests8
Add tests for HdHomerunHost.GetLineup
2020-12-09 08:16:40 +01:00
nyanmisaka
ebd9ab3ccc use larger batch size on mpegts to avoid corrupted thumbnails 2020-12-09 14:39:41 +08:00
crobibero
c955f19634 Serialize GUID without dashes 2020-12-08 19:33:26 -07:00
crobibero
75aa3718dc Actually use library options when filtering metadata providers 2020-12-08 17:47:13 -07:00
Bond_009
c0fde3496c Add tests for HdHomerunHost.TryGetTunerHostInfo 2020-12-09 01:24:30 +01:00
Bond_009
514d95e5aa Add tests for HdHomerunHost.GetLineup 2020-12-09 01:08:41 +01:00
Bond-009
87e13b858a Merge pull request #4733 from crobibero/omdb-null
Fix potential null reference in OMDB
2020-12-09 00:28:32 +01:00
Claus Vium
e6650651b3 Merge pull request #4738 from jellyfin/tests8
Add tests for HdHomerunHost.GetModelInfo
2020-12-08 20:20:33 +01:00
Bond_009
7027561e19 Add tests for HdHomerunHost.GetModelInfo 2020-12-08 18:53:38 +01:00
Claus Vium
b83bc0a589 Merge pull request #4736 from nyanmisaka/fix-custom-order
Fix custom library order
2020-12-08 18:22:43 +01:00
Claus Vium
b6ecaccf92 Merge pull request #4730 from crobibero/base-item-dto-guid-nullable
Don't serialize empty GUID to null
2020-12-08 18:22:18 +01:00
Anthony Lavado
94d805d03d Merge pull request #4735 from crobibero/json-recursion
Fix JsonConverter recursion
2020-12-08 12:08:24 -05:00
crobibero
e621244405 Add missing EnsureSuccessStatusCode 2020-12-08 08:28:19 -07:00
nyanmisaka
020fe37dfe fix custom library order 2020-12-08 22:33:52 +08:00
crobibero
26e5aacb90 Fix JsonConverter recursion 2020-12-08 07:18:25 -07:00
Claus Vium
80ff564143 Merge pull request #4722 from crobibero/forbid
Fix API forbidden response
2020-12-08 10:11:14 +01:00
Claus Vium
0aad17554c Merge pull request #4715 from crobibero/hdhr-json-bool
Add number to bool json converter
2020-12-08 08:58:01 +01:00
Claus Vium
0d5f651ae9 Merge pull request #4706 from cvium/fix_aspectratio_again
Only apply series image aspect ratio if episode/season has no primary image
2020-12-08 08:46:05 +01:00
Claus Vium
885d42cb65 Merge pull request #4678 from BaronGreenback/network_routing_fix_17.0rc
Change logging level and message in NetworkManager
2020-12-08 08:37:51 +01:00
Claus Vium
4c199ac9a5 Merge pull request #4711 from barronpm/api-fixes
Add required attributes to parameters
2020-12-08 08:36:32 +01:00
crobibero
d12fa01d7a Fix potential null reference 2020-12-07 19:10:35 -07:00
Matthew Bauer
2c947630a7 Modified ReadMe with updated command line command
Also removed old documentation about placing the built dist into the jellyfin-server directory
2020-12-07 16:04:20 -07:00
BaronGreenback
af37cc2339 Merge branch 'master' into ProxyDNS 2020-12-07 22:54:51 +00:00
BaronGreenback
acc45b7307 Update Jellyfin.Networking/Configuration/NetworkConfiguration.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-07 22:29:19 +00:00
crobibero
8517b28eba Make BaseItemDto Guids nullable 2020-12-07 15:23:40 -07:00
crobibero
6722fcec36 Revert #4568 2020-12-07 15:23:25 -07:00
Greenback
e34adc12d9 reverted change. 2020-12-07 22:16:25 +00:00
BaronGreenback
57cb3a67bc Update ApplicationHost.cs
Removed previous change, use for testing.
2020-12-07 22:12:43 +00:00
Greenback
d69f2d7d7f DNLA over HTTP only 2020-12-07 22:06:28 +00:00
crobibero
6e98378447 Simplify converter 2020-12-07 14:58:27 -07:00
BaronGreenback
b485520537 Update ApplicationHost.cs
Added X509KeyStorageFlags.UserKeySet
2020-12-07 20:25:41 +00: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
crobibero
5150598c6d Fix API forbidden response 2020-12-07 08:55:42 -07:00
Ionut Andrei Oanca
fbeb0228a2 Minor code style related change 2020-12-07 16:15:56 +01:00
MrTimscampi
f97182c768 Add log level parameter to ActivityLog constructor 2020-12-07 15:28:29 +01:00
Ionut Andrei Oanca
499f3ee950 Update authorization policies for SyncPlay 2020-12-07 10:33:15 +01:00
crobibero
66a1880a58 Add number to bool json converter 2020-12-06 20:26:21 -07:00
crobibero
d65e8d7044 Redirect robots.txt if hosting web content 2020-12-06 19:40:43 -07:00
Patrick Barron
391870ebae Add required attributes to parameters 2020-12-06 20:05:55 -05:00
Ionut Andrei Oanca
0825ce687d Add SessionControllerConnected event 2020-12-07 01:04:48 +01:00
cvium
a0fbf0f539 Only apply series image aspect ratio if episode/season has no primary image 2020-12-06 22:49:00 +01:00
crobibero
8df2213d6b Don't return plugin versions that target newer Jellyfin version 2020-12-06 10:13:08 -07:00
crobibero
eefe87f537 Remove CustomItemDisplayPreferences unique key collision 2020-12-06 09:11:00 -07:00
Artūrs Jānis Ņikitins
a7b461adb4 Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2020-12-06 09:38:27 -05:00
Artūrs Jānis Ņikitins
b9107e847a Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2020-12-05 19:15:09 -05:00
Saman Dadmand
34cd89058a Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2020-12-05 19:15:08 -05:00
rwctrjotovxqqqyqod
4d56afa712 Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-12-05 13:58:38 -05:00
BaronGreenback
abacae4520 Update NetworkManager.cs
Changed logging type.
2020-12-05 16:28:14 +00:00
BaronGreenback
1a44d34f50 Update ApiServiceCollectionExtensions.cs 2020-12-05 16:00:34 +00:00
Bond-009
804dd00425 Merge pull request #4671 from cvium/allow_proxy
Clear KnownNetworks and KnownProxies if none are configured explicitly
2020-12-05 16:22:11 +01:00
Bond-009
26919eed26 Merge pull request #4672 from cvium/fix_mergeversions_which_was_unrelated_to_my_bughunt
Fix MergeVersions endpoint
2020-12-05 15:06:41 +01:00
cvium
ba7a1c8b7b Fix MergeVersions endpoint 2020-12-05 13:54:19 +01:00
cvium
41cd4d0a39 Clear KnownNetworks and KnownProxies if none are configured explicitly 2020-12-05 10:18:56 +01:00
Joshua M. Boniface
f2c2beca0f Merge pull request #4667 from joshuaboniface/fix-nuget-ci
Remove obsolete erroring command
2020-12-05 01:34:49 -05:00
Joshua M. Boniface
8976b22ac4 Merge pull request #4669 from MrTimscampi/fix-npm-public
Fix NPM command in CI
2020-12-05 01:31:02 -05:00
MrTimscampi
048de2f3b7 Fix NPM command in CI 2020-12-05 07:25:41 +01:00
Joshua M. Boniface
599f36f57f Remove obsolete erroring command
This is not required for stable pushes.
2020-12-05 01:21:52 -05:00
Joshua M. Boniface
e3a1991fe9 Merge pull request #4662 from joshuaboniface/fix-bump-version
Fix bad do in bump_version
2020-12-05 01:12:18 -05:00
Joshua M. Boniface
1af0139ae7 Merge pull request #4665 from anthonylavado/ci-npm-fix
Fix the NPM publish scope to public
2020-12-05 01:08:14 -05:00
Anthony Lavado
c9832bb98a Fix the NPM publish scope to public 2020-12-04 22:36:11 -05:00
Anthony Lavado
8b55ff2e6e Merge pull request #4664 from joshuaboniface/codeown-ci
Make me codeowner of the .ci dir
2020-12-04 22:07:40 -05:00
Joshua M. Boniface
d838a27e6d Make me codeowner of the .ci dir
I need to know when stuff changes.
2020-12-04 22:05:37 -05:00
Joshua M. Boniface
5f2cd11199 Bump version to 10.8.0 for next release 2020-12-04 21:56:24 -05:00
Joshua M. Boniface
495c0ba1f1 Fix bad do in bump_version 2020-12-04 21:53:48 -05:00
Joshua M. Boniface
6aed4b6e32 Merge pull request #4661 from Bond-009/spam
Remove spammy debug line
2020-12-04 20:24:54 -05:00
Joshua M. Boniface
bba01bf7b9 Merge pull request #3194 from OancaAndrei/syncplay-enhanced
SyncPlay for TV series (and Music)
2020-12-04 20:22:30 -05:00
Joshua M. Boniface
b96d4ef0e8 Merge pull request #4653 from crobibero/favorite-persons
Optimize FavoritePersons query
2020-12-04 20:05:35 -05:00
Joshua M. Boniface
4e6584c345 Merge pull request #4652 from crobibero/display-preferences
Add support for custom item display preferences
2020-12-04 20:05:04 -05:00
AJ Jordan
bab389114b Use a service unit, not a scope unit, to restart
Reportedly `systemd-run --scope` still got killed by the service
manager; see #4615. The suspected cause is that `scope` units are run by
the `systemd-run` process itself and inherit the caller's execution
environment (see systemd-run(1)). To fix this, we use a systemd
`service` unit instead, which is run and managed by PID 1 - hopefully
this will isolate us sufficiently so that we don't get terminated along
with `jellyfin.service`.
2020-12-04 16:33:24 -08:00
AJ Jordan
d251c701b9 Use systemd-run(1) in restart.sh
systemd-run(1) runs `systemctl restart` in an isolated systemd unit
that is not subject to process termination as jellyfin.service is shut
down. We adjust the sudoers configuration for this new usage, removing
the old config, since restart.sh is the only user of the sudoers
policy.

Additionally we change `systemctl start` to `systemctl restart` since
there was a race condition where jellyfin.service was not fully
stopped by the time this ran, so `systemctl start` became a noop.
`systemctl restart` on the other hand works whether jellyfin.service is
stopped or not.

The at(1) hack (and the usage of `start` instead of `restart`) is left
in for other init systems since I cannot test on those systems, and
because I don't know of any systemd-run(1) equivalent (although it may
be a non-issue since alternate init systems do not keep track of daemon
children nearly as aggressively as systemd does).
2020-12-04 16:18:26 -08:00
crobibero
76250a8895 Use md5 Guid for legacy compat 2020-12-04 16:27:31 -07:00
crobibero
3db6ae91f6 Add ItemId to all display preferences 2020-12-04 16:00:11 -07:00
Ionut Andrei Oanca
cc64ee483d Reorder parameters in HandleRequest 2020-12-04 23:16:15 +01:00
Bond-009
3980b5ce9f Merge pull request #4660 from crobibero/mime-type
Add support for web serving .mem files
2020-12-04 22:17:10 +01:00
Bond_009
e530401462 Remove spammy debug line 2020-12-04 22:15:00 +01:00
crobibero
e49bb3f4e6 Add support for web serving .mem files 2020-12-04 14:12:59 -07:00
Ionut Andrei Oanca
23473ef8fb Fix access policies to SyncPlay 2020-12-04 22:03:35 +01:00
Ionut Andrei Oanca
1f57b594e6 Loosen locking logic in SyncPlayManager 2020-12-04 21:27:25 +01:00
Joshua M. Boniface
670f7cacc3 Merge pull request #4651 from crobibero/iso_manager
Remove IIsoMounter and IsoMounter
2020-12-04 14:53:09 -05:00
Ionut Andrei Oanca
cbf70e7a03 Change type of PlaylistItemId to Guid 2020-12-04 20:15:16 +01:00
crobibero
8d8738835e Use DisplayPreferencesId as ItemId 2020-12-04 09:16:38 -07:00
crobibero
60b7e49a7f Suggestions from code review 2020-12-04 08:00:55 -07:00
Claus Vium
f07a6c3c3e Merge pull request #4638 from crobibero/migration-guid
Don't die if folder doesn't have id
2020-12-04 15:24:17 +01:00
Eero Nevaluoto
958c3a3217 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-12-04 09:03:02 -05:00
Claus Vium
8b697060dd Merge pull request #4522 from BaronGreenback/PlugsVersionNumberFix
Set plugin version to that specified in the manifest
2020-12-04 14:10:31 +01:00
Claus Vium
dca3f62ff8 Merge branch 'master' into PlugsVersionNumberFix 2020-12-04 13:50:44 +01:00
Claus Vium
9afd19b06e Merge pull request #4648 from nyanmisaka/optimize-plugin-logs
Optimize load plugin logs
2020-12-04 13:46:06 +01:00
Claus Vium
f1cc01f324 Merge pull request #4242 from Spacetech/library_scan_speed
Increase library scan and metadata refresh speed
2020-12-04 13:17:26 +01:00
jeansebbeaulieu
cba1aced8a Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-12-04 01:38:22 -05:00
crobibero
b7443f6042 Optimize FavoritePersons query 2020-12-03 20:16:11 -07:00
Gary Wilber
a9367b6169 Add OnConfigurationUpdated method 2020-12-03 17:11:53 -08:00
crobibero
e765184afa Fix existing DisplayPreferences migration 2020-12-03 15:00:26 -07:00
Page Asgardius
cff2b7fed1 Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2020-12-03 16:49:44 -05:00
crobibero
685c966468 Suggestion from review 2020-12-03 14:35:18 -07:00
crobibero
b0c79edd2c Add support for custom item display preferences 2020-12-03 13:51:12 -07:00
Ionut Andrei Oanca
b7eb4da04e Rename GroupController into Group 2020-12-03 21:01:18 +01:00
Ionut Andrei Oanca
7169c0a22d Move SyncPlay request DTOs to proper namespace 2020-12-03 19:01:57 +01:00
Ionut Andrei Oanca
389367fec8 Rename 'track' into 'item' in SyncPlay 2020-12-03 15:54:39 +01:00
crobibero
ca5c20c988 Remove IIsoMounter and IsoMounter 2020-12-03 07:34:15 -07:00
Nyanmisaka
d496fd2d48 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-03 21:34:25 +08:00
nyanmisaka
bbe872524d optimize load plugin logs 2020-12-03 20:12:41 +08:00
cvium
7e0ea296c3 Move request validation to auth policies 2020-12-03 10:43:44 +01:00
Claus Vium
4a3411cad1 Merge pull request #4645 from crobibero/openapi-auth-filter
Move OpenApiSecurityScheme to OperationFilter
2020-12-03 10:16:34 +01:00
Gary Wilber
2b6b2cbf31 Remove Lazy 2020-12-02 23:23:13 -08:00
Gary Wilber
74f211960a only recreate the lazy when needed 2020-12-02 23:14:18 -08:00
Claus Vium
fdd8b34cc1 Merge pull request #4636 from jellyfin/MissedOne
[Fix for 10.7] Missed a config move
2020-12-03 08:10:02 +01:00
Claus Vium
f01eff0559 Merge pull request #4647 from rhamzeh/fix/localization-add-palestine
fix: add Palestine to supported countries
2020-12-03 08:09:33 +01:00
Gary Wilber
26a05e6974 Handle config updates 2020-12-02 23:07:51 -08:00
Claus Vium
4ae62e74e9 Merge pull request #4644 from jellyfin/minor9
Minor improvements
2020-12-03 08:00:44 +01:00
Claus Vium
1d3b2e8dd6 Merge pull request #4643 from crobibero/empty-lib-null-ref
Fix null reference when getting filters of an empty library
2020-12-03 07:58:05 +01:00
Claus Vium
e042572588 Merge pull request #4633 from crobibero/guid-params
Use Guid as API parameter type where possible
2020-12-03 07:51:02 +01:00
Gary Wilber
f4edca7c27 Move MetadataRefreshThrottler to BaseItemManager 2020-12-02 18:51:53 -08:00
Raghd Hamzeh
9497530281 fix: add Palestine to supported countries 2020-12-02 21:14:37 -05:00
crobibero
7a729ea8d6 Move OpenApiSecurityScheme to OperationFilter 2020-12-02 14:59:57 -07:00
crobibero
828504e925 The future is now 2020-12-02 08:04:08 -07:00
crobibero
08be7f094a Cleaner type checking 2020-12-02 07:55:34 -07:00
Bond-009
ea20f05de4 Merge pull request #4589 from ConfusedPolarBear/id-fix
[Fix] Test query value
2020-12-02 15:55:17 +01:00
crobibero
41e127d1d2 Fix null reference when getting filters of an empty library 2020-12-02 07:42:25 -07:00
Bond_009
e4fd61411f Minor improvements 2020-12-02 15:38:52 +01:00
Fernando
5bfc5b9166 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2020-12-02 09:24:13 -05:00
crobibero
09b1e571f4 Apply suggestions from review 2020-12-02 07:11:42 -07:00
Claus Vium
3b4f86579b Merge pull request #4610 from nyanmisaka/hdr-extract
Extract tone mapped thumbnails for HDR videos
2020-12-02 09:50:54 +01:00
Joshua M. Boniface
a6199f821b Merge pull request #4169 from stanionascu/bdiso-playback
Playback (direct-stream/transcode) of BDISO/BDAV containers
2020-12-01 22:36:04 -05:00
crobibero
589625a349 Don't die if folder doesn't have id 2020-12-01 17:36:36 -07:00
Nyanmisaka
7b5285feac Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-12-02 08:22:07 +08:00
crobibero
b5a7a74e89 Use GetParentItem where applicable 2020-12-01 16:16:17 -07:00
Claus Vium
28373504da Merge pull request #4625 from crobibero/api-docs-description
Fix OpenApi generation for BlurHash
2020-12-02 00:04:05 +01:00
Joshua M. Boniface
513a9e2857 Merge pull request #4597 from nyanmisaka/opencl-intel
Add NEO OpenCL runtime for Intel Tone mapping
2020-12-01 18:00:49 -05:00
Claus Vium
65087a382e Merge pull request #4580 from crobibero/efcore-datetime
Specify default DateTimeKind from EFCore
2020-12-01 23:48:11 +01:00
Claus Vium
79578521b8 Merge pull request #4629 from crobibero/auth-handler
Provide NoResult instead of Fail in CustomAuthenticationHandler
2020-12-01 23:44:52 +01:00
Claus Vium
81823f9a3d Merge pull request #4628 from MrTimscampi/no-next-resumable
Prevent GetUpNext from returning episodes in progress
2020-12-01 23:01:01 +01:00
crobibero
cd459c51f3 Return NoResult only when request doesn't have a token. 2020-12-01 14:47:42 -07:00
Claus Vium
673d2c0d26 Update Emby.Server.Implementations/TV/TVSeriesManager.cs 2020-12-01 22:31:55 +01:00
BaronGreenback
6173534d33 Update Startup.cs
Missed a config move
2020-12-01 21:16:36 +00:00
crobibero
f48e47be5f Split nested conditional 2020-12-01 12:10:11 -07:00
Bill Thornton
ffd45b8df7 Merge pull request #4630 from jellyfin/uuid
Add tests for GetUuid
2020-12-01 13:40:50 -05:00
Bill Thornton
1bb4b590a7 Merge pull request #4626 from nyanmisaka/audio-bitrate
Do not extract audio stream bitrate info for videos from formatInfo
2020-12-01 13:39:29 -05:00
MrTimscampi
371092cf62 Fix possible nullref 2020-12-01 19:33:18 +01:00
MrTimscampi
7ba9ba4780 Fix typo 2020-12-01 19:26:51 +01:00
Claus Vium
afd20f69d9 Merge pull request #4632 from crobibero/muzicbrainz-xml
Fix MusicBrainz request Accept header.
2020-12-01 19:19:31 +01:00
crobibero
2055d49701 fix inverted condition 2020-12-01 11:10:56 -07:00
crobibero
821ad79992 fix spacing 2020-12-01 11:09:01 -07:00
crobibero
c083b29e29 Use Guid as API parameter type where possible 2020-12-01 11:07:41 -07:00
crobibero
b32c75fee5 Fix MusicBrainz request Accept header. 2020-12-01 09:57:13 -07:00
4d1m
f660969e6c Translated using Weblate (Romanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ro/
2020-12-01 10:36:36 -05:00
Bond_009
f6a38e6340 Add tests for GetUuid 2020-12-01 15:12:55 +01:00
crobibero
38b3b4f867 Provide NoResult instead of Fail in CustomAuthenticationHandler 2020-12-01 06:32:46 -07:00
MrTimscampi
21a67a66d2 Prevent GetUpNext from returning episodes in progress 2020-12-01 14:23:24 +01:00
nyanmisaka
6536c81226 do not extract audio stream bitrate info for videos from formatInfo 2020-12-01 10:55:25 +08:00
Claus Vium
0a35f35311 Merge pull request #4591 from jellyfin/schedulesdirect
Clean up SchedulesDirect
2020-11-30 19:58:20 +01:00
xnick
d734deb6c1 Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2020-11-30 13:00:51 -05:00
Nyanmisaka
421faabc7c Merge branch 'master' into hdr-extract 2020-12-01 00:59:21 +08:00
Bond-009
78fef80696 Merge pull request #4607 from nyanmisaka/fix-image-extraction
Fix the I-frame image extraction filter string
2020-11-30 17:47:03 +01:00
crobibero
d2d71ac3a1 Fix OpenApi generation for BlurHash 2020-11-30 08:47:52 -07:00
Bond-009
729327441d Merge pull request #4622 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-3.4.1
Bump prometheus-net.DotNetRuntime from 3.4.0 to 3.4.1
2020-11-30 16:06:30 +01:00
dependabot[bot]
d13611f7da Bump prometheus-net.DotNetRuntime from 3.4.0 to 3.4.1
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/3.4.0...3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 15:06:21 +00:00
Bond-009
b3f39b1f9f Merge pull request #4623 from jellyfin/dependabot/nuget/Moq-4.15.2
Bump Moq from 4.15.1 to 4.15.2
2020-11-30 16:06:14 +01:00
Bond-009
acc75fc9cf Merge pull request #4621 from jellyfin/dependabot/nuget/ServiceStack.Text.Core-5.10.2
Bump ServiceStack.Text.Core from 5.10.0 to 5.10.2
2020-11-30 16:05:29 +01:00
Claus Vium
73b04d58ad Merge pull request #4613 from jellyfin/DLNAEventFix
[Fix] NotificationType was never set in dlna event manager
2020-11-30 15:35:47 +01:00
Bond-009
926d821298 Merge pull request #4620 from nyanmisaka/fix-transcodeReasons
Fix transcoding reasons report
2020-11-30 13:22:56 +01:00
dependabot[bot]
44edd4b1a2 Bump Moq from 4.15.1 to 4.15.2
Bumps [Moq](https://github.com/moq/moq4) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/commits/v4.15.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 12:01:00 +00:00
dependabot[bot]
21a2dec5b2 Bump ServiceStack.Text.Core from 5.10.0 to 5.10.2
Bumps [ServiceStack.Text.Core](https://github.com/ServiceStack/ServiceStack.Text) from 5.10.0 to 5.10.2.
- [Release notes](https://github.com/ServiceStack/ServiceStack.Text/releases)
- [Commits](https://github.com/ServiceStack/ServiceStack.Text/compare/v5.10...v5.10.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 12:00:45 +00:00
nyanmisaka
ea592d0256 fix trascodeReasons report 2020-11-30 18:41:59 +08:00
Ionut Andrei Oanca
b57ace7888 Address requested changes from review 2020-11-30 10:03:42 +01:00
Enes
2375bd69e4 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-11-29 19:20:13 -05:00
TF
21893b6abe Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-11-29 17:30:43 -05:00
Enes
7561eda0f0 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-11-29 17:30:43 -05:00
nyanmisaka
92118c2129 allow to extract music bitrate info from formatInfo 2020-11-29 22:46:26 +08:00
AJ Jordan
b528816b2a Add sudo to package dependencies
It's used in the restart.sh script.

For Debian, this is a Recommends because virtually everyone will need
this (default APT policy is to install recommended packages so this
works ok), but technically you can configure the server to run as root
and then you wouldn't need it.

For Fedora... frankly I got confused by their Weak Dependencies etc. so
I just made it a hard dependency.
2020-11-29 04:15:11 -05:00
AJ Jordan
2911dfc37d Don't restart with sudo(8) if it's not available
Some environments, like system containers, have no reason to have
sudo(8) installed. In these environments restart.sh will silently fail
because /usr/bin/sudo does not exist to execute, so test that sudo
exists and don't try to use it otherwise.

Note also that hardcoding sudo's path is wrong: it can be installed in
other places. On FreeBSD, for example, it is /usr/local/bin/sudo when
installed from ports.
2020-11-29 04:04:38 -05:00
AJ Jordan
ce82932c9a Remove useless which(1) calls in restart.sh
at(1) runs commandlines with /bin/sh anyway, which resolves paths. No
need to do it ourselves.
2020-11-29 04:04:22 -05:00
Claus Vium
93bd5e67e9 Merge pull request #4525 from crobibero/transcode-file-task-schedule
Set DeleteTranscodeFileTask to trigger every 24h
2020-11-29 10:02:25 +01:00
AJ Jordan
a4e1732e35 Fix restart.sh to look at what's actually booted
The old code was wrong because e.g. systemd can be *installed* on the
system, but not actually used as PID1. In that case we would pick
`systemctl`, but it wouldn't actually work because PID1 was some other
init system.
2020-11-29 03:43:03 -05:00
nyanmisaka
3e9cf98c30 add hdr tone mapping to image extraction 2020-11-29 13:22:42 +08:00
nyanmisaka
c2c06ae15b fix image extraction 2020-11-29 13:20:55 +08:00
nyanmisaka
bb16174936 increase the default image extraction timeout 2020-11-29 13:12:41 +08:00
BaronGreenback
a8ceb7e20b Update DlnaEventManager.cs 2020-11-28 23:45:26 +00:00
BaronGreenback
4a67267e1e Update DlnaEventManager.cs
Set notificationType
2020-11-28 23:44:19 +00:00
Telmo Duarte
e936d0872b Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-11-28 17:33:37 -05:00
Telmo Duarte
304bbfd66d Translated using Weblate (Portuguese (Portugal))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_PT/
2020-11-28 17:33:37 -05:00
No Available
e52e1918c5 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2020-11-28 17:33:37 -05:00
dkanada
3e1631fed1 Merge pull request #4608 from jellyfin/enable-music
Remove deprecated flag to disable music plugins
2020-11-29 01:20:43 +09:00
Bill Thornton
162d6ee6b3 Merge pull request #4609 from Bond-009/tests4
Add more tests for JsonGuidConverter
2020-11-28 10:56:42 -05:00
Bond_009
10be618ec3 Add more tests for JsonGuidConverter 2020-11-28 16:33:57 +01:00
Bond-009
1cd3b3fc41 Merge pull request #4605 from hawken93/bugfix-libraryerror
Allow JsonGuidConverter to read null
2020-11-28 16:23:56 +01:00
Ionut Andrei Oanca
78ea8ef99e Create common interface for SyncPlay requests 2020-11-28 16:03:02 +01:00
dkanada
8b0ef119c3 remove deprecated flag to disable music plugins 2020-11-28 23:55:56 +09:00
BaronGreenback
cab78f40b3 [Fix] Possible null reference. (#4585)
Fix possible null reference.
2020-11-28 15:44:14 +01:00
Nyanmisaka
0c6efe6317 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-28 22:32:54 +08:00
Nyanmisaka
d72f3498bf fix ci 2020-11-28 21:27:55 +08:00
Ionut Andrei Oanca
c60714e365 Move query parameters to request body in SyncPlay 2020-11-28 14:20:46 +01:00
Nyanmisaka
53c91c2c14 Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-28 21:14:55 +08:00
nyanmisaka
d19edefbcd fix image extraction 2020-11-28 20:55:56 +08:00
cvium
ba78ad5424 Add missing inheritdoc 2020-11-28 11:24:52 +01:00
cvium
65e6211c03 Remove circular dependency between websocket listeners and manager 2020-11-28 11:21:53 +01:00
cvium
3ae39d44da Revert "Fixed SessionWebSocketListener.OnServerManagerWebSocketConnected." 2020-11-28 09:50:30 +01:00
cvium
1a0d8aef80 Revert "Removed Lazy implementation." 2020-11-28 09:50:16 +01:00
hawken
f9f0df88d5 allow JsonGuidConverter to read null 2020-11-28 09:41:06 +01:00
conashinck
f1b3811ca7 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-11-27 22:23:02 -05:00
conashinck
1458797330 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-11-27 20:33:04 -05:00
Nyanmisaka
8814d9c5ea Apply suggestions from code review
Co-authored-by: artiume <siderite@gmail.com>
2020-11-28 09:03:45 +08:00
Greenback
5cd5a7d4ce Removed Lazy implementation. 2020-11-28 00:25:20 +00:00
Greenback
a59aeb12e0 Fixed SessionWebSocketListener.OnServerManagerWebSocketConnected. 2020-11-27 23:04:13 +00:00
Matt Montgomery
185476c08a Add support for query negation 2020-11-27 16:12:16 -06:00
Claus Vium
5dc61f066d Merge pull request #4595 from MrTimscampi/clean-next-up
Don't return first episodes in next up
2020-11-27 21:03:06 +01:00
MrTimscampi
0dda909a60 Fix suggestion 2020-11-27 19:06:18 +01:00
Claus Vium
e6502503f6 Merge pull request #4594 from nyanmisaka/remove-redundant
Remove one redundant 'hwaccel vaapi' string
2020-11-27 18:23:28 +01:00
Joshua M. Boniface
c98c2ab955 Merge branch 'master' into syncplay-enhanced 2020-11-27 09:46:18 -05:00
nyanmisaka
b26a5e9e20 add NEO OpenCL runtime for Intel Tone mapping 2020-11-27 20:12:47 +08:00
MrTimscampi
c196ad3351 Don't return first episodes in next up 2020-11-27 10:25:43 +01:00
nyanmisaka
cc9e178d9a remove a redundant 'hwaccel vaapi' string 2020-11-27 16:08:44 +08:00
Joshua M. Boniface
9169a28df1 Merge pull request #4588 from jellyfin/hex
Remove Hex class as the BCL has one now
2020-11-27 01:59:58 -05:00
Bond_009
81ca6cb47c Clean up SchedulesDirect 2020-11-26 21:54:14 +01:00
WWWesten
536ac4c11c Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-11-26 14:23:08 -05:00
Rubikscraft
ab6a4fac91 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-11-26 08:15:48 -05:00
Bond_009
38932fc7d1 Schedules Direct requires the hex to be lowercase 2020-11-26 13:21:04 +01:00
Claus Vium
32822ef9e6 Merge pull request #4582 from crobibero/music-client
Use proper Named HttpClient for MusicBrainz requests
2020-11-26 10:32:09 +01:00
Matt Montgomery
0758d84a61 Test query value 2020-11-25 16:54:16 -06:00
Bond_009
8c8a71692e Remove Hex class as the BCL has one now 2020-11-25 23:40:31 +01:00
crobibero
c4423373b6 Use proper Named HttpClient for MusicBrainz requests 2020-11-25 08:47:05 -07:00
Bill Thornton
79f197938d Merge pull request #4570 from nyanmisaka/tonemap-vaapi
Add Tonemapping for Intel VAAPI
2020-11-25 10:45:52 -05:00
crobibero
6c0188c42b Fix efcore not returning a UTC DateTime 2020-11-25 07:44:11 -07:00
Bond-009
3d6920ae40 Merge pull request #4574 from jellyfin/revert-4553-enable-service-on-fedora
Revert "Enable jellyfin.service unit on Fedora fresh install"
2020-11-25 14:08:18 +01:00
nextlooper42
abf0f85123 Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2020-11-25 06:09:06 -05:00
Claus Vium
e86385b74d Merge pull request #4575 from crobibero/null-ref
Don't throw null reference if ContentType is null.
2020-11-25 08:20:57 +01:00
Ignatius Bagus
8275a5d635 Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-11-25 00:26:24 -05:00
Nyanmisaka
b042a9f539 minor changes 2020-11-25 10:33:16 +08:00
Bill Thornton
42e90893cd Merge pull request #4517 from BaronGreenback/pluginMessageFix
[Fix] Fixed Plugin versioning in browser notifications
2020-11-24 20:35:40 -05:00
nextlooper42
4edbd6d182 Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2020-11-24 20:34:40 -05:00
Bill Thornton
94ddfda6e5 Merge pull request #4563 from crobibero/playback-info
Fix sending PlaybackInfo
2020-11-24 20:34:32 -05:00
crobibero
0acea5b077 Don't throw null reference if ContentType is null. 2020-11-24 16:42:27 -07:00
volodymyr
49eadd3246 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-11-24 18:29:13 -05:00
nextlooper42
9b2999237f Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2020-11-24 18:29:13 -05:00
Joshua M. Boniface
922b02733b Revert "Enable jellyfin.service unit on Fedora fresh install" 2020-11-24 17:25:50 -05:00
nextlooper42
9534f55eb0 Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2020-11-24 13:58:27 -05:00
Nyanmisaka
44dc1c3729 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-24 16:27:46 +00:00
Nyanmisaka
75963d9181 enable cl-va p010 interop 2020-11-24 23:25:32 +08:00
Nyanmisaka
9c703a75ec disable graphical subs burn-in when tonemapping 2020-11-24 23:10:34 +08:00
Oatavandi
f8229529ab Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-11-24 09:56:04 -05:00
nyanmisaka
bee69e409b add tonemapping for intel vaapi
hwdec->scale->tonemap->hwenc

hwdec->scale->tonemap->textsubs->hwenc

* grapical subs requires overlay_vaapi, but it's still in ffmpeg mailing list.
2020-11-24 22:09:13 +08:00
Mikko Puntanen
eefb192584 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-11-24 06:27:38 -05:00
CutterXYZ
9b14e7d6e4 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-11-24 06:27:38 -05:00
Cromefire_
7aef0fce44 Use consistent style 2020-11-24 12:24:42 +01:00
Cromefire_
7396fcfb84 Removed bash style vars 2020-11-24 12:23:44 +01:00
hoanghuy309
29e686b042 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-11-24 05:33:59 -05:00
Claus Vium
4ce9bf3fcf Merge pull request #4568 from crobibero/guid-empty
Serialize Guid.Empty to null
2020-11-24 09:04:47 +01:00
BaronGreenback
50e375020a [Fix] NetworkManager binding to [::] (#4549)
* Autodiscovery enable/disable patch

* Fixed [::] issue on bind. Altered test.

* Update UdpServerEntryPoint.cs

* Update Jellyfin.Networking.Tests.csproj

* Update Jellyfin.Networking.Tests.csproj

* Update INetworkManager.cs
2020-11-24 06:11:02 +01:00
BaronGreenback
6676ca4d1b Remove ResourceFileManager (#4567) 2020-11-24 06:06:36 +01:00
crobibero
c4925ad70b Serialize Guid.Empty to null 2020-11-23 16:07:15 -07:00
Antonio Sarro
41b3a7869e Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-11-23 15:05:44 -05:00
Bill Thornton
e428614d00 Merge pull request #4550 from crobibero/plugin-repo
Handle invalid plugins
2020-11-23 14:17:51 -05:00
Cromefire_
1897455004 Update debian/conf/jellyfin
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2020-11-23 20:17:40 +01:00
Bill Thornton
2d415374d6 Merge pull request #4562 from crobibero/playback-stop-notification
Don't send activity event if notification type is null
2020-11-23 14:16:03 -05:00
Bill Thornton
4f96e2f256 Merge pull request #4554 from joshuaboniface/fix-restart
Run explicit service start if restart failed
2020-11-23 14:15:18 -05:00
Bill Thornton
b187fe6fcb Merge pull request #4553 from joshuaboniface/enable-service-on-fedora
Enable jellyfin.service unit on Fedora fresh install
2020-11-23 14:14:01 -05:00
crobibero
1dafd70f51 Don't nest DeviceProfile 2020-11-23 10:50:18 -07:00
crobibero
fafddfc45e Add TODO notice 2020-11-23 09:51:24 -07:00
crobibero
f336d20b06 Fix sending PlaybackInfo 2020-11-23 09:49:42 -07:00
crobibero
5de8c249a0 Don't send activity event if notification type is null 2020-11-23 08:18:07 -07:00
dkanada
02c1879533 Merge pull request #4551 from crobibero/fix-name-cleaning
Only trim file name if folder name is shorter
2020-11-23 22:34:17 +09:00
dkanada
347d04efad Merge pull request #4557 from crobibero/client-dto-fix
Fix namespace and add attribute for ClientCapabilitiesDto
2020-11-23 17:49:57 +09:00
crobibero
3bff1ff8a2 Fix namespace and add attribute 2020-11-22 18:46:55 -07:00
Joshua M. Boniface
91dd95faa3 Add at to the dependencies on Fedora (as in Deb) 2020-11-22 18:32:34 -05:00
Joshua M. Boniface
6de79e03a2 Go back to at with lower sleep and start 2020-11-22 18:32:16 -05:00
Joshua M. Boniface
97665c9478 Remove the at now hack 2020-11-22 17:19:39 -05:00
Joshua M. Boniface
1079ddb46c Run explicit service start if restart failed
Should solve the occasional bugs with the restart in the WebUI.
Sometimes the service stops and then doesn't start again; this will run
an explicit start action afterwards. If this doesn't fix it I'm certain
there would be more tweaking that can be done.
2020-11-22 17:12:29 -05:00
Joshua M. Boniface
5f135a4b46 Use --now to the enable to start too 2020-11-22 17:01:13 -05:00
Joshua M. Boniface
be4e485bd3 Make use of the $1 flag to set installed only 2020-11-22 16:58:07 -05:00
Joshua M. Boniface
d88504c1d6 Set systemctl enabled on Jellyfin service
This was not set for Fedora; I do not recall if this was just an oversight or was
explicitly removed in the past; open to feedback there.

Reported in the LUP Bug-A-Thon
2020-11-22 16:49:12 -05:00
crobibero
20251e670f Fix tests 2020-11-22 14:39:34 -07:00
crobibero
2aefe9ed5a Only trim file name if folder name is shorter 2020-11-22 14:17:42 -07:00
crobibero
c5f5633ec6 Handle invalid plugins 2020-11-22 12:35:45 -07:00
Joshua M. Boniface
3442dbbaf9 Merge pull request #4545 from BaronGreenback/17.0RC0---Fix1
[Fix] Null Pointer in TmdbMovieProvider
2020-11-22 13:49:58 -05:00
Joshua M. Boniface
8ec4dda9d1 Merge pull request #4544 from BaronGreenback/MinorFix
[Fix] Config option read from wrong place.
2020-11-22 13:49:26 -05:00
Joshua M. Boniface
f39e55e2e5 Merge pull request #4548 from orryverducci/mkv-interlaced-fix
Revert "Fix frame rate probing for interlaced MKV files"
2020-11-22 13:06:10 -05:00
Orry Verducci
812300ad33 Revert "Fix frame rate probing for interlaced MKV files"
This reverts commit 84fd5a0953.
2020-11-22 16:54:41 +00:00
Greenback
fe3e22be98 Null Pointer 2020-11-22 13:11:05 +00:00
BaronGreenback
dfee591c2a Update Startup.cs
Late night
2020-11-22 12:06:39 +00:00
BaronGreenback
a34fca6f8e Update Startup.cs 2020-11-22 11:40:50 +00:00
Joshua M. Boniface
a57b99bffd Merge pull request #4125 from BaronGreenback/NetworkPR2
Networking 2 (Cumulative PR) - Swapping over to new NetworkManager
2020-11-22 01:11:02 -05:00
Joshua M. Boniface
2c9e355e42 Merge branch 'master' into NetworkPR2 2020-11-21 23:28:15 -05:00
hoanghuy309
c1db8869f0 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-11-21 23:08:01 -05:00
Joshua M. Boniface
09c7f98162 Merge pull request #4263 from cvium/defer_image_fetching
Defer image pre-fetching until the end of a refresh/scan
2020-11-21 18:54:08 -05:00
BaronGreenback
969b9e2a18 Update ImageFetcherPostScanTask.cs 2020-11-21 23:33:41 +00:00
BaronGreenback
d3b0080a27 Update MetadataService.cs
added return Task.CompletedTask;
2020-11-21 23:29:52 +00:00
BaronGreenback
79855a76b1 Update MetadataService.cs
removed async line 232
2020-11-21 23:21:15 +00:00
BaronGreenback
e8cb9cea7d Merge branch 'master' into library_scan_speed 2020-11-21 22:54:40 +00:00
Joshua M. Boniface
77dba0d06b Merge pull request #3053 from rigtorp/video-resolver
Add additional resolver tests
2020-11-21 17:47:05 -05:00
Joshua M. Boniface
d5eb7e786f Merge pull request #4182 from ryanpetris/fix-hdhomerun
Fix HD Home Run streaming
2020-11-21 17:22:19 -05:00
Joshua M. Boniface
bf54b5579c Merge branch 'master' into defer_image_fetching 2020-11-21 17:20:31 -05:00
Joshua M. Boniface
b707d8e09d Merge pull request #4486 from crobibero/split-api
Remove api client generator errors
2020-11-21 17:19:08 -05:00
Joshua M. Boniface
da96cbaf78 Merge pull request #4510 from crobibero/http-accept-header
Set default request accept headers
2020-11-21 17:18:49 -05:00
Joshua M. Boniface
f6c842e7b3 Merge pull request #4513 from BaronGreenback/LatestPluginSelected
Multi-repository plugins
2020-11-21 17:18:19 -05:00
Joshua M. Boniface
509a4d0900 Merge pull request #4526 from crobibero/mark-played
Fix marking item as played
2020-11-21 17:17:44 -05:00
Claus Vium
fab03942f5 Merge pull request #4537 from crobibero/session-caps-full
Convert ClientCapabilities to a Dto with JsonConverters
2020-11-21 21:34:58 +01:00
Greenback
dc1ad3fe2a Better named tests methods. 2020-11-21 20:31:24 +00:00
Joshua M. Boniface
1e6539d0dc Merge pull request #4539 from crobibero/nullable-enum-model-binder
Add NullableEnumModelBinder and NullableEnumModelBinderProvider
2020-11-21 15:14:59 -05:00
Joshua M. Boniface
eb90b20fe3 Merge pull request #4534 from Bond-009/bom
Remove UTF8 bom from some files
2020-11-21 15:14:27 -05:00
BaronGreenback
1e13627a94 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:05:31 +00:00
BaronGreenback
3f2c331755 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:05:11 +00:00
BaronGreenback
c3fa9d00ae Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:04:58 +00:00
BaronGreenback
e33200db71 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:04:16 +00:00
BaronGreenback
c14f468099 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:04:02 +00:00
BaronGreenback
acb79eb56a Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:02:36 +00:00
BaronGreenback
b4e7032872 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:02:19 +00:00
BaronGreenback
13162184f4 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:01:58 +00:00
BaronGreenback
5ac25364db Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:01:01 +00:00
BaronGreenback
ac03516f89 Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:00:37 +00:00
BaronGreenback
23fa9533af Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:00:17 +00:00
Greenback
5224200e8c Fixed baseurl in dlna. 2020-11-21 19:50:40 +00:00
Joshua M. Boniface
a597673929 Merge pull request #4538 from mario-campos/master
Implement CodeQL Static Analysis
2020-11-21 14:42:36 -05:00
crobibero
40531db1ae Add NullableEnumModelBinder and NullableEnumModelBinderProvider 2020-11-21 11:58:35 -07:00
crobibero
c8c5feacb6 Convert ClientCapabilities to a Dto with JsonConverters 2020-11-21 11:37:22 -07:00
Mario Campos
f17e95abea Update codeql-analysis.yml 2020-11-21 12:21:58 -06:00
Mario Campos
e2aa7635bd Update codeql-analysis.yml 2020-11-21 12:03:09 -06:00
Mario Campos
2f00d05eae Create codeql-analysis.yml 2020-11-21 11:49:52 -06:00
Greenback
9b5ae690c1 renamed file. 2020-11-21 16:17:26 +00:00
Greenback
e41d1773ba changes 2020-11-21 16:14:03 +00:00
BaronGreenback
7403b9a9e5 Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:10:35 +00:00
BaronGreenback
46e6128f6c Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:08:19 +00:00
BaronGreenback
56754a2af2 Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:03:25 +00:00
BaronGreenback
ead881d487 Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:03:16 +00:00
BaronGreenback
8f25eaeb9d Update Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:02:54 +00:00
Greenback
086e2fdaa1 Fixed a couple of merge errors. 2020-11-21 14:09:56 +00:00
Greenback
33f6b13d4f Moved INetworkManager 2020-11-21 14:05:28 +00:00
Greenback
c4753cec6c Fixed merge. 2020-11-21 14:05:09 +00:00
Greenback
616caca2b7 Added more comments. 2020-11-21 13:27:27 +00:00
Bond_009
f5973d57e8 Remove UTF8 bom from some files 2020-11-21 14:26:03 +01:00
BaronGreenback
05bd1383c1 Null pointer fix. (#4527)
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-11-21 14:22:23 +01:00
Claus Vium
937e2a84e8 Merge pull request #4533 from Bond-009/nullref3
Fix nullref
2020-11-21 14:14:12 +01:00
BaronGreenback
124bd4c2c0 Networking: 1 - Network Manager (#4124)
* NetworkManager

* Config file with additional options.

* Update Jellyfin.Networking/Manager/INetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/INetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Model/Configuration/ServerConfiguration.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Model/Configuration/ServerConfiguration.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Model/Configuration/ServerConfiguration.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Split function.

* Update Jellyfin.Networking/Manager/INetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* fixed iterations

* Update Jellyfin.Networking.csproj

* Update NetworkManager.cs

* Updated to NetCollection 1.03.

* Update ServerConfiguration.cs

* Update StartupController.cs

* Update INetworkManager.cs

Removed public

* Update INetworkManager.cs

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Updated comment

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update Jellyfin.Networking/Manager/INetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Remove mono code.
Removed forced chromecast option

* Inverted if

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Moved config into a separate container

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Changed sortedList to dictionary.

* Update INetworkManager.cs

Changed UpdateSettings param type

* Update NetworkManager.cs

* Update NetworkManager.cs

* Update NetworkManager.cs

* Update NetworkConfiguration.cs

* Update INetworkManager.cs

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update MediaBrowser.Model/Configuration/ServerConfiguration.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Model/Configuration/ServerConfiguration.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Updated changes github didn't update.

* Fixed compilation.

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Removed read locking.

* Update NetworkManager.cs

Changed configuration event to NamedConfigurationUpdated

* updated comment

* removed whitespace

* Updated NetCollection to 1.0.6
Updated DXCopAnalyser to 3.3.1

* removed NetCollection

* Update NetworkManager.cs

* Update NetworkExtensions.cs

* Update NetworkExtensions.cs

Removed function.

* Update NetworkExtensions.cs

* Update NetworkManager.cs

Changed ToString() to AsString() as native collection formats incorrectly.

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update NetworkExtensions.cs

* Update Jellyfin.Networking/Configuration/NetworkConfiguration.cs

Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>

* Update Jellyfin.Networking/Configuration/NetworkConfiguration.cs

Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>

* Update Jellyfin.Networking/Configuration/NetworkConfiguration.cs

Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>

* Update MediaBrowser.Common/Net/IPObject.cs

Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>

* updated

* Replaced NetCollection with Collection<IPObject>

* Update MediaBrowser.Common/Net/NetworkExtensions.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Model/Configuration/PathSubstitution.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/NetworkExtensions.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPObject.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPObject.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPObject.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPObject.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Update MediaBrowser.Common/Net/IPObject.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* updated comments.

* Updated comments / changes as suggested by @crobibero.

* Split function as suggested

* Fixed null ref.

* Updated comment.

* Updated cs to .net5

* Fixed issue with PublishedServerUrl

* Fixes

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Restored locking

* optimisation

* Added comment

* updates.

* updated.

* updates

* updated.

* Update IPHost.cs

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>

* Update NetworkManager.cs

* Removed whitespace.

* Added debug logging

* Added debug.

* Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>

* Replaced GetAddressBytes

Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-11-21 13:59:14 +01:00
Bond_009
c01042b355 Fix nullref 2020-11-21 12:28:32 +01:00
BaronGreenback
7a6063ed41 Merge branch 'master' into NetworkPR2 2020-11-21 00:35:53 +00:00
Greenback
9a9b2bfb2e Updated to the latest 2020-11-21 00:34:09 +00:00
Greenback
eed1a40b19 Fixed tests 2020-11-20 19:18:18 +00:00
Greenback
972ed3ccfe fix. 2020-11-20 18:56:36 +00:00
crobibero
b0be434ba6 Revert unused change 2020-11-20 11:28:45 -07:00
crobibero
f512d5167d Remove broken CleanDateTimes regex 2020-11-20 11:27:37 -07:00
crobibero
5b8e248d72 Merge remote-tracking branch 'upstream/master' into video-resolver 2020-11-20 11:21:24 -07:00
crobibero
20dcb7d5c3 Merge branch 'video-resolver' of github.com:rigtorp/jellyfin into video-resolver 2020-11-20 11:21:03 -07:00
crobibero
b3d322f79f Fix build after merge 2020-11-20 10:50:11 -07:00
crobibero
8f58f63b08 Merge remote-tracking branch 'upstream/master' into split-api 2020-11-20 10:35:46 -07:00
Joshua M. Boniface
d2cef78db3 Merge pull request #4339 from BaronGreenback/PluginConfigSave
Making default Plugin configurations accessible when developing.
2020-11-20 12:34:38 -05:00
Joshua M. Boniface
7457c4a95d Merge pull request #4499 from crobibero/more-param
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
2020-11-20 12:34:18 -05:00
Joshua M. Boniface
799eb44005 Merge pull request #4514 from Artiume/patch-9
Update FFmpeg log
2020-11-20 12:34:10 -05:00
Joshua M. Boniface
a1707739d6 Merge pull request #4515 from barronpm/dont-store-capabilities
Clean up DeviceManager and Don't Store Capabilities on Disk
2020-11-20 12:33:58 -05:00
Joshua M. Boniface
c901f1da41 Merge pull request #4518 from crobibero/livetv-hls
Fix live tv hls playback
2020-11-20 12:33:48 -05:00
crobibero
2f75f84b6f Fix marking item as played 2020-11-20 10:22:40 -07:00
crobibero
7e7d027bb0 Merge remote-tracking branch 'upstream/master' into transcode-file-task-schedule 2020-11-20 08:25:45 -07:00
BaronGreenback
b879fb615e Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-20 15:19:46 +00:00
Joshua M. Boniface
de2f4967d1 Merge pull request #4524 from crobibero/test-5.0
Use sdk 5.x
2020-11-20 10:19:30 -05:00
crobibero
bf66f57069 Set DeleteTranscodeFileTask to trigger every 24h 2020-11-20 08:12:38 -07:00
crobibero
f727f5dd72 Use sdk 5.x 2020-11-20 07:52:10 -07:00
Joshua M. Boniface
b15efc84ed Merge pull request #4523 from crobibero/test-5.0
Set sdk version to 5.0
2020-11-20 09:52:01 -05:00
crobibero
182a68f3dd Set sdk version to 5.0 2020-11-20 07:50:04 -07:00
Greenback
d6b0a939f7 fixed 2020-11-20 14:14:00 +00:00
Csaba
2f9e549c35 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-11-20 09:10:04 -05:00
Greenback
32b92641fb Get version info the manifest. 2020-11-20 14:03:27 +00:00
Decoy7
d630534615 Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2020-11-20 08:59:33 -05:00
BaronGreenback
47f3bb33f9 Update BasePlugin.cs 2020-11-20 09:03:11 +00:00
Claus Vium
84fe046226 Merge pull request #4432 from nyanmisaka/fmp4-hls
Add initial support for HEVC over FMP4-HLS
2020-11-20 08:17:05 +01:00
Claus Vium
44ff7a4843 Apply suggestions from code review 2020-11-20 08:06:28 +01:00
Claus Vium
8b23c4e241 Merge pull request #4519 from crobibero/datetime-iso8601
Write DateTimes in ISO8601 format for backwards compatibility.
2020-11-20 07:38:53 +01:00
Gary Wilber
4a22380565 Merge remote-tracking branch 'upstream/master' into library_scan_speed 2020-11-19 18:44:16 -08:00
Gary Wilber
d6585e7ff2 Upgrade System.Threading.Tasks.Dataflow 2020-11-19 18:42:41 -08:00
nyanmisaka
b4598bd71b Merge remote-tracking branch 'upstream/master' into fmp4-hls 2020-11-20 10:01:17 +08:00
nyanmisaka
ca33ace3e9 rename 2020-11-20 09:57:28 +08:00
Marcin Woliński
90e4066b12 Translated using Weblate (Polish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pl/
2020-11-19 20:43:36 -05:00
artiume
6a751251e7 Update Jellyfin.Api/Helpers/TranscodingJobHelper.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-19 19:45:26 -05:00
crobibero
f557a730bb Write DateTimes in ISO8601 format for backwards compatibility. 2020-11-19 17:33:51 -07:00
artiume
a46b70b169 Truncate GUID to 8 char 2020-11-19 19:23:04 -05:00
crobibero
d58e435409 Add response code documentation 2020-11-19 16:16:23 -07:00
crobibero
fe8531f74e Fix live tv hls playback 2020-11-19 16:15:20 -07:00
Claus Vium
c30e583201 Merge pull request #4501 from ferferga/no-scaling
Don't scale extracted images and ffmpeg improvements
2020-11-19 23:59:24 +01:00
Fernando Fernández
e21e00cad5 Merge remote-tracking branch 'upstream/master' into no-scaling 2020-11-19 23:18:25 +01:00
artiume
3423bdf53a Update Jellyfin.Api/Helpers/TranscodingJobHelper.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-19 15:51:58 -05:00
Joshua M. Boniface
b5ff91c281 Merge pull request #4298 from crobibero/bye-tvdb
Remove TheTVDB plugin from server source.
2020-11-19 14:25:12 -05:00
Greenback
084d21cade Updated contributors. 2020-11-19 18:27:30 +00:00
Greenback
a3e47f3e4e Updated to latest Unstable. 2020-11-19 18:27:18 +00:00
BaronGreenback
9c3e484c0e Update BasePlugin.cs 2020-11-19 18:14:38 +00:00
Joshua M. Boniface
212c5318ae Merge pull request #4507 from BaronGreenback/Spelling
Corrects spelling in comments
2020-11-19 13:08:28 -05:00
Joshua M. Boniface
75d4a573a3 Merge pull request #4137 from BaronGreenback/Comment2
DLNA ConnectionManager - static and commented.
2020-11-19 13:03:37 -05:00
Greenback
c4d8926426 Fixed notification 2020-11-19 17:55:31 +00:00
JoJoBot420
d8a3448a97 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-11-19 12:50:00 -05:00
hoanghuy309
e71ab2afb1 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-11-19 11:00:13 -05:00
Oatavandi
28f8cb6ea5 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-11-19 11:00:13 -05:00
nyanmisaka
b02ceea91b increase bitrate to 20Mbps for 1440p transcoding 2020-11-19 23:56:04 +08:00
Greenback
14fc7e6408 revert changes. 2020-11-19 15:40:20 +00:00
Greenback
452ca4565f reversing other PR 2020-11-19 15:39:00 +00:00
Fernando Fernández
2deda0437d Review suggestions 2020-11-19 16:36:19 +01:00
nyanmisaka
20d6999d8c minor changes 2020-11-19 23:04:44 +08:00
Nyanmisaka
5ff08338d5 Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-19 15:02:36 +00:00
Claus Vium
456ae32331 Merge pull request #4516 from oddstr13/fix-plugin-cleanup
Fix plugin old version cleanup
2020-11-19 15:54:36 +01:00
Odd Stråbø
f8dd50fc1a Fix plugin old version cleanup 2020-11-19 15:50:34 +01:00
nyanmisaka
51dab0958d changes per suggestions 2020-11-19 22:46:02 +08:00
Greenback
31980e6f87 Fixed issue with plugins being deleted. 2020-11-19 14:40:06 +00:00
Patrick Barron
5790db05ba Clean up DeviceManager and don't store capabilities on disk 2020-11-19 09:38:54 -05:00
crobibero
c53b4f5547 Add xml and quality 2020-11-19 07:35:34 -07:00
Greenback
1df58fbaa0 updated 2020-11-19 14:12:33 +00:00
Claus Vium
15b9f993c6 Merge pull request #4342 from crobibero/base-item-manager
Add BaseItemManager
2020-11-19 14:58:48 +01:00
artiume
e6e7295320 oops 2020-11-19 08:58:16 -05:00
artiume
4e07d9d561 Update FFmpeg log 2020-11-19 08:49:21 -05:00
Greenback
18855a7884 Initialial upload 2020-11-19 13:34:09 +00:00
BaronGreenback
ef05485243 Merge branch 'master' into PluginConfigSave 2020-11-19 09:04:49 +00:00
BaronGreenback
3ffdcfdb80 Update BasePlugin.cs 2020-11-19 09:03:03 +00:00
Claus Vium
49ebbcf87e Merge pull request #4509 from crobibero/plugin-save-null-ref
Fix null reference when saving plugin configuration
2020-11-19 09:02:58 +01:00
crobibero
c2d2c571e7 Set default request accept headers 2020-11-18 18:20:31 -07:00
crobibero
d608ab8042 Fix null reference when saving plugin configuration 2020-11-18 09:29:18 -07:00
Nyanmisaka
fbcf3b750d Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-11-18 10:05:49 -05:00
BaronGreenback
4c394eec90 Update Jellyfin.Api/Controllers/LiveTvController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-18 14:08:44 +00:00
BaronGreenback
7a26f64c7b Update Device.cs 2020-11-18 13:48:31 +00:00
Greenback
9a323f6df0 More spelling corrections. 2020-11-18 13:46:14 +00:00
Greenback
e51ddd326c Fixes spelling. 2020-11-18 13:23:45 +00:00
Ionut Andrei Oanca
9c20701cf6 Correct typos 2020-11-18 13:28:35 +01:00
Fernando Fernández
38c3b6fcd3 Fix build and thread detection logic 2020-11-18 10:20:59 +01:00
dkanada
742966573d Merge pull request #4503 from jellyfin/cancellation
Pass cancellation where possible
2020-11-18 13:46:13 +09:00
crobibero
1831b6cbab Remove tvdb migration. 2020-11-17 16:39:47 -07:00
HDmaniac
a8524be6be Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2020-11-17 16:29:36 -05:00
danielxb-ar
316b18e8f2 Translated using Weblate (Spanish (Argentina))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2020-11-17 16:29:36 -05:00
Moritz
b91afdb56f Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-11-17 16:29:36 -05:00
Bill Thornton
26d95d19b4 Merge pull request #4504 from crobibero/startup-wiz
Fix Environment authorization policy
2020-11-17 15:56:12 -05:00
crobibero
f6c6ee2008 Fix Environment authorization policy 2020-11-17 13:44:51 -07:00
Bond_009
4b1c9dc9ea Pass cancellation where possible 2020-11-17 19:43:00 +01:00
crobibero
5b62f70bc0 Update exception handle comment 2020-11-17 09:57:08 -07:00
Anthony Lavado
08c2c86bc7 Merge pull request #4490 from jellyfin/dependabot/nuget/Mono.Nat-3.0.1
Bump Mono.Nat from 3.0.0 to 3.0.1
2020-11-17 11:52:36 -05:00
Anthony Lavado
4a70bc72ab Merge pull request #4489 from jellyfin/dependabot/nuget/PlaylistsNET-1.1.3
Bump PlaylistsNET from 1.1.2 to 1.1.3
2020-11-17 11:52:20 -05:00
Anthony Lavado
28da945fe0 Merge pull request #4488 from jellyfin/dependabot/nuget/Moq-4.15.1
Bump Moq from 4.14.7 to 4.15.1
2020-11-17 11:52:06 -05:00
crobibero
7bf647bb94 Remove precondition checks 2020-11-17 09:38:50 -07:00
Fernando Fernández
94cae4f145 Specify threads to ffmpeg properly 2020-11-17 16:44:04 +01:00
Joshua M. Boniface
ff57434d4b Merge pull request #4502 from crobibero/compres
Use ALL the decompression methods
2020-11-17 10:30:01 -05:00
Joshua M. Boniface
e0f60847c0 Merge pull request #4361 from ssenart/feature/4360-transcoding_flac_downsampling
Add FLAC and define the corresponding target sample rate
2020-11-17 10:29:29 -05:00
Joshua M. Boniface
f6ebdbc45e Merge pull request #4456 from martinek-stepan/emby-namig-nullable
Emby.Naming - nullable & code coverage
2020-11-17 10:28:39 -05:00
martinek-stepan
04a712ab1d Update Emby.Naming/Video/VideoFileInfo.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-17 15:11:32 +01:00
Cody Robibero
08279e91ba Update MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs 2020-11-17 07:08:22 -07:00
crobibero
5fa4cce4cc Use ALL the decompression methods. 2020-11-17 06:57:25 -07:00
Fernando Fernández
d7cdaeea7d Use all system cores when threads are set to auto or bigger than the amount of system's cores 2020-11-17 14:26:05 +01:00
Fernando Fernández
a6ad36b57a Don't scale images extracted by ffmpeg 2020-11-17 14:20:18 +01:00
Stepan
d481c35cad Merge fix 2020-11-17 13:06:56 +01:00
Thomas Schwery
fc3d6278be Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-11-17 05:36:46 -05:00
Sverre
7cbcce0638 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-11-17 05:04:26 -05:00
Lukáš Kucharczyk
bb46f24bb3 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2020-11-17 05:04:26 -05:00
Anthony Lavado
c8e41adfeb Merge pull request #4500 from oddstr13/nuget-bump-net5.0
Use .NET 5.0 in Nuget pipeline
2020-11-17 00:17:08 -05:00
Odd Stråbø
c770b9e0c6 Use .NET 5.0 in the Nuget pipeline 2020-11-17 05:28:26 +01:00
crobibero
3b68ce1183 Fix build 2020-11-16 20:45:09 -07:00
crobibero
2a0578ce1a Add missing manual splits 2020-11-16 20:37:43 -07:00
crobibero
3cc0dd7e12 Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
Anthony Lavado
ad719b7ac6 Merge pull request #4460 from yodatak/patch-1
Bump dependencies to Fedora 33
2020-11-16 22:03:49 -05:00
Odd Stråbø
001bf95d10 Fedora: install systemd as build dependency 2020-11-17 03:56:17 +01:00
Bill Thornton
be0ddf02b3 Merge pull request #4475 from crobibero/npm-ci-remove-v2
Fix api client ci condition
2020-11-16 20:16:38 -05:00
Joshua M. Boniface
47bfbb1377 Merge pull request #4497 from crobibero/docker-pls
Fix docker and centos builds
2020-11-16 19:44:49 -05:00
Cody Robibero
be3c65d80f Merge branch 'master' into docker-pls 2020-11-16 17:07:06 -07:00
crobibero
1d96167e8d Fix builders 2020-11-16 17:05:31 -07:00
Ygor Lhano
7b42b7e8bd Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2020-11-16 18:45:58 -05:00
Joshua M. Boniface
d7b42e47d1 Merge pull request #4493 from crobibero/hey-buster
Fix dockerfiles
2020-11-16 18:37:16 -05:00
Joshua M. Boniface
e86db484ef Merge pull request #4136 from BaronGreenback/Comment1
DLNA Classes - No code change, just added commenting to classes.
2020-11-16 17:11:20 -05:00
Joshua M. Boniface
355c0c802f Merge pull request #4138 from BaronGreenback/Comment3
DLNA ContentManager - static and commented.
2020-11-16 17:09:22 -05:00
BaronGreenback
2bbfcc264d Merge branch 'master' into emby-namig-nullable 2020-11-16 19:47:36 +00:00
Greenback
60a6627140 Removing left over edits left from the acceptance of previous PR's. 2020-11-16 19:45:21 +00:00
Greenback
978aa38f3b Updated PR1 code. 2020-11-16 19:37:38 +00:00
Ionut Andrei Oanca
426e258f1f Improve locking logic in SyncPlay manager 2020-11-16 20:25:13 +01:00
Ionut Andrei Oanca
a3ca36cb54 Review logging and minor changes in SyncPlay 2020-11-16 20:05:57 +01:00
Greenback
979de240cb Updated tests to .Net5 2020-11-16 17:30:27 +00:00
Greenback
9481fd0747 Upgraded to .Net5 2020-11-16 17:17:49 +00:00
BaronGreenback
d66f88672c Merge branch 'master' into NetworkPR2 2020-11-16 16:27:37 +00:00
Claus Vium
dc0e353b96 Merge pull request #4494 from nyanmisaka/hdr-title
Add video range info to the title
2020-11-16 16:48:26 +01:00
nyanmisaka
5fe4ea2f4a add video range info to title 2020-11-16 21:41:08 +08:00
Claus Vium
d53f97d803 Merge pull request #4480 from crobibero/http-exception
Remove custom HttpException
2020-11-16 07:47:21 +01:00
Bill Thornton
84b0932cfe Merge pull request #4485 from crobibero/update-user-cache
Update user cache after updating user.
2020-11-16 00:49:53 -05:00
nyanmisaka
099563cd6b comply with dotnet-5 2020-11-16 12:56:37 +08:00
nyanmisaka
488dbdb31d Merge remote-tracking branch 'upstream/master' into fmp4-hls 2020-11-16 12:36:55 +08:00
crobibero
e2e10e672f User buster-slim instead of non existent buster 2020-11-15 21:08:02 -07:00
Ryan Petris
8204b25a56 Merge branch 'master' into fix-hdhomerun 2020-11-15 19:55:30 -07:00
Ryan Petris
81d5eb4db5 Return a Task object and discard it instead of using async void. 2020-11-15 19:44:11 -07:00
Joshua M. Boniface
8d1d77db94 Merge pull request #4487 from crobibero/build-upgrade
Upgrade all netcore3.1 to net5.0
2020-11-15 20:04:58 -05:00
Joshua M. Boniface
8722c1b7f6 Merge pull request #4492 from Artiume/patch-5
update dotnet 5.0 buster image
2020-11-15 20:04:44 -05:00
artiume
d76afb209f update dotnet 5.0 image
Step 5/23 : FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-buster as builder                             
manifest for mcr.microsoft.com/dotnet/sdk:5.0-buster not found: manifest unknown: manifest tagged by "5.0-buster" is not found

arm not tested
2020-11-15 18:48:59 -05:00
crobibero
3432db4998 dedup migration 2020-11-15 13:51:09 -07:00
dependabot[bot]
24839e6890 Bump Mono.Nat from 3.0.0 to 3.0.1
Bumps [Mono.Nat](https://github.com/mono/Mono.Nat) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/mono/Mono.Nat/releases)
- [Commits](https://github.com/mono/Mono.Nat/compare/release-v3.0.0...release-v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 20:47:33 +00:00
dependabot[bot]
809556eb98 Bump PlaylistsNET from 1.1.2 to 1.1.3
Bumps [PlaylistsNET](https://github.com/tmk907/PlaylistsNET) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/tmk907/PlaylistsNET/releases)
- [Commits](https://github.com/tmk907/PlaylistsNET/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 20:47:32 +00:00
dependabot[bot]
cfb7523ea8 Bump Moq from 4.14.7 to 4.15.1
Bumps [Moq](https://github.com/moq/moq4) from 4.14.7 to 4.15.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 20:47:21 +00:00
crobibero
185fac0677 Upgrade all netcore3.1 to net5.0 2020-11-15 13:31:47 -07:00
crobibero
4b15284324 Merge remote-tracking branch 'upstream/master' into bye-tvdb 2020-11-15 13:12:43 -07:00
crobibero
e66d79fc0c Merge remote-tracking branch 'upstream/master' into http-exception 2020-11-15 13:09:05 -07:00
Joshua M. Boniface
2f426dfc97 Merge pull request #4458 from crobibero/dotnet-5
Upgrade to Net5
2020-11-15 14:35:34 -05:00
crobibero
056c44010b Fix tests 2020-11-15 12:19:07 -07:00
crobibero
dae4541bad Merge remote-tracking branch 'upstream/master' into dotnet-5 2020-11-15 11:56:35 -07:00
crobibero
3f313206c6 Suggestions from review 2020-11-15 11:35:36 -07:00
crobibero
53697ac39a revert 2020-11-15 10:59:56 -07:00
crobibero
547ee88561 Remove api client generator errors 2020-11-15 10:58:39 -07:00
nyanmisaka
f953dd42be remove unused segment option 2020-11-16 01:09:14 +08:00
Ionut Andrei Oanca
c7e53bce2f Patch data-races and minor changes in SyncPlay 2020-11-15 17:30:28 +01:00
crobibero
c70710de32 Update user cache after updating user. 2020-11-15 09:30:04 -07:00
Claus Vium
7caf1662ec Merge pull request #4478 from Bond-009/chararray
Don't allocate single char arrays when possible
2020-11-15 13:48:43 +01:00
Bond-009
331c7f8481 Merge pull request #4253 from BaronGreenback/fordiscussion
DI in plugins
2020-11-15 13:29:04 +01:00
4d1m
ce4787c7eb Translated using Weblate (Romanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ro/
2020-11-15 05:36:15 -05:00
Ionut Andrei Oanca
5d77f422f0 Hide some property setters, init null values, update namespaces 2020-11-14 23:40:01 +01:00
crobibero
95a2de757f remove custom HttpException 2020-11-14 14:30:34 -07:00
Bond_009
d4e568c8bf Replace Task.WaitAll with Task.Wait 2020-11-14 20:30:08 +01:00
Bond_009
ff49a3bb61 Missed some stuff 2020-11-14 20:28:15 +01:00
Bond_009
c4bb32f259 Access last element by index where possible 2020-11-14 20:28:14 +01:00
Bond_009
9041389f65 Use string.Trim(char) instead of string.Trim(char[]) where possible 2020-11-14 20:27:59 +01:00
Bond_009
bc7359f87d Use string.Split(char) where possible instead of string.Split(char[]) 2020-11-14 20:27:48 +01:00
Ionut Andrei Oanca
fa69f6fd51 Handle ignore-wait request in waiting state in SyncPlay 2020-11-14 18:09:25 +01:00
Adam Bokor
6b4debb44e Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-11-14 11:38:39 -05:00
Claus Vium
569874a212 Merge pull request #4473 from crobibero/binder-no-throw
Don't throw exception when converting values using binder or JsonConv…
2020-11-14 17:31:52 +01:00
Claus Vium
121d79a395 Merge pull request #4477 from nyanmisaka/attachment-return-type
Fix return type for GetAttachment
2020-11-14 17:28:43 +01:00
crobibero
843847fc93 Remove extraneous newline 2020-11-14 09:16:08 -07:00
Ionut Andrei Oanca
83333e1fe8 Replace foreach loop with FindIndex 2020-11-14 17:07:52 +01:00
Cody Robibero
450cd614ac Update Jellyfin.Api/ModelBinders/CommaDelimitedArrayModelBinder.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-11-14 08:13:53 -07:00
nyanmisaka
e36725096a fix return type for GetAttachment 2020-11-14 22:28:22 +08:00
crobibero
cfefcd988a Updated based on review feedback 2020-11-14 07:07:09 -07:00
Claus Vium
c49b854295 Merge pull request #4476 from crobibero/plugin-update-exception
Fix plugin update exception
2020-11-14 12:45:07 +01:00
Ionut Andrei Oanca
1dbc91978e Address requested changes and fix some warnings 2020-11-14 12:33:54 +01:00
nyanmisaka
750eaa9d27 fix ci 2020-11-14 18:30:20 +08:00
Nyanmisaka
06670351ae Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-14 10:19:41 +00:00
nyanmisaka
fc89b7e641 minor changes 2020-11-14 16:02:16 +08:00
nyanmisaka
32bb73acbb add aac_adtstoasc bitstream filter for mpegts to mp4 conversion 2020-11-14 14:23:00 +08:00
crobibero
73d2cb1c2a Updated based on review feedback 2020-11-13 18:04:06 -07:00
Oatavandi
722adda477 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-11-13 17:28:15 -05:00
Relja U
5d4144b8a6 Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sr/
2020-11-13 17:28:15 -05:00
crobibero
5845bf93cb Fix plugin update exception 2020-11-13 14:52:22 -07:00
Cody Robibero
24ac5cc353 Update Emby.Server.Implementations/AppBase/ConfigurationHelper.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-13 13:18:31 -07:00
nyanmisaka
536b054873 add experimental flag for flac 2020-11-14 04:06:24 +08:00
nyanmisaka
f1e129f17a minor changes 2020-11-14 03:57:37 +08:00
Ionut Andrei Oanca
563a6fb3c7 Minor changes to group-wait in SyncPlay 2020-11-13 20:55:14 +01:00
nyanmisaka
8c0778e827 switch ffmpeg to hls muxer for live streaming
segment muxer cannot make fMP4 init file.
'-strict -2' option doesn't work with segment muxer for flac remuxing.
2020-11-14 03:47:54 +08:00
crobibero
95ebb9a55a Use null coalescing when possible 2020-11-13 11:24:46 -07:00
crobibero
5f52a58e78 Convert NullReferenceException to ResourceNotFoundException 2020-11-13 11:14:44 -07:00
crobibero
be312f992d Update to net5 2020-11-13 10:57:34 -07:00
crobibero
e8b98265b0 Upgrade Jellyfin.Model.Tests to net5.0 2020-11-13 10:40:09 -07:00
crobibero
ec5781504e Disable warning on AD0001 2020-11-13 10:29:26 -07:00
crobibero
1acbceaade Disable warning on AD0001 2020-11-13 10:24:40 -07:00
crobibero
3c8800604e Update test sdk 2020-11-13 09:48:26 -07:00
crobibero
7bf320922c Fix nullability errors in Emby.Server.Implementations 2020-11-13 09:41:18 -07:00
crobibero
d5e2369dd6 Fix nullability errors in MediaBrowser.Model 2020-11-13 09:36:17 -07:00
crobibero
6353cb507d Fix nullability errors in Jellyfin.Server 2020-11-13 09:21:28 -07:00
crobibero
445eec7f5f Fix nullability errors in Jellyfin.Api.Tests 2020-11-13 09:21:22 -07:00
crobibero
01355e0498 Fix nullability errors in Jellyfin.Api (part 1) 2020-11-13 09:04:31 -07:00
crobibero
e8675a6c24 Fix nullability errors in Jellyfin.Server 2020-11-13 09:03:44 -07:00
crobibero
e82829c444 Fix nullability errors in MediaBrowser.MediaEncoding 2020-11-13 09:01:55 -07:00
crobibero
f3e74cb421 Fix nullability errors in Emby.Notifications 2020-11-13 08:35:32 -07:00
crobibero
a02514a114 Fix nullability errors in Jellyfin.Drawing.Skia 2020-11-13 08:34:34 -07:00
crobibero
57b1e93411 Fix nullability errors in Jellyfin.Server.Implementations 2020-11-13 08:32:24 -07:00
crobibero
38885ffd74 Fix nullability errors in MediaBrowser.LocalMetadata 2020-11-13 08:31:02 -07:00
crobibero
83ac7d2674 Fix ci condition 2020-11-13 08:02:45 -07:00
crobibero
5c40ad0530 Remove conditional access. 2020-11-12 09:44:10 -07:00
Bond-009
f45b4ac11f Merge pull request #4474 from crobibero/property-readonlylist
Convert array property to IReadOnlyList
2020-11-12 17:34:30 +01:00
martinek-stepan
4bfcc8b0d1 Update Emby.Naming/AudioBook/AudioBookListResolver.cs
Use StringComparison.OrdinalIgnoreCase when comparing names

Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-12 16:51:52 +01:00
crobibero
73f9a6d7d0 Convert array property to IReadOnlyList 2020-11-12 08:29:42 -07:00
nyanmisaka
d91a099c9e allow transcoding 8ch(7.1 layout) in aac 2020-11-12 23:10:57 +08:00
crobibero
0c23b8cadf Don't throw exception when converting values using binder or JsonConverter 2020-11-12 08:06:25 -07:00
Claus Vium
00c4055b6e Merge pull request #4463 from crobibero/fix-display-preferences-migration
Skip migration if user doesn't exist
2020-11-12 15:57:03 +01:00
Cody Robibero
1d059bc76b Update Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs 2020-11-12 07:33:12 -07:00
dkanada
660aa1b8a6 Merge pull request #4469 from cvium/fix_repository_endpoint
Change OPTIONS to POST and call SaveConfiguration in SetRepositories
2020-11-12 22:37:19 +09:00
Claus Vium
a044622b15 Merge pull request #4468 from cvium/revert_similar_name_removal
Semi-revert removal of Name for /Similar in openapi
2020-11-12 14:10:32 +01:00
Stepan
b66239fd52 One more missed suggestions (removing commented out code) 2020-11-12 13:18:22 +01:00
Stepan
3bca1181b3 Taken suggestions from code review and created test for ExtraRuleType.Regex instead of throwing exception there. 2020-11-12 13:16:33 +01:00
martinek-stepan
496923719c Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-12 12:54:55 +01:00
BaronGreenback
27bb17ef9d Merge branch 'master' into Comment1 2020-11-12 09:18:49 +00:00
cvium
8e0909ef6f Change OPTIONS to POST and call SaveConfiguration 2020-11-12 10:13:56 +01:00
cvium
0ac3af13ac Semi-revert removal of Name for /Similar in openapi 2020-11-12 09:21:46 +01:00
nyanmisaka
5bd0c2b69d add an option to disable hevc encoding 2020-11-12 11:02:56 +08:00
Claus Vium
df2cb7f995 Merge pull request #4466 from kayila/display-clips
Fix #4465 by adding the missing extras folders.
2020-11-12 00:10:25 +01:00
BaronGreenback
51996cd34d Update BasePlugin.cs 2020-11-11 19:04:22 +00:00
Kayila
d0cf60e145 Fixes #4465 by adding the missing extras folders. 2020-11-11 13:47:42 -05:00
BaronGreenback
caea2bb862 Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-11-11 17:00:19 +00:00
crobibero
7ff212576e Merge remote-tracking branch 'upstream/master' into bye-tvdb 2020-11-11 08:08:06 -07:00
crobibero
380359b495 Add migration to readd plugin. 2020-11-11 08:03:30 -07:00
crobibero
7375d70396 Skip migration if user doesn't exist 2020-11-11 07:17:19 -07:00
nyanmisaka
11c74cb65c fix for no audio stream video 2020-11-11 19:04:58 +08:00
Claus Vium
5669d1dad2 Merge pull request #4450 from cvium/fix_and_mildly_improve_similar
Remove duplicate /Similar endpoints
2020-11-11 11:06:47 +01:00
Claus Vium
0b954df7c2 Update Jellyfin.Api/Controllers/LibraryController.cs 2020-11-11 10:49:00 +01:00
Claus Vium
a7b3880d0e Merge branch 'master' into fix_and_mildly_improve_similar 2020-11-11 10:47:18 +01:00
nyanmisaka
6987cb8357 fix ci 2020-11-11 17:25:14 +08:00
nyanmisaka
57e5b59b93 adjust bitrate limit for HLS audio codecs 2020-11-11 17:10:08 +08:00
Sam Cross
0c45faf100 Translated using Weblate (English (United Kingdom))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_GB/
2020-11-11 00:03:53 -05:00
Nyanmisaka
0b01acbe91 Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-11 02:03:53 +00:00
Ted van den Brink
51ddf038dc Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-11-10 18:49:09 -05:00
Claus Vium
a51ea55537 Merge pull request #4302 from crobibero/query-fields
Convert field string to enum.
2020-11-10 23:09:47 +01:00
yodatak
7104a37be1 Bump dependencies to Fedora 33
Fedora 33 is out so Fedora 31 is unmaintened so its time to migrate the build to Fedora 33 !
2020-11-10 22:52:20 +01:00
David John Corpuz
dc3b3bcfb1 Translated using Weblate (Filipino)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fil/
2020-11-10 14:48:44 -05:00
crobibero
f5b301dea6 Correct bad docs merge 2020-11-10 11:48:21 -07:00
Stepan
195a6261c4 Dummy test case explanation. 2020-11-10 19:28:03 +01:00
Stepan
158eff62d7 Xml-doc part2 2020-11-10 19:23:10 +01:00
crobibero
7fe8ca2b77 Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-10 10:39:44 -07:00
crobibero
9b7c5cddae Update build ci, dockerfiles to .Net5.0 2020-11-10 10:03:21 -07:00
crobibero
83629ab6f2 Update packages to net5 2020-11-10 09:52:34 -07:00
Stepan
693760e38a Xml-doc part1 2020-11-10 17:11:48 +01:00
dkanada
7aaf9dbcc3 Merge pull request #4444 from crobibero/remove-unstable-npm-ci
Remove unstable npm ci task
2020-11-10 22:01:40 +09:00
dkanada
54d7fb0ff7 Merge pull request #4447 from jellyfin/dependabot/nuget/Serilog.Sinks.Graylog-2.2.2
Bump Serilog.Sinks.Graylog from 2.2.1 to 2.2.2
2020-11-10 22:00:09 +09:00
dkanada
efad311df8 Merge pull request #4446 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.8.0
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
2020-11-10 21:59:51 +09:00
Stepan
c0747512d6 Merge remote-tracking branch 'jellyfin/master' into emby-namig-nullable 2020-11-10 12:42:49 +01:00
Claus Vium
cdf979efef Merge pull request #3196 from ferferga/images-advance
Remove "download images in advance" option
2020-11-10 10:54:23 +01:00
Claus Vium
d3eab357e3 Merge pull request #4452 from crobibero/bind-image-type
Add ModelBinder to ImageType
2020-11-10 10:34:42 +01:00
Fernando Fernández
27a1337cf3 Remove underscore
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-10 10:24:05 +01:00
Fernando Fernández
d6a04fd406 Remove setting from existing libraries with a migration 2020-11-10 02:12:50 +01:00
Fernando Fernández
103d503c15 Removed code as suggested by @cvium 2020-11-10 02:12:47 +01:00
Fardin
477e7f7898 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2020-11-09 19:04:37 -05:00
crobibero
2ce9a56cae Remove GetImageTypes 2020-11-09 15:01:30 -07:00
crobibero
0dd2b169a3 Add ModelBinder to ItemFilter 2020-11-09 14:59:04 -07:00
crobibero
6748ba287d Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-09 14:57:02 -07:00
crobibero
b22831f7e5 Add ModelBinder to ImageType 2020-11-09 14:53:23 -07:00
cvium
b99519898d Remove duplicate /Similar endpoints and add poor matching for artists and albums 2020-11-09 20:15:15 +01:00
Claus Vium
296e534f67 Merge pull request #4448 from crobibero/regex-error
Don't throw exception if name is null
2020-11-09 15:49:56 +01:00
crobibero
78551d166a Don't throw exception if name is null 2020-11-09 06:10:16 -07:00
dependabot[bot]
3874f570ed Bump Serilog.Sinks.Graylog from 2.2.1 to 2.2.2
Bumps [Serilog.Sinks.Graylog](https://github.com/whir1/serilog-sinks-graylog) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/whir1/serilog-sinks-graylog/releases)
- [Commits](https://github.com/whir1/serilog-sinks-graylog/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 12:00:50 +00:00
dependabot[bot]
e15891df51 Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 12:00:39 +00:00
BaronGreenback
957b5df0f0 Update MediaBrowser.Common/Plugins/IPluginServiceRegistrator.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:26:06 +00:00
BaronGreenback
429de72443 Update MediaBrowser.Common/Plugins/BasePlugin.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:25:42 +00:00
BaronGreenback
11a5353810 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:25:16 +00:00
BaronGreenback
e340e755f2 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:25:05 +00:00
BaronGreenback
69790ef6b8 Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:24:53 +00:00
BaronGreenback
f63a706a86 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:23:52 +00:00
Claus Vium
ab285c2202 Merge pull request #4440 from neilsb/schedules-direct-fix
Perform hashing of Password for Schedules Direct on server
2020-11-09 08:15:23 +01:00
hoanghuy309
254c188f6c Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-11-09 01:01:40 -05:00
Gary Wilber
f680a0fbbe fix merge 2020-11-08 11:55:38 -08:00
Gary Wilber
e6d8c02944 Merge remote-tracking branch 'upstream/master' into library_scan_speed 2020-11-08 11:51:40 -08:00
Kyle Yue
363d41f943 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-11-08 12:52:56 -05:00
Ekrem KANGAL
e5c0aaead2 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-11-08 12:52:56 -05:00
crobibero
d2f439efd2 Remove unstable npm ci task 2020-11-08 10:22:38 -07:00
Neil Burrows
e9d35cb2ca Switching to the more efficient Hex.Encode function 2020-11-08 17:16:51 +00:00
Claus Vium
3900976be5 Merge pull request #4247 from crobibero/update-plugin
Update all on-disk plugins
2020-11-08 18:00:49 +01:00
crobibero
73f923c8d5 Use class instead of struct 2020-11-08 09:31:53 -07:00
Bond-009
c8a320082f Merge pull request #4443 from cvium/fix_auth_again_again_again
Remove OriginalAuthenticationInfo and add IsAuthenticated property
2020-11-08 16:58:35 +01:00
Anthony Lavado
7971978081 Merge pull request #3683 from nyanmisaka/fonts
Allows to provide multiple fallback fonts for client to render subtitles
2020-11-08 10:26:20 -05:00
cvium
e78c63c4dc Remove OriginalAuthenticationInfo and add IsAuthenticated property 2020-11-08 16:10:33 +01:00
Cody Robibero
ce88815b3c Update MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-08 06:42:54 -07:00
Cody Robibero
1996e08dd1 Update MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-08 06:42:49 -07:00
Cody Robibero
e06b33af83 Update MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-08 06:42:40 -07:00
Cody Robibero
e8b832ea18 Update MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-11-08 06:42:33 -07:00
Neil Burrows
866c41519f Perform hashing of Password for Schedules Direct on server 2020-11-08 12:34:35 +00:00
BaronGreenback
802d37aac5 Update Emby.Naming/Common/NamingOptions.cs 2020-11-08 12:09:32 +00:00
nyanmisaka
2229ca38ac pascal case 2020-11-08 19:33:40 +08:00
nyanmisaka
737cb727f9 Merge remote-tracking branch 'upstream/master' into fonts 2020-11-08 19:11:54 +08:00
Claus Vium
96dcd9c87e Merge pull request #3086 from redSpoutnik/api-upload-subtitle
Add Post subtitle in API
2020-11-08 11:32:53 +01:00
Claus Vium
38185f8326 Apply suggestions from code review 2020-11-08 11:20:28 +01:00
nyanmisaka
babb298b90 fix ci 2020-11-08 09:35:04 +00:00
Claus Vium
61f8e5f3c1 Merge pull request #4428 from crobibero/openapi-version
Add x-jellyfin-version to openapi spec
2020-11-08 10:24:25 +01:00
Claus Vium
ec2538a1ba Merge pull request #4420 from cvium/fix_person_studio_genre_endpoints
Fix Persons, Genres and Studios endpoints
2020-11-08 10:22:18 +01:00
Claus Vium
1823cbb026 Merge pull request #4412 from cvium/fix_displaypreferences_creation
Save new display preferences
2020-11-08 10:22:05 +01:00
Claus Vium
9764b6b2df Merge pull request #4437 from crobibero/fix-dlna
Add missing dlna attributes.
2020-11-08 10:05:50 +01:00
nyanmisaka
5048719a64 minor changes per suggestions 2020-11-08 09:01:58 +00:00
Ricky Zhang
0d1d0d113e Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-11-08 04:00:51 -05:00
Claus Vium
c17f84ae48 Merge pull request #4330 from crobibero/api-key-auth
Fix ApiKey authentication
2020-11-08 08:20:50 +01:00
nyanmisaka
1abd3d1bd8 fix the fmp4 header file generate on linux 2020-11-08 07:13:00 +00:00
johan456789
1bd5f78025 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-11-08 00:22:51 -05:00
Tomislav
ad1b08f2d6 Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-11-08 00:22:50 -05:00
Winnie
dc3f24c112 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2020-11-08 00:22:50 -05:00
crobibero
a7f2073c68 Add missing dlna attributes. 2020-11-07 17:30:56 -07:00
Tomislav
2afaa1fc5b Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-11-07 16:59:25 -05:00
Tomislav
826f58b461 Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-11-07 16:43:48 -05:00
Tomislav
7f4a3219ea Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-11-07 16:28:42 -05:00
Claus Vium
4bccff26f2 Merge pull request #4434 from BaronGreenback/4423
Fixes #4423 - Fixes DLNA in unstable;
2020-11-07 22:13:26 +01:00
BaronGreenback
c6ff56a230 Update BaseControlHandler.cs 2020-11-07 18:59:32 +00:00
nyanmisaka
85965741f5 add initial support for HEVC over FMP4-HLS 2020-11-08 01:39:32 +08:00
Stepan
3d1076ae42 Rest of tests for Emby.Naming code coverage 2020-11-07 12:30:22 +01:00
Stepan
f22e0800e2 Episode parsing coverage 2020-11-07 11:02:12 +01:00
Claus Vium
8c5e0ddae0 Merge pull request #4401 from nyanmisaka/respect-music-settings
Respect music quality settings when transcoding
2020-11-07 10:57:57 +01:00
Nikita Epifanov
6b5ba0f64a Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-11-07 03:43:33 -05:00
Florian Schmidt
549d0bc27b Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-11-07 03:43:33 -05:00
tomwaits00
03d5a3d8e7 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-11-06 22:06:53 -05:00
Ludovico Besana
a0699b6868 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-11-06 20:31:18 -05:00
JB
68f8ff678a Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2020-11-06 18:31:33 -05:00
crobibero
9056908bc7 Merge remote-tracking branch 'upstream/master' into video-resolver 2020-11-06 14:46:21 -07:00
crobibero
fed37630db Add x-jellyfin-version to openapi spec 2020-11-06 13:00:14 -07:00
JB
4a5651e5b2 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2020-11-06 14:58:03 -05:00
Joshua M. Boniface
8d66eff4fd Merge pull request #4427 from joshuaboniface/nohup-fix
Reverse order of sudo and nohup
2020-11-06 13:07:42 -05:00
Joshua M. Boniface
a4e67dac80 Reverse order of sudo and nohup
Otherwise I'm forced to allow `sudo nohup` globally which is bad news
bears.
2020-11-06 13:00:59 -05:00
Bond-009
d27ff407ad Merge pull request #4426 from joshuaboniface/nohup-fix
Remove spurious argument to nohup
2020-11-06 18:33:38 +01:00
Joshua M. Boniface
e2ab7af033 Remove spurious argument to nohup 2020-11-06 12:32:06 -05:00
Anthony Lavado
3774165d9d Merge pull request #4425 from joshuaboniface/fix-azure
Restore missing targetFolder
2020-11-06 12:01:56 -05:00
Joshua M. Boniface
ca40eff83d Restore missing targetFolder 2020-11-06 12:00:00 -05:00
Claus Vium
6afd990986 Merge pull request #4424 from jellyfin/minor8
Minor perf improvements
2020-11-06 17:11:01 +01:00
Bond_009
134fd0d960 > -> < 2020-11-06 16:39:41 +01:00
lelamamalgache
e6480066b1 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-11-06 10:36:58 -05:00
Bond-009
2a5e53215c Merge pull request #4393 from crobibero/model-binder-readonly-list
Support IReadOnlyList in CommaDelimitedArrayModelBinder
2020-11-06 16:29:06 +01:00
Bond-009
082705c0d8 Merge pull request #4410 from crobibero/m3u-user-agent
Set UserAgent when getting M3u playlist
2020-11-06 16:28:50 +01:00
Bond-009
3e819eeb02 Merge pull request #4411 from crobibero/fix-auth
Fix endpoint authorization requirements
2020-11-06 16:27:51 +01:00
Bond_009
b21919c7f4 Minor perf improvements 2020-11-06 16:15:30 +01:00
Stepan
e96e480f01 Add comment with match cases for weir EpisodeExpression and named group for some date EpisodeExpressions 2020-11-06 15:52:01 +01:00
Claus Vium
83d7e0a265 Merge pull request #4392 from crobibero/livetv-ts-fix
Fix LiveTV TS playback
2020-11-06 15:27:51 +01:00
Claus Vium
f172b37401 Merge pull request #4391 from crobibero/converter-ireadonlylist
Support IReadOnlyList for JsonCommaDelimitedArrayConverter
2020-11-06 15:16:14 +01:00
crobibero
41b38c6735 Merge remote-tracking branch 'upstream/master' into livetv-ts-fix 2020-11-06 07:15:38 -07:00
cvium
b693c52fe7 Make /MusicGenres obsolete 2020-11-06 09:42:59 +01:00
cvium
de52c8a497 Revert "Make /MusicGenres obsolete" 2020-11-06 09:35:23 +01:00
cvium
6e6ecbc988 Make /MusicGenres obsolete 2020-11-06 08:34:20 +01:00
public_yusuke
eeb3177cc3 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2020-11-05 22:53:28 -05:00
Claus Vium
40453da089 Merge pull request #4422 from crobibero/users-me
Add /Users/Me endpoint
2020-11-06 00:57:01 +01:00
crobibero
3756611d01 Add /Users/Me endpoint 2020-11-05 13:23:22 -07:00
Lukáš Kucharczyk
3c6cbb6161 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2020-11-05 10:59:18 -05:00
Stepan
3466dc5581 Finish coverage for Emby.Naming.Video 2020-11-05 16:59:15 +01:00
SaddFox
8c461aff09 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2020-11-05 09:13:05 -05:00
Stepan
5741150367 Enable MultiVersion video tests and added support for naming based on tests 11 & 8 2020-11-05 14:51:27 +01:00
Stepan
c96aa0551d Added NamingOptions tests 2020-11-05 13:25:29 +01:00
cvium
6fdcd12053 Fix build and clean up MusicGenres 2020-11-05 12:53:23 +01:00
cvium
584b4fa41f Fix Persons, Genres and Studios endpoints 2020-11-05 12:27:22 +01:00
Greenback
e2769671a7 removed github merge introduced spaces. 2020-11-04 20:38:47 +00:00
Greenback
3e62557959 amended testing unit. 2020-11-04 20:30:06 +00:00
BaronGreenback
ec245dce90 Merge branch 'master' into NetworkPR2 2020-11-04 20:17:41 +00:00
dkanada
ad262fe8a6 Merge pull request #4416 from jellyfin/dkanada-patch-1
Disable compatibility checks until they work again
2020-11-04 14:32:00 +09:00
dkanada
d9ea1ac12d disable two more tasks to fix the failures 2020-11-04 13:49:49 +09:00
crobibero
b4d52d8009 Apply patch 2020-11-03 16:38:47 -07:00
Stepan
aef1fe62c2 Complete test coverage for Emby.Naming.Subtitles 2020-11-03 16:25:33 +01:00
Stepan
c060ed1a18 Added resolving of alternative files and extras for audibooks. 2020-11-03 16:24:04 +01:00
dkanada
25f93a9af4 disable compatibility checks until they work again 2020-11-03 23:18:30 +09:00
crobibero
5d88e61076 Merge remote-tracking branch 'upstream/master' into livetv-ts-fix 2020-11-03 07:05:58 -07:00
Bond-009
8fc16043c7 Merge pull request #4405 from nyanmisaka/aac-directstream
Fix AAC direct streaming
2020-11-03 10:59:43 +01:00
Bond-009
13c70c415a Merge pull request #4409 from crobibero/fix-separators
Fix API separators
2020-11-03 10:58:03 +01:00
Bond-009
53b2a2ee22 Merge pull request #4213 from cvium/progressivefilestream
Add ProgressiveFileStream
2020-11-03 09:47:17 +01:00
Stepan
7b6363b09a Update test for detecting audiobooks extras and alternative files 2020-11-02 23:07:46 +01:00
Stepan
1e71775688 Add Name and Year parsing for audiobooks 2020-11-02 20:03:12 +01:00
crobibero
f8e6edbfeb Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-02 10:29:18 -07:00
Anthony Lavado
b1b43b8ad9 Merge pull request #4068 from barronpm/event-fixes
Fix Plugin Events and Clean Up InstallationManager.cs
2020-11-02 11:11:17 -05:00
Anthony Lavado
6205fb4b6a Merge pull request #4341 from Bond-009/minor6
Minor improvements
2020-11-02 11:10:39 -05:00
Anthony Lavado
f23836c6a4 Merge pull request #4403 from Bond-009/http2
Http1AndHttp2 is the default, no need to explicitly enable it
2020-11-02 11:10:28 -05:00
Bond-009
51dc92c3a9 Merge pull request #4326 from crobibero/purge-activity-log
Automatically clean activity log database
2020-11-02 16:52:49 +01:00
Bond-009
95918d161e Merge pull request #4328 from crobibero/trigger-warning
Remove CommaDelimitedArrayModelBinderProvider
2020-11-02 16:52:05 +01:00
Bond-009
ea1a462a9d Merge pull request #4413 from cvium/fix_collection_endpoints
Rename itemIds to ids
2020-11-02 16:50:54 +01:00
cvium
af56d5c2dc Rename itemIds to ids 2020-11-02 11:53:23 +01:00
Cody Robibero
de36c8433e Update Emby.Server.Implementations/Localization/Core/en-US.json
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-02 03:52:14 -07:00
cvium
19d77c99ae Save new display preferences 2020-11-02 09:23:29 +01:00
crobibero
6a07e93ddd Fix endpoint auth 2020-11-01 20:37:03 -07:00
crobibero
6763d456ff Set UserAgent when getting M3u playlist 2020-11-01 19:23:28 -07:00
crobibero
dd3507bbbf Fix OfficialRatings separator 2020-11-01 18:54:00 -07:00
crobibero
c1ec46e92b Fix Tags separator 2020-11-01 18:53:27 -07:00
crobibero
826c24142e Fix Genres separator 2020-11-01 18:53:02 -07:00
crobibero
ceecc80bb3 Allow configuration of ActivityLogRetention 2020-11-01 18:32:41 -07:00
Bond-009
5b1eb8b6e2 Merge pull request #4408 from crobibero/dep-dep-dep
Dependency catch up
2020-11-01 21:46:21 +01:00
crobibero
e41e832495 Dependency catch up 2020-11-01 10:52:32 -07:00
Stepan
50a2ef9d8a Simplify Resolve_InvalidExtension Test and created tests for Alternative Versions parsing & Year Extraction for audiobooks 2020-11-01 17:41:47 +01:00
Stepan
f39775dc3a Written test to finish coverage for AudioBookListResolver & AudioBookResolver and corrected some logical erros / unhandled exception 2020-11-01 17:10:48 +01:00
Stepan
e7a37bedfc Simplify AudioBookResolver since there is no option of passing directories into it (AudioResolver.cs:179) and handling directories were not implemented anyway 2020-11-01 13:42:56 +01:00
Stepan
6437cf6950 Removed Success property from AudioBookFilePathParserResult, since it was unused and consider only audiobooks that have chapter/page number in name makes no sense 2020-11-01 13:28:43 +01:00
nyanmisaka
599e20ab9b fix music directplay on Gelli 2020-11-01 18:45:42 +08:00
Stepan
60b49e67ea Re-Sharper inspection issues 2020-11-01 11:19:22 +01:00
Stepan
59619b6ea7 Enable nullable in Emby.Naming 2020-11-01 10:47:31 +01:00
nyanmisaka
e5237384d5 fix the route of audio containers 2020-11-01 04:20:25 +08:00
Joshua M. Boniface
6b3459f01b Merge pull request #4406 from joshuaboniface/remove-jfffmpeg-dep
Remove jellyfin-ffmpeg dep from server package
2020-10-31 16:13:45 -04:00
Joshua M. Boniface
0bcf4c02b4 Remove jellyfin-ffmpeg dep from server package
Being added to the metapackage instead.
2020-10-31 15:50:56 -04:00
Greenback
f06e4826c7 Fixed testing units 2020-10-31 19:16:28 +00:00
Greenback
83af636c61 Updated with new NetManager 2020-10-31 18:21:46 +00:00
nyanmisaka
d34be6faf4 fix aac directstreaming 2020-11-01 00:33:38 +08:00
Bond-009
26078e4df9 Merge pull request #4375 from crobibero/auth-dict-fix
Fix setting duplicate keys from auth header
2020-10-31 16:14:53 +01:00
BaronGreenback
c54bdb4a0a Merge pull request #86 from jellyfin/master
Updating from master
2020-10-31 12:41:03 +00:00
Bond_009
7f8a73d8e9 Http1AndHttp2 is the default, no need to explicitly enable it 2020-10-31 12:54:28 +01:00
nyanmisaka
00f0c14d7b respect music quality settings when transcoding 2020-10-31 16:09:22 +08:00
Greenback
c25ec72864 Updated libraries. 2020-10-30 14:48:33 +00:00
Greenback
ec57eeff2b Updated to latest version of code. 2020-10-30 14:06:11 +00:00
Greenback
6dc2936d9c Merge remote-tracking branch 'upstream/master' into NetworkPR2 2020-10-30 13:54:46 +00:00
Greenback
face3f8c65 Updating to latest network code. 2020-10-30 13:54:37 +00:00
Greenback
c54eb2d2df Merge remote-tracking branch 'origin/master' into NetworkPR2 2020-10-30 13:54:02 +00:00
Bond-009
4f320308f3 Merge pull request #4395 from barronpm/users-async
Convert some code in UserManager to async
2020-10-30 13:19:59 +01:00
Patrick Barron
72263613d0 Convert some code in UserManager to async 2020-10-29 20:30:33 -04:00
Bond-009
e37805e82e Merge pull request #4378 from barronpm/fix-nullref
Fix possible null reference exception
2020-10-30 00:34:28 +01:00
Patrick Barron
d887e42405 Fix possible NullReferenceException 2020-10-29 19:16:39 -04:00
crobibero
ef43878bbc Support IReadOnlyList in CommaDelimitedArrayModelBinder 2020-10-29 16:11:40 -06:00
crobibero
0c674b496f Add stream disposal comment. 2020-10-29 13:58:47 -06:00
crobibero
3568c5f39b Fix early filestream close 2020-10-29 13:56:29 -06:00
crobibero
429e59fb81 Fix null reference 2020-10-29 13:55:57 -06:00
Oatavandi
2c6b31fc7b Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-10-29 14:56:55 -04:00
crobibero
11d69fd3b1 Make MrLinter happy 2020-10-29 11:36:45 -06:00
crobibero
42c2ab97e7 Support IReadOnlyList for JsonCommaDelimitedArrayConverter 2020-10-29 11:32:02 -06:00
crobibero
372f0eb38a Remove AddItemFields 2020-10-29 11:17:13 -06:00
crobibero
b9406e5444 Merge remote-tracking branch 'upstream/master' into query-fields 2020-10-29 11:11:50 -06:00
Bond-009
9bf2f4d8e0 Merge pull request #4377 from barronpm/user-caching
Add caching to users
2020-10-29 17:34:15 +01:00
dkanada
43bc850efb Merge pull request #4346 from jellyfin/dependabot/nuget/prometheus-net-4.0.0
Bump prometheus-net from 3.6.0 to 4.0.0
2020-10-29 14:59:20 +09:00
dkanada
ec5fadc64e Merge pull request #4347 from jellyfin/dependabot/nuget/Moq-4.14.7
Bump Moq from 4.14.6 to 4.14.7
2020-10-29 14:59:01 +09:00
dkanada
f2eda53a8b Merge pull request #4388 from crobibero/sneaky-sneaky
Add missing slashes in ffmpeg argument.
2020-10-29 14:58:09 +09:00
Cody Robibero
96071ef30d Move slash to correct location for quoting 2020-10-28 20:26:33 -06:00
crobibero
c0383ba07d Add missing slashes in ffmpeg argument. 2020-10-28 20:23:39 -06:00
crobibero
8b83e4e972 Fix tests 2020-10-28 17:57:16 -06:00
Bond-009
9e9431d829 Merge pull request #4384 from nyanmisaka/ios-hls-bitrate
Fix HLS music playback on iOS
2020-10-28 16:29:34 +01:00
Bond-009
6d11a95ad5 Merge pull request #4305 from crobibero/query-image-type
Convert image type string to enum.
2020-10-28 15:40:56 +01:00
crobibero
981f000437 Use proper IsApiKey flag 2020-10-28 08:40:11 -06:00
nyanmisaka
c91f42c7a0 Default output audio bitrate to 128k 2020-10-28 22:27:08 +08:00
Stan
3bb8884e16 Merge branch 'master' into bdiso-playback 2020-10-28 13:18:05 +01:00
crobibero
64b32d3290 Use BaseItemManager 2020-10-27 18:01:52 -06:00
crobibero
50558ffe3d Add BaseItemManager 2020-10-27 17:57:52 -06:00
crobibero
36bae6f030 Use JsonConverter 2020-10-27 13:38:21 -06:00
crobibero
4f7c13ecf4 Merge remote-tracking branch 'upstream/master' into query-fields 2020-10-27 13:35:46 -06:00
crobibero
fd9d325fa8 Use JsonConverter 2020-10-27 13:32:59 -06:00
crobibero
4558c192c7 Merge remote-tracking branch 'upstream/master' into query-image-type 2020-10-27 13:25:57 -06:00
Bond-009
be2f27a069 Merge pull request #4312 from crobibero/json-array-converter
Add comma delimited string to array json converter
2020-10-27 19:36:37 +01:00
Bond-009
6cadbe8d9e Merge pull request #4371 from cvium/fix_scheduledtasks_endpoint
Fix GET ScheduledTasks return value
2020-10-27 19:36:21 +01:00
Patrick Barron
67f39ed54f Properly remove profile images 2020-10-27 12:28:37 -04:00
Patrick Barron
f051590f14 Apply suggestions 2020-10-27 12:12:08 -04:00
Patrick Barron
aff8684d2e Add caching to users 2020-10-26 20:36:31 -04:00
crobibero
eee95336b5 Fix setting duplicate keys from auth header 2020-10-26 17:18:54 -06:00
Tomi
e0045457f9 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-10-26 16:30:35 -04:00
BaronGreenback
0b5ddc90ff Merge branch 'master' into NetworkPR2 2020-10-26 13:21:48 +00:00
BaronGreenback
2c5609b333 Merge branch 'master' into fordiscussion 2020-10-26 13:19:13 +00:00
cvium
c11f19f090 Fix GET ScheduledTasks return value 2020-10-26 11:21:32 +01:00
kevin
a814d01f8c Translated using Weblate (Albanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sq/
2020-10-25 16:56:24 -04:00
Bond-009
655a4f8600 Merge pull request #4369 from orryverducci/mkv-interlaced-fix
Fix frame rate probing for interlaced MKV files
2020-10-25 21:26:04 +01:00
Orry Verducci
84fd5a0953 Fix frame rate probing for interlaced MKV files 2020-10-25 16:35:03 +00:00
SHALMON ANANDAS
a69397d714 Translated using Weblate (Hindi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hi/
2020-10-23 00:07:56 -04:00
SHALMON ANANDAS
82ce8369c3 Added translation using Weblate (Hindi) 2020-10-22 22:57:00 -04:00
Ionut Andrei Oanca
019bc19aa4 Minor changes to play queue in Syncplay group 2020-10-22 16:32:15 +02:00
Ionut Andrei Oanca
0c735a0395 Address requested changes by review 2020-10-22 16:12:27 +02:00
Ionut Andrei Oanca
1cabe82b59 Rewrite play queue logic of SyncPlay group 2020-10-22 16:12:27 +02:00
Ionut Andrei Oanca
0b4c751657 Check for null sessions and requests in SyncPlay 2020-10-22 16:12:19 +02:00
BaronGreenback
f6ab98507e Update MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs 2020-10-22 13:29:09 +01:00
BaronGreenback
1b8adf0f7c Update Emby.Server.Implementations/SyncPlay/GroupController.cs 2020-10-22 13:28:09 +01:00
Stéphane Senart
95ecedbce7 [AudioTranscoding] Add FLAC as supported target audio format and be able to define the corresponding target sample rate 2020-10-22 12:49:26 +02:00
Stéphane Senart
5979151f11 [AudioTranscoding] Add FLAC as supported target audio format and be able to define the corresponding target sample rate 2020-10-22 12:22:31 +02:00
Stéphane Senart
28ee4f0a7f [AudioTranscoding] Add FLAC as supported target audio format and be able to define the corresponding target sample rate 2020-10-22 11:09:59 +02:00
Ionut Andrei Oanca
36fee4e60a Minor fixes 2020-10-21 16:42:57 +02:00
Ionut Andrei Oanca
93cbf64f88 End comments with a period 2020-10-21 15:46:50 +02:00
Joshua M. Boniface
82d27e6461 Merge pull request #4350 from crobibero/why-ci-why
Fix .npmrc
2020-10-19 17:14:47 -04:00
crobibero
354e15a5f2 Fix .npmrc 2020-10-19 14:15:05 -06:00
Joshua M. Boniface
e2ca3cb74f Merge pull request #4331 from crobibero/npm-ci
Add npmAuthenticate task
2020-10-19 14:56:23 -04:00
ferferga
9fd01fade6 Remove "download images in advance" option 2020-10-19 17:28:07 +02:00
dependabot[bot]
ed8899da4c Bump Moq from 4.14.6 to 4.14.7
Bumps [Moq](https://github.com/moq/moq4) from 4.14.6 to 4.14.7.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.6...v4.14.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 12:00:52 +00:00
dependabot[bot]
eb00a59750 Bump prometheus-net from 3.6.0 to 4.0.0
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v3.6.0...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 12:00:45 +00:00
Bond_009
5a9c218324 Fix build 2020-10-17 16:27:31 +02:00
Bond_009
49569ca0a0 Use nameof where possible 2020-10-17 16:19:57 +02:00
Bond_009
51dd3f1e19 Minor improvements 2020-10-17 16:01:36 +02:00
BaronGreenback
63be65dd91 Merge branch 'master' into Comment1 2020-10-17 15:00:43 +01:00
Gubb Jonas
49ac4c4044 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2020-10-17 05:25:46 -04:00
BaronGreenback
3ae37deea8 Merge pull request #82 from jellyfin/master
Refreshing image
2020-10-17 09:54:09 +01:00
BaronGreenback
38da2ee26e Merge branch 'master' into update-plugin 2020-10-17 09:47:20 +01:00
BaronGreenback
d42bb515ce Merge branch 'master' into video-resolver 2020-10-17 09:26:14 +01:00
Joshua M. Boniface
86090ab1f6 Merge pull request #4317 from jellyfin/tests7
Fix AudioBookListResolver test coverage
2020-10-17 01:58:57 -04:00
Joshua M. Boniface
f9bd7be741 Merge pull request #4285 from cvium/fix_websocketlisteners
Fix IWebSocketListener service registration
2020-10-17 01:58:35 -04:00
Joshua M. Boniface
19c2abb50f Merge pull request #4261 from Spacetech/music_brainz_provider_thread_safe
Make MusicBrainzAlbumProvider thread safe and fix retry logic
2020-10-17 01:58:21 -04:00
Joshua M. Boniface
b3bf07959c Merge pull request #4171 from nyanmisaka/amf-tonemap
Add tonemapping for AMD AMF
2020-10-17 01:55:27 -04:00
Joshua M. Boniface
d454e8710d Merge pull request #3690 from MichaIng/patch-1
Fix left /usr/bin/jellyfin symlink on removal and typo
2020-10-17 01:51:53 -04:00
Gary Wilber
b1f637684d Apply suggestions from code review (updating comments)
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-10-16 11:15:42 -07:00
crobibero
b2662894cf Add whitespace handling and tests 2020-10-16 09:37:35 -06:00
BaronGreenback
be4e5eff9c Update BasePlugin.cs 2020-10-16 14:58:37 +01:00
Ionut Andrei Oanca
8819a9d478 Add playlist-sync and group-wait to SyncPlay 2020-10-16 12:06:29 +02:00
gion
ed2eabec16 Update CONTRIBUTORS.md 2020-10-16 11:38:50 +02:00
gion
e10799e0e8 Rewrite syncplay using a state design pattern 2020-10-16 11:38:50 +02:00
gion
5487dfc145 Rename GroupInfoView to GroupInfoDto 2020-10-16 11:25:19 +02:00
crobibero
d5c226b1c3 Move SecurityException 2020-10-15 08:02:59 -06:00
crobibero
eca56dbe6a update scope 2020-10-15 07:31:42 -06:00
dkanada
5c2ecc0ca5 Merge pull request #4324 from crobibero/dotnet-3.1.9
Update to dotnet 3.1.9
2020-10-15 12:56:10 +09:00
crobibero
4b6889615b Fix tests 2020-10-14 18:21:15 -06:00
crobibero
58b82b886f Add npmAuthenticate task 2020-10-14 18:16:58 -06:00
crobibero
c037d3536d clean up authorization handlers 2020-10-14 17:58:46 -06:00
crobibero
39924f9992 Allow apikey to authenticate as admin 2020-10-14 17:58:33 -06:00
Anthony Lavado
8ffa14e6d3 Merge pull request #4309 from nielsvanvelzen/publicsysteminfo-backward-compatible-openapi
Make StartupWizardCompleted nullable in PublicSystemInfo
2020-10-14 15:06:56 -04:00
crobibero
f2a86d9c80 Remove CommaDelimitedArrayModelBinderProvider 2020-10-14 13:03:36 -06:00
BaronGreenback
5b8349b442 Merge branch 'master' into fordiscussion 2020-10-14 19:05:57 +01:00
BaronGreenback
a8cee0bd36 Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-14 19:04:17 +01:00
BaronGreenback
002190f0a3 Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-14 19:04:09 +01:00
BaronGreenback
0e872ca65c Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-14 19:03:54 +01:00
crobibero
15a7f88e08 Automatically clean activity log database 2020-10-14 11:44:11 -06:00
Bond-009
d54de29485 Merge pull request #4315 from Jan-PieterBaert/fix-warnings
Fix some warnings
2020-10-14 14:04:13 +02:00
crobibero
f998e52107 Update to dotnet 3.1.9 2020-10-13 18:50:04 -06:00
Anthony Lavado
8b419d9ea6 Merge pull request #4199 from ryanpetris/livetv-locking
Fix stream performance when opening/closing new streams.
2020-10-13 00:02:38 -04:00
Anthony Lavado
1f5ac19346 Merge pull request #3954 from Ullmie02/library-pictures
Use backdrop with library name as library thumbnail
2020-10-13 00:02:08 -04:00
dkanada
42fb04b084 Merge pull request #4254 from BaronGreenback/PluginConfigFix
Fix for #4241: Plugin config initialisation.
2020-10-13 12:19:42 +09:00
BaronGreenback
00b2539a70 Update IConfigurationManager.cs 2020-10-12 21:00:54 +01:00
BaronGreenback
5e5f1cc9c5 Update IConfigurationManager.cs 2020-10-12 20:56:37 +01:00
BaronGreenback
c7364be743 Update IConfigurationManager.cs 2020-10-12 20:53:10 +01:00
BaronGreenback
63e514e6c4 Update ApplicationHost.cs 2020-10-12 20:34:18 +01:00
BaronGreenback
257acbc2c9 Update BasePlugin.cs 2020-10-12 20:33:08 +01:00
Bond-009
d81cb3d885 Merge pull request #4139 from BaronGreenback/Comment4
DLNA MediaRegistrar - static and commented.
2020-10-12 21:01:02 +02:00
Bond_009
74f4affcda Fix AudioBookListResolver test coverage 2020-10-12 20:09:15 +02:00
Jan-Pieter Baert
ec91d3893d Fix SA 1116 warnings 2020-10-12 20:05:11 +02:00
Jan-Pieter Baert
6f9beef732 Fix SA1012 and SA1013 warnings 2020-10-12 19:22:33 +02:00
BaronGreenback
53bea919d0 Update IPluginServiceRegistrator.cs 2020-10-12 07:51:09 +01:00
BaronGreenback
f7cc2f785c Rename IPluginRegistrar.cs to IPluginServiceRegistrator.cs 2020-10-12 07:48:53 +01:00
crobibero
7565ae22cb Add tests and switch to factory 2020-10-11 21:09:15 -06:00
crobibero
37f3852699 Add comma delimited string to array json converter 2020-10-11 17:45:45 -06:00
BaronGreenback
16a0357617 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:51:56 +01:00
BaronGreenback
5c8015128f Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:51:03 +01:00
BaronGreenback
d49ba96123 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:50:48 +01:00
BaronGreenback
387fdb0f13 Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:50:36 +01:00
BaronGreenback
ed05ae683e Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:49:51 +01:00
BaronGreenback
ae8a3bc02c Update MediaBrowser.Common/Plugins/IPluginRegistrar.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:49:34 +01:00
Cody Robibero
ee976bb47a Update MediaBrowser.Common/Plugins/LocalPlugin.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-10-11 15:27:11 -06:00
BaronGreenback
0f47b3ec2d Merge branch 'master' into Comment4 2020-10-11 21:30:57 +01:00
BaronGreenback
d31178ab4b Update BasePlugin.cs 2020-10-11 20:00:46 +01:00
BaronGreenback
7e939fa2cb Update BasePlugin.cs
Plugins supporting di cannot be unloaded.
2020-10-11 19:56:05 +01:00
BaronGreenback
85d36a55a1 Update BasePlugin.cs
Removed trailing spaces
2020-10-11 18:26:59 +01:00
BaronGreenback
8c0748b677 Update BasePlugin.cs
Added ConfigurationChanged event.
2020-10-11 16:41:30 +01:00
Niels van Velzen
7072b4d926 Make StartupWizardCompleted nullable in PublicSystemInfo 2020-10-11 17:01:33 +02:00
Greenback
0b73a1d90f Added extra functionality to support registrar. 2020-10-11 13:19:14 +01:00
Cody Robibero
163d6b0f1d Update Jellyfin.Api/Helpers/RequestHelpers.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 06:15:55 -06:00
dkanada
2375c35c4a Merge pull request #4292 from crobibero/missing-general-command
Add missing general commands
2020-10-11 18:34:48 +09:00
dkanada
ddce3ef6be Merge pull request #4301 from crobibero/fix-array-binder
Fix comma delimited array model binder
2020-10-11 18:33:53 +09:00
dkanada
4fafa5796d Merge pull request #4304 from crobibero/query-location-type
Convert exclude location type string to enum.
2020-10-11 18:32:22 +09:00
dkanada
6e585ccfb2 Merge pull request #4303 from crobibero/query-filters
Convert filters string to enum.
2020-10-11 18:31:38 +09:00
dkanada
1a27d010ec Merge pull request #4243 from jlechem/RemoveHeaderCameraUploads
Removing string we don't use anymore.
2020-10-11 18:29:25 +09:00
Greenback
1ee1f9c8a7 Fixed web interface. 2020-10-10 15:27:02 +01:00
Greenback
b34d6fec3d fixed tests 2020-10-10 14:08:26 +01:00
Greenback
6dc81ec8e8 Changes to support network config 2020-10-10 14:05:19 +01:00
dkanada
53515483b8 Merge pull request #4219 from Spacetech/music_scan_speed_2
Increase initial scan speed for music libraries
2020-10-10 15:59:13 +09:00
dkanada
6478e70f06 Merge pull request #4221 from Spacetech/tvdb_series_provider_InvalidOperationException
Fix InvalidOperationException in TvdbSeriesProvider.MapSeriesToResult
2020-10-10 15:55:11 +09:00
dkanada
d9e7f1f75f Merge pull request #4212 from BaronGreenback/BaseControlHandlerFix
Null Pointer fix: BaseControlHandler.cs
2020-10-10 15:52:48 +09:00
Anthony Lavado
242b4b6827 Merge pull request #4286 from Bond-009/minor6
Minor improvements to tmdb code
2020-10-09 20:14:37 -04:00
Anthony Lavado
0cacdd20e0 Merge pull request #4284 from cvium/fix_playbackstart
Fix playbackstart not triggering in the new eventmanager
2020-10-09 20:12:34 -04:00
Anthony Lavado
ecabcff8f0 Merge pull request #4274 from barronpm/activitylog-query
Rewrite Activity Log Backend
2020-10-09 20:12:26 -04:00
Anthony Lavado
ea5c78ee21 Merge pull request #4259 from ConfusedPolarBear/imageFormat
Accept ImageFormat as API parameter
2020-10-09 20:12:11 -04:00
Anthony Lavado
dd43af23a4 Merge pull request #4248 from crobibero/ws-document-filter
Manually register models used in websocket messages.
2020-10-09 20:11:57 -04:00
Anthony Lavado
85d4d0d072 Merge pull request #4306 from crobibero/legacy-windows
Remove references to legacy scripts
2020-10-09 20:08:15 -04:00
Anthony Lavado
2fe1f896ea Merge pull request #4300 from crobibero/ci-pls
Fix ci npm install order
2020-10-09 20:05:24 -04:00
crobibero
1bbd8df92b Remove references to legacy scripts 2020-10-09 18:02:53 -06:00
crobibero
2eafbc03e4 fix build 2020-10-09 18:01:12 -06:00
crobibero
27e753ddb4 Convert image type string to enum. 2020-10-09 17:52:39 -06:00
crobibero
ed4b470397 Convert exclude location type string to enum. 2020-10-09 17:46:39 -06:00
crobibero
549f2284ad Convert filters string to enum. 2020-10-09 17:41:17 -06:00
crobibero
69360b749a Convert field string to enum. 2020-10-09 17:35:08 -06:00
shakesac
67722a2034 Translated using Weblate (Portuguese (Portugal))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_PT/
2020-10-09 19:10:37 -04:00
crobibero
6a3a193dbb Fix and clean tests 2020-10-09 17:10:06 -06:00
crobibero
17b20aa0c0 Fix comma delimited array model binder 2020-10-09 17:03:45 -06:00
crobibero
5109d558d9 fix npm install order 2020-10-09 09:52:05 -06:00
Anthony Lavado
a9d9f24078 Merge pull request #4299 from crobibero/ci-pls
Fix api client CI
2020-10-09 11:40:06 -04:00
crobibero
60c0cc1d1c Fix feed name and url 2020-10-09 08:51:22 -06:00
crobibero
2a6ea45ee1 Run npm install task 2020-10-09 08:43:59 -06:00
crobibero
3119acd502 Remove tvdb plugin from server. 2020-10-09 07:43:02 -06:00
Greenback
ebe650afa9 Merge remote-tracking branch 'upstream/master' into NetworkPR2 2020-10-09 14:12:41 +01:00
Greenback
8a4f81c9a7 Updated networkmanager to the lastest. 2020-10-09 14:04:55 +01:00
Anthony Lavado
10d48b0623 Merge pull request #4281 from crobibero/npm-registry
Fix registry name and link
2020-10-09 00:10:56 -04:00
Greenback
39754b840d minor fixes 2020-10-08 19:16:47 +01:00
Greenback
deb4d27857 Moved all settings across to network.xml 2020-10-08 19:00:55 +01:00
Greenback
a3f0843ac9 Updated NetworkManager to PR1 2020-10-08 19:00:30 +01:00
crobibero
fe49ae7cb5 fix casing 2020-10-08 07:21:55 -06:00
crobibero
e9f17f3cab Add missing general commands for Kodi 2020-10-07 17:26:02 -06:00
crobibero
508b7c0a4e Add missing general commands 2020-10-07 17:16:03 -06:00
cvium
4a81ee43dc Add try-catch to avoid crashing the whole thing 2020-10-06 23:36:48 +02:00
cvium
137baab0ac Remove websocketmanager from ApplicationHost 2020-10-06 20:19:36 +02:00
Bond-009
6def4b06a8 Minor improvements to tmdb code 2020-10-06 14:54:17 +02:00
cvium
38cb8fee8a Fix IWebSocketListener service registration 2020-10-06 14:44:07 +02:00
cvium
3d69bcd190 Fix playbackstart not triggering in the new eventmanager 2020-10-06 08:14:56 +02:00
dkanada
3a238de35e Merge pull request #4265 from KonH/remove_unnecessary_null_checks
Remove unnecessary null checks in some places
2020-10-06 13:04:54 +09:00
dkanada
e11a2d4397 Merge pull request #4273 from joshuaboniface/fix-damn-rpm-spec-again-fuck
Fix RPM spec again
2020-10-06 12:30:22 +09:00
dkanada
f8657d70ff Merge pull request #4277 from jellyfin/dependabot/nuget/Moq-4.14.6
Bump Moq from 4.14.5 to 4.14.6
2020-10-06 12:29:00 +09:00
Patrick Barron
d4a492ef93 Fix activity log query. 2020-10-05 22:51:52 -04:00
Joshua M. Boniface
29e77d56ec Merge pull request #4279 from joshuaboniface/fix-bad-migration
Make MaxActiveSessions not nullable
2020-10-05 20:43:36 -04:00
Joshua M. Boniface
b3249e849c Add default value of 0 2020-10-05 16:54:51 -04:00
crobibero
8bf560c41e fix registry name and link 2020-10-05 13:00:07 -06:00
Joshua M. Boniface
49c363751a Make MaxActiveSessions not nullable
Fixes a bad assumption with the previous migration.
2020-10-05 14:04:57 -04:00
Joshua M. Boniface
2d689f101b Merge pull request #4268 from Bond-009/groupinfo
Improve GroupInfo class
2020-10-05 13:18:17 -04:00
Joshua M. Boniface
72ad3b327f Merge pull request #4257 from Bond-009/tests3
Add tests for deserializing guids
2020-10-05 13:17:50 -04:00
Joshua M. Boniface
5e11eb0359 Merge pull request #4264 from Camc314/patch-1
Add missing properties to typescript axios generator
2020-10-05 10:22:15 -04:00
Cameron
7e7eb3a2f9 Add missing properties to typescript-axios gen 2020-10-05 14:30:35 +01:00
Bond-009
fe9d25c268 Merge pull request #4271 from joshuaboniface/fix-ci-script
Improve handling of apiclient generator
2020-10-05 15:11:06 +02:00
Bond-009
40bbcb63db Merge pull request #4275 from anthonylavado/tasktimer
Fix Transcode Cleanup Schedule
2020-10-05 14:15:11 +02:00
dependabot[bot]
dba4df1977 Bump Moq from 4.14.5 to 4.14.6
Bumps [Moq](https://github.com/moq/moq4) from 4.14.5 to 4.14.6.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.5...v4.14.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 12:00:58 +00:00
Bond-009
d22fe41c3c Merge pull request #4177 from cvium/remove_missing
Remove dummy season and missing episode provider
2020-10-05 12:59:39 +02:00
cvium
72cd6ab071 Remove dummy season and missing episode provider in a futile attempt to remove cruft 2020-10-05 12:13:41 +02:00
Bond-009
e011659186 Merge pull request #4210 from nielsvanvelzen/typed-websocket-message
Use enum for WebSocket message types
2020-10-05 10:40:52 +02:00
Bond-009
f1bf21cffd Merge pull request #4225 from Spacetech/save_image_check
Check response status code before saving images
2020-10-05 10:40:37 +02:00
Bond-009
14042d51b0 Merge pull request #4276 from cvium/fix_403
SecurityException should return 403
2020-10-05 10:34:10 +02:00
cvium
df75c1cd9c SecurityException should return 403 2020-10-05 08:28:37 +02:00
Anthony Lavado
959d906c85 Just enable instead 2020-10-05 02:25:09 -04:00
Anthony Lavado
375f849b3e Simply trigger
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-05 02:14:43 -04:00
Anthony Lavado
e77040a4fb Fix Transcode Cleanup Schedule
Sets the default time to midnight, and confirms to the same task
scheduling commands that other tasks use.
2020-10-05 00:15:25 -04:00
Joshua M. Boniface
2a575dd67e Merge pull request #4269 from joshuaboniface/session-limit
Add user max sessions options
2020-10-04 23:34:52 -04:00
Joshua M. Boniface
d47284d59f Merge pull request #4202 from cvium/tmdblib_migration
Migrate the TMDb providers to the TMDbLib library
2020-10-04 20:59:14 -04:00
Joshua M. Boniface
f2763a71e0 Rename migrations to match others 2020-10-04 20:31:24 -04:00
Patrick Barron
4d7e7d6331 Rewrite activity log backend to use a query class. 2020-10-04 20:29:28 -04:00
Joshua M. Boniface
1bfe9713af Make MaxSessions default 0 2020-10-04 20:24:35 -04:00
Joshua M. Boniface
88bc2fa3ec Just make everything under libdir/jf a wildcard
I don't know if this will actually work but maybe it will.
2020-10-04 19:50:54 -04:00
Joshua M. Boniface
fc28ffea53 Improve handling of apiclient generator
1. Replace the separate stable/unstable scripts with a single script and
handle the difference with argument parsing.
2. Unify the calls and pass the Azure arguments in on the CLI.
2020-10-04 19:03:39 -04:00
Joshua M. Boniface
67e89dd525 Use nicer count comparitor 2020-10-04 17:00:13 -04:00
Bond-009
07be066180 Merge pull request #4252 from skyfrk/4214-supported-commands-enum
Convert supportedCommands strings to enums
2020-10-04 22:40:14 +02:00
Joshua M. Boniface
df177b4752 Revert "Implement better count method"
This reverts commit 5aa519fd39.
2020-10-04 15:52:39 -04:00
Joshua M. Boniface
5aa519fd39 Implement better count method 2020-10-04 15:46:57 -04:00
Joshua M. Boniface
8dfa2015d0 Make the count an int for cleanliness 2020-10-04 14:14:42 -04:00
Joshua M. Boniface
d0ec6872f3 Increase count check to 1
There's another way to disable a user anyways.
2020-10-04 14:06:20 -04:00
Joshua M. Boniface
725acb528a Add pragma warning disabled to migrations 2020-10-04 13:47:59 -04:00
Joshua M. Boniface
cd328a0be3 Remove default set for MaxActiveSessions 2020-10-04 13:34:53 -04:00
Joshua M. Boniface
6e1d1eed23 Make log entry informational 2020-10-04 13:30:21 -04:00
Joshua M. Boniface
b130af1b0c Remove variables from SecurityException 2020-10-04 13:29:18 -04:00
Joshua M. Boniface
a9e5f6e770 Remove nullable from MaxActiveSessions 2020-10-04 13:25:07 -04:00
Joshua M. Boniface
2577595bac Remove obsolete getter 2020-10-04 13:23:20 -04:00
Joshua M. Boniface
975fca5158 Fix syntax error 2020-10-04 13:19:56 -04:00
Joshua M. Boniface
b9d79d7635 Add DB migration for new MaxActiveSessions field 2020-10-04 13:14:32 -04:00
Joshua M. Boniface
5a7dda337f Add active session tracking
Adds a flag for a maximum number of user sessions, as well as an
authentication check to ensure that the user is not above this level.
2020-10-04 13:02:54 -04:00
Bond-009
d11adeb85e Merge pull request #4266 from Maxr1998/log-stream-info
Log stream type and codec for missing direct play profile
2020-10-04 17:06:59 +02:00
Bond-009
e93bb9aa8d Merge pull request #4267 from cvium/disable_invalidauthprovider
Disable invalid auth provider
2020-10-04 17:01:12 +02:00
Bond_009
e96d41d5ef Fix build 2020-10-04 16:45:00 +02:00
Bond_009
f0556c8ded Improve GroupInfo class
* Fixed docs
* Remove extra dictionary lookups
* change property to constant
2020-10-04 16:27:34 +02:00
Bond_009
d7dc15971e Add roundtrip test 2020-10-04 16:26:43 +02:00
BaronGreenback
2e3901252a Update UserManager.cs 2020-10-04 10:07:05 +01:00
BaronGreenback
fae70bbbcf Update LocalAccessHandlerTests.cs 2020-10-04 10:05:38 +01:00
BaronGreenback
29133b6452 Update PathSubstitution.cs 2020-10-04 10:04:43 +01:00
BaronGreenback
7f1ec1b569 Update MediaInfoHelper.cs 2020-10-04 10:03:34 +01:00
BaronGreenback
5360f5a43d Update UserController.cs 2020-10-04 10:03:08 +01:00
BaronGreenback
bb4c668650 Update LocalAccessHandler.cs 2020-10-04 10:02:52 +01:00
BaronGreenback
eaf684a68c Update DynamicHlsHelper.cs 2020-10-04 10:02:35 +01:00
BaronGreenback
b5ea16cf7b Update LocalAccessOrRequiresElevationHandler.cs 2020-10-04 10:02:13 +01:00
BaronGreenback
168a4ec2f2 Update IgnoreParentalControlHandler.cs 2020-10-04 10:01:56 +01:00
BaronGreenback
34ef6492ee Update FirstTimeOrIgnoreParentalControlSetupHandler.cs 2020-10-04 10:01:32 +01:00
BaronGreenback
a3a2ca412b Update DownloadHandler.cs 2020-10-04 10:01:10 +01:00
BaronGreenback
04552e86fb Update DefaultAuthorizationHandler.cs 2020-10-04 10:00:51 +01:00
Jim Cartlidge
47f4639b84 Merge branch 'NetworkPR2' of https://github.com/BaronGreenback/jellyfin into NetworkPR2 2020-10-04 09:56:45 +01:00
Jim Cartlidge
53af1e3455 Updatig netcollection & re-inserting BOM 2020-10-04 09:56:33 +01:00
Matt Montgomery
7cec65b973 Update documentation 2020-10-03 14:35:57 -05:00
cvium
a839b015f9 Disable invalid auth provider 2020-10-03 21:24:04 +02:00
cvium
24dfa097fa Update TMDbLib version 2020-10-03 19:53:26 +02:00
cvium
a0862c933d Add image languages to collections 2020-10-03 19:53:07 +02:00
cvium
d7cabb2e4e Add image languages 2020-10-03 19:53:07 +02:00
cvium
e0f21afa62 Fix build 2020-10-03 19:53:07 +02:00
Claus Vium
c0f4c90d57 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-03 19:53:07 +02:00
cvium
9adbf4e9d8 Add keywords as tags to series + cleanup 2020-10-03 19:53:07 +02:00
cvium
f4d49eff9b Add keywords as tags 2020-10-03 19:53:07 +02:00
cvium
3df2a95cac Cleanup in TmdbUtils 2020-10-03 19:53:07 +02:00
cvium
f8c4f7c63e Fix inverted boolean statement 2020-10-03 19:53:07 +02:00
cvium
34d2716ce8 Remove TmdbSettingsResult which came back in the rebase 2020-10-03 19:53:07 +02:00
cvium
08e1f15add Cleanup in TmdbMovieProvider 2020-10-03 19:53:07 +02:00
cvium
e9524f89d6 Migrate the TMDb providers to the TMDbLib library 2020-10-03 19:53:07 +02:00
Maxr1998
e01209a6f5 Log stream type and codec for missing direct play profile 2020-10-03 17:14:09 +02:00
KonH
211c9cd608 Remove unnecessary null checks in some places
Related to https://github.com/jellyfin/jellyfin/issues/2149
2020-10-03 22:03:23 +07:00
cvium
1b18f86c8b Add missing parameter comments. 2020-10-03 13:52:51 +02:00
cvium
5d3449e9dc Fix xml doc comment 2020-10-03 13:39:39 +02:00
cvium
763862cbd8 Defer image pre-fetching until the end of a refresh/scan 2020-10-03 13:36:53 +02:00
github@esslinger.dev
ec0ff5d02f test: use descriptive test method names 2020-10-03 12:40:28 +02:00
Nyanmisaka
9fbf725a6d Enhance workload when tone mapping on some APUs 2020-10-03 17:53:10 +08:00
BaronGreenback
7459baac8b Update ApplicationHost.cs 2020-10-03 09:23:12 +01:00
BaronGreenback
2929ce6e0d Update ApplicationHost.cs 2020-10-03 09:18:00 +01:00
BaronGreenback
298a322ac1 Update ApplicationHost.cs 2020-10-03 09:13:04 +01:00
BaronGreenback
ba685d8092 Update ApplicationHost.cs 2020-10-03 09:08:28 +01:00
Nyanmisaka
2124bc2e18 enhance workload when tone mapping with AMF
zscale filter is required.
2020-10-03 16:04:39 +08:00
Anthony Lavado
c0be770681 Merge pull request #4262 from anthonylavado/remove-windows-legacy
Remove Windows legacy files
2020-10-02 23:00:23 -04:00
Gary Wilber
a51adec836 fix parallelism when set to 0 2020-10-02 18:26:10 -07:00
Anthony Lavado
86cbefb059 Remove Windows legacy files 2020-10-02 20:32:52 -04:00
Gary Wilber
7841378506 cleaner 2020-10-02 17:27:43 -07:00
Gary Wilber
db2e667936 expand try finally 2020-10-02 17:19:35 -07:00
Gary Wilber
04cdc89a5c Make MusicBrainzAlbumProvider thread safe 2020-10-02 17:14:57 -07:00
github@esslinger.dev
1bd80a634f test: add CommaDelimitedArrayModelBinder tests 2020-10-03 01:09:45 +02:00
github@esslinger.dev
b3b98a5cc8 test: add TestType enum 2020-10-03 01:09:28 +02:00
github@esslinger.dev
33f80dc3c1 feat(CommaDelimitedArrayModelBinder): add none result check 2020-10-03 01:09:15 +02:00
Bond-009
1c6a45f7a3 Merge pull request #4260 from crobibero/api-data-file
Allow server to return .data files
2020-10-02 23:05:01 +02:00
Joshua M. Boniface
cb94b5a944 Merge pull request #4070 from crobibero/ci-api-client
Add ci task to publish api client
2020-10-02 16:57:50 -04:00
Joshua M. Boniface
5f65fd93a1 Merge pull request #4249 from jellyfin/EraYaN-openapi-spec-fix
Publish OpenAPI spec for master and tagged releases
2020-10-02 16:57:07 -04:00
crobibero
6a32385588 Allow server to return .data files 2020-10-02 13:30:31 -06:00
Bond-009
b87db136cc Merge pull request #4255 from crobibero/ci-xml-docs
Generate document file for openapi spec in CI
2020-10-02 20:00:42 +02:00
Bond-009
c3655e0e2e Merge pull request #4217 from crobibero/json-nullable-struct-converter
Properly handle null structs in json
2020-10-02 19:57:47 +02:00
Bond_009
8535a718b7 Add tests for deserializing guids 2020-10-02 19:43:34 +02:00
Matt Montgomery
754e859f6e Convert strings to ImageFormat 2020-10-02 12:05:39 -05:00
github@esslinger.dev
c3e7eb3a6f Merge branch '4214-supported-commands-enum' of https://github.com/skyfrk/jellyfin into 4214-supported-commands-enum 2020-10-02 18:29:59 +02:00
github@esslinger.dev
9aad772288 feat: implement CommaDelimitedArrayModelBinderProvider 2020-10-02 18:26:48 +02:00
Cody Robibero
0ffc58e255 Update .ci/azure-pipelines-api-client.yml
Co-authored-by: Cameron <Influence365@gmail.com>
2020-10-02 08:21:28 -06:00
crobibero
b95533d6a9 there I go changing paths again 2020-10-02 08:06:06 -06:00
crobibero
86e06369a9 fix liniting errors 2020-10-02 08:00:57 -06:00
crobibero
3d20ff69d4 Fix repo connections 2020-10-02 07:50:38 -06:00
crobibero
75dada6308 add withSeparateModelsAndApi 2020-10-02 07:47:14 -06:00
crobibero
7d992798fd specify client specifically instead of through template 2020-10-02 07:40:44 -06:00
crobibero
520acc11e6 scope npm package name 2020-10-02 07:19:18 -06:00
crobibero
fcc9482ff9 Generate document file for openapi spec in CI 2020-10-02 07:07:48 -06:00
crobibero
810ec0b672 Fix download api spec 2020-10-02 07:00:57 -06:00
Simon Eßlinger
21b39a207d refactor: simplify null check
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-02 01:33:15 +02:00
Gary Wilber
ac6d51554c Fix lastProgressMessageTimes dictionary errors 2020-10-01 16:25:01 -07:00
Gary Wilber
8f2fbf7a99 Switch to TPL dataflow for subfolder scan 2020-10-01 16:24:35 -07:00
Simon Eßlinger
d10090b394 fix: remove unused null check
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-01 22:48:42 +02:00
Stanislav Ionascu
cd4641dca0 Remove PlayableStreamFileNames as unused
Since ffmpeg can play and transcode ISO files and BDMV folders directly,
there's no use of that property.
2020-10-01 22:20:34 +02:00
github@esslinger.dev
4b4c74bdcd feat: extend CommaDelimitedArrayModelBinder to support auto generated openAPI spec 2020-10-01 22:04:53 +02:00
Stanislav Ionascu
3ad6232973 Add probe / direct-stream / transcoding support for BluRays
This commit (and ffmpeg built with libbluray support), adds support
for playback of bluray images (bd-iso) and bluray folders.
2020-10-01 21:59:57 +02:00
BaronGreenback
02de44ec0c Update BaseAuthorizationHandler.cs 2020-10-01 20:54:39 +01:00
BaronGreenback
688d098d61 Update Emby.Server.Implementations.csproj 2020-10-01 20:51:25 +01:00
BaronGreenback
dff2674b27 Update BasePlugin.cs 2020-10-01 20:42:48 +01:00
BaronGreenback
a69731b5e3 Update BasePlugin.cs
Moved initialisation ApplicationHost.cs /LoadPlugin()
2020-10-01 20:30:12 +01:00
BaronGreenback
d91a4f0c6d Update ApplicationHost.cs 2020-10-01 20:25:40 +01:00
BaronGreenback
0738a2dc4b Update ApplicationHost.cs 2020-10-01 19:22:58 +01:00
BaronGreenback
ee40f21049 Update ApplicationHost.cs 2020-10-01 18:59:46 +01:00
github@esslinger.dev
ba12ea7f4a feat: use CommaDelimitedArrayModelBinder to retain API 2020-10-01 19:57:31 +02:00
github@esslinger.dev
0655928ab1 feat: add CommaDelimitedArrayModelBinder 2020-10-01 19:56:59 +02:00
github@esslinger.dev
f314be9d85 chore(CONTRIBUTORS.md): add skyfrk 2020-10-01 18:44:22 +02:00
github@esslinger.dev
dd4f3a7c51 feat: convert supportedCommands strings to enums 2020-10-01 18:43:44 +02:00
crobibero
2b75af9873 set type of GroupUpdate 2020-10-01 10:40:58 -06:00
Erwin de Haan
c0de26f69a Publish OpenAPI Spec to repository server 2020-10-01 17:57:40 +02:00
crobibero
4a3e0062f9 Add missing PlaystateRequest and remove additional GroupUpdate types 2020-10-01 09:39:57 -06:00
Erwin de Haan
9585fea51e Update azure-pipelines.yml 2020-10-01 17:38:36 +02:00
crobibero
5ee6f49204 Manually register models used in websocket messages. 2020-10-01 08:10:47 -06:00
Gary Wilber
c2276b17cb Increase library scan and metadata refresh speed 2020-09-30 19:33:34 -07:00
Justin LeCheminant
3b0c6c660d Removing string we don't use anymore. 2020-09-30 20:26:59 -06:00
crobibero
53d8023def Update all on-disk plugins 2020-09-30 17:37:30 -06:00
Jim Cartlidge
3b64171cde Minor change to get it to compile. 2020-09-30 18:02:36 +01:00
Jim Cartlidge
fcd1b2f0e4 Merged with latest master 2020-09-30 17:52:33 +01:00
Jim Cartlidge
e15d6ed12e Merge branch 'NetworkPR2' of https://github.com/BaronGreenback/jellyfin into NetworkPR2 2020-09-30 17:51:41 +01:00
Jim Cartlidge
bbe2400b59 Updating to NetCollection 1.03 2020-09-30 17:51:17 +01:00
Bond-009
c7b3d4a90c Merge pull request #4164 from spooksbit/remove-browser-auto-load
Removed browser auto-launch functionality
2020-09-29 18:24:58 +02:00
Bond-009
cbf9be9416 Merge pull request #3577 from crobibero/package-install-repo
Specify plugin repo on plugin installation
2020-09-29 18:24:11 +02:00
Gary Wilber
25d8d85740 Back to HttpException 2020-09-29 01:19:12 -07:00
dkanada
1f44785441 Merge pull request #4230 from jellyfin/dependabot/nuget/BlurHashSharp.SkiaSharp-1.1.1
Bump BlurHashSharp.SkiaSharp from 1.1.0 to 1.1.1
2020-09-29 16:34:10 +09:00
dkanada
0235f44b42 Merge pull request #4226 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-5.6.3
Bump Swashbuckle.AspNetCore from 5.5.1 to 5.6.3
2020-09-29 16:33:50 +09:00
Bond-009
7775066475 Merge pull request #4236 from ConfusedPolarBear/warnings1
Fix some warnings
2020-09-29 09:18:52 +02:00
Gary Wilber
fd7a36932d simplify EndDate query 2020-09-28 18:13:50 -07:00
Gary Wilber
e9911b70dd Use EnsureSuccessStatusCode 2020-09-28 18:12:35 -07:00
spookbits
c912093579 Created a separate API Docs profile to launch the browser at the API docs, and the nowebclient profile no longer launches the browser at all.
Don't point to web in the client because it won't redirect properly.

Modified the vscode launch.json to automatically launch the browser when debugging the first configuration. The
2020-09-28 16:34:48 -04:00
Matt Montgomery
53d5f64e03 Fix SA1513, SA1514, SA1507, and SA1508 2020-09-28 15:04:31 -05:00
dkanada
6cafc152b9 Merge pull request #4222 from Spacetech/directory_service_concurrent
Use ConcurrentDictionary's in DirectoryService
2020-09-28 23:56:36 +09:00
dkanada
c94d774ee7 Merge pull request #4220 from Spacetech/TvdbEpisodeImageProvider_nullable_check
Fix invalid operation exception in TvdbEpisodeImageProvider.GetImages
2020-09-28 23:53:55 +09:00
dkanada
7030e925b7 Merge pull request #4200 from ryanpetris/hdhomerun-preemptive-livetv-conflict
HDHomeRun: Preemptively throw a LiveTvConflictException
2020-09-28 23:52:34 +09:00
dkanada
206c382b92 Merge pull request #4211 from BaronGreenback/NullPointerFix
Null Pointer Fix : PlayToController.cs
2020-09-28 23:51:24 +09:00
dependabot[bot]
a26ff86553 Bump Swashbuckle.AspNetCore from 5.5.1 to 5.6.3
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.5.1 to 5.6.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.5.1...v5.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 14:50:39 +00:00
dkanada
1bf527f8b4 Merge pull request #4227 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-5.6.3
Bump Swashbuckle.AspNetCore.ReDoc from 5.5.1 to 5.6.3
2020-09-28 23:50:08 +09:00
dkanada
c60f8979d4 Merge pull request #4228 from jellyfin/dependabot/nuget/IPNetwork2-2.5.226
Bump IPNetwork2 from 2.5.224 to 2.5.226
2020-09-28 23:49:49 +09:00
dkanada
1c17a531a9 Merge pull request #4233 from jellyfin/dependabot/nuget/Mono.Nat-3.0.0
Bump Mono.Nat from 2.0.2 to 3.0.0
2020-09-28 23:49:17 +09:00
dkanada
a3d4a168d8 Merge pull request #4232 from jellyfin/dependabot/nuget/TvDbSharper-3.2.2
Bump TvDbSharper from 3.2.1 to 3.2.2
2020-09-28 23:48:48 +09:00
dependabot[bot]
e84cfc688b Bump BlurHashSharp.SkiaSharp from 1.1.0 to 1.1.1
Bumps [BlurHashSharp.SkiaSharp](https://github.com/Bond-009/BlurHashSharp) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Bond-009/BlurHashSharp/releases)
- [Commits](https://github.com/Bond-009/BlurHashSharp/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 14:48:34 +00:00
dkanada
c8b3381d65 Merge pull request #4231 from jellyfin/dependabot/nuget/Serilog.Sinks.Graylog-2.2.1
Bump Serilog.Sinks.Graylog from 2.1.3 to 2.2.1
2020-09-28 23:48:31 +09:00
dkanada
049d7b1840 Merge pull request #4229 from jellyfin/dependabot/nuget/BlurHashSharp-1.1.1
Bump BlurHashSharp from 1.1.0 to 1.1.1
2020-09-28 23:47:35 +09:00
dependabot[bot]
baa35cfc99 Bump Mono.Nat from 2.0.2 to 3.0.0
Bumps [Mono.Nat](https://github.com/mono/Mono.Nat) from 2.0.2 to 3.0.0.
- [Release notes](https://github.com/mono/Mono.Nat/releases)
- [Commits](https://github.com/mono/Mono.Nat/compare/release-v2.0.2...release-v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:47 +00:00
dependabot[bot]
5eb54be1e3 Bump TvDbSharper from 3.2.1 to 3.2.2
Bumps [TvDbSharper](https://github.com/HristoKolev/TvDbSharper) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/HristoKolev/TvDbSharper/releases)
- [Changelog](https://github.com/HristoKolev/TvDbSharper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/HristoKolev/TvDbSharper/compare/v3.2.1...v3.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:45 +00:00
dependabot[bot]
45faf56085 Bump Serilog.Sinks.Graylog from 2.1.3 to 2.2.1
Bumps [Serilog.Sinks.Graylog](https://github.com/whir1/serilog-sinks-graylog) from 2.1.3 to 2.2.1.
- [Release notes](https://github.com/whir1/serilog-sinks-graylog/releases)
- [Commits](https://github.com/whir1/serilog-sinks-graylog/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:45 +00:00
dependabot[bot]
5b6b66f7b3 Bump BlurHashSharp from 1.1.0 to 1.1.1
Bumps [BlurHashSharp](https://github.com/Bond-009/BlurHashSharp) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Bond-009/BlurHashSharp/releases)
- [Commits](https://github.com/Bond-009/BlurHashSharp/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:43 +00:00
dependabot[bot]
c0afaef985 Bump IPNetwork2 from 2.5.224 to 2.5.226
Bumps [IPNetwork2](https://github.com/lduchosal/ipnetwork) from 2.5.224 to 2.5.226.
- [Release notes](https://github.com/lduchosal/ipnetwork/releases)
- [Commits](https://github.com/lduchosal/ipnetwork/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:42 +00:00
dependabot[bot]
61c1bdb6df Bump Swashbuckle.AspNetCore.ReDoc from 5.5.1 to 5.6.3
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.5.1 to 5.6.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.5.1...v5.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:38 +00:00
BaronGreenback
ef737a4e8e Update Emby.Dlna/Configuration/DlnaOptions.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-28 07:49:36 +01:00
BaronGreenback
bdfe7554e9 Update Emby.Dlna/Configuration/DlnaOptions.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-28 07:49:08 +01:00
Gary Wilber
722ec43e25 remove status code from exception message 2020-09-27 23:05:43 -07:00
Gary Wilber
3ca9b13f99 Check response status code before saving images 2020-09-27 21:47:30 -07:00
Gary Wilber
eb04773c79 Use the get or add argument 2020-09-27 17:34:36 -07:00
Gary Wilber
50c9083bc0 remove unnecessary parentheses 2020-09-27 17:25:08 -07:00
Gary Wilber
449f7e1b1e update based on suggestions 2020-09-27 17:24:12 -07:00
Gary Wilber
89041982c2 Use ConcurrentDictionary's in DirectoryService 2020-09-27 17:02:10 -07:00
Gary Wilber
881a7fa908 update based on suggestions 2020-09-27 16:57:43 -07:00
Gary Wilber
303eccaffe Fix InvalidOperationException in TvdbSeriesProvider 2020-09-27 16:22:52 -07:00
Gary Wilber
12275e5e7b Fix invalid operation exception in TvdbEpisodeImageProvider.GetImages 2020-09-27 16:16:19 -07:00
Gary Wilber
3cfbe6e340 better audio file check 2020-09-27 13:28:19 -07:00
Gary Wilber
75041e7f39 interlocked increment 2020-09-27 12:56:12 -07:00
Bond-009
43add833cc Merge pull request #4162 from BaronGreenback/DlnaServerBaseUrlFix
Fix for #4161: BaseUrl in DLNA
2020-09-27 20:01:32 +02:00
crobibero
ac790cd77b Properly handle null structs in json 2020-09-27 09:45:11 -06:00
dkanada
63b49ff4d8 Merge pull request #4204 from cvium/add_aspect_ratio_seriesprimary
Add series image aspect ratio when ep/season is missing an image
2020-09-27 19:07:57 +09:00
Niels van Velzen
72534f9d66 Use SessionMessageType for WebSocket messages 2020-09-27 10:00:20 +02:00
Gary Wilber
05fa95f149 Increase scan speed for music libraries 2020-09-26 19:33:59 -07:00
crobibero
b7022e8dc1 Merge remote-tracking branch 'upstream/master' into package-install-repo 2020-09-26 16:57:53 -06:00
cvium
146cad6150 Remove EOF counter 2020-09-26 19:03:23 +02:00
BaronGreenback
abfddba568 Merge pull request #74 from jellyfin/master
Updating from upstream
2020-09-26 11:37:00 +01:00
hoanghuy309
800c039612 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-25 23:54:00 -04:00
cvium
6ca313abc1 Add ProgressiveFileStream 2020-09-25 23:59:17 +02:00
Eben van Deventer
10556b16f8 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2020-09-25 16:54:31 -04:00
Eben van Deventer
3a79b9fc32 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2020-09-25 16:21:25 -04:00
Eben van Deventer
0c8692e337 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2020-09-25 15:57:16 -04:00
Eben van Deventer
b66ff9a08c Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2020-09-25 15:51:08 -04:00
BaronGreenback
7567779127 Update BaseControlHandler.cs 2020-09-25 19:51:37 +01:00
BaronGreenback
63571578ae Update BaseControlHandler.cs 2020-09-25 19:44:16 +01:00
Bond-009
b41da8e5d7 Merge pull request #4209 from cvium/fix_forgotpassword
Add Dto to ForgotPassword
2020-09-25 20:06:53 +02:00
radiusgreenhill
7ee57a07a7 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2020-09-25 13:48:34 -04:00
BaronGreenback
a52ab69e13 Update DescriptionXmlBuilder.cs 2020-09-25 18:47:24 +01:00
BaronGreenback
f3a90bab47 Update DescriptionXmlBuilder.cs 2020-09-25 18:46:52 +01:00
BaronGreenback
12b5f1127e Update DescriptionXmlBuilder.cs 2020-09-25 18:46:20 +01:00
BaronGreenback
293237b714 Update BaseControlHandler.cs 2020-09-25 18:40:10 +01:00
BaronGreenback
a9864368c4 Update PlayToController.cs 2020-09-25 17:25:50 +01:00
cvium
fed58a0327 Add Dto to ForgotPassword 2020-09-25 12:56:47 +02:00
Joshua M. Boniface
66833b2d6b Merge pull request #4207 from joshuaboniface/update-readme
Revamp the main README
2020-09-25 03:00:46 -04:00
Bond-009
48e9162852 Merge pull request #4208 from cvium/fix_identify
Fix Identify by renaming route parameter to match function argument
2020-09-25 08:51:24 +02:00
cvium
c92eda53c5 Fix Identify by renaming route parameter to match function argument 2020-09-25 08:49:44 +02:00
Bond-009
c67ffa417a Merge pull request #4205 from cvium/fix_aspectratio_calc
Fix aspect ratio calculation sometimes returning 0 or 1
2020-09-25 08:19:09 +02:00
hoanghuy309
18ab0c21b2 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-25 01:40:33 -04:00
hoanghuy309
4c0ec387e5 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-24 23:03:06 -04:00
Joshua M. Boniface
2274aa30ce Correct typo 2020-09-24 21:26:03 -04:00
Joshua M. Boniface
23a56a4a26 Fix bad line endings 2020-09-24 21:25:11 -04:00
Joshua M. Boniface
7b60872f2b Revamp the main README
1. Make the descriptions more consistent.
2. Link to the webpage first, then docs.
3. Make the Weblate reference similar to the others.
2020-09-24 21:21:58 -04:00
cvium
ec5b738079 Fix aspect ratio calculation returning 0 or 1 when item has no default AR 2020-09-24 23:09:26 +02:00
cvium
9cdef5b57c Add series image aspect ratio when ep/season is missing an image 2020-09-24 22:27:17 +02:00
BaronGreenback
f97bea53e5 Update Emby.Server.Implementations.csproj 2020-09-24 16:11:24 +01:00
Jim Cartlidge
8c85cfd01d Fixed build 2020-09-24 16:02:29 +01:00
BaronGreenback
d617c0b8b0 Update SystemController.cs 2020-09-24 15:47:35 +01:00
BaronGreenback
28634d3b36 Update DlnaEntryPoint.cs 2020-09-24 15:43:06 +01:00
Jim Cartlidge
fb1d452b59 fix conflict 2020-09-24 15:37:34 +01:00
Jim Cartlidge
37cb4dbca6 Removed package reference. 2020-09-24 15:34:49 +01:00
Jim Cartlidge
5edf24db5c Updated to master 2020-09-24 15:34:30 +01:00
BaronGreenback
89e67b2e7f Merge branch 'master' into NetworkPR2 2020-09-24 15:15:32 +01:00
Ryan Petris
3fa3a9d57a Preemptively throw a LiveTvConflictException when the tracked live streams for a given device/tuner will exceed the number of supported streams. 2020-09-23 14:23:04 -07:00
Ryan Petris
4db5700e18 Don't take a lock if there's no intention to manipulate the list of open streams. Instead, use a ConcurrentDictionary so that, in those situations, thread-safe access to the dictionary is ensured. 2020-09-23 14:12:26 -07:00
Anthony Lavado
226316a486 Merge pull request #4103 from Bond-009/warn30
Fix some warnings
2020-09-23 10:30:24 -04:00
Anthony Lavado
5aa743a6a2 Merge pull request #4163 from Bond-009/minor4
Minor improvements
2020-09-23 10:30:13 -04:00
Anthony Lavado
25bfef58fc Merge pull request #4187 from BaronGreenback/FFMPegErrorMsg
Fix for #4184 when no FFMPEG path set.
2020-09-23 10:05:14 -04:00
Anthony Lavado
2746e1fecc Merge pull request #4189 from Bond-009/minor5
Minor improvements
2020-09-23 09:58:19 -04:00
Anthony Lavado
af24c43118 Merge pull request #4192 from nielsvanvelzen/generalcommand-sucks
Use GeneralCommandType enum in GeneralCommand
2020-09-23 09:57:45 -04:00
Oatavandi
9bcd81a5dd Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-09-23 09:12:57 -04:00
dkanada
236dfe3ed8 Merge pull request #4170 from BaronGreenback/VersioningImprovement
Plugin versioning - amended for plugins without meta.json
2020-09-23 20:06:35 +09:00
dkanada
8a299ba7c0 Merge pull request #4178 from hoanghuy309/patch-1
Update LocalizationManager.cs
2020-09-23 20:04:09 +09:00
dkanada
028c681c15 Merge pull request #3928 from Mygod/patch-1
Add 1440p to the mix
2020-09-23 20:00:26 +09:00
dkanada
1657af482a Merge pull request #4082 from cromefire/patch-4
More expressive names for the VideoStream API
2020-09-23 19:58:06 +09:00
dkanada
3b19da9780 Merge pull request #4194 from nvllsvm/optimize
Optimize images
2020-09-23 19:53:08 +09:00
dkanada
dfb2ef5cfe Merge pull request #4126 from crobibero/3.1.8
update to dotnet 3.1.8
2020-09-23 19:52:37 +09:00
Bond-009
7dc22bec7b Merge pull request #4173 from BaronGreenback/SessionControllerFix
Unstable: Various controller fixes.
2020-09-23 09:12:47 +02:00
hoanghuy309
a1511add06 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-22 21:47:09 -04:00
hoanghuy309
fa1df73d10 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-22 12:25:54 -04:00
Andrew Rabert
5a74710df3 Optimize images
Used:
- `oxipng --zopfli --opt max --strip all`
- `jpegoptim --all-progressive --strip-all`
2020-09-21 17:01:50 -04:00
Nelson Tham
03cbf5cfbf Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-09-21 15:21:58 -04:00
Niels van Velzen
891c538f81 Use GeneralCommandType in SessionController parameters 2020-09-21 17:49:45 +02:00
Niels van Velzen
3459655bb4 Use GeneralCommandType enum in GeneralCommand name 2020-09-21 16:56:22 +02:00
hoanghuy309
7da03d67a7 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-21 08:13:38 -04:00
장건
849835b486 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2020-09-21 08:13:38 -04:00
Bond-009
bf815ef3e1 Merge pull request #4186 from BaronGreenback/versionMatchFix
Fixes #4185 : FFMPeg version match exception.
2020-09-21 12:28:51 +02:00
hoanghuy309
1f2e227610 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-21 06:22:51 -04:00
josteinh
983aa05e76 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-09-21 04:26:11 -04:00
BaronGreenback
f71812abc0 Update SessionController.cs 2020-09-20 14:36:46 +01:00
BaronGreenback
d6f01d6503 Update DynamicHlsController.cs 2020-09-20 14:35:46 +01:00
Bond_009
228b33a23b Minor improvements 2020-09-20 14:02:41 +02:00
BaronGreenback
9cb37ae9c2 Update Jellyfin.Api/Controllers/SessionController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-20 12:44:10 +01:00
jeremletrol81
d39b70de32 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-09-20 07:09:22 -04:00
Ryan Petris
361f51ac94 Use TcpClient.Connect(). 2020-09-19 15:27:07 -07:00
Bond-009
3b006cd674 Merge pull request #4183 from Ullmie02/tmdb-fix
Fix TMDB Season Images
2020-09-19 21:51:23 +02:00
Anton Fernandez Príncipe
484cd88766 Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2020-09-19 12:01:32 -04:00
BaronGreenback
bbf196c7bd Update TranscodingJobHelper.cs 2020-09-19 16:44:35 +01:00
BaronGreenback
5464eaed4a Update EncoderValidator.cs 2020-09-19 16:40:39 +01:00
BaronGreenback
701d54260d Update SessionController.cs 2020-09-19 15:46:47 +01:00
BaronGreenback
7050525f6b Update SessionController.cs 2020-09-19 15:01:34 +01:00
BaronGreenback
50060175b1 Update DynamicHlsController.cs 2020-09-19 14:53:08 +01:00
BaronGreenback
d8e8d298ea Update Jellyfin.Api/Controllers/SessionController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-09-19 13:58:56 +01:00
BaronGreenback
eee977a77b Update Jellyfin.Api/Controllers/SessionController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-09-19 13:58:39 +01:00
BaronGreenback
4dae7d0521 Update Jellyfin.Api/Controllers/SessionController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-09-19 13:58:18 +01:00
David
dc73d044de Fix TMDB Season Images 2020-09-19 13:58:35 +02:00
hoanghuy309
675fcab451 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-19 03:50:37 -04:00
Ryan Petris
0496e18179 Fix HD Home Run streaming.
* Use LocalEndPoint instead of RemoteEndPoint when determining local address.
* HdHomerunUdpStream.StartStreaming is meant to run until stream is closed, however HdHomerunUdpStream.Open needs to return as soon as stream is open to send stream url back to client. Therefore, StartStreaming should not be awaited on.
* TcpClient(IPEndPoint) treats endpoint as the local endpoint; use TcpClient(string, int) instead as it treats endpoint as the remote endpoint.
2020-09-18 22:29:09 -07:00
hoanghuy309
f363d8afd5 Update LocalizationManager.cs 2020-09-18 22:31:09 +07:00
dkanada
e92d8dd195 Merge pull request #4176 from MrTimscampi/skiasharp-dependency-blunder
Update SkiaSharp.NativeAssets.Linux to 2.80.2
2020-09-18 21:10:28 +09:00
MrTimscampi
226e517f11 Update SkiaSharp.NativeAssets.Linux to 2.80.2 2020-09-18 10:02:15 +02:00
Joshua M. Boniface
1672972b41 Merge pull request #4114 from crobibero/rpm-packaging
Add new files to rpm build
2020-09-17 17:01:33 -04:00
BaronGreenback
ea7b3699c2 Update SessionController.cs
removed space
2020-09-17 18:47:36 +01:00
BaronGreenback
d428ca55cd Update DynamicHlsController.cs 2020-09-17 18:41:12 +01:00
BaronGreenback
8738fe570a Update SessionController.cs 2020-09-17 18:27:07 +01:00
BaronGreenback
604edea6a6 Update DynamicHlsController.cs
Removed container fields
2020-09-17 18:26:27 +01:00
BaronGreenback
9fc1a8b619 Inverted if statement 2020-09-17 18:20:27 +01:00
BaronGreenback
81db323f88 Update SessionController.cs 2020-09-17 17:54:09 +01:00
BaronGreenback
92b63db569 Update ApplicationHost.cs 2020-09-17 15:57:11 +01:00
nyanmisaka
db07510017 add tonemap for AMD AMF 2020-09-17 19:16:23 +08:00
BaronGreenback
826148dc84 Added versioning to files without meta.json 2020-09-17 11:01:46 +01:00
BaronGreenback
4c6b60d69d Merge pull request #73 from jellyfin/master
Updating from upstream
2020-09-17 10:58:21 +01:00
Joshua M. Boniface
bc5404cd6f Merge pull request #3401 from BaronGreenback/Plugins
Fix for windows plug-in upgrades issue: #1623
2020-09-16 17:22:58 -04:00
spookbits
246ab260f7 Do not implicitly reference ASP.NET Core Analyzers.
Also do not explicitly reference AspNetCore.App (fixes compiler warning).
2020-09-16 17:09:24 -04:00
spooksbit
ac32b14012 Update Jellyfin.Server/Properties/launchSettings.json
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-16 15:11:35 -04:00
spookbits
5cca8bffea Removed browser auto-load functionality from the server.
Added profiles in launchSettings to start either the web client or the swagger API page.
Removed --noautorunwebapp as this is the default functionality.
2020-09-16 13:22:04 -04:00
Bond-009
6dd6961fd4 Merge pull request #4145 from jellyfin/dependabot/nuget/SkiaSharp-2.80.2
Bump SkiaSharp from 2.80.1 to 2.80.2
2020-09-16 15:00:27 +00:00
Bond_009
0007756a5e Fix 2020-09-16 15:35:37 +02:00
BaronGreenback
ad00b93be5 Rename PlugInManifest.cs to PluginManifest.cs 2020-09-16 14:14:10 +01:00
Bond_009
2dbf73b989 Minor improvements 2020-09-16 14:16:44 +02:00
BaronGreenback
d99db543da Update DescriptionXmlBuilder.cs 2020-09-16 12:08:37 +01:00
BaronGreenback
a6400d12c9 Update DescriptionXmlBuilder.cs 2020-09-16 12:08:23 +01:00
BaronGreenback
c2e2e5ac0c Update DescriptionXmlBuilder.cs 2020-09-16 12:03:17 +01:00
BaronGreenback
86ad04b657 Update DescriptionXmlBuilder.cs 2020-09-16 12:02:00 +01:00
Bond-009
4a9b7691c2 Merge pull request #4156 from androiddevnotesforks/master
Fix typos
2020-09-15 19:46:08 +00:00
Jim Cartlidge
0ec3633f9e removing whitespace & upgraded library version 2020-09-15 18:09:43 +01:00
Jim Cartlidge
0bc37c981d Merge branch 'NetworkPR2' of https://github.com/BaronGreenback/jellyfin into NetworkPR2 2020-09-15 18:05:53 +01:00
Jim Cartlidge
e6a3518220 Uploading latest 2020-09-15 18:05:42 +01:00
BaronGreenback
96c3c4af42 Update IpBasedAccessValidationMiddleware.cs 2020-09-15 13:48:40 +01:00
BaronGreenback
40464a6fdd Update LanFilteringMiddleware.cs 2020-09-15 13:47:01 +01:00
BaronGreenback
a2c50e8005 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
2020-09-14 21:02:13 +01:00
BaronGreenback
5baf87663f Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
2020-09-14 20:57:49 +01:00
BaronGreenback
02951bb8ce Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
2020-09-14 20:57:00 +01:00
BaronGreenback
69c4b44d24 Update ApplicationHost.cs 2020-09-14 20:52:18 +01:00
BaronGreenback
51c416c832 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-14 20:23:35 +01:00
BaronGreenback
e88d3ba8c2 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-14 18:44:29 +01:00
BaronGreenback
f80e181eda Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-14 18:44:17 +01:00
Jim Cartlidge
d27d2a8990 Renamed file. 2020-09-14 18:23:50 +01:00
hoanghuy309
a626ce5bd0 Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-14 13:09:18 -04:00
BaronGreenback
f73e744785 Update Emby.Server.Implementations/Plugins/PlugInManifest.cs
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2020-09-14 17:58:10 +01:00
Android Dev Notes
cdf96d2663 Fix typos 2020-09-14 21:30:20 +05:30
BaronGreenback
68d08e94fd Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-14 16:18:39 +01:00
Jim Cartlidge
b04aed2f58 Merge remote-tracking branch 'upstream/master' into NetworkPR2 2020-09-14 16:01:23 +01:00
Jim Cartlidge
c1bfba9081 Nullable added 2020-09-14 15:57:00 +01:00
Jim Cartlidge
38b8110a3e Removing blank lines. 2020-09-14 15:55:25 +01:00
Jim Cartlidge
b44455ad0d Update based on PR1 changes. 2020-09-14 15:46:38 +01:00
hoanghuy309
9183688cab Translated using Weblate (Vietnamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2020-09-14 09:13:41 -04:00
hoanghuy309
fc827a7b25 Added translation using Weblate (Vietnamese) 2020-09-14 08:12:19 -04:00
dependabot[bot]
b83b8f5267 Bump SkiaSharp from 2.80.1 to 2.80.2
Bumps SkiaSharp from 2.80.1 to 2.80.2.

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-14 12:02:19 +00:00
kevin
3a75365930 Translated using Weblate (Albanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sq/
2020-09-14 07:47:18 -04:00
kevin
17f66b4943 Added translation using Weblate (Albanian) 2020-09-14 06:39:06 -04:00
Bond-009
a72f2d3586 Merge pull request #4142 from olsh/master
Fix parameters validation in ImageProcessor.GetCachePath
2020-09-14 04:01:46 +00:00
Oleg Shevchenko
58924fd1da Fix parameters validation in ImageProcessor.GetCachePath 2020-09-13 22:38:31 +03:00
BaronGreenback
7b4b101eca Update ApplicationHost.cs 2020-09-13 18:06:13 +01:00
BaronGreenback
107d606a70 Update ApplicationHost.cs 2020-09-13 17:51:14 +01:00
BaronGreenback
6c2c2cb872 Update ApplicationHost.cs
Global jsonserializer added
2020-09-13 17:45:17 +01:00
BaronGreenback
ea0eb9a6ff Update PlugInManifest.cs
Added comments.
2020-09-13 17:42:40 +01:00
BaronGreenback
12fb827405 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-13 17:29:10 +01:00
BaronGreenback
008aa51eb7 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-13 17:24:30 +01:00
BaronGreenback
b4edb7c90d Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-13 17:24:02 +01:00
Jim Cartlidge
5f58d2c151 With method comments. 2020-09-13 16:37:20 +01:00
Jim Cartlidge
81f655803d Modified to work with manifests. 2020-09-13 16:30:04 +01:00
Jim Cartlidge
c41ed13b3d Commenting. 2020-09-13 14:36:10 +01:00
Jim Cartlidge
c1b3f2c136 ContentDirectory 2020-09-13 14:31:12 +01:00
Jim Cartlidge
3ad320175d ConnectionManager - static implementation 2020-09-13 14:18:15 +01:00
Jim Cartlidge
68de105dc2 Comments part 1 2020-09-13 13:49:11 +01:00
Bond-009
8102f4eb4e Merge pull request #4106 from Keridos/master
some testing for AudioBook
2020-09-13 08:45:37 +00:00
Bond-009
75ac226bd4 Merge pull request #4128 from derchu/tvdb_rating
Update content rating from thetvdb
2020-09-13 08:43:03 +00:00
derchu
b88cfa802f Grab content rating from episode info 2020-09-12 14:46:29 -07:00
Jim Cartlidge
288d89493e Fixed testing units. 2020-09-12 17:21:03 +01:00
crobibero
46ae51bc9a update to dotnet 3.1.8 2020-09-12 10:19:04 -06:00
Jim Cartlidge
9ef79d190b Large number of files 2020-09-12 16:41:37 +01:00
crobibero
dfbe4413ff Fix added warnings 2020-09-11 16:13:15 -06:00
crobibero
97e948bbf6 Fix added warnings 2020-09-11 16:11:19 -06:00
crobibero
e3fb7f426c Migrate subtitle upload to Jellyfin.Api 2020-09-11 16:08:49 -06:00
crobibero
f13b87afa3 Merge remote-tracking branch 'upstream/master' into api-upload-subtitle 2020-09-11 15:53:04 -06:00
Bond-009
6bf0acb854 Merge pull request #4121 from cvium/normalize_app_paths
Normalize application paths
2020-09-11 17:01:58 +00:00
Bond-009
ebdcff8b08 Merge pull request #4118 from SegiH/set-playlist-allow-duplicates-option-to-false-by-default
Change default value for allow duplicates in playlist option to False
2020-09-11 13:33:13 +00:00
Bond-009
6aa6e33f7d Merge pull request #4102 from cvium/fix_startup_lan_ip_validation
Skip startup message for /system/ping
2020-09-11 13:28:49 +00:00
Anthony Lavado
b198c6f4d1 Merge pull request #4108 from Bond-009/PERFORMANCE
Minor performance improvements to item saving
2020-09-11 08:33:36 -04:00
Bond_009
edbd4e0db6 Remove extra return statement 2020-09-11 12:57:57 +02:00
Bond_009
441301069e Fix 2020-09-11 12:56:11 +02:00
Bond-009
1d633aac0a Merge pull request #4093 from crobibero/bad-route
Fix api routes
2020-09-11 09:10:16 +00:00
cvium
70aa7fe77d Normalize application paths 2020-09-11 10:34:47 +02:00
Hilman Maulana
50877761f6 Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-09-11 03:14:25 -04:00
Segi Hovav
73bff9da9d Change default value for allow duplicates in playlist option to False 2020-09-10 10:03:08 -07:00
Bond-009
18fe328979 Merge pull request #4084 from BaronGreenback/PlayTo-url-corruption-fix
Unstable: PlayTo corruption url fix
2020-09-10 15:35:06 +00:00
Bond-009
4447589460 Merge pull request #4116 from cvium/add_known_proxies
Add Known Proxies to system configuration
2020-09-10 14:10:26 +00:00
cvium
cb173d79e6 Fix the test 2020-09-10 14:30:33 +02:00
cvium
7576824cee Standardize use of IsLocal and RemoteIp 2020-09-10 14:16:41 +02:00
cvium
78cab77f81 Add Known Proxies to system configuration 2020-09-10 11:05:46 +02:00
crobibero
03d4e90728 add new files to rpm build 2020-09-09 18:52:12 -06:00
crobibero
63ebae2f9e Remove nullable from required 2020-09-09 14:28:30 -06:00
crobibero
efce4d4bf3 Merge remote-tracking branch 'upstream/master' into bad-route 2020-09-09 14:23:53 -06:00
Bond-009
621f3b7050 Merge pull request #4037 from crobibero/api-stream-return
Set openapi schema type to file where possible
2020-09-09 20:20:35 +00:00
crobibero
25ac778a79 revert changes 2020-09-09 12:26:18 -06:00
crobibero
612e135c8c Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-09 12:02:05 -06:00
crobibero
8e15142d82 Merge remote-tracking branch 'upstream/master' into bad-route 2020-09-09 11:44:53 -06:00
Bond_009
15be11fca8 Fix build 2020-09-09 14:22:27 +02:00
Bond_009
48e1cf9fd7 Minor performance improvements to item saving 2020-09-09 13:38:27 +02:00
Keridos
ba777039ef remove unnecessary nullchecks 2020-09-09 02:43:06 +02:00
Keridos
8eb1eedc8d implement suggested changes 2020-09-09 02:33:59 +02:00
Keridos
b9c7cce696 some testing for AudioBook
fix PartNumber detection
2020-09-09 02:24:17 +02:00
Bond_009
3b319d45c0 Fix build 2020-09-08 23:15:32 +02:00
BaronGreenback
60e8f47194 Update ApplicationHost.cs 2020-09-08 17:52:08 +01:00
BaronGreenback
ddfb13f945 Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-08 17:50:37 +01:00
BaronGreenback
f4eb34a966 Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-08 17:50:19 +01:00
BaronGreenback
a9d8b53658 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-08 17:49:55 +01:00
BaronGreenback
2eff0db804 Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-08 17:49:38 +01:00
Bond_009
e11a57f19b Fix some warnings 2020-09-08 16:12:47 +02:00
crobibero
b2c2746a27 Fix container routes 2020-09-08 07:47:49 -06:00
Bond-009
b76d4ba454 Merge pull request #4096 from crobibero/auth-ex
Fix catching authentication exception
2020-09-08 11:49:56 +00:00
Bond-009
5c7cdfe428 Merge pull request #4092 from crobibero/api-go-brrr
Add missing FromRoute, Required attribute
2020-09-08 11:48:24 +00:00
Bond-009
46c8a6c1e8 Merge pull request #4094 from crobibero/fix-redirect
Fix redirection
2020-09-08 11:04:15 +00:00
cvium
3ad176f8e2 Remove unused import 2020-09-08 12:41:59 +02:00
cvium
12bd9ea750 Skip startup message for /system/ping 2020-09-08 12:37:15 +02:00
BaronGreenback
c84aabe954 Update PlayToManager.cs
Fixed name violation
2020-09-08 09:27:44 +01:00
BaronGreenback
fde5afc36b Update PlayToManager.cs
removed tab
2020-09-08 09:26:52 +01:00
BaronGreenback
544db8cc06 Update PlayToManager.cs
made code more readable.
2020-09-08 07:53:53 +01:00
crobibero
e772756328 Fix catching authentication exception 2020-09-07 20:51:12 -06:00
crobibero
68e5a95fdb Fix redirection 2020-09-07 19:10:14 -06:00
crobibero
14de45602b fix play command route 2020-09-07 18:59:55 -06:00
crobibero
af2186ab83 add back optional for route param 2020-09-07 18:50:09 -06:00
crobibero
6d3e15dc31 fix attribute spacing 2020-09-07 18:46:14 -06:00
crobibero
7294dc103f Fix api routes 2020-09-07 18:45:06 -06:00
Anthony Lavado
cd40688584 Merge pull request #4076 from Bond-009/warn29
Fix some warnings
2020-09-07 19:41:58 -04:00
Anthony Lavado
d08ddbb8d2 Merge pull request #4013 from crobibero/dynamic-cors
Allow CORS domains to be configured
2020-09-07 19:41:45 -04:00
Anthony Lavado
f43f72e6ce Merge pull request #4078 from Bond-009/minor3
Minor improvements
2020-09-07 19:40:07 -04:00
Anthony Lavado
cc6b03296a Merge pull request #3899 from crobibero/plugin-install
Install specific plugin version if requested
2020-09-07 19:39:55 -04:00
Anthony Lavado
3aee338066 Merge pull request #4073 from Bond-009/useafterdispose
Fix ObjectDisposedException
2020-09-07 19:39:42 -04:00
Anthony Lavado
1b2f00715a Merge pull request #4071 from Bond-009/sln
Fix sln file
2020-09-07 19:39:17 -04:00
crobibero
afc8a307c7 Add missing FromRoute, Required attribute 2020-09-07 17:17:26 -06:00
Bond-009
69d453e900 Merge pull request #4057 from crobibero/startup-complete
Add flag for startup completed
2020-09-07 21:55:17 +00:00
BaronGreenback
ed9021f40b Update PlayToManager.cs 2020-09-07 21:43:48 +01:00
crobibero
a2e90170da Use existing configuration manager 2020-09-07 14:21:30 -06:00
crobibero
7de0fcfc94 Merge remote-tracking branch 'upstream/master' into startup-complete 2020-09-07 14:07:15 -06:00
Bond-009
386ffd1b65 Merge pull request #4079 from jellyfin/dependabot/nuget/SQLitePCLRaw.bundle_e_sqlite3-2.0.4
Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.3 to 2.0.4
2020-09-07 20:03:49 +00:00
Bond-009
a88a4164d7 Merge pull request #4067 from barronpm/displaypreferences-fixes
DisplayPreferences fixes
2020-09-07 20:00:30 +00:00
Bond-009
c585af3177 Merge pull request #4063 from BaronGreenback/FilestreamResponse
Our of Memory fix when streaming large files
2020-09-07 20:00:23 +00:00
Cromefire_
95265288a6 More expressive name for the VideoStream API 2020-09-07 21:46:19 +02:00
linzack
23f6616e63 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-09-07 11:34:39 -04:00
linzack
b711e78fe2 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-09-07 11:28:54 -04:00
linzack
5751d4765a Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-09-07 11:25:41 -04:00
BaronGreenback
d4004bcaf5 Merge pull request #62 from jellyfin/master
Updating from master
2020-09-07 13:40:40 +01:00
Bond-009
c750632cfc Merge pull request #4065 from BaronGreenback/dlna_serverfix
Bug Fix : DLNA Server advertising
2020-09-07 12:36:03 +00:00
Bond-009
1894239fee Merge pull request #4077 from BaronGreenback/simplified_advertising
Simplified Code: Removed code which was never used.
2020-09-07 12:16:08 +00:00
Bond-009
106949f828 Merge pull request #4075 from BaronGreenback/simplified_dlnamanager
Simplified Code: Removed code which was never used.
2020-09-07 12:15:51 +00:00
Bond-009
4c2d2af569 Merge pull request #4074 from cvium/fix_tmdb_null
Fix null exception in tmdb episode provider
2020-09-07 12:13:19 +00:00
dependabot[bot]
37a8be5db2 Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.3 to 2.0.4
Bumps [SQLitePCLRaw.bundle_e_sqlite3](https://github.com/ericsink/SQLitePCL.raw) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases)
- [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.0.3...v2.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 12:02:16 +00:00
Bond_009
5d9e2903d2 Minor improvements 2020-09-07 13:31:05 +02:00
BaronGreenback
a2687fac5e Merge branch 'master' into simplified_dlnamanager 2020-09-07 12:29:31 +01:00
BaronGreenback
cf87b3afb7 Remove excess code. 2020-09-07 12:28:48 +01:00
BaronGreenback
03d8f6f43b Update DlnaManager.cs
removed space.
2020-09-07 12:27:55 +01:00
BaronGreenback
b673f5bcde Update DlnaManager.cs 2020-09-07 12:27:26 +01:00
Bond-009
bf2dc0cfeb Merge pull request #4061 from BaronGreenback/#4060
Fix for #4060
2020-09-07 11:21:06 +00:00
Bond_009
384ab39f5b Fix some warnings 2020-09-07 13:20:39 +02:00
BaronGreenback
eedb520af1 Removed code that wasn't used. 2020-09-07 12:14:02 +01:00
BaronGreenback
6a5df73151 Update DlnaManager.cs
Changed function name to IsRegexOrSubstringMatch
2020-09-07 12:09:15 +01:00
BaronGreenback
12d0f29dea Update Emby.Dlna/DlnaManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-09-07 12:07:57 +01:00
BaronGreenback
268af7dac3 Merge pull request #60 from jellyfin/master
Updating to JF/master
2020-09-07 11:59:37 +01:00
cvium
57db856fd8 Fix null exception in other tmdb providers 2020-09-07 12:42:41 +02:00
cvium
f85ab53bd9 Fix null exception in tmdb episode provider 2020-09-07 12:39:16 +02:00
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
```
2020-09-07 12:22:33 +02:00
crobibero
eab92a0b01 Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-06 14:34:31 -06:00
crobibero
26c432b564 Rename StartupCompleted to StartupWizardCompleted 2020-09-06 14:27:31 -06:00
Bond-009
99bbbea9e2 Merge pull request #4069 from crobibero/api-route-required
Make all FromRoute required
2020-09-06 21:31:08 +02:00
crobibero
29fc882037 merge all attributes 2020-09-06 09:07:27 -06:00
crobibero
6ffffa95a7 Use jar directly 2020-09-06 08:26:36 -06:00
Bond_009
b99446f27a Fix sln file 2020-09-06 13:35:22 +02:00
crobibero
320e3b98ab Add ci task to publish api client 2020-09-05 23:32:21 -06:00
crobibero
db9bcdcdc9 Use proper StartupCompleted flag 2020-09-05 18:48:19 -06:00
crobibero
b64108923a Add missing references 2020-09-05 17:11:44 -06:00
crobibero
59d47ec3f5 Make all FromRoute required 2020-09-05 17:07:25 -06:00
Patrick Barron
8a15ad160b Fix plugin events not being called and clean up InstallationManager.cs 2020-09-05 18:58:16 -04:00
Patrick Barron
46c705b545 Generate migration for display preferences fix. 2020-09-05 18:11:03 -04:00
Patrick Barron
db46a9e7c8 Clean up JellyfinDb and fix display preferences index. 2020-09-05 17:54:34 -04:00
BaronGreenback
15e064cb73 Update StreamingHelpers.cs 2020-09-05 22:09:21 +01:00
BaronGreenback
babdd30a46 Renamed IsRegExMatch to IsPropertyMatch 2020-09-05 21:49:30 +01:00
BaronGreenback
f7a56f70c6 Update StreamingHelpers.cs 2020-09-05 21:31:23 +01:00
BaronGreenback
3c13489cb9 Update StreamingHelpers.cs 2020-09-05 21:31:05 +01:00
BaronGreenback
ebad504f3b Fixed profile 2020-09-05 21:25:47 +01:00
BaronGreenback
0f6ea123ea Update ApplicationHost.cs 2020-09-05 20:55:42 +01:00
BaronGreenback
8439860b2a Merge branch 'master' into Plugins 2020-09-05 20:49:04 +01:00
BaronGreenback
25e965b85c Update FileStreamResponseHelpers.cs 2020-09-05 20:33:18 +01:00
Bond-009
9cffa66a01 Merge pull request #4062 from BaronGreenback/#4059
Fix for #4059
2020-09-05 21:26:55 +02:00
BaronGreenback
e33824d286 Changed to named tuples 2020-09-05 20:20:15 +01:00
BaronGreenback
d3e8834e80 Removed memoryStream 2020-09-05 20:03:21 +01:00
crobibero
342de39d78 Move CorsPolicyProvider to Jellyfin.Server.Configuration 2020-09-05 13:02:53 -06:00
BaronGreenback
ac7636ea1e added dlnaheaders
fix for #4059
2020-09-05 19:54:48 +01:00
BaronGreenback
e3fdea2ec9 Update DlnaManager.cs
Fix for #4060
2020-09-05 19:48:37 +01:00
crobibero
9a74ace84b Add flag for startup completed 2020-09-05 09:20:58 -06:00
crobibero
527ffaa90c clean docs 2020-09-05 09:12:50 -06:00
crobibero
2c05d53b06 Convert to ICorsPolicyProvider 2020-09-05 09:10:05 -06:00
crobibero
8a08111adc Merge remote-tracking branch 'upstream/master' into dynamic-cors 2020-09-05 09:00:55 -06:00
Bond-009
6d154041b9 Merge pull request #3880 from DirtyRacer1337/datetime
Fix year parsing
2020-09-05 16:09:05 +02:00
Bond-009
573f4af32e Merge pull request #4051 from crobibero/mad-stylez
Replace swagger logo with jellyfin logo
2020-09-05 15:46:16 +02:00
Bond-009
43e360ab7f Merge pull request #4054 from lmaonator/fix_tvdb_absolute_order
Fix TVDB plugin not handling absolute display order
2020-09-05 15:45:56 +02:00
Bond-009
e6c22a9707 Merge pull request #4034 from barronpm/jellyfin-data-warnings
Fix all warnings in Jellyfin.Data
2020-09-05 14:37:36 +02:00
Bond-009
1f431323f3 Merge pull request #4046 from jellyfin/EraYaN-ci-publish-openapi-spec
Enable code coverage and upload OpenAPI spec.
2020-09-05 14:36:50 +02:00
Bond-009
4500452674 Merge pull request #4055 from Ullmie02/seeking
Enable HTTP Range Processing (Fix seeking)
2020-09-05 11:55:17 +02:00
David
4836f14aff Enable HTTP Range Processing 2020-09-05 10:38:16 +02:00
lmaonator
76172f76d9 Fix TVDB plugin not handling absolute display order 2020-09-05 02:34:57 +02:00
crobibero
d5eb246557 Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-04 16:42:40 -06:00
Anthony Lavado
d8c6d29182 Merge pull request #4053 from thornbill/fix-aac-mime-type
Fix aac mime-type
2020-09-04 18:39:04 -04:00
Anthony Lavado
6152d40303 Merge pull request #4030 from crobibero/http-client-migrate
Remove IHttpClient
2020-09-04 18:38:39 -04:00
Bill Thornton
b065f5db1d Fix aac mime-type 2020-09-04 17:41:31 -04:00
crobibero
becd3b1542 Merge remote-tracking branch 'upstream/master' into mad-stylez 2020-09-04 08:49:06 -06:00
Joshua M. Boniface
376e4793e6 Merge pull request #4035 from crobibero/api-doc-base-url
Fix apidoc routes with base url
2020-09-04 10:30:13 -04:00
crobibero
23df4991b6 Use proper buffer size 2020-09-04 08:24:21 -06:00
crobibero
2a8653b309 Merge remote-tracking branch 'upstream/master' into http-client-migrate 2020-09-04 08:16:49 -06:00
Joshua M. Boniface
559a7fc336 Merge pull request #3442 from nyanmisaka/tonemap
Tonemapping function relying on OpenCL filter and NVENC HEVC decoder
2020-09-04 10:06:15 -04:00
crobibero
021e218f75 Remove MvcRoutePrefix 2020-09-04 07:58:27 -06:00
crobibero
9f97c47936 Merge remote-tracking branch 'upstream/master' into api-doc-base-url 2020-09-04 07:57:59 -06:00
Joshua M. Boniface
945be64ad6 Merge pull request #4048 from crobibero/xml-docs
Remove GenerateDocumentationFile
2020-09-04 09:35:45 -04:00
crobibero
583f47ea28 Remove GenerateDocumentationFile 2020-09-04 07:04:06 -06:00
Bond-009
7a03e6d2c6 Merge pull request #3946 from crobibero/output-formatters
Clean up output formatters
2020-09-04 13:15:16 +02:00
Bond-009
5e76d5fd56 Merge pull request #3879 from cvium/fix_theme_songs
Populate ThemeVideoIds and ThemeSongIds
2020-09-04 13:13:39 +02:00
Claus Vium
81c764e87f Merge branch 'master' into output-formatters 2020-09-04 11:44:15 +02:00
crobibero
3be12a9d38 replace swagger logo 2020-09-03 21:39:50 -06:00
Bond-009
250216cc53 Merge pull request #4047 from crobibero/health-2.0
Use efcore library for health check
2020-09-04 02:24:26 +02:00
crobibero
c404660f67 Remove double listener 2020-09-03 18:19:27 -06:00
crobibero
ca6dfd7c45 move metrics to end of pipeline 2020-09-03 17:14:50 -06:00
crobibero
4e52fe1060 Wrap application in baseurl 2020-09-03 17:11:12 -06:00
crobibero
7504f067ef fix merge 2020-09-03 16:19:03 -06:00
crobibero
21a5692626 Merge remote-tracking branch 'upstream/master' into api-doc-base-url 2020-09-03 16:18:36 -06:00
Erwin de Haan
1c71ddc426 Merge MediaBrowser.Api.Tests into Jellyfin.Api.Tests 2020-09-03 23:13:46 +02:00
Erwin de Haan
7ced6d1c8c Enable code coverage and upload OpenAPI spec.
Add basic test to write out the actual openapi spec.
2020-09-03 22:44:31 +02:00
Vijay Raghav
1cbe4896e2 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-09-03 15:58:15 -04:00
crobibero
4fc611bf29 fix merge 2020-09-03 13:50:02 -06:00
crobibero
a26063f775 fix merge 2020-09-03 13:48:48 -06:00
crobibero
eb2dcbddc0 Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-03 13:47:00 -06:00
crobibero
4df47dea47 Use efcore library for health check 2020-09-03 13:44:49 -06:00
Anthony Lavado
f02bcd9cf8 Merge pull request #3849 from barronpm/scoped-displaypreferences
Make DisplayPreferencesManager Scoped
2020-09-03 15:23:49 -04:00
Patrick Barron
d814302707 Merge branch 'master' into scoped-displaypreferences 2020-09-03 15:15:43 -04:00
Nyanmisaka
4cb0a57e46 Merge branch 'master' into tonemap 2020-09-04 02:55:57 +08:00
Joshua M. Boniface
53703566b5 Merge pull request #4008 from crobibero/publish-with-docs
Include xml docs when publishing
2020-09-03 14:46:35 -04:00
Joshua M. Boniface
52aea85e7f Merge pull request #4031 from Bond-009/warn28
Fix some warnings
2020-09-03 14:40:29 -04:00
Bond-009
9cbc016b0a Merge pull request #3877 from orryverducci/deinterlace-improvements
Deinterlacing improvements
2020-09-03 20:38:54 +02:00
Bond-009
7582e17377 Merge pull request #3907 from crobibero/dlna
Fix DLNA Routes
2020-09-03 20:38:09 +02:00
Bond-009
388fe236c5 Merge pull request #3932 from crobibero/api-doc-css
Add support for custom api-doc css
2020-09-03 20:37:54 +02:00
Bond-009
42f22a8e55 Merge pull request #3976 from nyanmisaka/muxer
Expose max_muxing_queue_size to user
2020-09-03 20:36:17 +02:00
crobibero
1d3303fa0a Move json profiles to constant strings. 2020-09-03 12:15:24 -06:00
crobibero
a523ff840c Merge remote-tracking branch 'upstream/master' into output-formatters 2020-09-03 12:14:11 -06:00
josteinh
22ac6b9a48 Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2020-09-03 12:40:22 -04:00
josteinh
a013d3f4f8 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-09-03 12:40:22 -04:00
crobibero
82f30a35db Merge remote-tracking branch 'upstream/master' into http-client-migrate 2020-09-03 10:40:08 -06:00
crobibero
b035a642d2 Merge remote-tracking branch 'upstream/master' into plugin-install 2020-09-03 10:37:35 -06:00
crobibero
1be84e8873 Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-03 10:37:05 -06:00
Bond-009
645db0524f Merge pull request #4045 from crobibero/health
Add db health check
2020-09-03 18:34:25 +02:00
Patrick Barron
15135dc3b8 Merge branch 'master' into jellyfin-data-warnings 2020-09-03 15:57:16 +00:00
crobibero
99b2bc8e06 ? 2020-09-03 09:49:08 -06:00
crobibero
12c3039185 Merge remote-tracking branch 'upstream/master' into health 2020-09-03 09:48:19 -06:00
Anthony Lavado
0712a7ef11 Merge pull request #3886 from crobibero/3.1.7
bump deps
2020-09-03 11:47:13 -04:00
crobibero
5ad81f7fe6 Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-09-03 09:29:07 -06:00
crobibero
d6594a8a70 Add db health check 2020-09-03 09:26:22 -06:00
crobibero
bebb0afb52 Merge remote-tracking branch 'upstream/master' into api-doc-css 2020-09-03 08:06:40 -06:00
crobibero
1de22af646 Merge remote-tracking branch 'upstream/master' into dynamic-cors 2020-09-03 07:48:34 -06:00
Anthony Lavado
3711a1978e Merge pull request #3874 from danieladov/master
Fix MergeVersions()
2020-09-03 09:47:19 -04:00
crobibero
fb422ff741 Merge remote-tracking branch 'upstream/master' into http-client-migrate 2020-09-03 07:46:52 -06:00
Anthony Lavado
a2d6ea2eed Merge pull request #4043 from cvium/remove_shit_and_shit_adjacent_shit
Split HttpListenerHost into middlewares
2020-09-03 09:45:17 -04:00
crobibero
ae8ff1ca54 last time I swear 2020-09-03 07:30:34 -06:00
crobibero
4d4dc0b555 Remove ResponseHeadersRead in SchedulesDirect 2020-09-03 07:22:32 -06:00
crobibero
d8a0edc511 Revert "Remove ResponseHeadersRead where applicable"
This reverts commit 85844a84b6.
2020-09-03 07:20:33 -06:00
Claus Vium
2f9b482555 Merge branch 'master' into master 2020-09-03 14:54:00 +02:00
Claus Vium
abc527329d Sort by SortName after scanning 2020-09-03 14:49:02 +02:00
crobibero
85844a84b6 Remove ResponseHeadersRead where applicable 2020-09-03 06:48:19 -06:00
crobibero
9c6d0117b5 Add missing image return types 2020-09-03 06:42:56 -06:00
Claus Vium
993c46f98d Remove custom CORS OPTIONS handling 2020-09-03 14:05:16 +02:00
Bond-009
8c28824c88 Merge pull request #4042 from jellyfin/ci-packaging-fixes
Fixes for CI Nuget package pushing and CI triggers
2020-09-03 12:56:04 +02:00
Claus Vium
2f79c3095b Fix startup message 2020-09-03 11:54:38 +02:00
Claus Vium
571d0570f5 Kill HttpListenerHost 2020-09-03 11:32:22 +02:00
Claus Vium
6ff372a550 Add Https port to service collection 2020-09-03 00:38:52 +02:00
Claus Vium
5813f8073c Move HttpListenerHost middleware up the pipeline 2020-09-03 00:32:56 +02:00
Bond-009
52b34eb407 Merge pull request #4039 from cvium/remove_shit_and_shit_adjacent_shit
Remove ServiceStack and related stuff
2020-09-02 23:18:32 +02:00
crobibero
932c4d25a4 Clean api return types 2020-09-02 15:06:13 -06:00
Erwin de Haan
424f53c966 Only trigger on v* tags and also run Main build on master commits. 2020-09-02 22:54:24 +02:00
Erwin de Haan
3a649fa45b Add SourceLink to Jellyfin.Data 2020-09-02 22:46:18 +02:00
Erwin de Haan
346581bb2a Fixes for CI Nuget package pushing and CI triggers
Also adds SourceLink support and symbols that are pushed to Nuget.
Add symbols to main nuget packages for unstable builds (Azure Artifacts does not support symbols outside of the main package)
SourceLink will enable stepping during debugging.
2020-09-02 22:42:00 +02:00
Joshua M. Boniface
dcef8636d5 Merge pull request #3863 from jellyfin/EraYaN-artifacts-nohup
Add nohup and continueOnError to the Collect Artifacts task
2020-09-02 15:43:41 -04:00
Anthony Lavado
f6622c835f Merge pull request #4041 from jellyfin/path-itemlookupinfo
Add the item path to the ItemLookupInfo class
2020-09-02 15:05:31 -04:00
Airichan
59597b6c7f Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2020-09-02 14:51:51 -04:00
Sverre
9383ae6061 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-09-02 14:51:50 -04:00
Erwin de Haan
208b00fbb1 Add the item path to the ItemLookupInfo class.
This is important for the Shoko Anime Meatdata provider plugin.
2020-09-02 20:11:31 +02:00
crobibero
a698dab66f Specify image file return for GetItemImage2 2020-09-02 11:14:59 -06:00
Airichan
191f109da9 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2020-09-02 13:07:44 -04:00
crobibero
1feee6f95e Properly host static files and set base url 2020-09-02 08:03:15 -06:00
Claus Vium
b9cd6a125b Update MediaBrowser.Common/Extensions/HttpContextExtensions.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-02 15:27:54 +02:00
Claus Vium
38be506849 Fix xml doc 2020-09-02 13:29:20 +02:00
Claus Vium
12710cdf42 More fixes 2020-09-02 13:06:14 +02:00
Claus Vium
bde8c00306 Don't call tostring twice 2020-09-02 12:49:48 +02:00
Claus Vium
e337756428 Remove ServiceStack and related stuff 2020-09-02 12:22:14 +02:00
crobibero
ec2a5e4fb0 Simplify file returns 2020-09-01 19:27:57 -06:00
crobibero
65d05f92ac Merge remote-tracking branch 'upstream/master' into dynamic-cors 2020-09-01 18:27:55 -06:00
crobibero
f443c534bf Merge remote-tracking branch 'upstream/master' into package-install-repo 2020-09-01 18:24:42 -06:00
crobibero
c473645f9d Set openapi schema type to file where possible 2020-09-01 17:31:31 -06:00
crobibero
c98952937e Fix ValidatePath response code 2020-09-01 17:29:08 -06:00
crobibero
2f33bee2a9 Set openapi schema type to file where possible 2020-09-01 17:26:49 -06:00
Bond-009
506fc7cbae Merge pull request #4033 from crobibero/empty-string-nullable-number
Readd nullable number converters
2020-09-01 21:41:46 +02:00
crobibero
b398c35068 use UserAgent.ParseAdd where possible 2020-09-01 13:16:19 -06:00
crobibero
0b38ac9a8a Fix apidoc routes with base url 2020-09-01 12:53:19 -06:00
Nyanmisaka
12dcd809f9 minor changes
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-09-01 23:53:59 +08:00
crobibero
9ddf550b43 Simplify json converters 2020-09-01 09:42:59 -06:00
Nyanmisaka
5c83dbd0c4 update as per suggestions 2020-09-01 23:39:19 +08:00
Patrick Barron
602e746af0 Treat all warnings as errors in Jellyfin.Data 2020-09-01 11:38:53 -04:00
Patrick Barron
a5f75a2d1a Rename Metadata to ItemMetadata 2020-09-01 11:38:09 -04:00
Patrick Barron
1f2e7e47ce Suppress CA2227 2020-09-01 11:36:45 -04:00
Patrick Barron
70b87a3e72 Add periods to documentation in CollectionItem.cs 2020-09-01 11:30:37 -04:00
crobibero
471e760057 remove unused declaration 2020-09-01 09:20:32 -06:00
crobibero
eb400f7292 Fallback to base jsonconverter 2020-09-01 09:19:22 -06:00
Patrick Barron
cab45db228 Include shared version in Jellyfin.Data 2020-09-01 11:17:46 -04:00
Patrick Barron
d0f07d7ddd Clean up Group.cs 2020-09-01 11:16:09 -04:00
Patrick Barron
b24221b40f Clean up ActivityLog.cs 2020-09-01 11:12:31 -04:00
Patrick Barron
732ec7a462 Clean up User.cs 2020-09-01 11:09:08 -04:00
Patrick Barron
e56e2632d1 Clean up Preference.cs 2020-09-01 11:05:21 -04:00
Patrick Barron
617df5e0e6 Clean up and document Permission.cs 2020-09-01 11:04:32 -04:00
Patrick Barron
4a05943327 Document ItemDisplayPreferences.cs 2020-09-01 11:02:57 -04:00
crobibero
1f2d73af8e Only handle empty string or null case 2020-09-01 08:52:50 -06:00
crobibero
9b2359a453 readd nullable number converters 2020-09-01 08:12:36 -06:00
crobibero
b111b9e2c9 Fix styling 2020-09-01 07:58:05 -06:00
crobibero
39041019e7 Remove CacheMode, CompressionMethods, HttpResponseInfo 2020-09-01 07:53:57 -06:00
crobibero
e1d0b430d9 Remove HttpRequestOptions 2020-09-01 07:51:55 -06:00
crobibero
4038d15c83 Properly migrate all HttpCompletionOption 2020-09-01 07:51:06 -06:00
Patrick Barron
0fc1810c41 Document ImageInfo.cs 2020-09-01 09:35:12 -04:00
Patrick Barron
81d03383e3 Delete ProviderMapping.cs 2020-09-01 09:31:45 -04:00
fernando012
2d198292a3 Translated using Weblate (Spanish (Dominican Republic))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_DO/
2020-09-01 00:18:27 -04:00
Patrick Barron
b1b2d399f8 Document UnratedItem.cs 2020-08-31 23:21:05 -04:00
Patrick Barron
65bce98ec5 Document SubtitlePlaybackMode.cs 2020-08-31 23:17:33 -04:00
Patrick Barron
0110b2472d Document PersonRoleType.cs 2020-08-31 23:15:13 -04:00
Patrick Barron
a1aece1299 Document MediaFileKind.cs 2020-08-31 23:11:58 -04:00
Patrick Barron
4e439652da Document IndexingKind.cs 2020-08-31 23:08:34 -04:00
Patrick Barron
8124e6fddf Document DynamicDayOfWeek.cs 2020-08-31 23:07:15 -04:00
Patrick Barron
367aa26ab5 Document ArtKind.cs 2020-08-31 23:04:49 -04:00
Bond-009
8ee042483a Merge pull request #2888 from ConfusedPolarBear/quickconnect
Add quick connect (login without typing password)
2020-08-31 23:01:27 +02:00
Bond_009
e653eef44f Fix some warnings 2020-08-31 22:20:19 +02:00
Anthony Lavado
43a81366a6 Merge pull request #4022 from Bond-009/arraypool
Fix incorrect usage of ArrayPool
2020-08-31 15:58:53 -04:00
crobibero
8d592777c4 change to using declaration 2020-08-31 12:46:42 -06:00
crobibero
c02d0ceb57 Add missing using 2020-08-31 12:45:23 -06:00
crobibero
f498e1ee59 remove IHttpClient 🎉 2020-08-31 12:10:49 -06:00
crobibero
6ae4da709e migrate to IHttpClientFactory in M3UTunerHost 2020-08-31 12:08:45 -06:00
crobibero
5b93b3b15e migrate to IHttpClientFactory in M3uParser 2020-08-31 12:08:37 -06:00
crobibero
af9ebef577 migrate to IHttpClientFactory in SharedHttpStream 2020-08-31 12:06:42 -06:00
crobibero
96fdee38cb migrate to IHttpClientFactory in HdHomerunHost 2020-08-31 12:03:41 -06:00
crobibero
97cc3d54bb migrate to IHttpClientFactory in XmlTvListingsProvider 2020-08-31 12:00:09 -06:00
crobibero
652e688cc1 migrate to IHttpClientFactory in SchedulesDirect 2020-08-31 11:57:11 -06:00
crobibero
50a1e35765 migrate to IHttpClientFactory in EmbyTV 2020-08-31 11:39:40 -06:00
crobibero
804b0fc034 migrate to IHttpClientFactory in DirectRecorder 2020-08-31 11:38:47 -06:00
crobibero
6d19adbecf migrate to IHttpClientFactory in ApplicationHost 2020-08-31 11:36:29 -06:00
crobibero
533b981668 migrate to IHttpClientFactory in InstallationManager 2020-08-31 11:30:05 -06:00
crobibero
8215f15c45 migrate to IHttpClientFactory in Emby.Dlna 2020-08-31 11:26:42 -06:00
crobibero
30ba35a33b Use HttpClientFactory in SubtitleEncoder 2020-08-31 11:07:40 -06:00
Bond-009
5c50d5356c Merge pull request #3935 from crobibero/default-http-client
Add Default Http Client
2020-08-31 19:07:10 +02:00
crobibero
dd078e7b82 use named client 2020-08-31 11:05:21 -06:00
crobibero
95402df884 Merge remote-tracking branch 'upstream/master' into default-http-client 2020-08-31 10:32:28 -06:00
Bond-009
95142643f6 Merge pull request #3871 from Ullmie02/plugins-api
Allow plugins to define their own api endpoints
2020-08-31 18:28:11 +02:00
David Ullmer
b37cc7bfaf Don't evaluate twice 2020-08-31 18:03:13 +02:00
David Ullmer
7f79f2ee0e Use .Distinct on assembly 2020-08-31 17:53:55 +02:00
crobibero
e48df7da5e Only create product header once 2020-08-31 09:15:20 -06:00
crobibero
808d180be4 Fix user agent comment 2020-08-31 08:52:21 -06:00
crobibero
64a811d783 use named http clients 2020-08-31 08:47:38 -06:00
David Ullmer
2a84d5a693 Enable nullable for interface 2020-08-31 16:35:37 +02:00
David Ullmer
b7c07f6821 Merge branch 'master' into library-pictures 2020-08-31 16:16:01 +02:00
crobibero
b216b91e21 Bump Microsoft.NET.Test.Sdk and add missing reference 2020-08-31 08:14:22 -06:00
crobibero
5d528e202f Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-31 08:10:15 -06:00
Bond-009
4cc7406fe9 Merge pull request #4026 from jellyfin/dependabot/nuget/prometheus-net.DotNetRuntime-3.4.0
Bump prometheus-net.DotNetRuntime from 3.3.1 to 3.4.0
2020-08-31 16:05:55 +02:00
Bond-009
5286bc251a Merge pull request #4024 from jellyfin/dependabot/nuget/IPNetwork2-2.5.224
Bump IPNetwork2 from 2.5.211 to 2.5.224
2020-08-31 16:05:26 +02:00
Bond-009
1b1de4026d Merge pull request #4028 from crobibero/cache-duration
Properly verify cache duration
2020-08-31 16:04:04 +02:00
crobibero
bd66fd25df Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-31 08:00:05 -06:00
Bond-009
1f4deccfa4 Merge pull request #4027 from cvium/fix_update_libraryoptions
Fix model binding in UpdateLibraryOptions
2020-08-31 15:44:47 +02:00
crobibero
db99903c35 Properly verify cache duration 2020-08-31 07:24:23 -06:00
crobibero
e97ccd87fb Remove DynamicCorsMiddleware 2020-08-31 07:21:07 -06:00
Claus Vium
7103e764a4 Fix model binding in UpdateLibraryOptions 2020-08-31 14:47:57 +02:00
dependabot[bot]
5804f9a55f Bump prometheus-net.DotNetRuntime from 3.3.1 to 3.4.0
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases)
- [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/3.3.1...3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-31 12:02:24 +00:00
dependabot[bot]
5d557927b5 Bump IPNetwork2 from 2.5.211 to 2.5.224
Bumps [IPNetwork2](https://github.com/lduchosal/ipnetwork) from 2.5.211 to 2.5.224.
- [Release notes](https://github.com/lduchosal/ipnetwork/releases)
- [Commits](https://github.com/lduchosal/ipnetwork/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-31 12:02:07 +00:00
Bond-009
b6cc1e1620 Merge pull request #4010 from cromefire/patch-3
Fix wrong OpenAPI auth header value
2020-08-31 11:22:22 +02:00
Bond-009
32f8b46040 Fix incorrect usage of ArrayPool 2020-08-31 11:09:41 +02:00
Bond-009
9a2f2aac22 Merge pull request #4018 from barronpm/library-entity-cleanup
Library Entity Cleanup
2020-08-31 11:00:28 +02:00
Patrick Barron
acb213e4b8 First pass at cleaning entity classes.
- Documents all library entities
- Fixes styling warnings for library entities
- Updates library entities to inherit from interfaces
- Makes library entites no longer partial.
2020-08-30 18:51:31 -04:00
Patrick Barron
414bedbde4 Move library entities to folder. 2020-08-30 18:51:28 -04:00
Joshua M. Boniface
ed756dfe96 Merge pull request #3999 from PrplHaz4/patch-3
[Permissions] Fix for individual channel plugins #2858
2020-08-30 16:04:16 -04:00
crobibero
eba0d9e387 Always allow set credentials header 2020-08-30 10:05:21 -06:00
crobibero
3c0484cc97 Allow for dynamic cors response 2020-08-30 09:32:14 -06:00
Cromefire_
3453b65444 Fixed wrong openapi auth header value 2020-08-30 00:44:33 +02:00
crobibero
44fb76bbcf include xml docs when publishing 2020-08-29 10:42:12 -06:00
Cromefire_
20b1f985f0 Added JELLYFIN_ADDITIONAL_OPTS to default file 2020-08-28 21:24:21 +02:00
Cromefire_
c0a8118c51 Added additional opts to service file 2020-08-28 21:19:42 +02:00
Joshua M. Boniface
0424d09b8d Merge pull request #4001 from brianjmurrell/patch-1
Add an empty %files section to main package

(cherry picked from commit c3ef1f56f6)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
2020-08-28 10:46:21 -04:00
Hilman Maulana
b0a8c31e0f Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-08-28 02:24:38 -04:00
Bond-009
521027b2c0 Merge pull request #4002 from crobibero/partial-access
Fix partial library and channel access
2020-08-27 18:09:25 +02:00
crobibero
ec8967b8e6 Fix partial library and channel access 2020-08-27 10:00:06 -06:00
PrplHaz4
34219e2831 Fix permissions for individual channel plugins #2858
Without this change, the only Channel (plugin, not Live TV) permission that works is "Enable All Channels".

Fixes #2858
2020-08-27 10:12:32 -04:00
Kraisorn Thongsuk
ba7bdbc494 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2020-08-27 03:54:08 -04:00
Matt Montgomery
df0d197dc8 Apply suggestions from code review 2020-08-26 15:24:24 -05:00
Anthony Lavado
8510333bcc Merge pull request #3983 from Bond-009/useragent
Fix incorrect adding of user agent
2020-08-26 13:00:51 -04:00
Bond-009
4f6c98b325 Merge pull request #3984 from crobibero/json-prerelease
Use Prerelease System.Text.Json
2020-08-26 18:59:46 +02:00
Matt Montgomery
2974a0248a Merge remote-tracking branch 'upstream/master' into quickconnect 2020-08-26 10:29:37 -05:00
crobibero
de4cfa2234 Apply suggestions from code review 2020-08-26 08:45:59 -06:00
crobibero
78ae86b86a Apply suggestions from code review 2020-08-26 08:23:35 -06:00
crobibero
8b96881aa1 Clean up json Converters 2020-08-26 08:22:48 -06:00
Joshua M. Boniface
4e3f26b647 Merge pull request #3988 from crobibero/pack-license
Use proper SPDX Identifier
2020-08-26 09:46:41 -04:00
crobibero
b02650ec2f use proper spdx 2020-08-26 07:39:01 -06:00
crobibero
4e175adf49 revert rename 2020-08-26 07:37:17 -06:00
crobibero
5f60da29c7 switch to spdx 2020-08-26 07:36:57 -06:00
crobibero
670c41ee89 Properly pack project license 2020-08-25 21:33:19 -06:00
crobibero
582c016d3b bump to preview8 and remove extra references 2020-08-25 21:19:55 -06:00
Joshua M. Boniface
e83f6d6ec7 Merge pull request #3889 from Ullmie02/nuget-versioning
Build Unstable NuGet packages
2020-08-25 17:08:06 -04:00
Joshua M. Boniface
cf6ef9958d Merge pull request #3910 from barronpm/event-rewrite-1
Event Rewrite (Part 1)
2020-08-25 16:59:35 -04:00
crobibero
acd88dae45 fix build 2020-08-25 08:11:50 -06:00
crobibero
5f64ab02a0 bump System.Text.Json 2020-08-25 07:33:58 -06:00
Bond-009
5be87753d6 Fix incorrect adding of user agent 2020-08-25 13:03:07 +02:00
David
bcdae0c5a7 Use array, remove VS code line 2020-08-25 10:08:05 +02:00
Bond-009
25be1a9b20 Merge pull request #3977 from barronpm/librarycontroller-getdownload-async
Make LibraryController.GetDownload async
2020-08-25 08:41:42 +02:00
Patrick Barron
b5bbbb9cef Document SubtitleDownloadFailureEventArgs 2020-08-24 20:34:53 -04:00
Patrick Barron
2eb9a3670b Document PlaybackStartEventArgs 2020-08-24 20:34:42 -04:00
Patrick Barron
71c33d09c4 Document IEventConsumer 2020-08-24 20:34:33 -04:00
Patrick Barron
fa8892fde4 Make LibraryController.GetDownload async 2020-08-24 20:27:10 -04:00
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
2020-08-24 20:04:13 -04:00
nyanmisaka
d7caf88df6 expose max_muxing_queue_size to user 2020-08-25 02:20:46 +08:00
Bond-009
ec3104d2d2 Merge pull request #3975 from nyanmisaka/muxer
Increase the max muxing queue size for ffmpeg
2020-08-24 19:32:38 +02:00
nyanmisaka
6462ca0036 increase the max muxing queue size for ffmpeg 2020-08-24 22:54:14 +08:00
crobibero
9626101c9f Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-24 07:39:16 -06:00
Bond-009
7ce21d436b Merge pull request #3961 from crobibero/api-json-null
Ignore null json values
2020-08-23 16:27:24 +02:00
crobibero
cb44f16068 Merge remote-tracking branch 'upstream/master' into output-formatters 2020-08-23 07:53:33 -06:00
crobibero
340f83c3f5 Ignore null json values 2020-08-23 07:48:12 -06:00
Joshua M. Boniface
f9bb79285b Merge pull request #3959 from Bond-009/warn27
Enable TreatWarningsAsErrors for Emby.Data in Release
2020-08-22 23:50:52 -04:00
Joshua M. Boniface
3a99a4770c Merge pull request #3958 from Bond-009/warn26
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
2020-08-22 23:50:43 -04:00
Hilman Maulana
e88b7b8d0e Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-08-22 18:45:59 -04:00
Bond_009
c4d8275fc1 Fix duplicate 2020-08-23 00:26:32 +02:00
Bond_009
4243a17c86 Enable TreatWarningsAsErrors for Emby.Data in Release 2020-08-22 23:29:54 +02:00
Bond_009
5ec1a979b2 Remove extra newline 2020-08-22 21:57:28 +02:00
Bond_009
404bb4f835 Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
David
9165dc3b3a Scale down text if too long 2020-08-22 14:31:28 +02:00
Bond-009
92c491397e Merge pull request #3941 from crobibero/no-more-form
Conver all remaining form request to body
2020-08-22 13:06:12 +02:00
Joshua M. Boniface
3e65cae70e Merge pull request #3955 from Bond-009/async3
Make some methods async
2020-08-21 18:03:07 -04:00
Bond-009
4d64041a92 Merge pull request #3951 from crobibero/json-nullable-number
Add nullable int32, int64 json converters
2020-08-21 23:42:47 +02:00
Bond-009
1073d41c4d Merge pull request #3950 from crobibero/dlna-play-to
Fix dlna play to
2020-08-21 23:42:40 +02:00
Bond_009
4916bfb024 Address comment 2020-08-21 22:59:47 +02:00
crobibero
33f6e410ac Merge remote-tracking branch 'upstream/master' into json-nullable-number 2020-08-21 14:38:32 -06:00
crobibero
d951554779 fix copy-pasta 2020-08-21 14:37:51 -06:00
Bond-009
03c89fa717 Merge pull request #3953 from crobibero/dotnetglob
bump DotNet.Glob
2020-08-21 22:32:47 +02:00
Bond_009
2b832de289 Fix build 2020-08-21 22:19:16 +02:00
Bond_009
6329a36a27 Make method async 2020-08-21 22:06:06 +02:00
Bond_009
119f64f5e7 Make some methods async 2020-08-21 22:01:19 +02:00
Anthony Lavado
72115c91e0 Merge pull request #3943 from Bond-009/ffmpeg
Simplify FFmpeg detection code
2020-08-21 15:04:58 -04:00
David
d740e7aee6 Increase font size, center text 2020-08-21 20:36:56 +02:00
David
a3020f2917 Use backdrop with library name as library thumbnail 2020-08-21 19:53:55 +02:00
crobibero
89c9ca68f9 bump DotNet.Glob 2020-08-21 11:50:45 -06:00
crobibero
4a64819277 Fix dlna produces type 2020-08-21 11:10:29 -06:00
crobibero
384a62dc08 Add nullable int32, int64 json converters 2020-08-21 10:23:47 -06:00
crobibero
07e7125d07 Fix dlna play to 2020-08-21 07:24:44 -06:00
Anthony Lavado
cd49beb7ad Merge pull request #3947 from Bond-009/warn25
Fix all warnings in Emby.Dlna
2020-08-20 17:34:40 -04:00
Bond_009
170e434f92 Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
crobibero
2ca8d31b20 clean up output formatters 2020-08-20 11:17:27 -06:00
Anthony Lavado
ac58d07e0e Merge pull request #3939 from Bond-009/warn24
Make MediaBrowser.MediaEncoding warnings free
2020-08-20 12:50:30 -04:00
Bond-009
6292a9e4e9 Merge branch 'master' into warn24 2020-08-20 18:50:15 +02:00
Bond-009
8cbefdd561 Merge pull request #3942 from Ullmie02/dlna-warnings
Reduce warnings in Emby.Dlna
2020-08-20 18:38:38 +02:00
David
1337a0dcec Code review 2020-08-20 17:59:27 +02:00
Bond_009
301e029d42 Add unsupported ffmpeg version to tests 2020-08-20 17:45:40 +02:00
Bond_009
cb5cb075a9 Simplify FFmpeg detection code 2020-08-20 17:16:09 +02:00
David
ca2b36bdb0 Reduce warnings in Emby.Dlna 2020-08-20 17:08:33 +02:00
Nyanmisaka
05e78ee78c Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-08-20 22:53:36 +08:00
Bond-009
eda29dbccb Merge pull request #3216 from rotvel/feature/ffmpeg-version-check
Try harder at detecting ffmpeg version and enable the validation
2020-08-20 16:40:35 +02:00
Bond-009
5160e627f1 Merge branch 'master' into feature/ffmpeg-version-check 2020-08-20 16:40:03 +02:00
crobibero
d63f4bce5d Conver all remaining form request to body 2020-08-20 07:53:53 -06:00
nyanmisaka
54349fc945 fix outputSize 2020-08-20 19:08:36 +08:00
Bond_009
6123e2e848 Fix build 2020-08-20 12:24:34 +02:00
Bond_009
ab2147751f Make MediaBrowser.MediaEncoding warnings free 2020-08-20 12:16:24 +02:00
Bond-009
250e351613 Merge pull request #3938 from crobibero/fix-audio-routes
Fix conflicting audio routes
2020-08-20 10:52:28 +02:00
nyanmisaka
dd3b48f203 fix lint 2020-08-20 15:17:42 +08:00
IR0NCaT
3d84047320 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-08-20 02:30:38 -04:00
Patrick Barron
98ed90c4a2 Merge branch 'master' into event-rewrite-1 2020-08-19 18:11:17 -04:00
Anthony Lavado
660882c261 Merge pull request #3841 from Bond-009/warn23
Fix warnings
2020-08-19 17:51:46 -04:00
crobibero
11e3cdb3cb Fix conflicting audio routes 2020-08-19 15:08:28 -06:00
crobibero
abb79bf810 remove OS and email from default UserAgent 2020-08-19 13:41:00 -06:00
Bond_009
5d0a17fd42 More fixes 2020-08-19 18:57:47 +02:00
Nyanmisaka
16658c92fe fix SubtitlesOctopus 2020-08-20 00:08:44 +08:00
Bond_009
ce352e4a1d Address comments 2020-08-19 18:06:27 +02:00
Nyanmisaka
53861db451 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-08-20 00:04:55 +08:00
Bond_009
68edccd9f4 More warn 2020-08-19 18:02:34 +02:00
Bond_009
e77a45adcf Minor change 2020-08-19 17:52:14 +02:00
Bond_009
2b400c99ef Fix warnings 2020-08-19 17:50:50 +02: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
0db0e8b944 Remove unused configure 2020-08-19 06:39:29 -06:00
crobibero
c5a9e8f831 Merge remote-tracking branch 'upstream/master' into default-http-client 2020-08-19 06:37:06 -06:00
crobibero
7578dfac25 Remove unused directives 2020-08-19 06:36:10 -06:00
crobibero
076e17f355 Add default http client 2020-08-19 06:31:45 -06:00
Anthony Lavado
634ee2d1e9 Merge pull request #3861 from crobibero/fixes
API Fixes
2020-08-19 08:17:03 -04:00
Cody Robibero
3a722740ce Update Jellyfin.Api/Helpers/MediaInfoHelper.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-08-19 04:53:25 -06:00
nyanmisaka
988e76d4c7 update endpoints as AspNet controllers 2020-08-19 17:30:22 +08:00
nyanmisaka
aa75755480 Merge remote-tracking branch 'upstream/master' into fonts 2020-08-19 16:56:53 +08:00
crobibero
852213d90c resolve merge conflicts 2020-08-18 20:23:34 -06:00
crobibero
50a9c8c8a7 resolve merge conflicts 2020-08-18 20:22:15 -06:00
crobibero
b43a8fb9d3 Merge remote-tracking branch 'upstream/master' into package-install-repo 2020-08-18 20:20:32 -06:00
crobibero
1d9285c594 add support for custom doc css 2020-08-18 15:52:42 -06:00
Anthony Lavado
93fe595e5e Merge pull request #3925 from crobibero/httpclient
Remove IHttpClient from Providers
2020-08-18 14:12:28 -04:00
millallo
684d9856b1 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-08-18 10:34:00 -04:00
crobibero
b90e240af6 rename clientCapabilities 2020-08-18 07:29:39 -06:00
crobibero
287baa4965 remove unused directives 2020-08-18 07:29:12 -06:00
Hilman Maulana
9e8f0cf26d Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-08-18 09:00:57 -04:00
millallo
34be17a4e8 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-08-18 09:00:56 -04:00
Hilman Maulana
7c2e01a70b Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-08-18 06:20:50 -04:00
Mygod
8b9a380466 Add 1440p to the mix
Partially addresses #3112.
2020-08-18 01:24:24 -04:00
Patrick Barron
ee7beed804 Comment and reorder service registration. 2020-08-17 21:48:44 -04:00
Patrick Barron
6f88087fa9 Use index access instead of LINQ. 2020-08-17 21:42:59 -04:00
Matt Montgomery
1ff4f8e6c6 Get userId from claim 2020-08-17 18:55:16 -05:00
Matt Montgomery
5f1a863241 Apply suggestions from code review 2020-08-17 17:13:11 -05:00
crobibero
4ec1341c8f Fix conflicts 2020-08-17 15:54:51 -06:00
crobibero
29d8e38161 Merge remote-tracking branch 'upstream/master' into fixes 2020-08-17 15:54:40 -06:00
crobibero
be67528958 add disposal docs 2020-08-17 15:03:45 -06:00
crobibero
3a91047413 P E R F O R M A N C E 2020-08-17 14:59:00 -06:00
crobibero
9c6b4f033a revert lastordefault 2020-08-17 14:55:14 -06:00
crobibero
01ed5d5407 Fix adding accept headers 2020-08-17 13:59:29 -06:00
crobibero
898ccab222 oop 2020-08-17 13:41:16 -06:00
crobibero
767c73e5c1 fix usings 2020-08-17 13:22:42 -06:00
crobibero
1325815182 Remove IHttpClient from Providers 2020-08-17 13:10:02 -06:00
crobibero
188166d6eb Remove IHttpClient from ArtistImageProvider 2020-08-17 11:56:49 -06:00
crobibero
14f57dddcb Remove IHttpClient from AlbumImageProvider 2020-08-17 11:55:58 -06:00
crobibero
10ac32569e Remove IHttpClient from ItemImageProvider 2020-08-17 11:54:55 -06:00
crobibero
7a0fa34162 Remove IHttpClient from StudiosImageProvider 2020-08-17 11:52:09 -06:00
crobibero
2e0c2336cc Remove IHttpClient from IRemoteImageProvider 2020-08-17 11:51:53 -06:00
crobibero
f7dc124b5e Remove IHttpClient from ProviderManager 2020-08-17 11:50:07 -06:00
crobibero
aee72aefb0 Remove IHttpClient from StudiosImageProvider 2020-08-17 11:46:40 -06:00
Bond-009
d0f49b3994 Merge pull request #3895 from crobibero/httpclient
Remove IHttpClient from Jellyfin.Api
2020-08-17 10:47:45 +02:00
Matt Montgomery
c49a357f85 Fix compile errors 2020-08-16 17:45:53 -05:00
ConfusedPolarBear
eaa5711534 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-08-16 17:21:08 -05:00
Patrick Barron
a77cf53573 Allow plugins to register services. 2020-08-16 17:25:14 -04:00
Matt Montgomery
035d29fb35 Migrate to new API standard 2020-08-16 14:45:39 -05:00
Bond-009
57cc08691a Merge pull request #3908 from crobibero/xml-formatter
Use proper mediatypename
2020-08-16 21:15:05 +02:00
crobibero
21cc308ec9 Use proper mediatypename 2020-08-16 11:48:54 -06:00
crobibero
7861c72754 Revert "Fix audio stream routes"
This reverts commit 0c50015400.
2020-08-16 11:47:26 -06:00
crobibero
0c50015400 Fix audio stream routes 2020-08-16 11:34:41 -06:00
crobibero
8da646e12b Dispose httpclient response 2020-08-16 10:57:01 -06:00
crobibero
3c395814fd fix dlna routes again 2020-08-16 10:53:57 -06:00
crobibero
8ddcd12348 Remove all using for HttpClient 2020-08-16 09:47:08 -06:00
Bond-009
ec12675feb Merge pull request #3891 from barronpm/remove-unused-methods
Remove unused methods in IDtoService
2020-08-16 17:06:47 +02:00
Bond-009
357b72fb81 Merge pull request #3903 from crobibero/xml-formatter
Add xml output formatter
2020-08-16 17:03:19 +02:00
crobibero
09c8597461 inheritdoc 2020-08-16 08:40:43 -06:00
crobibero
7fe372749e fix dlna server routes 2020-08-16 08:32:13 -06:00
crobibero
7d2ad3e0fc Fix DlnaControlResponse string return 2020-08-16 08:32:03 -06:00
Patrick Barron
075ae53d83 Register new IEventConsumer services. 2020-08-15 23:27:51 -04:00
Patrick Barron
dcf97efaf8 Rename PackageInstallationFailedLogger to have more consistent naming. 2020-08-15 23:22:26 -04:00
Patrick Barron
a40064a146 Migrate ServerEventNotifier.OnPackageInstallationCancelled to IEventConsumer 2020-08-15 23:20:41 -04:00
Patrick Barron
e82dd8b70e Migrate ServerEventNotifier.OnPackageInstallationCompleted to IEventConsumer 2020-08-15 23:16:15 -04:00
Patrick Barron
25437af594 Migrate ServerEventNotifier.OnPackageInstallationFailed to IEventConsumer 2020-08-15 23:12:34 -04:00
Patrick Barron
4478945e20 Migrate ServerEventNotifier.OnPluginUninstalled to IEventConsumer 2020-08-15 23:12:01 -04:00
Patrick Barron
b7ceb40d6e Migrate ServerEventNotifier.OnPackageInstalling to IEventConsumer 2020-08-15 18:57:46 -04:00
Patrick Barron
8c9cd5f6d7 Make EventArgs documentation more consistent. 2020-08-15 18:54:00 -04:00
Patrick Barron
b2f734efd1 Gracefully handle exceptions in IEventConsumers 2020-08-15 18:36:37 -04:00
Patrick Barron
dc88e93504 Migrate ServerEventNotifier.OnHasPendingRestartChanged to IEventConsumer 2020-08-15 18:33:30 -04:00
Patrick Barron
5282a5c8c2 Migrate ServerEventNotifier.OnTaskCompleted to IEventConsumer 2020-08-15 18:16:41 -04:00
Patrick Barron
a0453a0fe6 Migrate ServerEventNotifier.OnUserUpdated to IEventConsumer 2020-08-15 18:16:20 -04:00
Patrick Barron
ee5d4b1146 Register event services 2020-08-15 15:56:56 -04:00
Patrick Barron
8b90e0205c Add EventingServiceCollectionExtensions 2020-08-15 15:56:47 -04:00
Patrick Barron
6f7d289feb Create EventManager 2020-08-15 15:55:58 -04:00
Patrick Barron
adabb4b842 Use IEventManager in SessionManager 2020-08-15 15:55:31 -04:00
Patrick Barron
816c80525a Use IEventManager in UserManager 2020-08-15 15:55:15 -04:00
Patrick Barron
d39e236dfe Migrates ServerEventNotifier.OnUserDeleted to IEventConsumer 2020-08-15 15:49:11 -04:00
Patrick Barron
93c00c1440 Rename to SessionEndedLogger 2020-08-15 13:48:12 -04:00
Oatavandi
0f85e66962 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-08-15 13:16:31 -04:00
crobibero
2d4e91c5a2 Add xml output formatter 2020-08-15 10:39:24 -06:00
Orry Verducci
396148599a Fix indentation in deinterlace if block
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-08-15 12:55:58 +01:00
Oatavandi
f505f48e85 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-08-15 07:33:14 -04:00
Patrick Barron
4d18dbf9de Document UserDeletedLogger 2020-08-15 03:35:42 -04:00
Patrick Barron
665f58dfbd Document TaskCompletedLogger 2020-08-15 03:34:52 -04:00
Patrick Barron
8570cfdba6 Migrate ActivityLogEntryPoint.OnSessionEnded to IEventConsumer 2020-08-15 02:07:28 -04:00
Patrick Barron
ca3a8bdb98 Migrate ActivityLogEntryPoint.OnSessionStarted to IEventConsumer 2020-08-15 02:02:58 -04:00
Patrick Barron
98cbf1c2de Migrate ActivityLogEntryPoint.OnPackageInstallationFailed to IEventConsumer 2020-08-14 15:56:54 -04:00
Patrick Barron
e924444880 Migrate ActivityLogEntryPoint.OnPluginUpdated to IEventConsumer 2020-08-14 15:50:17 -04:00
Patrick Barron
0da7c0568d Migrate ActivityLogEntryPoint.OnPluginUninstalled to IEventConsumer 2020-08-14 15:22:12 -04:00
Patrick Barron
b7f21971f4 Migrate ActivityLogEntryPoint.OnPluginInstalled to IEventConsumer 2020-08-14 15:21:17 -04:00
Bond-009
af78b9c2e8 Merge pull request #3898 from crobibero/fix-int64
Return int64 in json as number
2020-08-14 20:58:48 +02:00
David
025ee2163f Change log message, load assembly only once 2020-08-14 20:42:26 +02:00
nothing things
a43383b9ac Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-08-14 13:19:43 -04:00
nothing things
6d883bbbe9 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-08-14 12:57:51 -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
Oatavandi
42a9feb2f3 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-08-14 07:13:56 -04:00
Bond-009
3b47218cf6 Merge pull request #3894 from barronpm/remove-listextensions
Remove ListHelper.cs
2020-08-14 08:17:29 +02:00
Patrick Barron
f4275adfcb Migrate ActivityLogEntryPoint.OnAuthenticationSucceeded to IEventConsumer 2020-08-13 21:38:24 -04:00
Patrick Barron
bff05d7186 Migrate ActivityLogEntryPoint.OnAuthenticationFailed to IEventConsumer 2020-08-13 21:33:28 -04:00
Patrick Barron
8a4bdaed6b Migrate ActivityLogEntryPoint.OnUserLockedOut to IEventConsumer 2020-08-13 21:11:38 -04:00
Patrick Barron
a1ecafb40d Migrate ActivityLogEntryPoint.OnUserPasswordChanged to IEventConsumer 2020-08-13 21:07:08 -04:00
Patrick Barron
737a86d0cb Migrate ActivityLogEntryPoint.OnUserDeleted to IEventConsumer 2020-08-13 21:01:35 -04:00
Patrick Barron
18d34f953b Migrate ActivityLogEntryPoint.OnUserCreated to IEventConsumer 2020-08-13 20:57:13 -04:00
Patrick Barron
ca1f15af19 Move GenericEventArgs to Jellyfin.Data.Events 2020-08-13 20:52:55 -04:00
Patrick Barron
ade40a4c42 Migrate ActivityLogEntryPoint.OnSubtitleDownloadFailure to IEventConsumer 2020-08-13 20:40:18 -04:00
Patrick Barron
fdd73f1186 Migrate ActivityLogEntryPoint.OnTaskCompleted to IEventConsumer 2020-08-13 20:34:28 -04:00
Patrick Barron
5c29b8982d Migrate ActivityLogEntryPoint.OnPlaybackStopped to IEventConsumer 2020-08-13 20:33:16 -04:00
Patrick Barron
3e5fe04427 Migrate ActivityLogEntryPoint.OnPlaybackStart to IEventConsumer 2020-08-13 20:32:54 -04:00
Patrick Barron
57e2f7248d Remove unused class and rename file. 2020-08-13 20:30:43 -04:00
Patrick Barron
285af300f5 Create IEventConsumer and IEventManager 2020-08-13 20:29:14 -04:00
Patrick Barron
3ee940f7b3 Clean up GenericEventArgs 2020-08-13 19:14:03 -04:00
crobibero
97fd11c9a4 Remove httpclient from Jellyfin.Api 2020-08-13 15:50:19 -06:00
Patrick Barron
27139709e5 Remove ListHelper.cs 2020-08-13 17:05:55 -04:00
Orry Verducci
9438a50976 Correct parentheses 2020-08-13 21:23:12 +01:00
Bond-009
2f05f3099b Merge pull request #3892 from barronpm/livetv-provider-fixes
Minor fixes to LiveTvMediaSourceProvider
2020-08-13 22:20:16 +02:00
Patrick Barron
e0c6172d23 Add ServiceProvider to IServerApplicationHost 2020-08-13 16:10:26 -04:00
Patrick Barron
da9bcc5fb3 Rename IEventManager to IDlnaEventManager 2020-08-13 15:47:31 -04:00
Oatavandi
1ce4b70104 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-08-13 13:32:39 -04:00
Patrick Barron
70e56314d7 Minor fixes to LiveTvMediaSourceProvider 2020-08-13 13:11:30 -04:00
David
2b32ebb3cc Build Unstable Nuget packages 2020-08-13 19:03:47 +02:00
David
b92fbe4d69 Use VersionPrefix 2020-08-13 19:03:24 +02:00
Anthony Lavado
27c8cf0431 Merge pull request #3824 from barronpm/tunerhost-cleanup
Clean up TunerHost Classes
2020-08-13 13:02:17 -04:00
Anthony Lavado
dbc1435a9e Merge pull request #3671 from Bond-009/unixsocket
Make UNIX socket configurable
2020-08-13 13:02:02 -04:00
Anthony Lavado
5480674c4f Merge pull request #3838 from Bond-009/memorystream
MemoryStream optimizations
2020-08-13 13:01:43 -04:00
Patrick Barron
2be1865b42 Remove unused methods in IDtoService 2020-08-13 12:50:04 -04:00
Oatavandi
32d4657429 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-08-13 12:38:43 -04:00
Oatavandi
7cbf75839a Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-08-13 11:30:19 -04:00
David
f92efc7f9b Add Publish Artifacts task 2020-08-13 15:35:56 +02:00
David
a61f6e3308 Fix nuget ci 2020-08-13 15:22:12 +02:00
crobibero
ef0a7c3e2a update docker dotnet sdk 2020-08-12 15:57:06 -06:00
crobibero
6709645ec9 bump deps 2020-08-12 15:52:29 -06:00
crobibero
687b008d59 fix livetv id check 2020-08-12 14:41:10 -06:00
Matt Montgomery
4fa3d3f4f3 Merge remote-tracking branch 'upstream/master' into quickconnect 2020-08-12 15:38:07 -05:00
cvium
e10693cbe0 Remove some LINQ queries 2020-08-12 22:14:14 +02:00
crobibero
ae1593b590 fix route method 2020-08-12 13:14:42 -06:00
crobibero
afeba4dae7 simplify datetime parsing 2020-08-12 13:07:11 -06:00
crobibero
09bcc38feb Merge remote-tracking branch 'upstream/master' into fixes 2020-08-12 12:47:25 -06:00
crobibero
eb7ab31b5a add support for GetActivityLogs 2020-08-12 12:43:57 -06:00
crobibero
bb08e25f86 userid isn't actually required 2020-08-12 12:43:43 -06:00
DirtyRacer1337
6ac8955715 Add tests 2020-08-12 22:20:31 +07:00
DirtyRacer1337
f5d90949cf Replace \d to [0-9] 2020-08-12 22:02:19 +07:00
Konctantin
741ab4301c Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-08-12 10:23:29 -04:00
David
d296a1f6d0 Add logging, cleanup 2020-08-12 14:00:48 +02:00
DirtyRacer1337
1259fe2d50 Add date filter 2020-08-12 09:08:09 +07:00
DirtyRacer1337
c2f901acfe Fix year parsing 2020-08-12 07:56:01 +07:00
Gualdimar
07d10436e0 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-08-11 17:42:52 -04:00
cvium
1ae3dc202c Populate ThemeVideoIds and ThemeSongIds 2020-08-11 22:04:41 +02:00
Gualdimar
f1e52c4449 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-08-11 16:02:03 -04:00
Gualdimar
63eab824e7 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-08-11 16:02:03 -04:00
Konctantin
df00ef91bb Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-08-11 16:02:03 -04:00
David
9e95fe8f9d Add plugin assemblies to mvc builder 2020-08-11 18:20:16 +02:00
Orry Verducci
d7b0f68eab Add myself to contributors 2020-08-11 15:44:18 +01:00
Bond-009
b307e0fe09 Merge pull request #3872 from crobibero/user-policy
Fix setting user policy
2020-08-11 10:12:07 +02:00
Orry Verducci
2d6699fd47 Merge remote-tracking branch 'upstream/master' into deinterlace-improvements 2020-08-10 22:17:13 +01:00
Orry Verducci
ce51775e74 Apply double rate option to hardware deinterlacers 2020-08-10 22:16:46 +01:00
Orry Verducci
9dc95074a3 Add bwdif and simplify software deinterlacing 2020-08-10 22:16:23 +01:00
Orry Verducci
7df2affb23 Add double rate deinterlacing option 2020-08-10 22:14:47 +01:00
Bond-009
b82a3fee85 Merge pull request #3851 from barronpm/librarychangednotifier-cleanup
Clean up LibraryChangedNotifier.
2020-08-10 21:19:36 +02:00
Moritz
72176ab2ca Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-08-10 15:00:16 -04:00
Mister Rajoy
c7b5bc55a1 Fix MergeVersions() 2020-08-10 20:33:11 +02:00
crobibero
3ba1f4c901 add proper converter for legacy datetime 2020-08-10 12:02:14 -06:00
crobibero
b0532c549a add proper converter for legacy datetime 2020-08-10 11:58:06 -06:00
crobibero
4b87bbf53d fix route 2020-08-10 11:38:02 -06:00
crobibero
2f853b902a fix datetime parsing 2020-08-10 11:33:42 -06:00
crobibero
2e3ef18a11 fix route typo 2020-08-10 10:09:27 -06:00
crobibero
314728195c Fix setting user policy 2020-08-10 09:31:01 -06:00
David
98d1d2325d Prepare plugin Api migration 2020-08-10 16:12:22 +02:00
dkanada
168160d9a3 Merge pull request #3868 from jellyfin/dependabot/nuget/ServiceStack.Text.Core-5.9.2
Bump ServiceStack.Text.Core from 5.9.0 to 5.9.2
2020-08-10 22:54:55 +09:00
dkanada
4c2d1e712c Merge pull request #3867 from jellyfin/dependabot/nuget/TvDbSharper-3.2.1
Bump TvDbSharper from 3.2.0 to 3.2.1
2020-08-10 22:54:42 +09:00
dkanada
6e1d34453f Merge pull request #3866 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.7.0
Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0
2020-08-10 22:54:29 +09:00
dkanada
aeea7dcb3d Merge pull request #3865 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-5.5.1
Bump Swashbuckle.AspNetCore.ReDoc from 5.3.3 to 5.5.1
2020-08-10 22:54:09 +09:00
crobibero
c5e9cf15f6 Use proper IHttpContextAccessor 2020-08-10 07:53:32 -06:00
dependabot[bot]
40dc4472e3 Bump ServiceStack.Text.Core from 5.9.0 to 5.9.2
Bumps [ServiceStack.Text.Core](https://github.com/ServiceStack/ServiceStack.Text) from 5.9.0 to 5.9.2.
- [Release notes](https://github.com/ServiceStack/ServiceStack.Text/releases)
- [Commits](https://github.com/ServiceStack/ServiceStack.Text/compare/v5.9...v5.9.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 12:01:58 +00:00
dependabot[bot]
c65275b239 Bump TvDbSharper from 3.2.0 to 3.2.1
Bumps [TvDbSharper](https://github.com/HristoKolev/TvDbSharper) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/HristoKolev/TvDbSharper/releases)
- [Changelog](https://github.com/HristoKolev/TvDbSharper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/HristoKolev/TvDbSharper/compare/v3.2.0...v3.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 12:01:48 +00:00
dependabot[bot]
4fd2b7a879 Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.6.1 to 16.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.6.1...v16.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 12:01:45 +00:00
dependabot[bot]
a6e6f378e1 Bump Swashbuckle.AspNetCore.ReDoc from 5.3.3 to 5.5.1
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.3.3 to 5.5.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.3.3...v5.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 12:01:45 +00:00
Bond-009
75f119b57f Merge pull request #3810 from AlfHou/fix_readme_links
Fix README links and note about setup wizard
2020-08-10 12:52:59 +02:00
Erwin de Haan
900101de62 Re-enable the ABI checks. 2020-08-10 12:26:25 +02:00
Erwin de Haan
47cb4a1547 Add nohup and continueOnError to the Collect Artifacts task 2020-08-10 12:24:56 +02:00
Alf Sebastian Houge
f98e751d18 Update README.md
Fix spelling mistake

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-08-10 11:03:48 +02:00
Bond-009
bacfbbbd58 Merge pull request #3835 from cvium/fix_tvdb_404_shit_nginx_failure
Throw HttpException when tvdb sends us crap data
2020-08-10 10:50:21 +02:00
crobibero
460c3dd351 convert dependent controller functions to di helper class 2020-08-09 17:20:14 -06:00
Mario Michel
c43721f27f Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-08-09 17:27:17 -04:00
Bond-009
f2b87c0954 Merge pull request #3860 from cvium/fix_collages
Fix collages
2020-08-09 23:02:22 +02:00
cvium
1dcc678a6a Fix collages 2020-08-09 22:59:31 +02:00
crobibero
7b864e3a3c parameter isn't actually required 2020-08-09 14:12:39 -06:00
Bond-009
023f52362d Merge pull request #3859 from crobibero/fix-auth-policy
Fix Requirement assigned to Handler
2020-08-09 22:12:03 +02:00
crobibero
e7f55c5110 Fix Requirement assigned to Handler 2020-08-09 13:51:25 -06:00
Bond-009
e9c9fc4369 Merge pull request #3858 from cvium/fix_wizard_redirect
Fix startup wizard redirect
2020-08-09 20:02:15 +02:00
cvium
fc01bdb91d Use GetEncodedPathAndQuery since ASP.NET Request.Path does not contain query parameters 2020-08-09 19:26:06 +02:00
Patrick Barron
7462a0a9e8 Make event methods private. 2020-08-09 11:50:52 -04:00
Bond-009
f4302822f0 Merge pull request #3846 from YouKnowBlom/fix-cc-hls
Avoid including stray commas in HLS codecs field
2020-08-09 16:51:48 +02:00
Andreas B
542185fba4 Avoid including stray commas in HLS codecs field 2020-08-09 17:00:14 +02:00
Bond_009
593dbcabff Fix docs 2020-08-09 14:08:56 +02:00
Bond_009
4a4dff1973 Fix 2020-08-09 14:08:56 +02:00
Bond_009
371a09c60b MemoryStream optimizations 2020-08-09 14:08:55 +02:00
Bond-009
6c92154a9b Update MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-08-09 13:55:57 +02:00
Bond-009
75bb127599 Merge pull request #3854 from danieladov/master
Fix Split versions
2020-08-09 12:09:00 +02:00
Mister Rajoy
3ea4d9303e Fix Split versions 2020-08-08 21:21:32 +02:00
Patrick Barron
750d8a989f Clean up LibraryChangedNotifier. 2020-08-08 14:23:17 -04:00
Patrick Barron
229a5d9e0b Make DisplayPreferencesManager scoped 2020-08-08 13:39:49 -04:00
Patrick Barron
d886532258 Add DbContext Pool 2020-08-08 13:32:17 -04:00
Anthony Lavado
b9fdbaeef3 Merge pull request #3812 from jellyfin/api-migration
Merge API Migration into master
2020-08-08 13:22:36 -04:00
Patrick Barron
a15be774ac Merge pull request #3833 from crobibero/api-cleanup-v3
api-migration review fixes
2020-08-07 18:08:12 +00:00
Patrick Barron
8373d6297c Fix MemoryCache usage 2020-08-07 14:05:47 -04:00
Bond-009
7e49358ba9 Merge pull request #3840 from barronpm/fix-memorycache
Fix MemoryCache Usage.
2020-08-07 19:27:34 +02:00
Patrick Barron
bea519de5b Fix MemoryCache Usage. 2020-08-07 13:22:18 -04:00
crobibero
e735ab6cc0 Remove extra Required 2020-08-07 06:39:20 -06:00
Bond-009
c82b26a4b1 Merge pull request #3837 from cvium/fix_memorycache
Fix BaseItems not being cached in-memory
2020-08-07 11:58:23 +02:00
cvium
0cf75992a8 Use MemoryCache.Set since SetValue does not flush to cache automatically. 2020-08-07 11:55:22 +02:00
crobibero
05f9473544 Apply fixes from review 2020-08-06 17:59:48 -06:00
Bond-009
796eeb2cda Merge pull request #3836 from cvium/remove_tmdb_api_rate_limit
Remove rate limit from TMDb provider
2020-08-06 23:53:29 +02:00
Bond-009
8964697d8b Merge pull request #3834 from cvium/fix_tmdb_external_ids
Make external ids nullable in TMDb
2020-08-06 23:52:39 +02:00
cvium
268139c435 Remove rate limit from TMDb provider 2020-08-06 23:47:30 +02:00
cvium
23dfadd430 Throw HttpException when tvdb sends us crap data 2020-08-06 23:43:19 +02:00
cvium
f871087645 Make external ids nullable in TMDb 2020-08-06 23:37:11 +02:00
sumantrabhattacharya
bd0ad4196a Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-08-06 17:22:48 -04:00
millallo
57585273e3 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-08-06 14:25:35 -04:00
Joshua M. Boniface
751affa50a Merge pull request #3831 from joshuaboniface/newer-docker-dotnet
Bump to .NET Core SDK 3.1.302
2020-08-06 13:40:18 -04:00
crobibero
fffa94fc33 Apply fixes from review 2020-08-06 08:17:45 -06:00
Joshua M. Boniface
7a1f140e5b Bump to .NET Core SDK 3.1.302 2020-08-06 02:04:41 -04:00
Patrick Barron
34cf1b1757 Merge pull request #3829 from Ullmie02/api-migration
Small fix to api-migration
2020-08-05 22:24:01 +00:00
David
4ea412f2ab Fix remote images 2020-08-05 21:57:01 +02:00
sharkykh
1eee0fc922 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-08-05 15:35:05 -04:00
David
8bb9909660 Fix photo viewer 2020-08-05 21:19:38 +02:00
sharkykh
b23446721c Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-08-05 14:21:13 -04:00
Joshua M. Boniface
3e974c0351 Merge pull request #3825 from crobibero/api-merge-again
Merge master into api-migration
2020-08-05 00:00:15 -04:00
crobibero
393666efcf fix merge conflicts 2020-08-04 20:30:45 -06:00
crobibero
e65ecb5687 Merge remote-tracking branch 'upstream/master' into api-merge-again 2020-08-04 20:29:06 -06:00
Anthony Lavado
c12a49361c Merge pull request #3820 from Bond-009/warn22
Fix some warnings
2020-08-04 17:35:50 -07:00
Anthony Lavado
da14c306b8 Merge pull request #3809 from Bond-009/minor4
Minor improvements
2020-08-04 17:35:12 -07:00
Anthony Lavado
c2799fe4d3 Merge pull request #3784 from barronpm/add-sync
Minor fixes to ActivityManager
2020-08-04 17:34:56 -07:00
Anthony Lavado
c5bc046c40 Merge pull request #3782 from Bond-009/websocket2
Minor fixes for websocket code
2020-08-04 17:34:14 -07:00
Patrick Barron
5c65abcd94 Clean up TunerHost classes 2020-08-04 18:58:14 -04:00
Patrick Barron
ff4489575b Merge pull request #3819 from crobibero/api-migration-cleanup
Api migration cleanup
2020-08-04 22:28:52 +00:00
Joshua M. Boniface
560a099473 Merge pull request #3822 from jellyfin/EraYaN-artifact-collection
Merge the args and commands item for the artifact collection
2020-08-04 16:42:45 -04:00
Erwin de Haan
25daa7db42 Merge the args and commands item for the artifact collection 2020-08-04 22:35:23 +02:00
crobibero
858aecd409 Fix all route for base url support 2020-08-04 12:48:53 -06:00
Bond-009
7368cbbd2f Merge pull request #3774 from jellyfin/ci-CollectArtifacts-timeout
Add a much shorter timeout to the CollectArtifacts job
2020-08-04 19:58:20 +02:00
Bond-009
d9f6953416 Minor fixes 2020-08-04 17:14:07 +02:00
Bond-009
53f99d5d4b Add some analyzers to MediaBrowser.MediaEncoding 2020-08-04 17:08:09 +02:00
crobibero
2b7cefdf15 Remove references to MediaBrowser.Api 2020-08-04 08:42:09 -06:00
crobibero
e1226f12f2 fix attribute ordering 2020-08-04 08:30:03 -06:00
crobibero
8f6c2e7679 Remove leading slash from route attributes 2020-08-04 08:27:54 -06:00
Bond-009
18efa25a6f Enable TreatWarningsAsErrors for MediaBrowser.MediaEncoding 2020-08-04 16:20:52 +02:00
Bond-009
237cb4e383 Merge pull request #3816 from cvium/onrefresh_logging
Change OnRefreshStart and OnRefreshComplete logging levels to debug
2020-08-04 11:30:10 +02:00
cvium
52d409101b Change OnRefreshStart and OnRefreshComplete logging levels to debug 2020-08-04 09:05:51 +02:00
Anthony Lavado
b7f3906446 Merge pull request #3806 from jellyfin/dkanada-patch-1
Disable compatibility checks for now
2020-08-03 15:14:22 -07:00
Patrick Barron
8385c54591 Merge pull request #3811 from crobibero/api-cleanup
Clean up api-migration branch
2020-08-03 21:45:15 +00:00
crobibero
dee7bdddb6 fix build 2020-08-03 14:49:24 -06:00
crobibero
e64924f4d3 actually remove MediaBrowser.Api 2020-08-03 14:42:46 -06:00
crobibero
9e00aa3014 fix openapi validation errors 2020-08-03 14:38:51 -06:00
crobibero
1535f363b2 Fix some request parameters 2020-08-03 13:33:43 -06:00
crobibero
8bb510a9f6 Specify Logger type 2020-08-03 13:16:29 -06:00
crobibero
0f32beb75f Properly use DI to reference other controllers. 2020-08-03 13:15:21 -06:00
crobibero
db36b9d501 Delete MediaBrowser.Api 2020-08-03 13:09:49 -06:00
crobibero
cfce1dba08 move WebSocket listeners to Jellyfin.Api 2020-08-03 13:09:32 -06:00
Alf Sebastian Houge
676f000286 Remove comments from json file in .vscode/launch.json 2020-08-03 20:45:50 +02:00
Bond_009
4980db1594 Fix spelling 2020-08-03 20:42:01 +02:00
dkanada
b9d1d1c6b5 Merge pull request #3801 from michael9dk/patch-1
Update README.md (fix broken links)
2020-08-04 03:37:00 +09:00
Bond_009
2b355c36ff Minor improvements
OFC I reduced some allocations
2020-08-03 20:32:45 +02:00
Alf Sebastian Houge
b2badb9906 Fix links in README and note about setup wizard
Fix some of the web client links in the README and add a note about
hosting the web client seperately, and how the setup wizard can only be
run if the web client is not hosted separate
2020-08-03 20:28:01 +02:00
Alf Sebastian Houge
d53f7dd0c2 Add vscode launch configuration for launching without hosting webclient 2020-08-03 20:27:22 +02:00
David
a28d00eeba Merge pull request #3808 from crobibero/api-migration-merge
Merge master into api-migration
2020-08-03 20:22:21 +02:00
crobibero
dbeeb7cf4a fix merge conflicts 2020-08-03 12:01:24 -06:00
crobibero
f915c3e5d9 Merge remote-tracking branch 'upstream/master' into api-migration 2020-08-03 11:24:13 -06:00
Patrick Barron
6a42a48c09 Merge pull request #3528 from Ullmie02/api-entrypoint
Make TranscodingJobHelper an IDisposable (api-migration)
2020-08-03 17:11:24 +00:00
Patrick Barron
cd515bdbfd Merge pull request #3783 from Ullmie02/api-universal-audio
Move UniversalAudioService to Jellyfin.Api
2020-08-03 17:09:18 +00:00
Patrick Barron
3a0bccb941 Merge pull request #2957 from crobibero/api-dlna-server
Migrate DlnaServerController to Jellyfin.Api
2020-08-03 17:00:46 +00:00
Patrick Barron
97c95d3a6b Merge pull request #2956 from crobibero/api-dlna
Move Emby.Dlna DlnaService.cs to Jellyfin.Api
2020-08-03 16:59:44 +00:00
dkanada
b4c6ae9aba disable compatibility checks for now 2020-08-04 01:02:02 +09:00
Bond-009
5b4863c65b Merge pull request #3803 from jellyfin/dependabot/nuget/sharpcompress-0.26.0
Bump sharpcompress from 0.25.1 to 0.26.0
2020-08-03 15:36:46 +02:00
dependabot[bot]
d09fb5c535 Bump sharpcompress from 0.25.1 to 0.26.0
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.25.1 to 0.26.0.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.25.1...0.26)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-03 13:22:11 +00:00
Bond-009
3b49ed1b37 Merge pull request #3802 from jellyfin/dependabot/nuget/PlaylistsNET-1.1.2
Bump PlaylistsNET from 1.0.6 to 1.1.2
2020-08-03 15:05:00 +02:00
Bond-009
e3f6ef6080 Merge pull request #3804 from jellyfin/dependabot/nuget/Serilog.AspNetCore-3.4.0
Bump Serilog.AspNetCore from 3.2.0 to 3.4.0
2020-08-03 15:04:10 +02:00
Bond-009
4a11a9b879 Merge pull request #3805 from jellyfin/dependabot/nuget/Mono.Nat-2.0.2
Bump Mono.Nat from 2.0.1 to 2.0.2
2020-08-03 15:03:24 +02:00
dependabot[bot]
96817fca07 Bump Mono.Nat from 2.0.1 to 2.0.2
Bumps [Mono.Nat](https://github.com/mono/Mono.Nat) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/mono/Mono.Nat/releases)
- [Commits](https://github.com/mono/Mono.Nat/compare/Mono.Nat-2.0.1...release-v2.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-03 12:04:27 +00:00
dependabot[bot]
be277e74d7 Bump Serilog.AspNetCore from 3.2.0 to 3.4.0
Bumps [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore) from 3.2.0 to 3.4.0.
- [Release notes](https://github.com/serilog/serilog-aspnetcore/releases)
- [Commits](https://github.com/serilog/serilog-aspnetcore/compare/v3.2.0...v3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-03 12:04:18 +00:00
dependabot[bot]
17ba459638 Bump PlaylistsNET from 1.0.6 to 1.1.2
Bumps [PlaylistsNET](https://github.com/tmk907/PlaylistsNET) from 1.0.6 to 1.1.2.
- [Release notes](https://github.com/tmk907/PlaylistsNET/releases)
- [Commits](https://github.com/tmk907/PlaylistsNET/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-03 12:04:12 +00:00
michael9dk
e7af1185eb Update README.md
Fix broken link to Azure DevOps pipeline.
2020-08-03 13:21:44 +02:00
Nyanmisaka
c23d991c95 Merge branch 'master' into tonemap 2020-08-03 14:58:44 +08:00
Nyanmisaka
7b3f76b81f resolve conflicts 2020-08-03 14:55:28 +08:00
Joshua M. Boniface
47e63def20 Merge pull request #3728 from jellyfin/qsv-cutter
Adjust priority in outputSizeParam cutter
2020-08-02 20:30:33 -04:00
Joshua M. Boniface
612d513d86 Merge pull request #3772 from EraYaN/master
Updated SkiaSharp to 2.80.1 and replace resize code to fix bad quality
2020-08-02 20:28:42 -04:00
dkanada
714a6f04ef Merge pull request #3795 from anthonylavado/master
Update to newer Jellyfin.XMLTV
2020-08-03 09:00:29 +09:00
Anthony Lavado
705c0f93f6 Update to newer Jellyfin.XMLTV 2020-08-02 19:56:54 -04:00
dkanada
254ef6bc0d Merge pull request #3792 from cvium/fix_tmdb_deserialize
TMDb: Change Budget and Revenue to long to avoid overflow
2020-08-03 07:02:17 +09:00
cvium
e7d9d8f7c5 Change Budget and Revenue to long to avoid overflow 2020-08-02 23:54:58 +02:00
Bond-009
43fa983414 Merge pull request #3790 from cvium/fewer_string_allocs
Remove some unnecessary string allocations
2020-08-02 23:39:03 +02:00
Claus Vium
996d0c07d0 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs 2020-08-02 23:34:28 +02:00
Claus Vium
85e43d657f Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-08-02 23:33:45 +02:00
cvium
aa32aba0f8 Remove some unnecessary string allocations. 2020-08-02 23:30:34 +02:00
Erwin de Haan
0f43780c8c Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-08-02 12:43:25 +02:00
Patrick Barron
6f306f0a17 Minor fixes to ActivityManager 2020-08-01 16:20:08 -04:00
Bond-009
b7421db5fe Merge pull request #3578 from barronpm/displaypreferences-efcore
Migrate Display Preferences to EF Core
2020-08-01 21:51:49 +02:00
Patrick Barron
ad32800504 Switch to unstable chromecast version. 2020-08-01 14:56:32 -04:00
Patrick Barron
a6bc4c688d Add using statement to DisplayPreferences migration 2020-08-01 14:52:45 -04:00
David
d2dd847b60 Remove duplicate code 2020-08-01 19:25:53 +02:00
David
a7eee4f4e5 Remove duplicate code 2020-08-01 19:25:20 +02:00
David
8e05b22645 Use correct MediaInfo method 2020-08-01 19:03:11 +02:00
David
24c5016f48 Fix parameters 2020-08-01 18:22:40 +02:00
David
74b3416963 Merge remote-tracking branch 'jellyfin/api-migration' into api-universal-audio 2020-08-01 18:07:03 +02:00
David
91f2a7d9a8 Revert changes 2020-08-01 18:04:46 +02:00
David
d50a022036 Merge pull request #3775 from crobibero/api-dynamic-hls
Move DynamicHlsService to Jellyfin.Api
2020-08-01 17:42:33 +02:00
crobibero
52ba54a71b PERFORMANCE 2020-08-01 08:58:18 -06:00
David
3f0c0e2d0d Implement IDisposable 2020-08-01 16:21:48 +02:00
David
b717ecd5e0 Move methods to the right class 2020-08-01 16:12:22 +02:00
David
9be20cfaa6 Add jellyfin api entry point 2020-08-01 16:05:26 +02:00
Cody Robibero
afe8208746 Update Jellyfin.Api/Controllers/DynamicHlsController.cs
Co-authored-by: David <daullmer@gmail.com>
2020-08-01 07:52:31 -06:00
David
d3dc9da5d6 Prepare DynamicHlsController merge 2020-08-01 15:10:57 +02:00
Bond_009
d191fec3ac Minor fixes for websocket code 2020-08-01 15:03:33 +02:00
David
a3dcca3826 Move UniversalAudioService to Jellyfin.Api 2020-08-01 14:40:02 +02:00
Bond-009
7621c8b806 Merge pull request #3769 from jellyfin/dkanada-patch-1
Remove useless order step for intros
2020-08-01 12:42:15 +02:00
Erwin de Haan
3ee28c016a Switch to sudo -n 2020-08-01 00:32:25 +02:00
Erwin de Haan
7c60510bc9 Experiment for the SSH task. 2020-08-01 00:20:47 +02:00
crobibero
f645e2f884 Move DynamicHlsService to Jellyfin.Api 2020-07-31 15:09:17 -06:00
Erwin de Haan
44aca4dc6f Formatting in SkiaEncoder.cs 2020-07-31 22:12:20 +02:00
Erwin de Haan
526eea41f0 Add a note on the convolutional matrix filter. 2020-07-31 22:02:16 +02:00
Erwin de Haan
a6d80f557d Add a much shorter timeout to the CollectArtifacts job 2020-07-31 21:40:09 +02:00
Erwin de Haan
af38e5469f Update Jellyfin.Drawing.Skia/SkiaEncoder.cs indentation.
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-31 21:33:25 +02:00
Erwin de Haan
7ce99aaf78 Update SkiaSharp to 2.80.1 and replace resize code.
This fixed the blurry resized images in the Web UI.
2020-07-31 21:20:05 +02:00
Patrick Barron
2cb6eb984b Merge pull request #3764 from Ullmie02/api-videohls
Move VideoHlsService to Jellyfin.Api
2020-07-31 18:25:54 +00:00
dkanada
e0d2eb8eec remove useless order step for intros 2020-08-01 02:03:23 +09:00
crobibero
4bb1e1c292 Fix docs, params, return values 2020-07-31 11:01:30 -06:00
crobibero
3d5f89ebf9 Merge remote-tracking branch 'upstream/api-migration' into api-dlna-server 2020-07-31 10:17:51 -06:00
crobibero
32c0ac96a1 fix route params 2020-07-31 10:17:01 -06:00
crobibero
6051df0c47 Fix response codes, documentation, and auth 2020-07-31 10:14:09 -06:00
crobibero
f516cf9c4c Merge remote-tracking branch 'upstream/api-migration' into api-dlna 2020-07-31 10:05:27 -06:00
Cody Robibero
cb31aba5dd Merge pull request #3691 from crobibero/api-video
move VideoService.cs to Jellyfin.Api
2020-07-31 09:27:31 -06:00
Anthony Lavado
9ec787e954 Merge pull request #3759 from AlfHou/readme_flag_fix
Change 'nowebcontent' flag to 'nowebclient' flag in readme
2020-07-31 08:27:23 -07:00
Anthony Lavado
06db5f8bca Merge pull request #3727 from K900/patch-1
Fix #3624
2020-07-31 08:26:59 -07:00
Anthony Lavado
4bad529fcb Merge pull request #3760 from thornbill/true-or-false
Fix inverted logic for LAN IP detection
2020-07-31 08:26:19 -07:00
David
d6c428e998 Update Jellyfin.Api/Controllers/VideoHlsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-31 17:26:14 +02:00
Anthony Lavado
0c0b47029a Merge pull request #3740 from Bond-009/alloc3
Optimize Substring and StringBuilder usage
2020-07-31 08:25:01 -07:00
David
c994060794 Remove response code doc because it got added elsewhere 2020-07-31 17:23:52 +02:00
crobibero
c97372a133 Add missing docs and remove duplicate function 2020-07-31 09:21:33 -06:00
crobibero
9171e904de Merge remote-tracking branch 'upstream/api-migration' into api-video 2020-07-31 09:19:02 -06:00
David
8a016e31f7 Move VideoHlsService to Jellyfin.Api 2020-07-31 17:09:10 +02:00
Joshua M. Boniface
9bf6222597 Merge pull request #3761 from cvium/fix_mem_leak
Fix DI memory leak
2020-07-31 09:23:55 -04:00
cvium
5f03fb0ef7 Use factory pattern to instantiate jellyfindb context to avoid disposed contexts piling up in DI container 2020-07-31 10:13:54 +02:00
Bill Thornton
d886941927 Fix inverted logic for LAN IP detection 2020-07-30 17:18:44 -04:00
Alf Sebastian Houge
2d3da0f1a6 There is no 'nowebcontent' flag, the correct flag is 'nowebclient' 2020-07-30 23:03:31 +02:00
Bond-009
ee3fae497c Merge pull request #3757 from jellyfin/update_blurhashsharp
Update BlurHashSharp and set max size to 128x128
2020-07-30 23:01:30 +02:00
cvium
af274de77e Update BlurHashSharp and set max size to 128x128 2020-07-30 22:50:13 +02:00
crobibero
f543a17d1b Apply review fixes 2020-07-30 06:29:06 -06:00
Nyanmisaka
8165c3bb21 total font size limit 20M 2020-07-30 17:36:38 +08:00
Bond-009
44dbee6ef2 Merge pull request #3747 from barronpm/memorycache
Use Memory Cache
2020-07-30 11:12:12 +02:00
Nyanmisaka
893bc7400b update as per suggestions 2020-07-30 16:30:49 +08:00
Patrick Barron
a97f98fbd5 Use MemoryCache in DeviceManager 2020-07-29 19:25:47 -04:00
crobibero
bb1fec9da1 remove extra using 2020-07-29 16:43:53 -06:00
crobibero
df5d43132c Fix PlaybackInfo endpoint 2020-07-29 16:42:01 -06:00
Patrick Barron
c77abca31a Use MemoryCache in ChannelManager 2020-07-29 17:33:40 -04:00
Patrick Barron
e5c6eec642 Use MemoryCache in LibraryManager 2020-07-29 17:28:15 -04:00
crobibero
5c4b342323 fix boolean 2020-07-29 14:21:32 -06:00
crobibero
d0ce239e3e Use ArrayPool and reduce duplicate code 2020-07-29 12:12:54 -06:00
crobibero
03f15fc0ef use proper os comparison 2020-07-29 09:28:53 -06:00
Bond_009
d4092846e4 Optimize Substring and StringBuilder usage 2020-07-29 13:17:01 +02:00
Joshua M. Boniface
8c1dab146c Merge pull request #3725 from joshuaboniface/fix-ci-docker
Flip quoting in variable set command
2020-07-28 20:01:25 -04:00
Joshua M. Boniface
dc0f1788f4 Merge pull request #3720 from joshuaboniface/fix-bump-version
Fix bump_version so it works properly
2020-07-28 20:00:46 -04:00
Joshua M. Boniface
27289929c0 Merge pull request #3724 from joshuaboniface/bump-master-version
Bump master version to 10.7.0 for next release
2020-07-28 19:59:59 -04:00
Patrick Barron
995c8fadb7 Update MediaBrowser.Api/DisplayPreferencesService.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-28 21:17:11 +00:00
tmechen
164eb3e9a2 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-07-28 16:57:59 -04:00
nyanmisaka
45a97056ea allows to provide multiple fonts 2020-07-29 02:44:11 +08:00
Patrick Barron
c094916df0 Migrate default library display preferences. 2020-07-28 09:19:25 -04:00
Nyanmisaka
2139e9f8d1 adjust priority in outputSizeParam cutter 2020-07-28 17:07:10 +08:00
K900
3ed9463d25 Fix #3624
It doesn't really make sense to throw an error when creating the default user, because the error is completely non-actionable. Instead, if the autodetected username is not valid, just fall back to a sane default.
2020-07-28 12:03:08 +03:00
Joshua M. Boniface
2d8d3ba826 Flip quoting in variable set command
The quoting as-is was broken and would result in a junk output. This
way, the proper value is obtained.
2020-07-28 00:21:30 -04:00
Patrick Barron
c3a36485b6 Recreate display preferences migration. 2020-07-27 23:41:16 -04:00
Anthony Lavado
b207907e1b Merge pull request #3723 from joshuaboniface/fix-ci-docker
Get and tag with the actual release version in CI
2020-07-27 18:58:28 -07:00
Joshua M. Boniface
0798ab3945 Get and tag with the actual release version in CI 2020-07-27 21:41:51 -04:00
Patrick Barron
4b8ab1a803 Set default value of SortBy during migrations. 2020-07-27 21:01:08 -04:00
Patrick Barron
754837f16f Add tv home. 2020-07-27 20:50:58 -04:00
Patrick Barron
7d6c1befe5 Add Dashboard theme. 2020-07-27 20:44:46 -04:00
Patrick Barron
68a185fd02 Serialize/deserialize new entities properly. 2020-07-27 20:40:21 -04:00
Patrick Barron
592d2480ca Make adjustments to display preference entities. 2020-07-27 19:22:34 -04:00
Joshua M. Boniface
a511e0ac0b Bump master version to 10.7.0 for next release 2020-07-27 19:10:40 -04:00
Joshua M. Boniface
965c447c63 Fix bump_version so it works properly 2020-07-27 19:01:33 -04:00
Matt Montgomery
31d3b1b83a Cleanup interfaces 2020-07-27 15:40:14 -05:00
Anthony Lavado
ff6d102872 Merge pull request #3679 from barronpm/json-1
Use System.Text.Json in DefaultPasswordResetProvider
2020-07-27 13:07:35 -07:00
crobibero
b8d327889b Add missing functions 2020-07-27 13:42:40 -06:00
Patrick Barron
62fa72114c Merge pull request #3718 from Ullmie02/api-hlsegment
Move HlsSegmentService to Jellyfin.Api
2020-07-27 15:51:09 +00:00
David Ullmer
4aa0bd064f Move HlsSegmentService to Jellyfin.Api 2020-07-27 09:47:19 +02:00
Nyanmisaka
17527d68df fix build 2020-07-27 14:11:05 +08:00
Nyanmisaka
df6b303da7 Merge branch 'master' into tonemap 2020-07-27 13:57:40 +08:00
Joshua M. Boniface
d7287a05ad Merge pull request #3684 from Bond-009/warn22
Fix warnings
2020-07-27 00:16:09 -04:00
Matt Montgomery
3c91aa0c3d Code cleanup 2020-07-26 23:13:14 -05:00
gnehs
749c961872 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-07-26 20:02:17 -04:00
Matt Montgomery
0945659cb5 Apply suggestions from code review 2020-07-26 18:14:35 -05:00
Anthony Lavado
ea0489a98e Merge pull request #3711 from yrjyrj123/fix_hw_decoder_for_macos
Fix the problem that hardware decoding cannot be used on macOS.
2020-07-26 15:37:13 -07:00
Anthony Lavado
bfecfab538 Merge pull request #3699 from oddstr13/pr-embedded-subs-1
Fix embedded subtitles
2020-07-26 15:36:29 -07:00
Anthony Lavado
468a7fea4c Merge pull request #3660 from crobibero/plugin-config-location
Force plugin config location
2020-07-26 15:36:08 -07:00
Anthony Lavado
6eb3e736c6 Merge pull request #3704 from oddstr13/pr-dotdir-sample-1
Don't ignore dot directories or movies/episodes with sample in their name.
2020-07-26 15:34:15 -07:00
Anthony Lavado
2f315bb0dd Merge pull request #3597 from barronpm/jellyfin-drawing-skia-cleanup
Jellyfin.Drawing.Skia Cleanup
2020-07-26 15:32:06 -07:00
Odd Stråbø
9314a4fcc9 . 2020-07-26 23:28:25 +02:00
Matt Montgomery
a40fe86776 Merge remote-tracking branch 'upstream/master' into quickconnect 2020-07-26 16:14:58 -05:00
Odd Stråbø
7fa80ac3e0 Add more tests, update comment 2020-07-26 23:03:16 +02:00
Nyanmisaka
3e55632807 remove spaces 2020-07-27 01:41:27 +08:00
不帅你报警
30bfa5536f Update MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2020-07-27 01:34:36 +08:00
Patrick Barron
6015ceb731 Merge pull request #3693 from crobibero/api-library
Fix LibraryStructure API parameters
2020-07-26 16:09:31 +00:00
不帅你报警
d5dcb12407 Update EncodingHelper.cs
Fix the problem that hardware decoding cannot be used on macOS.
2020-07-26 23:47:29 +08:00
dkanada
8ab800508b Merge pull request #3703 from oddstr13/pr-username-space-1
Allow space in username
2020-07-27 00:11:56 +09:00
Odd Stråbø
de708d2fca Comment 2020-07-26 17:11:43 +02:00
Odd Stråbø
27e12798bc Update comment to include space 2020-07-26 13:57:22 +02:00
Nyanmisaka
95b961c864 remove unused line 2020-07-26 12:38:57 +08:00
crobibero
7bb34fc9e7 use proper HttpClient DI 2020-07-25 17:21:40 -06:00
Odd Stråbø
800260af43 Yep. I failed at copy-pasting. 2020-07-26 00:19:24 +02:00
Odd Stråbø
11d5410dbb Don't ignore dot directories.
Use `.ignore` file to hide directory from library scan.

Also, please tell me we handle sample matching somewhere else? This is a mess.
2020-07-25 23:50:49 +02:00
Odd Stråbø
2da2f1b20b Allow space in username 2020-07-25 22:19:27 +02:00
Patrick Barron
1aa853067a Use async json serialization. 2020-07-25 13:07:12 -04:00
Odd Stråbø
591fcf7ff2 Fix formating 2020-07-25 13:41:04 +02:00
Odd Stråbø
27709c9bb3 Fix embedded subtitles 2020-07-25 12:44:31 +02:00
crobibero
259b5d7f0a Fix request parameters 2020-07-24 17:46:17 -06:00
crobibero
5924a81eeb Fix request parameters 2020-07-24 17:31:11 -06:00
crobibero
d801621cfc Fix request parameters 2020-07-24 17:22:32 -06:00
crobibero
37496e958f move VideoService.cs to Jellyfin.Api 2020-07-24 16:49:43 -06:00
Patrick Barron
44acb9f7d9 Merge pull request #3592 from Ullmie02/api-audio
Migrate AudioService to Jellyfin.Api
2020-07-24 20:53:06 +00:00
MichaIng
1883ecd817 Fix left /usr/bin/jellyfin symlink on removal and typo
After removal of the symlink target file "/usr/lib/jellyfin/bin/jellyfin", file existence check on the symlink "[[ -f /usr/bin/jellyfin ]]" returns false. As a result the symlink is left in place on package purge. The correct check would be "[[ -L /usr/bin/jellyfin ]]", but since it could be a file in cases, e.g. manual fix on file systems with no symlink support or for any other reason, it is easiest to use "rm -f" to assure that it is removed in both cases and not return false even if it does not exist at all.

Additionally this fixes a typo on upstart script check.

Signed-off-by: MichaIng <micha@dietpi.com>
2020-07-24 22:43:32 +02:00
Patrick Barron
13d919f236 Read EnableNextVideoInfoOverlay from database. 2020-07-24 16:35:20 -04:00
Patrick Barron
9fcf23bd21 Migrate EnableNextVideoInfoOverlay 2020-07-24 16:34:19 -04:00
Patrick Barron
ff7105982a Read skip lengths from server. 2020-07-24 16:32:24 -04:00
Patrick Barron
0d13d830bb Migrate skip lengths. 2020-07-24 16:30:54 -04:00
Nyanmisaka
a78c8e3854 change loglevels 2020-07-25 01:50:18 +08:00
David
ca3dcc3db0 Fix suggestions from review 2020-07-24 19:14:53 +02:00
nyanmisaka
5716453542 minor changes 2020-07-25 01:03:34 +08:00
nyanmisaka
4bdb870d16 Merge remote-tracking branch 'upstream/master' into tonemap 2020-07-25 00:58:14 +08:00
nyanmisaka
7b862bba5a add Tonemapping relaying on nvdec and ocl 2020-07-25 00:57:34 +08:00
Joshua M. Boniface
e3db0ac400 Merge pull request #3657 from Bond-009/readonlyspan
Review usage of string.Substring (part 1)
2020-07-24 12:21:25 -04:00
Bond_009
928bc6c787 Fix build 2020-07-24 16:42:28 +02:00
Bond_009
01e781035f Fix warnings 2020-07-24 16:37:54 +02:00
nyanmisaka
c888b34a62 add a method to use custom fallback fonts for subtitle rendering 2020-07-24 21:19:56 +08:00
Bond-009
3ff110984a Merge branch 'master' into readonlyspan 2020-07-24 09:40:44 +02:00
Bond-009
f5a3cc654f Merge pull request #3678 from barronpm/remove-unused-dependencies
Remove Unused Dependencies.
2020-07-24 09:37:43 +02:00
Bond-009
1cc62d6afa Update MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
Co-authored-by: David Mouse <dmouse10462@gmail.com>
2020-07-24 09:36:18 +02:00
Patrick Barron
1ee8790189 Use System.Text.Json in DefaultPasswordResetProvider 2020-07-23 21:50:41 -04:00
Patrick Barron
0aa349fe40 Remove unused dependencies. 2020-07-23 21:42:36 -04:00
dkanada
837741d0f7 Merge pull request #3677 from barronpm/fix-master-compilation
Fixed compilation error on master.
2020-07-24 10:36:26 +09:00
Patrick Barron
a59bc5c6a8 Fixed compilation error. 2020-07-23 20:57:59 -04:00
Anthony Lavado
0cb2cd9456 Merge pull request #3576 from HelloWorld017/fix/sami-utf16
Fix SAMI UTF-16 Encoding Bug
2020-07-23 17:48:04 -07:00
Anthony Lavado
83509e99cb Merge pull request #2788 from ThatNerdyPikachu/more-track-titles
Use embedded title for other track types
2020-07-23 17:47:54 -07:00
Patrick Barron
629ffe395f Fixed build errors. 2020-07-23 20:36:36 -04:00
Patrick Barron
583e4ef97f Merge pull request #3385 from crobibero/api-image-service
Move ImageService.cs to Jellyfin.Api
2020-07-24 00:35:34 +00:00
Patrick Barron
3d69cea1c9 Merge branch 'master' into displaypreferences-efcore 2020-07-23 23:50:12 +00:00
Pika
7331c02a21 Update MediaBrowser.Model/Entities/MediaStream.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-23 19:22:56 -04:00
Pika
ea4aa5ed8e Update MediaBrowser.Model/Entities/MediaStream.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-23 19:13:19 -04:00
Pika
262daa6650 Update MediaBrowser.Model/Entities/MediaStream.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-23 19:13:02 -04:00
Pika
f5a3408c89 Update MediaBrowser.Model/Entities/MediaStream.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-23 19:12:52 -04:00
Pika
3b21abd879 Merge branch 'master' into more-track-titles 2020-07-23 18:59:25 -04:00
Joshua M. Boniface
845ee21ddc Merge pull request #3664 from Bond-009/createuserasync
Make CreateUser async
2020-07-23 18:08:29 -04:00
Joshua M. Boniface
8960d6256f Merge pull request #3659 from Bond-009/stringbuilder
Optimize StringBuilder.Append calls
2020-07-23 18:08:09 -04:00
Joshua M. Boniface
6f2b23b3df Merge pull request #3613 from Bond-009/regex
Replace \d with [0-9] in ffmpeg detection and scan code
2020-07-23 18:07:01 -04:00
Joshua M. Boniface
0d446c8755 Merge pull request #3609 from Bond-009/warn21
Fix warnings
2020-07-23 18:06:34 -04:00
Joshua M. Boniface
fd82ecd18e Merge pull request #3595 from Bond-009/xml
Improve DescriptionXmlBuilder
2020-07-23 18:06:15 -04:00
Joshua M. Boniface
22cc602117 Merge pull request #3366 from barronpm/remove-usermanager-addparts
Remove UserManager.AddParts
2020-07-23 18:05:57 -04:00
Joshua M. Boniface
1a9adf283a Merge pull request #3675 from ferferga/fix-typo
Fix typo in debian config file
2020-07-23 18:00:41 -04:00
Fernando Fernández
722f6f5a26 fix typo in debian's config file 2020-07-23 20:53:04 +02:00
Bond-009
323fc576a5 Merge pull request #3521 from sachk/master
Fix support for mixed-protocol subtitles
2020-07-23 14:22:41 +02:00
Bond_009
d006f4301a Disable unix socket by default 2020-07-23 13:20:10 +02:00
Bond_009
cbe47325b3 Make UNIX socket configurable 2020-07-23 13:18:47 +02:00
David
d39f481a5c Apply suggestions from review 2020-07-23 12:46:54 +02:00
Bond-009
9ffe74d979 Merge pull request #3532 from Ullmie02/socket-binding
Add support for binding to Unix socket
2020-07-23 12:30:25 +02:00
David
0e855953a2 Update Jellyfin.Server/Program.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-07-23 12:03:46 +02:00
Bond-009
7686f53f52 Merge pull request #3632 from azlm8t/log-path-on-error
tvdb: Log path on lookup errors
2020-07-23 10:44:44 +02: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
944fdb4c62 Merge pull request #3552 from BaronGreenback/NotificationFix
Fixes #3551 (Notifications Serialization error)
2020-07-23 10:34:32 +02:00
Bond-009
6de6583cbd Merge pull request #3615 from jellyfin/qsv-comet-lake
Fix QSV device creation on Comet Lake
2020-07-23 10:33:08 +02:00
Bond-009
e9758bde2a Merge pull request #3649 from thornbill/fix-epg-update-maybe
Skip image processing for live tv sources
2020-07-23 10:31:31 +02:00
Bond-009
6b11cccb7f Merge pull request #3663 from crobibero/efcore-leak
Add missing usings to UserManager
2020-07-23 10:30:45 +02:00
Bond-009
3a9698de54 Merge pull request #3665 from barronpm/use-interfaces
Use interfaces in app host constructors
2020-07-23 10:29:32 +02:00
Bond-009
b6017d3d4c Merge pull request #3666 from barronpm/livetvmanager-system-text-json
Use System.Text.Json in LiveTvManager
2020-07-23 10:28:37 +02:00
Anthony Lavado
f23e119a68 Merge pull request #3634 from crobibero/plugin-config
fix built in plugin js
2020-07-22 21:47:02 -07:00
Patrick Barron
7adac7561a Use System.Text.Json in LiveTvManager 2020-07-22 19:52:14 -04:00
Patrick Barron
200f369596 Use interfaces in app host constructors 2020-07-22 19:34:14 -04:00
Patrick Barron
5f67ba4d70 Restructure query to avoid extra database access. 2020-07-22 15:21:50 -04:00
Patrick Barron
8a9ec7809f Wrap context creation with using 2020-07-22 15:19:18 -04:00
Bond_009
941f326c0b Don't AddAsync 2020-07-22 21:07:13 +02:00
Bond_009
6cbfae209d Make CreateUser async 2020-07-22 20:57:29 +02:00
Patrick Barron
52ebf6ae8f Move DisplayPreferencesManager.cs to Users namespace 2020-07-22 14:53:32 -04:00
Patrick Barron
9f323e5579 Add missing chromecast version serialization/deserialization. 2020-07-22 14:37:17 -04:00
David
cff9772e14 Fix build part 2 2020-07-22 20:13:51 +02:00
David
1cb20f9181 Fix build 2020-07-22 19:44:17 +02:00
crobibero
b4532ad3a2 add missing using 2020-07-22 11:35:31 -06:00
E.Smith
f50348ca0b Log path on lookup errors
If the lookup fails (due to a bad id in an nfo file for example), then
we had no indication of which directory failed, so the user can not
fix the problem.

Now we include the path in the error message such as:

MediaBrowser.Providers.TV.SeriesMetadataService: Error in
DummySeasonProvider for /media/x/y/z

and

MediaBrowser.Providers.Manager.ProviderManager:
TvdbSeriesImageProvider failed in GetImageInfos for type Series at
/media/x/y/z
2020-07-22 18:22:52 +01:00
Bond-009
89ff865d40 Merge pull request #3508 from BaronGreenback/nullable
Part 1: nullable Emby.DLNA
2020-07-22 18:41:58 +02:00
Patrick Barron
968922e920 Merge pull request #3564 from Ullmie02/api-syncplay
Move SyncPlay api to Jellyfin.Api
2020-07-22 16:18:53 +00:00
Bill Thornton
e973757485 Simplify logic 2020-07-22 11:32:29 -04:00
David
2ce97c022e Move AudioService to Jellyfin.Api 2020-07-22 16:57:06 +02:00
David
69e6dd2747 Update Jellyfin.Api/Controllers/SyncPlayController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-22 16:53:56 +02:00
David
15ac8095b4 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-22 16:49:52 +02:00
crobibero
a1511e430c implement change properly 2020-07-22 08:23:56 -06:00
crobibero
939b95907b Force plugin config location 2020-07-22 08:19:26 -06:00
crobibero
b006fd1b8f apply review suggestions 2020-07-22 08:03:45 -06:00
Bond_009
b9004a0246 Fix build 2020-07-22 14:56:58 +02:00
Bond_009
4d681e3cad Optimize StringBuilder.Append calls 2020-07-22 14:34:51 +02:00
Bond-009
a86d8d1757 Merge pull request #3642 from crobibero/plugin-repo-x2
Try adding plugin repository again
2020-07-22 13:54:27 +02:00
Bond-009
3c1b2f11e5 Merge pull request #3646 from barronpm/incrementcount-async
Make IncrementInvalidLoginAttemptCount async.
2020-07-22 13:53:10 +02:00
Bond_009
a23292f363 Address comments 2020-07-22 13:52:31 +02:00
Bond_009
febb6bced6 Review usage of string.Substring (part 1)
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
2020-07-22 13:39:24 +02:00
David
5580df38e6 Cleanup after merge 2020-07-22 11:05:41 +02:00
David
90039e1ad3 Merge remote-tracking branch 'remotes/jellyfin/api-migration' into api-audio
# Conflicts:
#	Emby.Server.Implementations/ApplicationHost.cs
#	Jellyfin.Api/Helpers/TranscodingJobHelper.cs
2020-07-22 11:02:44 +02:00
David
eae665a9c4 Add properties to StreamState to fix some errors 2020-07-22 10:57:27 +02:00
David
07e56850be Remove caching and content length 2020-07-22 10:39:48 +02:00
David
9996afbf25 Add response code documentation 2020-07-22 10:20:51 +02:00
Bill Thornton
2fa2952791 Skip image processing for live tv sources 2020-07-21 16:40:38 -04:00
David
cbf5c682e9 Change enum values 2020-07-21 22:06:07 +02:00
David
be8cf1e9ef Merge branch 'api-migration' into api-syncplay
# Conflicts:
#	MediaBrowser.Api/SyncPlay/SyncPlayService.cs
2020-07-21 21:56:24 +02:00
crobibero
6602b0dfb6 Move ImageService.cs to Jellyfin.Api 2020-07-21 13:17:08 -06:00
Patrick Barron
0c5ac10a68 Make IncrementInvalidLoginAttemptCount async. 2020-07-21 14:27:09 -04:00
crobibero
9787b2fe8a Detach tracked entries on dispose 2020-07-21 10:19:53 -06:00
crobibero
6c076b2162 Try adding plugin repository again 2020-07-21 08:27:12 -06:00
crobibero
230c54721d update post profile image 2020-07-21 08:05:21 -06:00
crobibero
b040d89e5c Merge remote-tracking branch 'upstream/api-migration' into api-image-service 2020-07-21 08:03:09 -06:00
David
5b57c81ee1 Merge pull request #3629 from crobibero/api-migration-merge
Api migration merge
2020-07-21 10:32:05 +02:00
Nyanmisaka
d4c6415f99 minor changes 2020-07-21 11:41:28 +08:00
crobibero
05f743480d fully remove jquery 2020-07-20 17:31:20 -06:00
crobibero
f4cafc2f31 fix built in plugin js 2020-07-20 17:23:36 -06:00
crobibero
5c66f9e471 changes from merge 2020-07-20 14:43:54 -06:00
crobibero
1385064497 Merge remote-tracking branch 'upstream/master' into api-migration-merge 2020-07-20 14:28:33 -06:00
Bond-009
0750357916 Merge pull request #3620 from BaronGreenback/IPFix
Fix for #3607 and #3515
2020-07-20 18:41:01 +02:00
Bond-009
61a602adb6 Merge pull request #3598 from barronpm/providermanager-cleanup
Clean up ProviderManager.cs
2020-07-20 18:19:09 +02:00
BaronGreenback
f983ea95d1 Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-20 17:18:50 +01:00
BaronGreenback
bde1a38a88 Two fixes 2020-07-20 16:59:04 +01:00
dkanada
107cf21f26 Merge pull request #3616 from crobibero/migration-new-install
Allow migration to optionally run on fresh install
2020-07-20 23:38:28 +09:00
crobibero
9343e73b26 Allow migration to optionally run on fresh install 2020-07-20 07:45:24 -06:00
Nyanmisaka
5f89e81306 fix qsv device creation on Comet Lake
reddit: https://www.reddit.com/r/jellyfin/comments/huct4x/jellyfin_1060_released/fyn30ds
2020-07-20 20:48:20 +08:00
Bond-009
41c4cfe0af Merge pull request #3604 from joshuaboniface/fix-bad-deps
Fix bad Debuntu dependencies
2020-07-20 14:20:57 +02:00
Bond_009
e98351b912 Replace \d with [0-9] in ffmpeg detection and scan code 2020-07-20 14:14:15 +02:00
Bond-009
8f11e057a2 Merge pull request #3602 from crobibero/user-change-case
Fix username case change
2020-07-20 11:47:47 +02:00
Bond_009
7324b44c43 Fix warnings 2020-07-20 11:01:37 +02:00
Joshua M. Boniface
b1fe20aac5 Readd sed'd out dotnet-sdk dependency 2020-07-19 23:36:48 -04:00
Joshua M. Boniface
4966ca3616 Remove the old Emby conflicts
It's been long enough that this is no longer an issue. We still conflict
on the ports 8096 and 8190, but this will simply result in a failure to
start; allow users to get themselves into that situation if they wish.
2020-07-19 23:28:25 -04:00
Joshua M. Boniface
4ecedb2a12 Fix bad dependency handling in 10.6.0-1
Fixes the incorrect dependency handling from 10.6.0, which was missing
the Replaces and Breaks entries on jellyfin-server. Thus apt would
complain about /etc/default/jellyfin being in two packages and fail to
upgrade. With this configuration, I've verified that apt now handles
this situation properly.
2020-07-19 23:26:59 -04:00
Patrick Barron
6e11f77922 Add missing documentation. 2020-07-19 22:30:25 -04:00
crobibero
d1e351a00a Fix username case change 2020-07-19 20:21:30 -06:00
Patrick Barron
3fdbdf4078 Clean up ProviderManager.cs 2020-07-19 20:54:57 -04:00
Patrick Barron
36b05157f0 Rewrite CropWhitespace 2020-07-19 18:06:12 -04:00
Patrick Barron
4a356efa2c Make constructor one line 2020-07-19 17:59:54 -04:00
Patrick Barron
b51a10948a Rewrite OrientImage 2020-07-19 17:59:33 -04:00
Bond-009
c8539709ac Merge pull request #3596 from joshuaboniface/fix-typo
Fix typo in CI configuration
2020-07-19 23:57:46 +02:00
Joshua M. Boniface
2f2fe3552d Fix typo in CI configuration 2020-07-19 17:54:46 -04:00
BaronGreenback
301ddc1dac Update HttpContextExtensions.cs 2020-07-19 22:19:17 +01:00
Joshua M. Boniface
677ec1b27a Merge pull request #3575 from jellyfin/ffmpeg-depends
Bump the minimun required jellyfin-ffmpeg version
2020-07-19 17:16:08 -04:00
Joshua M. Boniface
a5b673d542 Revert "bump the minimum required jellyfin-ffmpeg ver to 4.3.1-1"
This reverts commit d3fa6b428a.

Don't change this, since 4.3.1 won't build on Stretch but we still want
to support it.
2020-07-19 17:06:58 -04:00
Joshua M. Boniface
0b73f3d646 Merge pull request #3569 from nyanmisaka/textsub-fix
Fix QSV subtitle burn-in on windows and P010 detect
2020-07-19 16:59:58 -04:00
Bond_009
65453c0a84 Fix build and more Append calls 2020-07-19 21:32:54 +02:00
Bond_009
39be99504f Improve DescriptionXmlBuilder
* Replace XML escape code with SecurityElement.Escape
* Optimize StringBuilder.Append calls
2020-07-19 21:20:18 +02:00
Patrick Barron
2569793ff0 Reuse paint objects. 2020-07-19 14:39:11 -04:00
Patrick Barron
d983d65d8a Simplify return statements 2020-07-19 14:18:23 -04:00
Joshua M. Boniface
050c6cdaa4 Merge pull request #3593 from joshuaboniface/nuget-publish
Add NuGet publish step to tag CI
2020-07-19 14:17:11 -04:00
Patrick Barron
a9806d8f4a Convert to switch expressions 2020-07-19 14:16:33 -04:00
Patrick Barron
1be3e1e037 Remove unnecessary base constructor calls. 2020-07-19 14:14:44 -04:00
Patrick Barron
87b8a8d7c7 Simplify arithmetic 2020-07-19 14:13:56 -04:00
Patrick Barron
bd77f1e84f Remove redundant casts 2020-07-19 14:13:18 -04:00
Patrick Barron
196e8e131a Convert to using declarations 2020-07-19 14:12:53 -04:00
Joshua M. Boniface
dfd00c7b24 Add NuGet publish step to tag CI 2020-07-19 14:01:32 -04:00
David
3514813eb4 Continute work 2020-07-19 19:03:48 +02: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
672a35db94 Update DlnaServerService.cs 2020-07-19 17:54:09 +01:00
Anthony Lavado
6ab4493ecb Merge pull request #3591 from crobibero/clear-existing-image
Remove profile image before setting new
2020-07-19 11:21:08 -04:00
Bond-009
7ad08953c0 Merge pull request #3590 from crobibero/tvdb-actors
Fix tvdb actors url
2020-07-19 17:16:49 +02:00
Bond-009
ce07e45897 Merge pull request #3585 from Ken-g6/2354-soft-link-sizes
2354 fix soft link sizes
2020-07-19 17:16:13 +02:00
crobibero
59365150d8 Remove profile image before setting new 2020-07-19 08:31:35 -06:00
crobibero
8a778c08d2 Fix tvdb actors url 2020-07-19 08:21:26 -06:00
Anthony Lavado
8ac08499bc Merge pull request #3587 from crobibero/user-update-policy
fix UserManager UpdatePolicy
2020-07-18 23:04:14 -04:00
crobibero
2f38d9700c fix UserManager UpdatePolicy 2020-07-18 20:29:27 -06:00
Ken
eea142cad1 FullName property instead of ToString in Emby.Server.Implementations/IO/ManagedFileSystem.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-18 19:40:28 -06:00
Ken
d719ca78b4 Spacing standard on Emby.Server.Implementations/IO/ManagedFileSystem.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-18 19:39:31 -06:00
Anthony Lavado
6e1735d311 Merge pull request #3586 from barronpm/remove-networkpath
Remove obsolete network path code
2020-07-18 20:40:37 -04:00
Anthony Lavado
8782c19068 Merge pull request #3582 from barronpm/update-dotnet
Update .NET Core to 3.1.6
2020-07-18 19:40:46 -04:00
Anthony Lavado
f9d4b0a2d7 Merge pull request #3579 from crobibero/activity-log-userid
Add UserId filter to ActivityLog Entries endpoint
2020-07-18 19:40:30 -04:00
Patrick Barron
b53bf2cd16 Remove obsolete network path code 2020-07-18 16:21:01 -04:00
Ken Brazier
6a39b1a4ca Merge 'master' updates into 2354-soft-link-sizes 2020-07-18 11:39:53 -06:00
David
0e1bf316b5 Merge branch 'master' of github.com:jellyfin/jellyfin into socket-binding 2020-07-18 19:21:43 +02: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
Khinenw
6e069f925b Fix SAMI UTF-16 Encoding Bug 2020-07-18 04:53:05 +00:00
Patrick Barron
5993a4ac2d Fix ChromecastVersion numbering 2020-07-17 23:36:13 -04:00
Patrick Barron
10f531bbe4 Manually specify enum order. 2020-07-17 20:03:17 -04:00
Patrick Barron
1ac1186312 Add pragmas to DisplayPreferences migration files 2020-07-17 20:01:17 -04:00
Patrick Barron
4742ddbb71 Update .NET Core to 3.1.6 2020-07-17 19:48:11 -04:00
Patrick Barron
27eefd49f1 Add missing fields 2020-07-17 19:36:55 -04:00
Anthony Lavado
09c05ff9fa Merge pull request #3581 from crobibero/delete-logging
Increase delete logging
2020-07-17 18:21:29 -04:00
crobibero
e152a6c82f Increase delete logging 2020-07-17 15:53:10 -06:00
Patrick Barron
d806084937 Remove superfluous annotations. 2020-07-17 16:27:34 -04:00
Patrick Barron
2831062a3f Add max length for SortBy 2020-07-17 16:11:54 -04:00
Patrick Barron
9e17db59cd Reorder HomeSectionType 2020-07-17 16:11:54 -04:00
Patrick Barron
fcfe227537 Updated documentation to indicate required elements. 2020-07-17 16:11:54 -04:00
Patrick Barron
817e06813e Remove unused using 2020-07-17 16:11:54 -04:00
Patrick Barron
f3263c7d8e Remove limit of 7 home sections 2020-07-17 16:11:54 -04:00
Patrick Barron
3c7eb6b324 Document HomeSection.cs 2020-07-17 16:11:54 -04:00
Patrick Barron
e96a36512a Document DisplayPreferences.cs 2020-07-17 16:11:53 -04:00
Patrick Barron
ab396225ea Migrate Display Preferences to EF Core 2020-07-17 16:11:53 -04:00
crobibero
4dd91f3667 Add UserId filter to ActivityLog Entries endpoint 2020-07-17 12:17:11 -06:00
BaronGreenback
0f696104ac using missing. 2020-07-17 16:23:47 +01:00
BaronGreenback
6b4cea604c Suggested changes and removed some intellisense messages. 2020-07-17 16:19:06 +01:00
crobibero
2b5d515de7 specify plugin repo on install 2020-07-17 09:08:29 -06:00
BaronGreenback
c7c28db17b Update DlnaServerService.cs 2020-07-17 16:08:26 +01:00
BaronGreenback
24c1776ff6 Add files via upload 2020-07-17 16:06:52 +01:00
BaronGreenback
fd2f18899b Update ServiceHandler.cs 2020-07-17 16:06:32 +01:00
David
0140262e2f Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-07-17 10:03:36 -04:00
BaronGreenback
62eb1b1a38 Update ServiceController.cs 2020-07-17 12:59:16 +01:00
BaronGreenback
d9f9412955 Update DlnaServerService.cs 2020-07-17 12:58:23 +01:00
BaronGreenback
06beecc4f8 Update ServiceHandler.cs 2020-07-17 12:56:52 +01:00
BaronGreenback
e33c6f6b29 Update IApplicationHost.cs 2020-07-17 12:54:55 +01:00
BaronGreenback
912847ae8c Update ServiceController.cs 2020-07-17 12:54:28 +01:00
BaronGreenback
7cd4ae3b6e Update HttpListenerHost.cs 2020-07-17 12:54:13 +01:00
BaronGreenback
a44309f56f Update HttpListenerHost.cs 2020-07-17 12:53:50 +01:00
BaronGreenback
02d3bb7588 Update ApplicationHost.cs 2020-07-17 12:53:20 +01:00
BaronGreenback
31ffd00dbd Update ApplicationHost.cs 2020-07-17 12:51:55 +01:00
Nyanmisaka
77f9417d84 enhance platform check and 10bit detect 2020-07-17 19:32:15 +08:00
Akachai Bunsorn
7e53bc5ec5 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2020-07-17 05:39:16 -04:00
nyanmisaka
cd714a724d utilize jellyfin-ffmpeg for portable x64 2020-07-17 14:40:27 +08:00
nyanmisaka
d3fa6b428a bump the minimum required jellyfin-ffmpeg ver to 4.3.1-1 2020-07-17 14:37:29 +08:00
dkanada
10d396d56d Merge pull request #3573 from crobibero/plugin-request-exception
Catch HttpRequestException when requesting plugins
2020-07-17 06:44:15 +09:00
Joshua M. Boniface
55dafd4149 Merge pull request #3563 from cvium/fix_next_up
Only fetch Next Up for episodes that have been fully matched
2020-07-16 16:30:55 -04:00
Nyanmisaka
e1ba1fcebe fix indent 2020-07-17 01:41:24 +08:00
Nyanmisaka
c1c1a2f751 Match the size of subtitle stream and video stream 2020-07-17 01:30:35 +08:00
ADRI IDZWAN MANSOR
0c64ad9b16 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2020-07-16 12:18:51 -04:00
crobibero
b541d9f6ff Merge remote-tracking branch 'upstream/master' into plugin-request-exception 2020-07-16 09:54:21 -06:00
Anthony Lavado
edae7b954b Merge pull request #3570 from crobibero/async-cancellation
Add EnumeratorCancellation attribute
2020-07-16 11:53:21 -04:00
crobibero
f40bcff113 Catch HttpRequestException when requesting plugins 2020-07-16 08:28:31 -06:00
crobibero
0095cb1947 Add EnumeratorCancellation attribute 2020-07-16 07:32:58 -06:00
Nyanmisaka
32fb34a4cc Fix QSV subtitle burn-in on windows and P010 detect 2020-07-16 21:09:04 +08:00
Nyanmisaka
83a344b627 Merge pull request from jellyfin/master 2020-07-16 21:03:49 +08:00
David
fa4e0a73d5 Update Jellyfin.Server/Program.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-16 11:21:46 +02:00
Anthony Lavado
a9ce8a804f Merge pull request #3566 from cvium/fix_tvdb_a_little
TVDB: Fetch image keytypes before querying images
2020-07-15 19:04:02 -04:00
Patrick Barron
352dab7018 Merge pull request #3556 from Ullmie02/api-slow
Add X-Response-Time-ms header and log slow server response time (Jellyfin.Api)
2020-07-15 22:50:05 +00:00
Anthony Lavado
c934d9e43a Merge pull request #3562 from rotvel/feature/fix-audio-transcoding
Fix audio file transcoding.
2020-07-15 18:42:18 -04:00
Claus Vium
90fa1149fa Fix warnings 2020-07-15 19:04:36 +02:00
Patrick Barron
9ed9bbb7a0 Merge pull request #3565 from Ullmie02/api-remove
Remove unused MediaBrowser.Api files (api-migration)
2020-07-15 16:05:37 +00:00
Claus Vium
6d37a5fe52 Change to IAsyncEnumerable 2020-07-15 17:14:39 +02:00
Claus Vium
8c0168ef72 Fetch image keytypes before querying images 2020-07-15 16:45:14 +02:00
David
bb2e90c1e1 Remove unused api files 2020-07-15 16:40:58 +02:00
David
9a2bcd6266 Move SyncPlay api to Jellyfin.Api 2020-07-15 16:15:17 +02:00
Claus Vium
a23920e2ad Only fetch Next Up for episodes that have been fully matched 2020-07-15 13:18:02 +02:00
Max Git
b356ff6c89 Simplify name of IsCopyDoc 2020-07-15 06:58:36 +02:00
Max Git
87f5a6bdb3 Move videostream null check to start of GetHardwareAcceleratedVideoDecoder 2020-07-15 05:56:05 +02:00
dkanada
2307052efc Merge pull request #3549 from neilsb/master
Prevent failure to bind to Auto Discover port being a fatal error
2020-07-15 08:16:21 +09:00
David
c6a0306a34 Move field to the controller 2020-07-14 20:20:24 +02:00
Anthony Lavado
175e7b45e5 Merge pull request #3557 from crobibero/fix-update-user
Fix update user
2020-07-14 11:23:35 -04:00
crobibero
e143387cbd Fix update user 2020-07-14 06:47:46 -06:00
Raif Coonjah
eddce72c52 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2020-07-14 08:26:12 -04:00
David
262e19b691 Add X-Response-Time-ms header and log slow server response time 2020-07-14 13:40:18 +02:00
dkanada
87d7c4a62e Merge pull request #3500 from nyanmisaka/vpp-qsv
Add FFmpeg 4.3 detection and solve the green line on QSV HWA
2020-07-14 20:31:13 +09:00
dkanada
50dcc11430 Merge pull request #3555 from cvium/fix_disposed_context
Fix disposed database context
2020-07-14 20:29:21 +09:00
David
9f567e6471 Don't recreate JsonSerializerOptions every time 2020-07-14 12:39:58 +02:00
Claus Vium
340b585234 Use ToList instead of AsEnumerable due to delayed execution 2020-07-14 12:38:56 +02:00
dkanada
203825f772 Merge pull request #3541 from jellyfin/pause
Keep playstate during syncplay group creation
2020-07-14 09:25:46 +09:00
dkanada
bf09bbeacd update comment
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-07-14 08:25:02 +09:00
Patrick Barron
303c175714 Fix circular dependency 2020-07-13 17:25:50 -04:00
Patrick Barron
3b085f6a03 Remove UserManager.AddParts 2020-07-13 17:25:50 -04:00
Joshua M. Boniface
f8e8626898 Merge pull request #3539 from barronpm/fix-memoryleak
Fix EF Core Memory Leak
2020-07-13 14:54:15 -04:00
Bond-009
f1a7b0586b Merge pull request #3553 from joshuaboniface/fix-azure-fuckery
Explicitly add what Azure used to do implicitly
2020-07-13 20:44:07 +02:00
Joshua M. Boniface
b4212cc210 Explicitly add what Azure used to do implicitly
... before they changed it on us out of nowhere.
2020-07-13 14:36:35 -04:00
Patrick Barron
b468ae2aea Use AsEnumerable for UserManager.Users 2020-07-13 14:09:20 -04:00
dkanada
8a28b55760 Merge pull request #3545 from jellyfin/dependabot/nuget/AutoFixture-4.13.0
Bump AutoFixture from 4.12.0 to 4.13.0
2020-07-14 03:04:53 +09:00
Patrick Barron
18c03fa9c8 Merge branch 'master' into fix-memoryleak 2020-07-13 17:45:54 +00:00
BaronGreenback
12478c7196 Update NotificationOption.cs
Fixes serialisation bug
2020-07-13 17:54:06 +01:00
Patrick Barron
befd0c7a00 Remove EF Core Proxies 2020-07-13 12:49:20 -04:00
Neil Burrows
da8eb1f15b using System.Net.Sockets 2020-07-13 16:33:39 +01:00
Neil Burrows
25e3827488 Update Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
Update log format message and log exception

Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-13 15:39:14 +01:00
Neil Burrows
359b0044b8 Prevent failure to bind to Auto Discover port being a fatal error 2020-07-13 15:12:51 +01:00
dependabot[bot]
aefe011d7d Bump AutoFixture from 4.12.0 to 4.13.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.12.0...v4.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-13 12:04:07 +00:00
kanenses
52290380aa Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-07-13 03:34:16 -04:00
Joshua M. Boniface
29a386ee2d Merge pull request #3533 from barronpm/user-login-casing
Make User Authentication Case-insensitive and remove EF Core Log spam
2020-07-12 19:32:51 -04:00
dkanada
5e706ba7ce keep playstate during syncplay group creation 2020-07-13 06:55:03 +09:00
Patrick Barron
0ee55bc1f9 Use AsEnumerable instead of ToList 2020-07-12 15:08:55 -04:00
Patrick Barron
8959621da7 Fix EF Core memory leak 2020-07-12 14:45:52 -04:00
David
ee03b919f9 Fix parsing 2020-07-12 20:11:59 +02:00
dkanada
04648c7e98 Merge pull request #3535 from crobibero/syncplay-v10
Fix syncplay function name
2020-07-12 01:39:48 +09:00
crobibero
2c231e84e6 Fix syncplay function name 2020-07-11 10:26:01 -06:00
Patrick Barron
f7c7b1e7e1 Merge pull request #3524 from crobibero/api-migration-nullable
Make query parameters nullable or set default value
2020-07-11 15:48:52 +00:00
David
7367e667f7 Add socket support 2020-07-11 12:43:30 +02:00
David
2328ec59c9 Migrate AudioService to Jellyfin.Api 2020-07-11 11:15:04 +02:00
Patrick Barron
c0bd10879a Ignore casing when authenticating users 2020-07-09 21:55:07 -04:00
rhythm493
172203b5cc Translated using Weblate (Marathi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/mr/
2020-07-08 14:04:34 -04:00
Anthony Lavado
7884a85e62 Merge pull request #3519 from jellyfin/azure-ci
Add conditionals to root YAML definition
2020-07-08 06:41:44 -07:00
dkanada
405bfdf13f Merge pull request #3522 from crobibero/syncplay-endpoints
Clean syncplay endpoint names
2020-07-08 18:16:27 +09:00
Patrick Barron
3cca8db905 Fix log spam from EF Core 2020-07-07 18:20:17 -04:00
crobibero
5d34b07d1f Make query parameters nullable or set default value 2020-07-07 09:10:51 -06:00
crobibero
33c465a5d3 Clean syncplay endpoint names 2020-07-07 07:25:46 -06:00
Sacha Korban
29c4220227 Fix support for mixed-protocol external subtitles 2020-07-07 19:54:11 +10:00
Joshua M. Boniface
6d0a3a110b Explicitly exit from inline script 2020-07-06 23:03:42 -04:00
Joshua M. Boniface
8bef24f331 Use weird other formating that AZP wants 2020-07-06 22:32:30 -04:00
Joshua M. Boniface
9d9c9a5945 Remove unneeded conditions that are now in parent 2020-07-06 22:14:25 -04:00
Joshua M. Boniface
aab79ef346 Add conditionals to root YAML definition
Prevents running builds (that get skipped) in PR CI, and prevents
running tests (which are irrelevant) in Merge CI.
2020-07-06 22:12:39 -04:00
Patrick Barron
2eef7d4913 Merge pull request #3504 from Ullmie02/api-genres
Move GenresService to Jellyfin.Api
2020-07-06 16:38:13 +00:00
Patrick Barron
48438e828c Merge pull request #3507 from Ullmie02/api-musicgenres
Move MusicGenresService to Jellyfin.Api
2020-07-06 16:36:23 +00:00
Patrick Barron
d80eb91ba1 Merge pull request #2967 from crobibero/api-channel
Move ChannelService to Jellyfin.Api
2020-07-06 16:34:59 +00:00
Patrick Barron
940dee57d7 Merge pull request #3493 from Ullmie02/api-items
Move ItemsService and TrailersService to Jellyfin.Api
2020-07-06 16:31:35 +00:00
crobibero
1bf131c109 remove duplicate functions 2020-07-06 10:02:16 -06:00
crobibero
b2e7a4a1cb Merge remote-tracking branch 'upstream/api-migration' into api-channel 2020-07-06 10:00:23 -06:00
David
c2ae0b492c Add missing using 2020-07-06 17:43:34 +02:00
David
95ea9dad00 Change route parameter name 2020-07-06 17:41:02 +02:00
David
c71234f4d9 Add authorization attribute 2020-07-06 17:39:45 +02:00
David
87f3326ffb Add authorization attribute 2020-07-06 17:36:24 +02:00
dkanada
3e53eb1cde Merge pull request #3516 from jellyfin/dependabot/nuget/Moq-4.14.5
Bump Moq from 4.14.4 to 4.14.5
2020-07-06 23:40:52 +09:00
crobibero
068725cded Fix documentation and authorize attribute 2020-07-06 08:02:23 -06:00
dependabot[bot]
88d06aa156 Bump Moq from 4.14.4 to 4.14.5
Bumps [Moq](https://github.com/moq/moq4) from 4.14.4 to 4.14.5.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.4...v4.14.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 12:02:46 +00:00
Anthony Lavado
3d3e66c5d1 Merge pull request #3513 from barronpm/plugin-exception-fix
Fix TypeLoadException during plugin load
2020-07-05 13:55:24 -07:00
Patrick Barron
942c733d4f Fix TypeLoadException during plugin load 2020-07-05 15:38:35 -04:00
BaronGreenback
70c638d1d4 Updated code as per jellyfin/master as version i amended didn't execute. 2020-07-05 18:12:56 +01:00
BaronGreenback
ab10f21027 Part 1 of a multi-PR change for Emby.DLNA 2020-07-05 17:47:23 +01:00
David
5a74a7d3c7 Add additional userId query parameter 2020-07-05 11:10:09 +02:00
David
57fab9035f Move MusicGenresService to Jellyfin.Api 2020-07-05 11:04:14 +02:00
Joshua M. Boniface
f3151e7dc7 Merge pull request #3505 from Bond-009/minor3
Minor fixes
2020-07-05 00:30:35 -04:00
Bond-009
fb91e4fc23 Merge pull request #3502 from barronpm/array-empty
Use Array.Empty
2020-07-04 23:10:45 +02:00
Bond-009
1448df1684 Update MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-07-04 22:36:02 +02:00
Bond_009
ae6eaa7f02 Minor fixes 2020-07-04 22:06:27 +02:00
David
589add1654 Change nullable behavior to fix web client 2020-07-04 19:05:42 +02:00
David
94ccb3ee98 Move GenresService to Jellyfin.Api 2020-07-04 18:50:16 +02:00
Patrick Barron
6d1b00da64 Use Array.Empty 2020-07-04 11:54:25 -04:00
Patrick Barron
613444a152 Merge pull request #2976 from crobibero/api-environment
Transfer EnvironmentService to Jellyfin.Api
2020-07-04 13:13:20 +00:00
nyanmisaka
d0098f1b95 update ffmpeg 4.3 from zeranoe builds 2020-07-04 19:54:40 +08:00
nyanmisaka
ce85cea9fa solve the green line issue on QSV 2020-07-04 19:21:16 +08:00
nyanmisaka
f5c5352861 add FFmpeg 4.3 detection and tests 2020-07-04 19:14:49 +08:00
Joshua M. Boniface
46f67c9ea4 Merge pull request #3423 from crobibero/easypassword
Remove EasyPassword from Authentication providers
2020-07-04 00:25:00 -04:00
dkanada
176f25fb98 Merge pull request #3495 from anthonylavado/xmltv-upd
Use newer Jellyfin.XmlTv for Guide Fixes
2020-07-04 03:50:48 +09:00
Anthony Lavado
af334f96d6 Use newer Jellyfin.XmlTv for Guide Fixes 2020-07-03 14:11:38 -04:00
David
c675a9bec9 Merge pull request #3405 from crobibero/api-livetv
Move LiveTvService.cs to Jellyfin.Api
2020-07-03 19:12:44 +02:00
David
68cc075dda Update LiveTvController.cs 2020-07-03 19:04:45 +02:00
David
31a492b2b9 Move TrailersService to Jellyfin.Api 2020-07-03 19:02:07 +02:00
David
121de44ad0 Move ItemsService to Jellyfin.Api 2020-07-03 18:39:50 +02:00
Cody Robibero
0830d381c4 Add missing endpoint 2020-07-03 10:25:26 -06:00
Max Git
3588ee5229 Merge branch 'master' into feature/ffmpeg-version-check 2020-07-02 23:50:13 +02:00
Joshua M. Boniface
5caddb242b Merge pull request #3431 from BaronGreenback/3404
Fix for #3404
2020-07-01 16:34:34 -04:00
Patrick Barron
3306639c9b Merge pull request #3487 from crobibero/api-persons
Move PersonsService.cs to Jellyfin.Api
2020-07-01 15:14:08 +00:00
Zyzto
1140bcc669 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-06-30 20:44:32 -04:00
crobibero
1aaee5cf8f Move PersonsService.cs to Jellyfin.Api 2020-06-30 18:26:53 -06:00
crobibero
13c4cb628f add missing function after merge 2020-06-30 18:03:04 -06:00
crobibero
14faebc7fe Merge remote-tracking branch 'upstream/api-migration' into api-livetv 2020-06-30 17:53:20 -06:00
Patrick Barron
d300d80479 Merge pull request #3484 from Ullmie02/api-artists
Move ArtistsService to Jellyfin.Api
2020-06-30 23:10:17 +00:00
Anthony Lavado
72aa0bb1ad Merge pull request #3480 from neilsb/ffmpeg-env-var
Respect FFMpeg path passed via Environment Variable
2020-06-30 11:21:17 -07:00
David
5dfe1ed9b3 Fix using ordering 2020-06-30 15:01:08 +02:00
David
6385e1ba46 Fix Build 2020-06-30 14:36:45 +02:00
David
94e792e0d7 Merge branch 'api-migration' of github.com:Ullmie02/jellyfin into api-migration 2020-06-30 14:34:48 +02:00
David
603b1693c0 Update Jellyfin.Api/Controllers/ArtistsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-30 14:15:17 +02:00
dkanada
92e7cc8f77 Merge pull request #3473 from jellyfin/dependabot/nuget/Moq-4.14.4
Bump Moq from 4.14.3 to 4.14.4
2020-06-30 11:42:05 +09:00
dependabot[bot]
248a2d61dd Bump Moq from 4.14.3 to 4.14.4
Bumps [Moq](https://github.com/moq/moq4) from 4.14.3 to 4.14.4.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.3...v4.14.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-30 02:20:44 +00:00
dkanada
49777f8ee3 Merge pull request #3478 from crobibero/bump-auto-test
bump autofixture
2020-06-30 11:19:55 +09:00
Neil Burrows
6b532b3da5 User string.Empty instead of ""
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-29 20:52:20 +01:00
Patrick Barron
a9dad2b04e Merge pull request #3451 from crobibero/api-studios
Move StudiosService.cs to Jellyfin.Api
2020-06-29 18:56:21 +00:00
crobibero
da40572979 Merge remote-tracking branch 'upstream/api-migration' into api-studios 2020-06-29 12:54:47 -06:00
Patrick Barron
1b34919a60 Merge pull request #3381 from crobibero/api-movies
Move MoviesService.cs to Jellyfin.Api
2020-06-29 18:43:12 +00:00
Neil Burrows
4748df26b6 Remove un-needed comment 2020-06-29 17:25:12 +01:00
Neil Burrows
4389773508 Respect FFMpeg path passed via Environment Variable 2020-06-29 17:17:28 +01:00
David
45e034e9a1 Move ArtistsService to Jellyfin.Api 2020-06-29 16:34:00 +02:00
Cody Robibero
8459d486de Update Jellyfin.Api/Controllers/MoviesController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-29 07:35:00 -06:00
crobibero
80b43fb805 bump autofixture 2020-06-29 07:27:15 -06:00
dkanada
c39ad25e4c Merge pull request #3477 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-5.5.1
Bump Swashbuckle.AspNetCore from 5.5.0 to 5.5.1
2020-06-29 22:25:19 +09:00
dkanada
9590a1d542 Merge pull request #3475 from jellyfin/dependabot/nuget/AutoFixture-4.12.0
Bump AutoFixture from 4.11.0 to 4.12.0
2020-06-29 22:23:30 +09:00
dependabot[bot]
84e74dbc50 Bump Swashbuckle.AspNetCore from 5.5.0 to 5.5.1
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.5.0...v5.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-29 12:25:06 +00:00
dependabot[bot]
4e2115cd83 Bump AutoFixture from 4.11.0 to 4.12.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.11.0...v4.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-29 12:24:58 +00:00
Patrick Barron
dbf939467f Merge pull request #3466 from crobibero/api-migration-nullable
Make all optional strings nullable
2020-06-28 23:59:21 +00:00
Patrick Barron
9b6daec3ad Merge pull request #3462 from Ullmie02/api-playbackinfo
Move MediaInfoService to Jellyfin.Api
2020-06-28 18:11:58 +00:00
David
68dd31d00e Remove routes in old service 2020-06-28 12:44:17 +02:00
Gonzalo Seguel
332527cf8c Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2020-06-28 02:23:57 -04:00
dkanada
c521ce412c Merge pull request #3461 from Bond-009/readonlyspan
Add support for ReadOnlySpan<char> in IgnorePatterns
2020-06-28 04:32:23 +09:00
Bond-009
dc2fc4ea16 Merge pull request #3378 from crobibero/syncplay-sessionid
[SyncPlay] Remove (unused) SessionId route parameter
2020-06-27 20:53:13 +02:00
Bond-009
89ef8d79d6 Merge pull request #3465 from BaronGreenback/BugFix2
10.6.0.0 Null Pointer fix
2020-06-27 20:43:37 +02:00
Patrick Barron
37e2405638 Merge pull request #3460 from crobibero/api-playstate
Move PlaystateService.cs to Jellyfin.Api
2020-06-27 18:40:28 +00:00
crobibero
73bcda7eac Make all optional strings nullable 2020-06-27 10:50:44 -06:00
BaronGreenback
2f4860741c _config.Configuration.PluginRespositories not instantiated causing InstallationManager.cs to crash with a null pointer. 2020-06-27 15:41:57 +01:00
David
bcd3cddad8 Move MediaInfoService to Jellyfin.Api 2020-06-27 12:26:43 +02:00
Bond-009
cb193b6afd Add support for ReadOnlySpan<char> in IgnorePatterns 2020-06-27 11:34:33 +02:00
Bond-009
71cbd51663 Merge pull request #3456 from crobibero/ignore-patterns
Add more ignorepatterns and tests
2020-06-27 11:18:56 +02:00
crobibero
f45d44f321 Move PlaystateService.cs to Jellyfin.Api 2020-06-26 21:04:02 -06:00
dkanada
9a44e2912e Merge pull request #3455 from jellyfin/values
Use constructor to set optimal config values
2020-06-27 05:58:07 +09:00
Patrick Barron
90c01327aa Merge pull request #3433 from crobibero/api-years
Move YearsService to Jellyfin.Api
2020-06-26 20:09:54 +00:00
Patrick Barron
ac646494e5 Merge pull request #3447 from crobibero/api-user-views
move UserViewsService.cs to Jellyfin.Api
2020-06-26 20:08:30 +00:00
Patrick Barron
b9b73178f5 Merge pull request #3449 from crobibero/api-user-library
Move UserLibraryService.cs to Jellyfin.Api
2020-06-26 20:06:53 +00:00
Patrick Barron
67a0f7180c Merge pull request #3453 from Ullmie02/api-instantmix
Move InstantMixService to Jellyfin.Api
2020-06-26 20:01:38 +00:00
Bond-009
73da8df4bf Merge pull request #3137 from mark-monteiro/external-id-type
Correctly Support Translating External Ids
2020-06-26 21:49:53 +02:00
crobibero
ef49e2b21c Fix nullable string usage. 2020-06-26 13:20:49 -06:00
crobibero
9772749d8f Add more ignorepatterns and tests 2020-06-26 11:04:35 -06:00
David
1e80be30a9 Add response code documentation 2020-06-26 17:45:07 +02:00
dkanada
83ae4d074d use constructor to set optimal config values 2020-06-27 00:22:27 +09:00
Cody Robibero
5f1b1dc3cc fix nullability 2020-06-26 08:41:21 -06:00
BaronGreenback
2272363197 Update SsdpCommunicationsServer.cs 2020-06-26 15:24:46 +01:00
BaronGreenback
27f6e1ddc8 Update SsdpCommunicationsServer.cs 2020-06-26 15:22:39 +01:00
Mark Monteiro
0e9164351b Merge remote-tracking branch 'upstream/master' into external-id-type 2020-06-26 10:12:22 -04:00
David
ea855c3a75 Merge branch 'api-migration' of github.com:jellyfin/jellyfin into api-instantmix 2020-06-26 13:48:56 +02:00
David
fb9654e783 Correct Library routing 2020-06-26 13:43:31 +02:00
David
778634b41b Move InstantMixService to Jellyfin.Api 2020-06-26 13:42:21 +02:00
dkanada
3b99e691a6 Merge pull request #3450 from crobibero/api-fix-swagger-order
Fix docs endpoint order
2020-06-26 19:21:48 +09:00
crobibero
325808d271 Move StudiosService.cs to Jellyfin.Api 2020-06-25 18:22:55 -06: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
crobibero
8d7b39a36e fix endpoint order 2020-06-25 17:44:11 -06:00
crobibero
8074c47d29 Move UserLibraryService.cs to Jellyfin.Api 2020-06-25 17:28:12 -06:00
crobibero
54d666d7c9 move UserViewsService.cs to Jellyfin.Api 2020-06-25 16:46:09 -06:00
crobibero
0179293c24 fix build 2020-06-25 16:23:31 -06:00
crobibero
18f7f5aec7 Merge remote-tracking branch 'upstream/api-migration' into api-environment 2020-06-25 16:22:04 -06:00
crobibero
0740ec6112 Merge remote-tracking branch 'upstream/api-migration' into api-image-service 2020-06-25 16:05:15 -06:00
Patrick Barron
7bd9172779 Merge pull request #3434 from crobibero/api-unused
remove unused query parameters
2020-06-25 21:45:44 +00:00
dkanada
57caa9fdba Merge pull request #3435 from crobibero/revert-missing-fields
revert missing session fields
2020-06-26 06:21:00 +09:00
dkanada
d0bc93e947 Merge pull request #3437 from barronpm/fix-user-delete
Fix User Deletion
2020-06-26 06:17:23 +09:00
dkanada
bb7444db07 Merge pull request #3439 from cvium/ignore_application_folders
Never ignore application folders
2020-06-26 06:14:19 +09:00
dkanada
f11ca0ba94 Merge pull request #3446 from crobibero/api-missing-route
Add missing route
2020-06-26 06:12:26 +09:00
dkanada
fc722a612e Merge pull request #3445 from crobibero/invalid-image
catch skia errors when getting image dimensions
2020-06-26 06:11:42 +09:00
crobibero
835bda7be3 Add missing route 2020-06-25 13:01:41 -06:00
crobibero
9eba11379a catch skia errors when getting image dimensions 2020-06-25 12:10:33 -06:00
dkanada
9a43dce6d0 Merge pull request #3444 from jellyfin/badge
Fix azure badge
2020-06-26 03:00:40 +09:00
Patrick Barron
45f195aca9 Merge pull request #3440 from Ullmie02/api-collection
Move CollectionService to Jellyfin.Api
2020-06-25 17:33:40 +00:00
Patrick Barron
7c96018410 Merge pull request #3441 from Ullmie02/api-albums
Move AlbumsService to Jellyfin.Api
2020-06-25 17:30:34 +00:00
dkanada
cc18aa38fa update badge to match azure link 2020-06-26 01:29:28 +09:00
dkanada
0714bde9ce fix azure badge 2020-06-26 01:25:14 +09:00
David
53f4a8ce58 Add missing response code documentation 2020-06-25 17:15:08 +02:00
David
2cc5b1ab94 Add response code docs 2020-06-25 17:07:12 +02:00
David
fa98013621 Move AlbumsService to Jellyfin.Api 2020-06-25 13:23:54 +02:00
David
dad6f12b10 Move CollectionService to Jellyfin.Api 2020-06-25 12:51:18 +02:00
Claus Vium
0f07b19ca5 Remove AllowIgnorePath 2020-06-25 11:33:10 +02:00
Claus Vium
9dee1eef83 Never ignore application folders 2020-06-25 11:31:43 +02:00
Nyanmisaka
912946a427 Merge pull request from jellyfin/master 2020-06-25 16:37:40 +08:00
Franco Castillo
91c51ae675 Translated using Weblate (Spanish (Argentina))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2020-06-25 00:48:29 -04:00
peberis
d0162bbe5a Translated using Weblate (Nepali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ne/
2020-06-24 22:19:12 -04:00
Patrick Barron
5ee419ebe4 Fix typo 2020-06-24 21:07:39 -04:00
Patrick Barron
2967dd6afd Change to ResourceNotFoundException 2020-06-24 20:36:58 -04:00
Patrick Barron
9a01cd8590 Fix user deletion. 2020-06-24 20:19:47 -04:00
Pedro Nave
7da49d57b1 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-06-24 19:39:44 -04:00
crobibero
ef8bec23c4 revert missing session fields 2020-06-24 15:09:15 -06:00
crobibero
7a32d03101 remove unused parameters 2020-06-24 14:43:28 -06:00
crobibero
1228d6711e remove unused parameters 2020-06-24 14:35:57 -06:00
Sasa
d5dad64e61 Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-06-24 16:21:09 -04:00
crobibero
e72a22c564 Move YearsService.cs to Jellyfin.Api 2020-06-24 13:48:22 -06:00
Cody Robibero
7c1020cfc1 Merge pull request #2984 from crobibero/api-library
Move Library Service to Jellyfin.API
2020-06-24 12:57:39 -06:00
crobibero
fb81f95ae8 fix duplicate function 2020-06-24 12:49:09 -06:00
crobibero
289605c07f Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-24 12:36:13 -06:00
crobibero
60ab4cd7b1 move YearsService.cs to Jellyfin.Api 2020-06-24 12:23:46 -06:00
crobibero
fee07219d0 fix merge 2020-06-24 10:54:25 -06:00
crobibero
cbcf3bfaff Merge remote-tracking branch 'upstream/api-migration' into api-channel 2020-06-24 10:52:39 -06:00
BaronGreenback
f01baad05e Sending multicasts out of Sockets without setting the broadcast to true - causes the error "Bad value for ai_flags" on some systems (#3404)
The underlying cause looks to be https://github.com/dotnet/runtime/issues/28630.

Basically, it's an access denied bug.
It looks like multicasts need the same access rights as broadcasts on some systems.
2020-06-24 17:23:16 +01:00
BaronGreenback
c07d8abfd5 Removed debugging info 2020-06-24 17:11:02 +01:00
crobibero
44a8ea6bee implement ChangeEasyPassword from legacy provider 2020-06-24 09:45:11 -06:00
Patrick Barron
6ad50f2e02 Merge pull request #3421 from Ullmie02/api-tvshows
Move TvShowsService to Jellyfin.Api
2020-06-24 14:27:47 +00:00
crobibero
32881c6b22 add missing docs and attributes 2020-06-24 08:01:12 -06:00
BaronGreenback
5b0c182908 Added logging and broadcast = true
Not intended for merge into the fork.
2020-06-24 14:31:17 +01:00
BaronGreenback
2486e48097 Merge pull request #30 from jellyfin/master
Updating master
2020-06-24 14:16:02 +01:00
David
d64770bcdb Finish TvShowsController 2020-06-24 14:40:37 +02:00
crobibero
7e94bb7864 fix controller attribute 2020-06-23 11:53:08 -06:00
crobibero
b4a773fde8 Merge remote-tracking branch 'upstream/api-migration' into api-livetv 2020-06-23 11:50:42 -06:00
crobibero
c4f9112b0d Move LiveTvService.cs to Jellyfin.Api 2020-06-23 11:48:37 -06:00
Anthony Lavado
92091f13d3 Merge pull request #2904 from Bond-009/buffer
Use System.Buffers in RangeRequestWriter
2020-06-23 12:50:24 -04:00
Joshua M. Boniface
fe1c80668c Merge pull request #3386 from jellyfin/azure-ci
Add Azure DevOps package builds
2020-06-23 12:12:31 -04:00
Patrick Barron
cdba45fc3c Merge pull request #3285 from Ullmie02/api-system
Move SystemService to Jellyfin.Api
2020-06-23 14:02:21 +00:00
Bond-009
7481c3500a Merge pull request #3425 from crobibero/revert-baseitem-logger
Revert ILoggerFactory usage in BaseItem.cs
2020-06-23 16:01:00 +02:00
crobibero
1398c2117c Revert ILoggerFactory usage in BaseItem.cs 2020-06-23 07:31:59 -06:00
dkanada
ec017be16b Merge pull request #3407 from telans/vscode
.gitignore: ignore jellyfin-web symlink & .vscode: dotnet telemetry optout
2020-06-23 21:17:35 +09:00
telans
712d581e01 remove vscode launch.json comments 2020-06-23 20:35:10 +12:00
telans
6bf4e1b28c gitignore: catch jellyfin-web as symlink 2020-06-23 20:35:10 +12:00
telans
ae20776db3 vscode: dotnet telemetry optout 2020-06-23 20:35:08 +12:00
Max Git
1c84a31b22 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-23 10:24:34 +02:00
dkanada
4e08876028 Merge pull request #3418 from Bond-009/minor3
Minor changes
2020-06-23 16:56:44 +09:00
Max Git
c35c401d65 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-23 09:20:50 +02:00
crobibero
3169b0af89 fix merge 2020-06-22 20:24:59 -06:00
crobibero
f4d8e0e20c Merge remote-tracking branch 'upstream/master' into easypassword 2020-06-22 20:23:06 -06:00
Patrick Barron
57bf8c17d6 Merge pull request #3420 from Ullmie02/api-missing-policy
Add missing authorization policies (new Web Api)
2020-06-23 01:33:13 +00:00
Patrick Barron
68e89be349 Merge pull request #3419 from crobibero/api-branding
move BrandingService.cs to Jellyfin.Api
2020-06-22 21:50:12 +00:00
dkanada
0be10db5a5 Merge pull request #3416 from jellyfin/dependabot/nuget/prometheus-net.AspNetCore-3.6.0
Bump prometheus-net.AspNetCore from 3.5.0 to 3.6.0
2020-06-23 01:43:23 +09:00
David
293d96f27c Move TvShowsService to Jellyfin.Api started 2020-06-22 18:02:57 +02:00
Anthony Lavado
649cccfc05 Merge pull request #3409 from Bond-009/scanerror
Fix scan crashed
2020-06-22 10:38:32 -04:00
crobibero
1d7d480efe fix tests 2020-06-22 08:14:07 -06:00
David
6b72fb8631 Add missing default authorization policy 2020-06-22 15:49:15 +02:00
crobibero
d2f7cb0442 Merge branch 'api-branding' of github.com:crobibero/jellyfin into api-branding 2020-06-22 07:47:48 -06:00
crobibero
0fa316c9e4 move BrandingService.cs to Jellyfin.Api 2020-06-22 07:47:22 -06:00
Cody Robibero
263d925e4f Update launchSettings.json 2020-06-22 07:46:47 -06:00
David
5c6e9f4db5 Add missing authorization policies 2020-06-22 15:44:11 +02:00
crobibero
a50738e88d move BrandingService.cs to Jellyfin.Api 2020-06-22 07:37:29 -06: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
dependabot[bot]
35d80392ec Bump prometheus-net.AspNetCore from 3.5.0 to 3.6.0
Bumps [prometheus-net.AspNetCore](https://github.com/prometheus-net/prometheus-net) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v3.5.0...v3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 13:16:21 +00:00
dkanada
a3bc82727a Merge pull request #3414 from jellyfin/dependabot/nuget/prometheus-net-3.6.0
Bump prometheus-net from 3.5.0 to 3.6.0
2020-06-22 22:11:08 +09:00
dkanada
8320ed685a Merge pull request #3415 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-5.5.0
Bump Swashbuckle.AspNetCore from 5.4.1 to 5.5.0
2020-06-22 22:10:48 +09:00
dkanada
2498c5f0ab Merge pull request #3417 from jellyfin/dependabot/nuget/Moq-4.14.3
Bump Moq from 4.14.1 to 4.14.3
2020-06-22 22:10:29 +09: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
dkanada
3d65cbdf07 apply suggestions from code review
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-06-22 21:59:56 +09:00
dependabot[bot]
3e57898d6b Bump Moq from 4.14.1 to 4.14.3
Bumps [Moq](https://github.com/moq/moq4) from 4.14.1 to 4.14.3.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.1...v4.14.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:01:53 +00:00
dependabot[bot]
12f700fb2a Bump Swashbuckle.AspNetCore from 5.4.1 to 5.5.0
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.4.1 to 5.5.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.4.1...v5.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:01:34 +00:00
dependabot[bot]
be4fdd2394 Bump prometheus-net from 3.5.0 to 3.6.0
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v3.5.0...v3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:01:32 +00:00
BaronGreenback
ba3a9f7d46 removing stray < character from description. 2020-06-22 12:14:31 +01:00
BaronGreenback
a25a233b75 Using Version class. 2020-06-22 11:57:46 +01: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
a20fd34161 Update Emby.Server.Implementations/Updates/InstallationManager.cs
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-06-22 11:04:20 +01:00
Neil Burrows
c20400fa40 Prevent system plugins from being uninstalled 2020-06-22 10:13:28 +01:00
Bond-009
f75024fade Fix scan crashed 2020-06-22 10:06:35 +02:00
crobibero
f35774170f Move LiveTvService.cs to Jellyfin.Api 2020-06-21 16:12:21 -06:00
Patrick Barron
743032f1e1 Merge pull request #3393 from Ullmie02/api-dashboard
Move DashboardController to Jellyfin.Api
2020-06-21 19:41:11 +00:00
Nitish Raj Uprety
c3349038c4 Translated using Weblate (Nepali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ne/
2020-06-21 15:37:41 -04:00
Patrick Barron
a6664b8335 Merge pull request #3275 from crobibero/api-playlist
Move PlaylistService to Jellyfin.Api
2020-06-21 18:54:38 +00:00
Patrick Barron
87734b8647 Merge pull request #3399 from Ullmie02/api-videos
Move VideosService to Jellyfin.Api
2020-06-21 18:51:30 +00:00
BaronGreenback
bf1bbbdd3e Changed sorting to case insensitive 2020-06-21 18:46:48 +01:00
BaronGreenback
2255bc9872 Changed padding in version numbers based up how they are stored in the repository. 2020-06-21 18:42:50 +01:00
crobibero
38788a1f1d Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-21 11:34:05 -06:00
crobibero
ccd7b3f524 WIP GetImage endpoints 2020-06-21 11:31:44 -06:00
Patrick Barron
3bf19d1e93 Merge pull request #3395 from crobibero/api-routes-fix
Add missing attributes, fix response codes, fix route parameter casing
2020-06-21 17:21:02 +00:00
andyguerra
18602b4724 Translated using Weblate (Spanish (Latin America))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_419/
2020-06-21 12:54:20 -04:00
David
4eb94b8fb1 Update Jellyfin.Api/Controllers/DashboardController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-21 18:22:17 +02:00
BaronGreenback
d89c46f1a9 fixes 2020-06-21 17:11:21 +01:00
David
fae510308e Add try catch block 2020-06-21 18:00:04 +02:00
David
f736b43f97 Merge pull request #3271 from crobibero/api-item-lookup
Move ItemLookupService to Jellyfin.Api
2020-06-21 17:47:16 +02:00
crobibero
cffba00f51 Fix response code 2020-06-21 09:35:38 -06:00
Cody Robibero
f211a6c17b Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:52 -06:00
Cody Robibero
f6972cdab8 Update Jellyfin.Api/Controllers/ItemRefreshController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:46 -06:00
Cody Robibero
857eb0c397 Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:40 -06:00
Cody Robibero
c492c09b25 Update Jellyfin.Api/Controllers/DisplayPreferencesController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:34 -06:00
BaronGreenback
99410f3c97 fixes 2020-06-21 16:15:55 +01:00
Nitish Raj Uprety
1c371812aa Added translation using Weblate (Nepali) 2020-06-21 10:23:49 -04:00
David
8f9c985988 Move VideosService to Jellyfin.Api 2020-06-21 16:00:16 +02:00
BaronGreenback
a041fe8a2d Add versioning to plugin folders 2020-06-21 13:29:35 +01:00
David
9a223b7359 Fix suggestions 2020-06-21 12:35:06 +02:00
David
d7ae666ef0 Merge pull request #3273 from crobibero/api-item-update
Move ItemUpdateService to Jellyfin.Api
2020-06-21 12:10:55 +02:00
Joshua M. Boniface
680dd95292 Merge pull request #3394 from Ullmie02/fix-startupwizzard
Fix startup wizard in 10.6
2020-06-21 03:12:12 -04:00
crobibero
10ddbc34ec Add missing attributes, fix response codes, fix route parameter casing 2020-06-20 18:02:07 -06:00
crobibero
9a8deadc21 implement all non image get endpoints 2020-06-20 17:06:33 -06:00
crobibero
b603742a77 Merge remote-tracking branch 'upstream/api-migration' into api-image-service 2020-06-20 16:26:42 -06:00
crobibero
f017f5c97f clean up 2020-06-20 16:07:53 -06:00
crobibero
472fd5217f clean up 2020-06-20 16:07:09 -06:00
crobibero
d1ca0cb4c7 Use proper DtoOptions extensions 2020-06-20 16:03:19 -06:00
crobibero
3329b08b40 Merge remote-tracking branch 'upstream/api-migration' into api-playlist 2020-06-20 15:56:42 -06:00
Patrick Barron
deac459b62 Merge pull request #3382 from Ullmie02/api-suggestions
Move SuggestionsService to Jellyfin.Api
2020-06-20 21:42:27 +00:00
Anthony Lavado
3a5df3d060 Merge pull request #3007 from BaronGreenback/SSDP
Fix for #2986
2020-06-20 17:39:00 -04:00
Cody Robibero
43221fc26b Merge branch 'master' into SSDP 2020-06-20 15:33:13 -06:00
crobibero
81c0451b5e Fix response code & docs 2020-06-20 15:16:30 -06:00
crobibero
8c38644fca Fix response code & docs 2020-06-20 15:15:59 -06:00
crobibero
95bae56640 Fix response code & docs 2020-06-20 15:14:43 -06:00
crobibero
0c98bc42a8 Fix response code & docs 2020-06-20 15:11:10 -06:00
Joshua M. Boniface
2506feb544 Update branch checks from azure-ci to master 2020-06-20 15:03:25 -04:00
David
576ffeb2a9 Merge pull request #3324 from Ullmie02/api-sessionservice
Move SessionService to Jellyfin.Api
2020-06-20 20:55:09 +02:00
David Ullmer
d4c86b82e0 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-sessionservice
# Conflicts:
#	Jellyfin.Api/Helpers/RequestHelpers.cs
2020-06-20 20:45:16 +02:00
BaronGreenback
b5586e64f5 Merge pull request #25 from jellyfin/master
Update my master
2020-06-20 19:23:56 +01:00
Patrick Barron
804764e1fb Merge pull request #3363 from Ullmie02/api-user
Move UserService to Jellyfin.Api
2020-06-20 16:52:58 +00:00
David
82c1da34be Fix tests 2020-06-20 18:29:29 +02:00
Anthony Lavado
bb947718ea Merge pull request #3380 from Bond-009/warn20
Enable TreatWarningsAsErrors in Release for MediaBrowser.Providers
2020-06-20 12:26:02 -04:00
David
1c78482b48 Use authorization code from api-migration to fix startup wizard 2020-06-20 18:02:03 +02:00
Bond-009
beb3896d7f Merge pull request #3390 from telans/fixes
Multiple warning fixes
2020-06-20 16:48:48 +02:00
David
64fb173dad Move DashboardController to Jellyfin.Api 2020-06-20 15:59:41 +02:00
David
33de0ac108 Use RequestHelpers.Split 2020-06-20 12:10:45 +02:00
telans
6556bec646 brace multiline if statements (cont.) 2020-06-20 21:19:16 +12:00
telans
5bb639a59a newlines after braces 2020-06-20 21:13:48 +12:00
telans
7f307f9082 brace multiline if statements 2020-06-20 21:12:36 +12:00
telans
98db8f72e0 fix SA1503 for one line if statements 2020-06-20 20:35:29 +12:00
telans
8e3d874802 remove regions 2020-06-20 18:20:33 +12:00
telans
8de6452967 fix some documentation periods 2020-06-20 18:13:11 +12:00
telans
afe09612e8 fix SA1119 2020-06-20 18:13:11 +12:00
ConfusedPolarBear
e2f16fc255 Merge remote-tracking branch 'upstream/master' into quickconnect 2020-06-19 23:33:43 -05:00
ConfusedPolarBear
329980c727 API cleanup 2020-06-19 23:33:07 -05:00
ConfusedPolarBear
4be476ec53 Move all settings into the main server configuration
Decreased the timeout from 30 minutes to 5.
Public lookup values have been replaced with the short code.
2020-06-19 23:32:24 -05:00
Patrick Barron
e26f487fc8 Merge pull request #3377 from crobibero/api-pragma
Convert pragma to SuppressMessage
2020-06-20 00:49:35 +00:00
Patrick Barron
c3915cdb78 Merge pull request #2926 from crobibero/api-display-preferences
DisplayPreferences to Jellyfin.Api
2020-06-20 00:47:55 +00:00
Joshua M. Boniface
4bfb4c9095 Remove as builder element as well 2020-06-19 17:46:58 -04:00
Joshua M. Boniface
d8428b0a0a Move ARGs for directories to after import 2020-06-19 17:44:04 -04:00
Joshua M. Boniface
ddc7b399a6 Add mkdir of the SOURCE_DIR before setting WORKDIR 2020-06-19 17:41:20 -04:00
Joshua M. Boniface
b778bcdb37 Update strategy names for Docker 2020-06-19 17:33:07 -04:00
BaronGreenback
46006a1aff Re-ordered code for the match 2020-06-19 22:32:07 +01:00
Joshua M. Boniface
7b1190cb28 Build builder docker images in Azure 2020-06-19 17:20:48 -04:00
Joshua M. Boniface
5a1971c280 Add builder docker images 2020-06-19 17:17:44 -04:00
crobibero
cd273c4e98 Start move ImageService.cs to Jellyfin.Api 2020-06-19 15:08:35 -06:00
BaronGreenback
6c2139a4c1 Merge branch 'SSDP' of https://github.com/BaronGreenback/jellyfin into SSDP 2020-06-19 22:07:43 +01:00
BaronGreenback
02f6ced07a Merged 2020-06-19 22:07:25 +01:00
Joshua M. Boniface
a418c24806 Modify build scripts to build Unstable versions 2020-06-19 16:31:59 -04:00
Joshua M. Boniface
3599ae7186 Add Azure pipelines configuration for server 2020-06-19 16:25:11 -04:00
David
f17d198eb5 Move SuggestionsService to Jellyfin.Api 2020-06-19 22:18:46 +02:00
crobibero
7c79ee0cd5 Move MoviesService.cs to Jellyfin.Api 2020-06-19 13:51:01 -06:00
crobibero
45234e5ecd Add movie support to existing GetSimilarItemsResult 2020-06-19 13:29:14 -06:00
crobibero
e2a7e8d97e Move LibraryService.cs to Jellyfin.Api 2020-06-19 13:10:10 -06:00
Bond_009
eba488a0f8 Enable TreatWarningsAsErrors in Release for MediaBrowser.Providers 2020-06-19 20:24:13 +02:00
dkanada
e8e5208fbd Merge pull request #3360 from Bond-009/fix-3359
Fix Task that ignores cancellation request
2020-06-20 03:04:24 +09:00
Bond-009
f8459502d8 Merge pull request #3379 from Ullmie02/api-nullable
Remove #nullable enable in Jellyfin.Api
2020-06-19 19:09:32 +02:00
crobibero
494f697072 Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-19 10:49:49 -06:00
David Ullmer
7e91ded587 Remove #nullable enable 2020-06-19 18:20:49 +02:00
wky
62d86293eb Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2020-06-19 12:17:39 -04:00
David Ullmer
68ea589f1a Use direct return instead of Ok() 2020-06-19 18:11:46 +02:00
crobibero
7a9113adff Remove (unused) SessionId route parameter 2020-06-19 09:09:31 -06:00
crobibero
d53a2899b1 remove #nullable 2020-06-19 09:03:04 -06:00
crobibero
e4a13f0e1e remove #nullable 2020-06-19 09:02:41 -06:00
crobibero
8f1505cdf5 remove #nullable 2020-06-19 09:02:10 -06:00
crobibero
6767c47ccd remove #nullable 2020-06-19 09:01:37 -06:00
crobibero
97ce641242 remove #nullable 2020-06-19 09:00:50 -06:00
Bond-009
cae3ed8aeb Merge pull request #3316 from aled/check-stored-password-exists
Fix server error when user enters a password, but none is set.
2020-06-19 16:59:35 +02:00
crobibero
d820c0fff5 Convert pragma to supresswarning 2020-06-19 08:49:42 -06:00
David
08401f923d Change swagger dictionary type mapping 2020-06-19 15:49:44 +02:00
Patrick Barron
305808dd0a Merge pull request #3373 from crobibero/api-dto
Add DtoExtensions
2020-06-19 13:38:14 +00:00
David
b51b9653ac Add missing authorization policies 2020-06-19 14:29:32 +02:00
David
d63c0e4228 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-system 2020-06-19 14:13:40 +02:00
David
a5bd7f2d6e Use new authorization and session functions 2020-06-19 13:03:53 +02:00
David
42385a14f0 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-sessionservice
# Conflicts:
#	MediaBrowser.Api/Sessions/SessionService.cs
2020-06-19 12:32:38 +02:00
David
6651cb8d24 Add JsonInto32Converter
Add additional swagger type mapping
2020-06-19 12:24:39 +02:00
David
77bea56708 Add request body models 2020-06-18 19:35:29 +02:00
David
762eeb51e6 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-user 2020-06-18 18:52:01 +02:00
crobibero
69e1047bf3 Add DtoExtensions.cs 2020-06-18 10:42:48 -06:00
David
522e44de59 Merge pull request #3357 from crobibero/api-authorization
Add Authorization handlers
2020-06-18 18:37:08 +02:00
David
713ae7ae36 Add xml comments; Add status codes; Use return instead of exception 2020-06-18 18:09:58 +02:00
Bond-009
a3c0b8a826 Merge branch 'master' into buffer 2020-06-18 17:01:15 +02:00
Patrick Barron
1da044e0eb Merge pull request #3369 from crobibero/api-cleanup
Remove #nullable, make Task.Run async
2020-06-18 13:22:52 +00:00
crobibero
9a51f484af Remove nullable, add async task 2020-06-18 07:11:46 -06:00
Patrick Barron
116284fe99 Merge pull request #3321 from Ullmie02/api-librarystructure
Move LibraryStructureService to Jellyfin.Api
2020-06-17 23:27:47 +00:00
Max Git
cd8d04f055 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-17 22:31:10 +02:00
David
f2d7eac418 [WIP] Move UserService to Jellyfin.Api 2020-06-17 21:08:58 +02:00
Bond_009
46276acc22 Fix Task that ignores cancellation request 2020-06-17 19:20:43 +02:00
Patrick Barron
b4da357db2 Merge pull request #2944 from crobibero/api-image
ImageNameService to Jellyfin.Api
2020-06-17 17:15:32 +00:00
David
226a9d5d2e Merge pull request #2946 from crobibero/api-image2
Move RemoteImageService to Jellyfin.API
2020-06-17 19:07:20 +02:00
David
bf133d044a Merge pull request #3269 from crobibero/api-filter
Move FilterService to Jellyfin.Api
2020-06-17 18:53:03 +02:00
crobibero
9b45ee440c User proper File constructor 2020-06-17 10:51:50 -06:00
crobibero
0d1298e851 User proper File constructor 2020-06-17 10:49:34 -06:00
crobibero
90fe8f0cbc Merge branch 'api-filter' of github.com:crobibero/jellyfin into api-filter 2020-06-17 10:43:26 -06:00
crobibero
444605703c Merge remote-tracking branch 'upstream/api-migration' into api-filter 2020-06-17 10:43:04 -06:00
Cody Robibero
f181cb3746 Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-17 10:41:40 -06:00
Bond-009
fbefddbb81 Merge pull request #3334 from crobibero/warning-local-metadata
Remove warnings from MediaBrowser.LocalMetadata
2020-06-17 18:07:59 +02:00
Cody Robibero
8604b712bd Update MediaBrowser.LocalMetadata/Images/EpisodeLocalImageProvider.cs
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-06-17 09:53:02 -06:00
Cody Robibero
f27f977f01 Merge pull request #3333 from crobibero/api-item-refresh
Move ItemRefreshService.cs to Jellyfin.Api
2020-06-17 09:12:41 -06:00
Cody Robibero
5a7ad6b2dc Merge pull request #3274 from crobibero/api-localization
Move LocalizationService to Jellyfin.Api
2020-06-17 09:12:33 -06:00
David
efe998ecf4 Merge pull request #3280 from crobibero/api-plugin
Move PluginService to Jellyfin.Api
2020-06-17 17:07:37 +02:00
crobibero
0c01b6817b Add X-Forward-(For/Proto) support 2020-06-17 08:05:30 -06:00
crobibero
4962e230af revert adding Jellyfin to auth header 2020-06-17 06:52:15 -06:00
BaronGreenback
b2e1d70191 Merge pull request #24 from jellyfin/master
Updating my master
2020-06-17 11:43:38 +01:00
Max Git
000768f56c Merge branch 'master' into feature/ffmpeg-version-check 2020-06-17 10:17:50 +02:00
Anthony Lavado
fde63e16cb Merge pull request #3358 from crobibero/people-blurhash
Enable BlurHash for People
2020-06-16 21:23:20 -04:00
Max Git
33f78df051 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-17 02:52:38 +02:00
crobibero
a639663aa7 Merge remote-tracking branch 'upstream/master' into warning-local-metadata 2020-06-16 18:30:10 -06:00
crobibero
29917699f0 Further cleanup and add final tests 2020-06-16 16:55:02 -06:00
Cody Robibero
b451eb0bdc Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-16 16:45:17 -06:00
crobibero
b22fdbf59e Add tests and cleanup 2020-06-16 16:42:10 -06:00
crobibero
0651d7512b Enable BlurHash for People 2020-06-16 15:12:48 -06:00
crobibero
c24666253c Add Default authorization policy 2020-06-16 14:15:58 -06:00
crobibero
774fdbd031 Fix tests. 2020-06-16 14:12:40 -06:00
aled
991b6fb739 Merge remote-tracking branch 'upstream/master' into check-stored-password-exists 2020-06-16 19:30:54 +01:00
aled
05f736defb Merge branch 'master' into check-stored-password-exists
# Conflicts:
#	Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
2020-06-16 19:30:23 +01:00
dkanada
e77f6194f2 add missing comma in array 2020-06-17 02:16:17 +09:00
dkanada
f5d82441a4 Merge branch 'master' into custom-repos 2020-06-17 02:09:32 +09:00
David
a952d15670 Await Task from _libraryManager 2020-06-16 16:08:31 +02:00
dkanada
215ab39e00 Merge pull request #3342 from BaronGreenback/BugFix2
Fix for [DLNA] Many log messages from Media Renderers trying to see old events
2020-06-16 19:02:16 +09:00
dkanada
2bdea29e25 Merge pull request #3353 from Bond-009/args
Remove code for handling single hyphen arguments
2020-06-16 18:59:11 +09:00
Bond-009
9af6eda0b4 Merge pull request #3343 from telans/comment-stops
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
Bond-009
4d91060c25 Merge pull request #3341 from telans/brace-spacing
Add newlines after closing braces (SA1513/SA1516)
2020-06-16 11:49:42 +02:00
Prokash Sarkar
ebfd1e7c47 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-06-16 03:11:10 -04:00
telans
ab3dece9f1 fix brace spacing for do while loops 2020-06-16 16:11:32 +12:00
telans
247f9c61e6 fix SA1513/SA1516 2020-06-16 16:11:30 +12:00
Anthony Lavado
25f8e596cb Merge pull request #2809 from nyanmisaka/hwaccel
Add more separate hardware decoding toggles, support videotoolbox
2020-06-16 00:07:55 -04:00
Max Git
e6c197b969 Cleanup 2020-06-16 01:09:41 +02:00
Max Git
a57d664c7d Merge branch 'master' into feature/ffmpeg-version-check 2020-06-16 00:53:10 +02:00
telans
9018f8d8be Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
crobibero
a8adbef74f Add GetAuthorizationInfo for netcore HttpRequest 2020-06-15 13:21:18 -06:00
Joe DF
741db0287a Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-06-15 15:01:30 -04:00
crobibero
4aac936721 Add more authorization handlers, actually authorize requests 2020-06-15 12:49:54 -06:00
Max Git
ef3200e178 Remove redundant cast 2020-06-15 19:50:09 +02:00
Bond-009
73481c3ba4 Merge pull request #3344 from jellyfin/dependabot/nuget/PlaylistsNET-1.0.6
Bump PlaylistsNET from 1.0.4 to 1.0.6
2020-06-15 19:07:47 +02:00
Bond_009
b30ae1a949 Remove code for handling single hyphen arguments
and return exit code 1 when argument parsing fails
2020-06-15 17:06:57 +02:00
crobibero
24f54837e1 Switch to M3uContent 2020-06-15 08:34:24 -06:00
Bond-009
75b7fea024 Merge pull request #3350 from jellyfin/dependabot/nuget/sharpcompress-0.25.1
Bump sharpcompress from 0.25.0 to 0.25.1
2020-06-15 16:17:04 +02:00
Bond-009
0426f3d93d Merge pull request #3349 from jellyfin/dependabot/nuget/Serilog.Sinks.Graylog-2.1.3
Bump Serilog.Sinks.Graylog from 2.1.2 to 2.1.3
2020-06-15 16:16:43 +02:00
Bond-009
20bd5474df Merge pull request #3348 from jellyfin/dependabot/nuget/CommandLineParser-2.8.0
Bump CommandLineParser from 2.7.82 to 2.8.0
2020-06-15 16:16:07 +02:00
Bond-009
d0cef71dfa Merge pull request #3347 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore-5.4.1
Bump Swashbuckle.AspNetCore from 5.0.0 to 5.4.1
2020-06-15 16:12:49 +02:00
Bond-009
0fff5b92c2 Merge pull request #3346 from jellyfin/dependabot/nuget/coverlet.collector-1.3.0
Bump coverlet.collector from 1.2.1 to 1.3.0
2020-06-15 16:12:21 +02:00
Bond-009
4837c19bff Merge pull request #3351 from jellyfin/dependabot/nuget/IPNetwork2-2.5.211
Bump IPNetwork2 from 2.4.0.126 to 2.5.211
2020-06-15 16:11:41 +02:00
Max Git
11f3a0dc58 Use Version instead of double. Use correct version number for libavdevice. 2020-06-15 15:10:59 +02:00
dependabot[bot]
58118aca0c Bump IPNetwork2 from 2.4.0.126 to 2.5.211
Bumps [IPNetwork2](https://github.com/lduchosal/ipnetwork) from 2.4.0.126 to 2.5.211.
- [Release notes](https://github.com/lduchosal/ipnetwork/releases)
- [Commits](https://github.com/lduchosal/ipnetwork/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:38 +00:00
dependabot[bot]
6d99d55fd6 Bump sharpcompress from 0.25.0 to 0.25.1
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.25.0 to 0.25.1.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.25...0.25.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:36 +00:00
dependabot[bot]
685458b40d Bump Serilog.Sinks.Graylog from 2.1.2 to 2.1.3
Bumps [Serilog.Sinks.Graylog](https://github.com/whir1/serilog-sinks-graylog) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/whir1/serilog-sinks-graylog/releases)
- [Commits](https://github.com/whir1/serilog-sinks-graylog/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:35 +00:00
dependabot[bot]
b0093fbce4 Bump CommandLineParser from 2.7.82 to 2.8.0
Bumps [CommandLineParser](https://github.com/commandlineparser/commandline) from 2.7.82 to 2.8.0.
- [Release notes](https://github.com/commandlineparser/commandline/releases)
- [Changelog](https://github.com/commandlineparser/commandline/blob/master/CHANGELOG.md)
- [Commits](https://github.com/commandlineparser/commandline/commits/2.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:32 +00:00
dependabot[bot]
95884752de Bump Swashbuckle.AspNetCore from 5.0.0 to 5.4.1
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.0.0 to 5.4.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.0.0...v5.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:29 +00:00
dependabot[bot]
979137f567 Bump coverlet.collector from 1.2.1 to 1.3.0
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:24 +00:00
dependabot[bot]
c243ec7ce9 Bump PlaylistsNET from 1.0.4 to 1.0.6
Bumps [PlaylistsNET](https://github.com/tmk907/PlaylistsNET) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/tmk907/PlaylistsNET/releases)
- [Commits](https://github.com/tmk907/PlaylistsNET/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 12:01:17 +00:00
dkanada
dabb869a6b Merge branch 'master' into hwaccel 2020-06-15 20:21:25 +09:00
Max Git
3fbc387257 Fix stylecop error like on master. 2020-06-15 12:15:05 +02:00
Max Git
37e737e012 Merge from master & fix conflict 2020-06-15 12:12:03 +02:00
BaronGreenback
6d6793151a Null pointer check added for subscription as 2nd param is false. 2020-06-15 10:10:52 +01:00
BaronGreenback
862bcdba67 Merge pull request #23 from jellyfin/master
updating
2020-06-15 10:01:55 +01:00
Anthony Lavado
100e9d586d Merge pull request #3336 from telans/specific-fixes
Fix trivial SA1005, SA1111, SA1508, SA1510 warnings
2020-06-14 22:51:29 -04:00
Anthony Lavado
cf9223b8cb Merge pull request #3340 from crobibero/api-migration-merge
Merge master into api-migration
2020-06-14 22:50:49 -04:00
crobibero
524243a934 fix merge conflict 2020-06-14 20:18:06 -06:00
crobibero
589735f60c Merge remote-tracking branch 'upstream/master' into HEAD 2020-06-14 20:15:26 -06:00
dkanada
f026a1d721 Merge pull request #3267 from pusta/Contributors-Update
CONTRIBUTORS.md - Updated jellyfin-server-windows to compile against .Net Core 3.1
2020-06-15 10:57:13 +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
dkanada
e2b2f74b47 Merge pull request #3319 from Ullmie02/api-204
Use Http status code 204 instead of 200
2020-06-15 10:51:28 +09:00
dkanada
155ee5ee9d Merge pull request #3329 from telans/code-analyzer-tests
Enable code analyzers for tests
2020-06-15 10:50:08 +09:00
dkanada
4f2ae5c9e1 Merge pull request #3158 from Artiume/patch-5
Update Library Service
2020-06-15 10:46:54 +09:00
Patrick Barron
293187480f Merge pull request #3288 from Ullmie02/api-subtitles
Move SubtitleService to Jellyfin.Api
2020-06-14 19:06:01 -04:00
telans
8620dfc18b remove symlink 2020-06-15 10:46:44 +12:00
telans
afc9224ede fix SA1111 2020-06-15 10:46:43 +12:00
telans
9b528aabc2 misc 2020-06-15 10:45:59 +12:00
telans
3d9049ef08 fix SA1508 2020-06-15 10:45:55 +12:00
telans
acd4389653 fix SA1005 2020-06-15 10:41:00 +12:00
telans
726e116d5b fix SA1510 2020-06-15 10:40:57 +12:00
Anthony Lavado
15aea76523 Merge pull request #3148 from barronpm/userdb-efcore
Migrate User DB to EF Core
2020-06-14 18:31:27 -04:00
David
edc5611ec7 Fix null reference to fix CI 2020-06-14 13:50:51 +02:00
David
8a8bf4b686 Merge remote-tracking branch 'upstream/api-migration' into api-sessionservice 2020-06-14 12:49:43 +02:00
David
ac0a3180d7 Merge remote-tracking branch 'upstream/api-migration' into api-librarystructure 2020-06-14 12:49:19 +02:00
David
9bedd9ac3c Merge remote-tracking branch 'upstream/api-migration' into api-204 2020-06-14 12:48:17 +02:00
David
d01f56bc42 Merge remote-tracking branch 'upstream/api-migration' into api-subtitles 2020-06-14 12:45:49 +02:00
David
cf3d0f8d51 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-system 2020-06-14 12:43:10 +02:00
telans
4cb8fbfbbf fix StyleCop warning in Jellyfin.MediaEncoding.Tests 2020-06-14 18:56:47 +12:00
crobibero
7b54a43cc1 Fix docs typo 2020-06-13 20:15:19 -06:00
crobibero
14f32b4927 Remove warnings from MediaBrowser.LocalMetadata 2020-06-13 20:04:53 -06:00
Patrick Barron
42b4f0aa2e Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
2020-06-13 19:41:05 -04:00
Patrick Barron
e8f8307521 Add comment 2020-06-13 19:30:45 -04:00
Patrick Barron
6f325fea61 Add missing properties to UserDto 2020-06-13 18:26:46 -04:00
Patrick Barron
8405ae9b1f Actually set BlockUnratedItems 2020-06-13 18:23:13 -04:00
Patrick Barron
aa4ac5902e Fix concurrency exception 2020-06-13 18:08:17 -04:00
crobibero
276750f310 Move ItemRefreshService.cs to Jellyfin.Api 2020-06-13 15:33:42 -06:00
crobibero
13b53db4ef fix build 2020-06-13 15:31:22 -06:00
crobibero
2d4998c578 fix build 2020-06-13 15:28:04 -06:00
crobibero
ae514da840 Merge remote-tracking branch 'upstream/api-migration' into api-environment 2020-06-13 15:27:03 -06:00
crobibero
8a834fb728 Merge remote-tracking branch 'upstream/api-migration' into api-filter 2020-06-13 15:25:02 -06:00
crobibero
81030a0a5a Merge remote-tracking branch 'upstream/api-migration' into api-plugin 2020-06-13 15:24:34 -06:00
crobibero
ce37c40749 Merge remote-tracking branch 'upstream/api-migration' into api-item-lookup 2020-06-13 15:23:42 -06:00
crobibero
50f6d8029d Merge remote-tracking branch 'upstream/api-migration' into api-item-update 2020-06-13 15:21:50 -06:00
crobibero
9ee6ea86ea Merge remote-tracking branch 'upstream/api-migration' into api-localization 2020-06-13 15:21:13 -06:00
crobibero
bcce8190ff Merge remote-tracking branch 'upstream/api-migration' into api-channel 2020-06-13 15:20:13 -06:00
crobibero
3c18745f53 Remove RemoteImageService.cs 2020-06-13 15:15:27 -06:00
crobibero
552a74eb6e Fix build 2020-06-13 15:13:57 -06:00
crobibero
6c7cc92a09 Merge remote-tracking branch 'upstream/api-migration' into api-image2 2020-06-13 15:09:02 -06:00
crobibero
bd09753976 Merge remote-tracking branch 'upstream/api-migration' into api-image 2020-06-13 15:07:04 -06:00
crobibero
39376bace3 Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks 2020-06-13 15:06:07 -06:00
crobibero
7666a1201f Merge remote-tracking branch 'upstream/api-migration' into api-display-preferences 2020-06-13 15:03:43 -06:00
Patrick Barron
3278015444 Actually fix profile images 2020-06-13 16:38:17 -04:00
Joshua M. Boniface
0011e8df47 Merge pull request #3332 from crobibero/api-migration
Merge master into api-migration
2020-06-13 16:28:37 -04:00
Chris Kapusta
b8d80bf09c Update CONTRIBUTORS.md
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-06-13 14:32:42 -05: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
BaronGreenback
4d50941d44 Merge pull request #22 from jellyfin/master
another
2020-06-13 17:56:10 +01:00
Patrick Barron
1e1386bbc6 Fix build issues 2020-06-13 11:59:19 -04:00
Patrick Barron
84f0cf6cc6 Regenerate migrations 2020-06-13 11:56:18 -04:00
Patrick Barron
103c9b7162 Actually fix deleting profile images (hopefully) 2020-06-13 08:28:42 -04:00
telans
bf5b21e67b enable code analyzers for tests 2020-06-13 23:37:41 +12:00
dkanada
d975ad155e Merge pull request #3220 from crobibero/api-swagger-auth
Add Authentication to openapi generation.
2020-06-13 13:48:33 +09:00
crobibero
6d5c09c499 Remove duplicate swaggerdoc 2020-06-12 14:40:06 -06:00
crobibero
720fff30a4 readd swagger version 2020-06-12 14:37:55 -06:00
crobibero
2fe65d99f6 Merge remote-tracking branch 'upstream/api-migration' into api-swagger-auth 2020-06-12 14:35:51 -06:00
David
fff3c789b9 Move SessionService to Jellyfin.Api 2020-06-12 18:54:25 +02:00
dkanada
403cd3205f Merge pull request #3254 from crobibero/ilogger
Use typed logger where possible
2020-06-13 00:29:43 +09:00
David
618b893c48 Move LibraryStructureService to Jellyfin.Api 2020-06-12 15:39:06 +02:00
crobibero
5b6e8fb22c Remove whitespace 2020-06-12 06:53:47 -06:00
David
043d76bd6e Use Http status code 204 instead of 200 2020-06-12 12:38:13 +02:00
dkanada
91fcd56380 Merge pull request #3071 from rigtorp/tvdb-normalize
Make tvdb name normalizer unicode aware
2020-06-12 13:38:09 +09:00
dkanada
72a688aa7a Merge pull request #3298 from jellyfin/dependabot/nuget/SQLitePCLRaw.bundle_e_sqlite3-2.0.3
Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.2 to 2.0.3
2020-06-12 13:34:57 +09:00
dkanada
6033058f51 Merge pull request #3313 from crobibero/update-dotnet-core
Update to .NET Core 3.1.5
2020-06-12 13:34:42 +09:00
Patrick Barron
6429e60c40 Merge pull request #2931 from crobibero/api-attachment
AttachmentsService to Jellyfin.Api
2020-06-11 23:56:16 -04:00
Anthony Lavado
5d3ff25e26 Merge pull request #3291 from cvium/fix_authenticationexception
Use the "legacy" AuthenticationException in AuthService
2020-06-11 23:14:33 -04:00
Patrick Barron
6a62c3c628 Merge pull request #3281 from Ullmie02/api-activitylog
Move ActivityLogService to Jellyfin.Api
2020-06-11 23:00:41 -04:00
Patrick Barron
a6573e015f Merge pull request #2983 from bruceCoelho/api-migration
PackageService to Jellyfin.API
2020-06-11 22:52:35 -04:00
Erik Rigtorp
82e8865147 Make tvdb name normalizer unicode aware 2020-06-11 17:26:38 -07:00
Patrick Barron
d0e2027b05 (Hopefully) fix concurrency exceptions. 2020-06-11 19:45:31 -04:00
Patrick Barron
fc02157b42 Fix build errors 2020-06-11 18:28:49 -04:00
Patrick Barron
7a115024aa Merge branch 'master' into userdb-efcore
# Conflicts:
#	MediaBrowser.Controller/Library/ILibraryManager.cs
#	MediaBrowser.Providers/Users/UserMetadataService.cs
2020-06-11 18:23:12 -04: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
Patrick Barron
7fba0b778e Properly remove profile images 2020-06-11 17:51:02 -04:00
BaronGreenback
4d9171f691 Update DlnaEntryPoint.cs
Left a _config behind.
2020-06-11 22:40:43 +01:00
aled
c722ad22ec Handle the case when the stored password is null, but the user tried to login with a password. 2020-06-11 20:33:46 +01:00
Max Git
0f69ca8fa9 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-11 20:47:12 +02:00
Bond-009
762e0c8d17 Merge pull request #3289 from rigtorp/tmdb-comment-fix
Clarify comment and log actual search string in TMDB search provider
2020-06-11 19:12:30 +02:00
crobibero
30609c848b Add MessageId to websocket message, add JsonNonStringKeyDictionaryConverter 2020-06-11 10:51:47 -06:00
dkanada
157d8f6145 Merge pull request #3309 from jellyfin/dependabot/nuget/ServiceStack.Text.Core-5.9.0
Bump ServiceStack.Text.Core from 5.8.0 to 5.9.0
2020-06-11 23:30:22 +09:00
dkanada
ce9e7d47b7 Merge pull request #3293 from jellyfin/dependabot/nuget/System.Text.Encoding.CodePages-4.7.1
Bump System.Text.Encoding.CodePages from 4.7.0 to 4.7.1
2020-06-11 23:29:46 +09:00
dkanada
ea7e8ced57 Merge pull request #3292 from jellyfin/dependabot/nuget/SkiaSharp.NativeAssets.Linux-1.68.3
Bump SkiaSharp.NativeAssets.Linux from 1.68.1 to 1.68.3
2020-06-11 23:29:27 +09:00
David
a47ff4043f Disable CA1801 2020-06-11 16:01:41 +02:00
David
fcbae95d19 Use 'await using Stream' instead of 'using Stream' 2020-06-11 15:57:31 +02:00
Cody Robibero
17ffb689e0 Merge branch 'master' into update-dotnet-core 2020-06-11 07:16:45 -06:00
crobibero
a6815018dc Update to .NET Core 3.1.5 2020-06-11 07:13:56 -06:00
Max Git
620a1a106d Merge branch 'master' into feature/ffmpeg-version-check 2020-06-11 14:50:29 +02:00
dependabot[bot]
00b340557f Bump SkiaSharp.NativeAssets.Linux from 1.68.1 to 1.68.3
Bumps SkiaSharp.NativeAssets.Linux from 1.68.1 to 1.68.3.

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 12:18:07 +00:00
dkanada
55610f8359 Merge pull request #3295 from jellyfin/dependabot/nuget/SkiaSharp-1.68.3
Bump SkiaSharp from 1.68.1 to 1.68.3
2020-06-11 21:17:26 +09:00
dkanada
4ef459033f Merge pull request #3294 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.6.1
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1
2020-06-11 21:17:03 +09:00
dkanada
bdc249c000 Merge pull request #3301 from jellyfin/dependabot/nuget/Moq-4.14.1
Bump Moq from 4.13.1 to 4.14.1
2020-06-11 21:16:26 +09:00
dependabot[bot]
09e0abebf9 Bump ServiceStack.Text.Core from 5.8.0 to 5.9.0
Bumps [ServiceStack.Text.Core](https://github.com/ServiceStack/ServiceStack.Text) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/ServiceStack/ServiceStack.Text/releases)
- [Commits](https://github.com/ServiceStack/ServiceStack.Text/compare/v5.8...v5.9)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:27 +00:00
dependabot[bot]
98a0bfc505 Bump Moq from 4.13.1 to 4.14.1
Bumps [Moq](https://github.com/moq/moq4) from 4.13.1 to 4.14.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.13.1...v4.14.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:20 +00:00
dependabot[bot]
ef9a8c5414 Bump SQLitePCLRaw.bundle_e_sqlite3 from 2.0.2 to 2.0.3
Bumps [SQLitePCLRaw.bundle_e_sqlite3](https://github.com/ericsink/SQLitePCL.raw) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases)
- [Commits](https://github.com/ericsink/SQLitePCL.raw/commits/v2.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:15 +00:00
dependabot[bot]
81b1803153 Bump SkiaSharp from 1.68.1 to 1.68.3
Bumps SkiaSharp from 1.68.1 to 1.68.3.

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:13 +00:00
dependabot[bot]
a4de0bb373 Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.5.0 to 16.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.5.0...v16.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:13 +00:00
dependabot[bot]
33f70bd5f0 Bump System.Text.Encoding.CodePages from 4.7.0 to 4.7.1
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/corefx) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:11 +00:00
David
8178b19470 Fix suggestions 2020-06-11 12:29:56 +02:00
dkanada
a181c9cc01 Merge pull request #3248 from crobibero/dependabot2
Add dependabot
2020-06-11 19:29:38 +09:00
dkanada
5cdf951643 Merge pull request #3222 from barronpm/activitylog-migration-fix
Fix Activity Log Migrations for Very Old Databases
2020-06-11 19:27:42 +09:00
Claus Vium
5bb630ea7c Use the "legacy" AuthenticationException 2020-06-11 10:59:57 +02:00
Patrick Barron
a194895e7a Add missing default permission 2020-06-10 20:53:33 -04:00
Patrick Barron
4d559b4ec4 Fix bugs for fresh installs. 2020-06-10 20:14:24 -04:00
Erik Rigtorp
095afe6359 Clarify comment and log actual search string 2020-06-10 10:58:43 -07:00
David
f64e8e8757 Move SubtitleService to Jellyfin.Api 2020-06-10 18:20:54 +02:00
Cody Robibero
355682620d Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-10 09:23:27 -06:00
Cody Robibero
393f5f0c25 Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-10 09:23:20 -06:00
Cody Robibero
c61efba0c6 Merge pull request #3286 from Ullmie02/api-apikey
Move ApiKeyService to Jellyfin.Api
2020-06-10 09:22:59 -06:00
David
6a70081643 Move ApiKeyService to Jellyfin.Api 2020-06-10 15:57:31 +02:00
David
b16da09549 Move /System Endpoint to Jellyfin.Api 2020-06-10 15:18:13 +02:00
Bond-009
9f755dc422 Merge pull request #3284 from EraYaN/abi-compat-nuget
Install compatibility tool from nuget instead of pulling a github release
2020-06-10 14:30:20 +02:00
Erwin de Haan
427632611a Remove extract task. 2020-06-10 14:09:34 +02:00
Erwin de Haan
4c9216012b Install compatibility tool from nuget instead of pulling a github release. 2020-06-10 14:01:37 +02:00
David
1bf6c085ed Move File; Move Route; use DateTime? in Query 2020-06-10 13:09:23 +02:00
Bond-009
19e00dcd2f Merge pull request #3282 from aled/2149-fix-a-small-number-of-compile-warnings-2
Fix a small number of compile warnings
2020-06-10 11:59:21 +02:00
Cody Robibero
647b78a3c0 Merge pull request #3226 from Ullmie02/api-searchservice
Move SearchService to new API endpoint
2020-06-09 20:43:03 -06:00
dkanada
ac9bef9465 Merge pull request #3227 from crobibero/api-first-user
Add second endpoint for Startup/User
2020-06-10 11:03:35 +09:00
ConfusedPolarBear
82887ec710 Add IDisposable 2020-06-09 18:40:35 -05:00
aled
299e49f39d Fix a small number of compile warnings 2020-06-09 23:12:53 +01:00
BaronGreenback
5cf44e7736 Removed spaces 2020-06-09 22:11:23 +01:00
BaronGreenback
6d8ab50be9 No changes my end 2020-06-09 22:09:34 +01:00
BaronGreenback
93568be3e7 Updates 2020-06-09 22:05:22 +01:00
Bond-009
ad5c41b542 Merge pull request #3258 from aled/2149-fix-a-small-number-of-compile-warnings-1
Fix a small number of compile warnings
2020-06-09 22:22:36 +02:00
ConfusedPolarBear
86624e92d3 Finish addressing review comments 2020-06-09 15:18:26 -05:00
ConfusedPolarBear
7d9b552403 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-09 13:28:40 -05:00
Patrick Barron
d105bc728d Fix startup wizard. 2020-06-09 14:04:25 -04:00
Patrick Barron
ce737c31ec Enable nullable annotations 2020-06-09 13:35:29 -04:00
David
dc190e5683 Move ActivityLogService to Jellyfin.Api 2020-06-09 18:56:17 +02:00
crobibero
0b778b8851 Move PluginService to Jellyfin.Api 2020-06-09 09:57:01 -06:00
David Ullmer
1491e93d84 Add response code documentation 2020-06-09 11:00:37 +02:00
dkanada
b3f8928fbb Merge pull request #3218 from crobibero/api-cors
Enable CORS and Authentation
2020-06-09 14:29:52 +09:00
dkanada
26f937c369 Merge pull request #3260 from crobibero/api-css-formatter
Api css formatter
2020-06-09 14:23:11 +09:00
dkanada
998d5674a2 Merge pull request #3259 from crobibero/omdb-plugin-config
Add omdb config as embedded resource
2020-06-09 14:23:06 +09:00
dkanada
19edd11292 Merge pull request #3185 from Ullmie02/api-exception-handling
Don't Send Exception Messages (Old API)
2020-06-09 14:22:45 +09:00
Erik Rigtorp
75efb8f52d Use additional unicode chars for year extraction 2020-06-08 16:35:20 -07:00
Erik Rigtorp
82ff3fa75d Add additional resolver tests 2020-06-08 16:35:20 -07:00
ConfusedPolarBear
001c78573e Add XML documentation 2020-06-08 17:14:20 -05:00
ConfusedPolarBear
0d6a63bf84 Make all properties nullable 2020-06-08 15:48:18 -05:00
ConfusedPolarBear
35ff2be9d7 Merge remote-tracking branch 'upstream/master' into quickconnect 2020-06-08 14:43:58 -05:00
crobibero
7a77b9928f Move PlaylistService to Jellyfin.Api 2020-06-08 13:14:55 -06:00
crobibero
d97e306cda Move PlaylistService to Jellyfin.Api 2020-06-08 13:14:41 -06:00
crobibero
a4455af3e9 Move LocalizationService to Jellyfin.Api 2020-06-08 12:34:17 -06:00
crobibero
81d3ec7205 Move ItemUpdateService to Jellyfin.Api 2020-06-08 12:20:33 -06:00
crobibero
6f64e48c54 Add response codes 2020-06-08 07:37:16 -06:00
crobibero
16e26be87f Move ItemLookupService to Jellyfin.Api 2020-06-08 07:22:40 -06:00
dkanada
dcc131740d Merge pull request #3268 from crobibero/ignore-path
Force configuration paths to not be ignored.
2020-06-08 22:06:28 +09:00
artiume
b79957d07e Split HEVC VP9 10bit 2020-06-08 14:45:27 +03:00
artiume
0476acf5d5 Update EncoderValidator.cs 2020-06-08 14:45:26 +03:00
artiume
d650440492 fix opencl10bit 2020-06-08 14:45:26 +03:00
artiume
347689e4e2 Split VP9 HEVC 10bit button. MacOS Decoder fixed to opencl 2020-06-08 14:45:26 +03:00
Vasily
4999831604 Merge remote-tracking branch 'upstream/master' into hwaccel 2020-06-08 14:44:21 +03:00
Bond-009
616d24f91c Merge pull request #3270 from KristupasSavickas/reduce-blurhash-logspam
reduce log spam when generating blurhashes
2020-06-08 13:41:54 +02:00
Kristupas Savickas
18e06e53b4 reduce log spam when generating blurhashes 2020-06-08 10:27:03 +03:00
dkanada
e153214e76 Merge pull request #3219 from crobibero/api-config-json
Switch Config controller to System.Text.Json
2020-06-08 15:24:15 +09:00
crobibero
dd5579e0eb Move FilterService to Jellyfin.Api 2020-06-07 22:04:59 -06:00
Patrick Barron
d85308b474 Add another missing property 2020-06-07 23:11:51 -04:00
crobibero
7ed5cf3dca Force configuration paths to not be ignored. 2020-06-07 20:32:06 -06:00
Patrick Barron
824cd87b75 Add missing property 2020-06-07 20:16:51 -04:00
Patrick Barron
75af0a4e57 Implement more review suggestions 2020-06-07 19:37:47 -04:00
crobibero
3d87c4c1b6 Fix EasyPassword setting 2020-06-07 14:55:37 -06:00
crobibero
68e1ecaaf9 Remove EasyPassword from Authentication providers 2020-06-07 14:47:08 -06:00
Chris Kapusta
3b0cdd4716 Update CONTRIBUTORS.md 2020-06-07 15:43:39 -05:00
Mahabub Islam Prio
99c9d99db7 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-06-07 15:35:54 -04:00
Patrick Barron
98142613e8 Apply review suggestions and fix bug 2020-06-07 13:36:43 -04:00
David
cefa9d3c08 Add default values for parameters and fix spelling 2020-06-07 18:10:08 +02:00
David
7fa374f8a2 Move Split method from BaseJellyfinApiController.cs to RequestHelpers.cs 2020-06-07 15:41:49 +02:00
David
f3029428cd Fix suggestions 2020-06-07 15:33:54 +02:00
dkanada
3f58bd7c58 disable nullable errors for new model 2020-06-07 21:26:50 +09:00
dkanada
52cd955a8f merge branch master into custom-repos 2020-06-07 21:23:15 +09:00
dkanada
91f60c2139 add missing line from using block 2020-06-07 21:23:11 +09:00
Anthony Lavado
883e92fc96 Merge pull request #3262 from jellyfin/azure
Disable sonarcloud until secrets are working
2020-06-07 08:18:32 -04:00
dkanada
f7f59fe9a3 Merge branch 'api-migration' into api-config-json 2020-06-07 15:34:31 +09:00
dkanada
686066b134 Merge pull request #3250 from shayaantx/master
Ignore languages with null ids when fetching images from tvdb
2020-06-07 14:50:46 +09:00
dkanada
3d7f236038 Merge pull request #3255 from itegulov/books-resume
Make books resumable
2020-06-07 14:49:15 +09:00
dkanada
c99ad51c65 use single quotes in the main pipeline 2020-06-07 14:38:46 +09:00
dkanada
65765bda7e rename abi pipeline 2020-06-07 14:37:08 +09:00
dkanada
e7a49f73cd disable sonarcloud until secrets are working 2020-06-07 14:33:10 +09:00
Cody Robibero
a6999422ea remove extra spacing 2020-06-06 20:36:07 -06:00
crobibero
6be862545a Merge remote-tracking branch 'upstream/api-migration' into api-cors 2020-06-06 17:07:29 -06:00
crobibero
48cbac934b Don't clear media types 2020-06-06 16:53:49 -06:00
crobibero
04abb281c0 Add CSS output formatter. 2020-06-06 16:52:23 -06:00
crobibero
598cd94c4d Add CSS output formatter. 2020-06-06 16:51:21 -06:00
crobibero
826ed9d9c7 Add omdb config as embedded resource 2020-06-06 16:30:18 -06:00
aled
22a860a806 Fix a small number of compile warnings 2020-06-06 20:17:49 +01:00
dkanada
7161a30af7 improve error handling when a single repository has issues
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-07 02:08:05 +09:00
crobibero
0982b73c11 Merge remote-tracking branch 'upstream/master' into ilogger 2020-06-06 08:26:34 -06:00
dkanada
8ac2f1bb8b simplify the custom repository feature for now 2020-06-06 22:02:30 +09:00
dkanada
d6184dbadd remove unnecessary property for repository object 2020-06-06 18:57:00 +09:00
dkanada
1a67a34bd6 save configuration when updating repository list
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-06 18:37:45 +09:00
Daniyar Itegulov
613748b45d Make books resumable and have duration of 1 second 2020-06-06 18:50:28 +10:00
dkanada
6d4f3c42a2 Merge pull request #3208 from jellyfin/plugins
More work for core plugins
2020-06-06 12:27:45 +09:00
Patrick Barron
fa80f84f26 Merge branch 'userdb-efcore' of https://github.com/barronpm/jellyfin into userdb-efcore 2020-06-05 22:33:34 -04:00
Patrick Barron
bb23ce3466 Merge branch 'master' into userdb-efcore 2020-06-05 22:31:13 -04:00
crobibero
57d1dbfe7b undo erroneous changes 2020-06-05 18:29:58 -06:00
crobibero
44957c5a9a Use typed logger where possible 2020-06-05 18:15:56 -06:00
crobibero
3faea5aa21 Merge remote-tracking branch 'upstream/master' into dependabot2 2020-06-05 16:55:36 -06:00
shayaantx
42bbfa772f Update TvdbSeasonImageProvider.cs 2020-06-05 18:14:47 -04:00
crobibero
340624c54b Move default repo addition to migration 2020-06-05 13:23:38 -06:00
Bond-009
5e056beaae Merge pull request #3252 from YouKnowBlom/fix-safari-hls
Fix incorrect HLS master playlist fields
2020-06-05 21:09:52 +02:00
Andreas B
d92b32a4c6 Fix incorrect HLS master playlist fields
Resolves: #3224
2020-06-05 22:05:33 +02:00
Bond-009
258f2ff686 Merge pull request #3245 from jellyfin/fix-azure
Fix some issues with the CI
2020-06-05 19:25:57 +02:00
shayaantx
4623cb8385 Ignore languages with null ids 2020-06-04 21:30:02 -04:00
Max Git
268e87bbf2 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-05 00:57:35 +02:00
SaddFox
0b0184de2e Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2020-06-04 17:31:54 -04:00
Marius Lindvall
16e190c49d Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-06-04 17:31:54 -04: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
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
2020-06-04 16:52:23 -04:00
Cody Robibero
1730b0ae83 Update dependabot.yml 2020-06-04 13:22:39 -06:00
Patrick Barron
ef7bbb3b84 Use data binding instead of raw SQL 2020-06-04 14:54:43 -04:00
crobibero
4bcd7cffd1 Add dependabot 2020-06-04 11:14:01 -06:00
crobibero
fd913d73e3 Revert authorized endpoints to legacy api 2020-06-04 10:10:36 -06:00
dkanada
2e7d7abe8e disable rule that requires comments in two image providers for now 2020-06-05 00:17:36 +09:00
dkanada
feda2947b7 add missing comments for a few image providers 2020-06-05 00:13:06 +09:00
dkanada
8ce7a0e6be small modification to data project 2020-06-05 00:03:01 +09:00
dkanada
b7f4b8e2b5 initial implementation for custom plugin repositories 2020-06-04 23:57:57 +09:00
crobibero
22f56842bd Apply review suggestions 2020-06-04 07:59:11 -06:00
Cody Robibero
601e4a88c9 Merge pull request #2933 from crobibero/api-device
DeviceService to Jellyfin.Api
2020-06-04 07:29:23 -06:00
crobibero
3e749eabdf Fix doc errors 2020-06-04 07:29:00 -06:00
dkanada
836741f2aa Merge pull request #2154 from dkanada/artist-collage
Add image provider for artists
2020-06-04 22:28:51 +09:00
dkanada
6022f9f1da disable specific rule for playlist image provider 2020-06-04 21:35:06 +09:00
dkanada
17031fb38d disable artist image provider until configurable 2020-06-04 21:32:25 +09:00
dkanada
3f3bb668a3 fix namespace for providers that were moved 2020-06-04 21:32:25 +09:00
dkanada
c9c6fe02ab move most of the image providers to a single directory 2020-06-04 21:32:20 +09:00
dkanada
aa66444264 add image provider for artists 2020-06-04 21:30:23 +09:00
dkanada
8d7e9ab515 minor refactoring 2020-06-04 21:30:09 +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
dkanada
35366772b2 Merge pull request #3186 from Ullmie02/asp-api-exception
Don't send Exception message in Production Environment
2020-06-04 14:49:36 +09:00
dkanada
2252772944 Merge pull request #3237 from Bond-009/erroronwarn
Enable TreatWarningsAsErrors for more projects
2020-06-04 14:48:19 +09:00
dkanada
44eebd7754 Merge pull request #3164 from dkanada/install-plugin
Fix a few issues with the plugin manifest
2020-06-04 14:46:55 +09:00
Max Git
beb8a58643 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-03 23:21:12 +02:00
crobibero
2ac111dedb add missing ConfigureAwait 2020-06-03 13:54:55 -06:00
crobibero
9661135b5b fix build 2020-06-03 13:48:33 -06:00
Lluís Forns
fc79833931 Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2020-06-03 14:36:23 -04:00
dkanada
fe16c3fad4 Merge branch 'master' into install-plugin 2020-06-04 03:20:48 +09:00
dkanada
7176a9a30a fix build issues
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-04 03:18:55 +09:00
crobibero
88b6c26472 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-channel
# Conflicts:
#	Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
2020-06-03 09:38:49 -06:00
Cody Robibero
ab4597958a Merge pull request #3232 from crobibero/api-json-dictionary
Add Dictionary with non-string keys to System.Text.Json
2020-06-03 09:13:37 -06:00
crobibero
8b59934ccb remove extra Clear call 2020-06-03 09:12:12 -06:00
Bond-009
f0d182b8fe Merge pull request #3046 from puschie286/add-clean-name-tag
allow bd tag in file names
2020-06-03 15:50:32 +02:00
Bond-009
98582b90a3 Merge branch 'master' into erroronwarn 2020-06-03 14:34:21 +02:00
Bond-009
af7edfc220 Merge branch 'master' into common 2020-06-03 14:33:54 +02:00
Vasily
73cc214bf2 Merge pull request #3235 from Bond-009/build
Fix build
2020-06-03 15:21:38 +03:00
Bond-009
af93ec750c Enable TreatWarningsAsErrors for more projects 2020-06-03 13:22:40 +02:00
Bond-009
f404e915ee Enable StyleCop for MediaBrowser.Common 2020-06-03 13:04:45 +02:00
Max Git
5df00cb2b8 Merge branch 'master' into feature/ffmpeg-version-check 2020-06-03 12:26:50 +02:00
Bond-009
2dbb9d4895 Fix build 2020-06-03 11:54:01 +02:00
Vasily
40502a33e0 Merge pull request #3203 from Bond-009/warn18
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-06-03 12:27:59 +03:00
Vasily
668e10ceb7 Merge pull request #2767 from Bond-009/nullable3
Enable nullabe reference types for MediaBrowser.Model
2020-06-03 12:26:54 +03:00
Vasily
959a9655c8 Update MediaBrowser.Model/Services/IHasRequestFilter.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-03 12:26:40 +03:00
Anthony Lavado
c31b2798a5 Merge pull request #3180 from xumix/master
Refactor copy codec checks
2020-06-03 02:47:15 -04:00
Anthony Lavado
91b089c0fa Merge pull request #3179 from Bond-009/bugs
Fix some 'bugs' flagged by sonarcloud
2020-06-03 02:45:22 -04:00
dkanada
6a7cb21b7e apply code suggestions
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-03 15:24:17 +09:00
Patrick Barron
bb828d54c5 Remove unused methods 2020-06-02 14:40:48 -04:00
Max Git
e81140be20 Merge branch 'feature/ffmpeg-version-check' of https://github.com/rotvel/jellyfin into feature/ffmpeg-version-check 2020-06-02 20:18:02 +02:00
Max Git
5577cc375e Merge branch 'master' into feature/ffmpeg-version-check 2020-06-02 20:17:13 +02:00
crobibero
01a5103fef Add Dictionary with non-string keys to System.Text.Json 2020-06-02 11:47:33 -06:00
Cody Robibero
93bca7ab50 Merge pull request #3153 from crobibero/api-json-enum
Fix Json Enum conversion, map all JsonDefaults properties to API
2020-06-02 11:15:08 -06:00
crobibero
2476848dd3 Fix tests 2020-06-02 10:12:55 -06:00
crobibero
cf9cbfff56 Add second endpoint for Startup/User 2020-06-02 08:28:37 -06:00
Vasily
b9618c8c01 Merge pull request #2676 from GranPC/public-pr/blurhash
Implement Blurhash generation for images
2020-06-02 17:25:45 +03:00
crobibero
0e41c4727d revert to System.Text.JsonSerializer 2020-06-02 08:23:12 -06:00
crobibero
4fe0beec16 Fix Json Enum conversion, map all JsonDefaults properties to API 2020-06-02 08:23:12 -06:00
David
638cfa32ab Move SearchService to new API endpoint 2020-06-02 15:07:07 +02:00
David
37a4cc599b Remove duplicate code
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-06-02 15:05:57 +02:00
David
6d9f564a94 Remove duplicate code
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-06-02 15:04:55 +02:00
crobibero
aed6f57f11 Remove invalid docs and null check 2020-06-01 20:54:02 -06:00
Patrick Barron
b0281b79fd Fix a bug where very old Emby databases didn't use proper Guid's 2020-06-01 20:12:34 -04:00
crobibero
e30a85025f Remove log spam when using legacy api 2020-06-01 12:42:59 -06:00
crobibero
dfe873fc29 Add Authentication to openapi generation. 2020-06-01 11:12:33 -06:00
crobibero
9f0b5f347a Switch Config controller to System.Text.Json 2020-06-01 11:06:15 -06:00
crobibero
b944b8f8c5 Enable CORS and Authentication. 2020-06-01 11:03:08 -06:00
Aswin Kumar
d38adb95a7 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2020-06-01 11:38:22 -04:00
Cody Robibero
297ab2e423 Merge pull request #2962 from crobibero/api-config
Move ConfigurationService to Jellyfin.Api
2020-06-01 09:29:34 -06:00
Vasily
26eef1bbf8 Move logic of computing Blurhash components to ImageProcessor
Also rename last few instances of GetImageHash to GetImageBlurHash for clarity
2020-06-01 18:12:49 +03:00
rotvel
480fd0a66a Update MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-01 16:00:58 +02:00
Aswin Kumar
f8e8bfc399 Added translation using Weblate (Tamil) 2020-06-01 07:00:09 -04:00
BaronGreenback
1d86084653 Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-01 10:14:38 +01:00
BaronGreenback
adb789a802 Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-01 09:58:16 +01:00
BaronGreenback
fbd02a493b Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-01 09:57:48 +01:00
BaronGreenback
455e464445 Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-01 09:57:17 +01:00
Max Git
e103d087d3 Try harder at detecting FFmpeg version and enable the validation 2020-06-01 07:10:15 +02:00
Ken Brazier
36312c92f5 2354 open soft-links to read size 2020-05-31 16:40:02 -06:00
Patrick Barron
585fdbad39 Apply review suggestion and fix entity concurrency tokens. 2020-05-31 17:00:57 -04:00
Bond-009
b89565110d Merge pull request #3214 from danieladov/master
Order ids to merge to avoid stack overflow
2020-05-31 21:57:57 +02:00
danieladov
be5ce32bb6 refactor MediaBrowser.Api/VideosService.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-05-31 20:42:22 +02:00
danieladov
8e0b1109bc refactor
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-05-31 20:35:09 +02:00
Mister Rajoy
1b90798b90 Order ids to merge to avoid stack overflow
As said in https://github.com/jellyfin/jellyfin/issues/3176, merging 1 with 2 and then 2 with 1 cause an stack overflow. sorting ids first fix the problem
2020-05-31 20:23:23 +02:00
dkanada
855a2b2892 fix some easy warnings for tmdb 2020-05-31 15:28:01 +09:00
dkanada
685f8ad1f0 move tmdb to plugin folder 2020-05-31 15:23:09 +09:00
dkanada
d72bb8358e minor changes to server configuration file 2020-05-31 15:20:17 +09:00
dkanada
24f7f84828 add plugin configurations for tvdb and omdb 2020-05-31 15:15:34 +09:00
Patrick Barron
edbb1482e8 Remove unused compile remove statements. 2020-05-31 00:15:41 -04:00
Patrick Barron
63344ec5fd Remove unused portions of the user schema 2020-05-30 22:11:53 -04:00
Patrick Barron
e72fd88913 Document and fix warnings in Group.cs 2020-05-30 21:53:56 -04:00
Patrick Barron
e8b6da3cd7 Expand and document IHasPermissions 2020-05-30 20:49:31 -04:00
Patrick Barron
4cff9b8512 Clea up IsParentalScheduleAllowed 2020-05-30 20:37:46 -04:00
Patrick Barron
acce726ed9 Clean up DayOfWeekHelper.cs and remove unnecessary function 2020-05-30 20:02:55 -04:00
WontTell
730395886d Translated using Weblate (Spanish (Latin America))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_419/
2020-05-30 16:09:06 -04:00
Patrick Barron
1b297eae78 Reset invalid login attempt count properly 2020-05-30 00:20:59 -04:00
Patrick Barron
c8fef9dd2e Reimplement password resetting 2020-05-30 00:19:36 -04:00
WontTell
f73c5d3f56 Added translation using Weblate (Spanish (Latin America)) 2020-05-29 22:27:20 -04:00
ConfusedPolarBear
5d281adedd Merge remote-tracking branch 'upstream/master' into quickconnect 2020-05-29 17:42:42 -05:00
Patrick Barron
4857b7d620 Make UserManager.IsValidUsername static 2020-05-29 15:32:31 -04:00
Patrick Barron
7f8f3e09e5 Ignore documentation warnings in new migration files 2020-05-29 15:19:41 -04:00
Patrick Barron
12a900b8f6 Update schema and migration to allow LastLoginDate and LastActivityDate to be null 2020-05-29 15:16:17 -04:00
Bond_009
4748105dce Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode 2020-05-29 11:28:19 +02:00
Bond-009
02624c9df8 Merge pull request #2966 from jellyfin/serve-web
Remove several deprecated utilities in the web package
2020-05-29 10:13:43 +02:00
Lumenol
65461894d4 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-05-28 17:09:21 -04:00
Patrick Barron
8ca78f33e9 Fix bug when migrating user db with users that have never logged in. 2020-05-28 14:21:26 -04:00
Vasily
58f099c0e2 Fix naming per code review 2020-05-28 19:12:08 +03:00
Vasily
9208acd5ae Convert non-local image to local before computing blurhash 2020-05-28 17:55:29 +03:00
Vasily
ed791dee46 Do not compute dimensions or blurhash for remote images 2020-05-28 17:30:11 +03:00
Vasily
a76cee7a95 Update BlurHashSharp to 1.0.1, remove workaround 2020-05-28 17:23:16 +03:00
Patrick Barron
d116497912 Optimize number of created DbContexts and fix default values for some fields 2020-05-28 01:08:37 -04:00
Patrick Barron
82b0786cc6 Remove unnecessary logging statement 2020-05-28 00:59:31 -04:00
Elouan MAILLY
0ebad893a7 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-05-27 17:54:33 -04:00
Bond_009
7439e095e2 Merge branch 'master' into nullable3 2020-05-27 20:49:18 +02:00
ferferga
ba03ed65fe Remove "download images in advance" option 2020-05-27 19:13:41 +02:00
Vasily
f30b07130f Workaround a bug in BlurHashSharp 2020-05-27 19:29:57 +03:00
Patrick Barron
9a853ca089 Add another null check 2020-05-27 11:30:53 -04:00
Patrick Barron
caf6833447 Add myself to CONTRIBUTORS.md 2020-05-27 10:08:36 -04:00
Vasily
edcfcadcd3 Make sure blurhash is recomputed if image changed or metadata refresh toggled 2020-05-27 17:00:59 +03:00
Vasily
2482bcb3b1 Add blurhashes to ImageBlurHashes for all images 2020-05-27 16:27:27 +03:00
Vasily
6c9dc04189 Handle errors during blurhash generation so it does not fail the scan 2020-05-27 15:01:03 +03:00
dkanada
ecadde1e18 Merge pull request #3192 from jellyfin/audio
Fix issue with audio transcoding
2020-05-27 20:20:50 +09:00
dkanada
73d123fe36 fix issue with audio transcoding 2020-05-27 13:55:45 +09:00
Patrick Barron
31f725fdbf Fix a bug in Emby.Notifications and clean up 2020-05-26 23:08:27 -04:00
Patrick Barron
eef7cfd912 Make SonarCloud less angry 2020-05-26 22:43:03 -04:00
Patrick Barron
fefb282137 Fixed issue when LastLoginDate or LastActivityDate were null 2020-05-26 22:30:23 -04:00
Patrick Barron
46a0a2a601 Update migrations and fix a few bugs 2020-05-26 21:20:55 -04:00
Patrick Barron
7c823464bc Fix merge conflicts with SyncPlay 2020-05-26 20:52:05 -04:00
Patrick Barron
01ce56016a Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
#	MediaBrowser.Api/UserService.cs
#	MediaBrowser.Controller/Library/IUserManager.cs
2020-05-26 20:29:11 -04:00
Joshua M. Boniface
7c72f69189 Merge pull request #2733 from OancaAndrei/syncplay
Add syncplay feature
2020-05-26 20:00:01 -04:00
Joshua M. Boniface
b33fa06efa Merge pull request #3187 from jellyfin/revert-2492-fix-api-private-data-leak
Revert "Fix emby/user/public API leaking sensitive data"
2020-05-26 19:57:24 -04:00
Bond-009
b61ee09a36 Update WebSocketSharpRequest.cs 2020-05-26 20:00:37 +02:00
Bond-009
0676d1c2f4 Update WebSocketSharpRequest.cs 2020-05-26 19:33:20 +02:00
Anthony Lavado
9c00226f11 Merge pull request #3033 from neilsb/autodiscover-url-override
Allow override of address published by auto discovery
2020-05-26 12:20:42 -04:00
Vasily
8be13b63d4 More cleanup 2020-05-26 19:19:49 +03:00
Joshua M. Boniface
0be3dfe7c5 Revert "Fix emby/user/public API leaking sensitive data" 2020-05-26 12:14:40 -04:00
Vasily
92008baf85 Some simple cleanup 2020-05-26 19:13:11 +03:00
Vasily
aa17a53e83 Skip only line saying "Hardware acceleration methods:" instead of some random one 2020-05-26 19:05:44 +03:00
Vasily
3e381cfd5e Clean GetHwaccelType Windows handling a tiny bit 2020-05-26 19:02:22 +03:00
Vasily
628734931c Fix missing commas and merge defects 2020-05-26 18:49:15 +03:00
artiume
3c82379759 Update EncoderValidator.cs 2020-05-26 18:29:58 +03:00
artiume
abc7558f51 Update EncodingHelper.cs 2020-05-26 18:29:58 +03:00
artiume
f056704c78 add videotoolbox 2020-05-26 18:29:58 +03:00
artiume
407de0209e Update MediaEncoder.cs 2020-05-26 18:29:58 +03:00
artiume
1ff95289ef Update EncoderValidator.cs 2020-05-26 18:29:58 +03:00
artiume
62e47d056d Update IMediaEncoder.cs 2020-05-26 18:29:58 +03:00
artiume
0eb5791c70 Comments 2020-05-26 18:29:58 +03:00
Nyanmisaka
22ef0e3574 drop 'force_original_aspect_ratio'
graphical subtitles can be off-center in some cases
2020-05-26 18:21:31 +03:00
Nyanmisaka
5fd3ea8b21 minor changes 2020-05-26 18:21:31 +03:00
Nyanmisaka
695f20b303 probe Main/High 10 more specifically 2020-05-26 18:21:31 +03:00
Nyanmisaka
161b2a2da9 minor changes 2020-05-26 18:19:14 +03:00
nyanmisaka
c4ba71d96a resolve conflicts 2020-05-26 18:13:20 +03:00
nyanmisaka
b4b93995f7 add more separate hw decoding toggles 2020-05-26 18:06:49 +03:00
David
a5a39300bc Don't send Exception message in Production Environment 2020-05-26 16:55:27 +02:00
David
e9ebe07ecc Don't send Exception message in Production Environment 2020-05-26 16:36:54 +02:00
gion
e42bfc92f3 Fix code issues 2020-05-26 11:37:52 +02:00
gion
e4838b0faa Merge remote-tracking branch 'upstream/master' into syncplay 2020-05-26 10:23:09 +02:00
Anthony Lavado
976ae36bea Merge pull request #3173 from joshuaboniface/fix-arm-docker
Add -k to keyserver curl command
2020-05-26 00:41:58 -04:00
Anthony Lavado
b93145c2f1 Merge pull request #3174 from jellyfin/checkbox
Remove uses of fnchecked from plugins
2020-05-25 19:50:39 -04:00
Vasily
f575415e0b Pick blurhash sizes depending on image aspect ratio 2020-05-26 02:33:52 +03:00
Vasily
0f32b0ffad Change image blurhash mapping to "image type to blurhash" 2020-05-26 01:04:40 +03:00
xumix
46420dfd68 Refactor copy codec checks 2020-05-26 00:58:19 +03:00
Bond_009
10e381f66f Fix some 'bugs' flagged by sonarcloud 2020-05-25 23:52:51 +02:00
Vasily
279f0da980 Rename ImageInfo.Hash to ImageInfo.BlurHash 2020-05-26 00:52:13 +03:00
Vasily
29443e3681 Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2020-05-26 00:50:29 +03:00
Bond-009
5c95037234 Merge pull request #2953 from crobibero/api-startup
Convert StartupController to ActionResult
2020-05-25 15:17:42 +02:00
dkanada
f75a09838e remove uses of fnchecked from plugins 2020-05-25 18:25:45 +09:00
Joshua M. Boniface
35da965cd3 Add -k to keyserver curl command
This command seems to inexplicably fail in Docker builds, despite
working on the CLI, similar to what happened with the command directly
above it in c257d6071c. Fix it in the same
way by adding `-k`.
2020-05-25 01:30:55 -04:00
crobibero
e02cc8da53 Add Swashbuckle TODO note 2020-05-24 16:04:47 -06:00
crobibero
483e24607b Fix optional parameter binding 2020-05-24 16:01:53 -06:00
crobibero
40762f13c6 Fix route parameter casing 2020-05-24 15:54:34 -06:00
crobibero
62ea9b2821 Merge upstream/api-migration 2020-05-24 12:33:16 -06:00
crobibero
1f9cda6a66 Add ImageTags to SwaggerGenTypes 2020-05-24 12:19:37 -06:00
crobibero
70c42eb0ac Apply review suggestions 2020-05-24 12:19:26 -06:00
Neil Burrows
09915363c2 Update Emby.Server.Implementations/Udp/UdpServer.cs
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-05-24 09:22:13 +01:00
dkanada
deafe59b7e add the timestamp property back to the version info 2020-05-24 16:59:05 +09:00
dkanada
6d3e5d8662 update error log for plugin download 2020-05-24 15:53:17 +09:00
dkanada
7972daaba4 fix a few issues with the plugin manifest 2020-05-24 15:40:27 +09:00
crobibero
a4b3f2e32b Add missing route attribute 2020-05-23 18:19:49 -06:00
Mark Monteiro
4f6e5591ec Remove 'General' as an ExternalIdMediaType, and instead use 'null' to represent a general external id type 2020-05-23 16:08:51 -04:00
Patrick Barron
e052128c52 Cleanup and fix more bugs 2020-05-23 16:07:42 -04:00
Mark Monteiro
07897ec7af Specify enum values for ExternalIdMediaType explicitly 2020-05-23 15:49:02 -04:00
Patrick Barron
e8173df9dc Cleanup 2020-05-23 15:33:14 -04:00
Patrick Barron
99511b3be8 Fix a couple bugs 2020-05-23 14:53:24 -04:00
Anthony Lavado
777c9c7bc9 Merge pull request #3056 from rigtorp/tmdbsearch2
Reduce number of TMDB lookups if filenames have punctuation chars
2020-05-22 23:46:45 -04:00
Patrick Barron
e3f9aaa9c6 Fix bugs relating to users not being properly locked out. 2020-05-22 21:45:31 -04:00
Patrick Barron
56212e8101 Warnings cleanup 2020-05-22 20:20:18 -04:00
artiume
a661b37c12 Update LibraryService.cs 2020-05-22 14:40:41 -04:00
crobibero
341b947cde Move int64 converter to JsonDefaults location 2020-05-22 10:48:01 -06:00
WontTell
e98600a76f Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2020-05-21 22:41:56 -04:00
Óskar Freyr
3c86489d28 Translated using Weblate (Icelandic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/is/
2020-05-21 19:41:58 -04:00
fonfire
367da81ae9 Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2020-05-21 07:57:21 -04:00
fatbill27
74c1e002d2 Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2020-05-21 05:52:34 -04:00
fonfire
e0d8a474ec Added translation using Weblate (Thai) 2020-05-21 05:52:34 -04:00
Anthony Lavado
50fc547616 Merge pull request #3149 from Artiume/patch-4
Add .edl Mimetype
2020-05-21 00:55:22 -04:00
Anthony Lavado
a31549c6e7 Merge pull request #3144 from Artiume/patch-3
Add lost+found to ignore list
2020-05-21 00:54:41 -04:00
Patrick Barron
42177d1739 Replace Weekday with DayOfWeek 2020-05-21 00:22:43 -04:00
Vitorvlv
6bf444feae Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2020-05-21 00:09:46 -04:00
abdulaziz
7e2bd3018a Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-05-21 00:09:46 -04:00
Patrick Barron
d72ea70995 Document user class and fix a few minor issues 2020-05-20 19:47:41 -04:00
Vasily
1f83a21288 Rename Hash to BlurHash in all properties and methods for clarity 2020-05-21 01:43:19 +03:00
Vasily
8b517e9bef Fix nullref for imageProcessor in LibraryManager 2020-05-21 00:03:22 +03:00
Vasily
3fb4c1356c Make blurhash be computed during regular scans if it was not already computed 2020-05-20 23:50:17 +03:00
artiume
ae4c407b6d Add .edl Mimetype 2020-05-20 16:46:33 -04:00
Patrick Barron
0ccf7320b0 Fix a few issues in User 2020-05-20 14:17:59 -04:00
Patrick Barron
becfe018f0 Add internal id for new users 2020-05-20 13:49:44 -04:00
Patrick Barron
c464f700db Remove redundant qualifiers 2020-05-20 13:07:53 -04:00
Patrick Barron
7d9d54d2ec Fix profile images. 2020-05-20 12:09:52 -04:00
Patrick Barron
623dcde65c Manually specify enum values 2020-05-20 10:04:00 -04:00
Patrick Barron
64c14beb27 Fix default permissions and HasPassword property 2020-05-20 10:04:00 -04:00
Patrick Barron
1d1a145ad4 Fix issues and add profile image support 2020-05-20 10:04:00 -04:00
Patrick Barron
292993d8ef Document various classes. 2020-05-20 10:04:00 -04:00
Patrick Barron
d35a7ba8bd Fix more issues 2020-05-20 10:04:00 -04:00
Patrick Barron
d27b2481a0 Fix an issue causing multiple permissions/preferences objects to be created. 2020-05-20 10:04:00 -04:00
Patrick Barron
e7b297c67b Add some missing properties 2020-05-20 10:04:00 -04:00
Patrick Barron
3eeb6576d8 Migrate User DB to EF Core 2020-05-20 10:04:00 -04:00
Neil Burrows
a646a91e15 Update Emby.Server.Implementations/IStartupOptions.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-05-20 14:29:18 +01:00
crobibero
fb068b76a1 Use correct MediaTypeName 2020-05-20 07:18:51 -06:00
Neil Burrows
d7b2c2a176 Renaming variable and refactoring IF statement 2020-05-20 09:11:26 +01:00
artiume
0efb81b21e Add lost+found to ignore list
https://forum.jellyfin.org/t/library-not-loading/2086
2020-05-19 21:45:48 -04:00
crobibero
5f0c37d574 Fix DefaultDirectoryBrowserInfo naming 2020-05-19 13:22:09 -06:00
crobibero
070edd9e5b Fix MediaType usage 2020-05-19 13:13:07 -06:00
crobibero
2689865858 Remove unused using 2020-05-19 13:02:35 -06:00
crobibero
51d54a8ca4 Fix return content type 2020-05-19 13:02:02 -06:00
crobibero
b28dd47a0f implement review suggestions 2020-05-19 12:58:09 -06:00
crobibero
2f2bceb110 Remove default parameter values 2020-05-19 12:56:57 -06:00
Bruce
24543b04c1 Applying review suggestion to documentation 2020-05-19 18:13:42 +01:00
crobibero
cdb25e355c Fix return value 2020-05-19 10:06:25 -06:00
crobibero
cf78edc979 Fix Authorize attributes 2020-05-19 10:05:23 -06:00
crobibero
a11a193439 Remove CameraUpload endpoints 2020-05-19 10:04:09 -06:00
crobibero
e03c97d7cd update xml docs 2020-05-19 10:02:52 -06:00
crobibero
6c376f18f7 update xml docs 2020-05-19 09:47:02 -06:00
crobibero
6dbbfcbfbe update xml docs 2020-05-19 09:29:59 -06:00
crobibero
839de72f9a Fix authentication attribute 2020-05-19 09:24:04 -06:00
crobibero
2923013c6e Clean Remote Image Controller. 2020-05-19 09:23:28 -06:00
crobibero
98bd61e364 Clean up routes 2020-05-19 09:14:37 -06:00
crobibero
c998935d29 Apply review suggestions 2020-05-19 09:06:37 -06:00
crobibero
1c471d5855 Clean UpdateDisplayPreferences endpoint 2020-05-19 09:01:00 -06:00
crobibero
a7a725173d Rename to AttachmentsController -> VideoAttachmentsController 2020-05-19 08:55:15 -06:00
crobibero
26a2bea179 Update endpoint docs 2020-05-19 08:55:15 -06:00
crobibero
177339e8d5 Fix Authorize attributes 2020-05-19 08:55:15 -06:00
crobibero
15e9fbb923 move to ActionResult<T> 2020-05-19 08:55:15 -06:00
crobibero
84fcb4926c Remove exception handler 2020-05-19 08:55:15 -06:00
crobibero
8eac528815 nullable 2020-05-19 08:55:15 -06:00
crobibero
45d750f106 Move AttachmentsService to AttachmentsController 2020-05-19 08:55:15 -06:00
crobibero
c4f8ba55f2 Rename to AttachmentsController -> VideoAttachmentsController 2020-05-19 08:28:02 -06:00
Vasily
2b1ae7ac58 Fix code smells 2020-05-19 15:42:50 +03:00
Vasily
186b7f303c More small optimizations 2020-05-19 15:08:43 +03:00
Vasily
a226a4ee03 Compute hash only when one is not computed in DB, small optimizations here and there 2020-05-19 14:50:14 +03:00
Vasily
f18293bf76 Switch to BlurHashSharp lib which should be faster 2020-05-19 13:46:00 +03:00
Vasily
bfb644d5f5 Fix nullref exception 2020-05-19 13:45:39 +03:00
Vasily
d9e2f56bd2 Merge pull request #3037 from ConfusedPolarBear/access-control
Fix CORS header not being added to exceptions
2020-05-19 13:05:45 +03:00
NaorManna
585e9e6220 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-05-19 03:15:02 -04:00
Lukáš Kucharczyk
4395644efc Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2020-05-19 00:09:47 -04:00
ConfusedPolarBear
949e4d3e64 Apply suggestions from code review 2020-05-18 16:58:14 -05:00
Vasily
02da312f8a Fix compilation after rebase 2020-05-19 00:22:52 +03:00
Jesús Higueras
fe480caf54 Add endpoint to update all items in library 2020-05-18 23:21:38 +03:00
Jesús Higueras
b9fc0d2628 Add BlurHash support to backend 2020-05-18 23:21:37 +03:00
ConfusedPolarBear
85f04af04c Reuse existing CORS function 2020-05-18 14:31:47 -05:00
ConfusedPolarBear
3a61c9a878 Merge remote-tracking branch 'upstream/master' into access-control 2020-05-18 14:27:51 -05:00
Vasily
2d2c1d9473 Merge pull request #3099 from rigtorp/ignore-patterns
Use glob patterns to ignore files
2020-05-18 22:23:40 +03:00
Bond-009
e14c85555c Merge pull request #3138 from mark-monteiro/reduce-development-exception-page-logging
Reduce Excessive Logging From DeveloperExceptionPageMiddleware
2020-05-18 17:21:45 +02:00
Mark Monteiro
5eec3a1342 Remove extra whitespace
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2020-05-18 10:47:01 -04:00
dkanada
668a7b97c7 Merge pull request #3072 from JustAMan/fix-dead-livetv
Re-raise the exception that caused LiveTV stream to not open
2020-05-18 23:23:47 +09:00
Vasily
c70e38288c Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2020-05-18 17:01:29 +03:00
Vasily
5d46697481 Merge pull request #3020 from rigtorp/patch-1
Fix container image build by installing python
2020-05-18 16:52:49 +03:00
erikasne6152
989ddbcafd Translated using Weblate (Lithuanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2020-05-18 09:44:33 -04:00
dkanada
8de7c5ee36 Merge pull request #3134 from mark-monteiro/update-dotnet-core
Update to .NET Core 3.1.4
2020-05-18 19:33:12 +09:00
dkanada
7b75cc7fea Merge pull request #3133 from kesslern/fix-setup-wizard
Fix 500 error causing first-time setup wizard to hang
2020-05-18 19:31:51 +09:00
crobibero
37f55b5c21 apply doc suggestions 2020-05-17 19:56:02 -06:00
Mark Monteiro
634bc73c9a DO not use developer exception page when exception stack trace should be ignored 2020-05-17 18:07:37 -04:00
Mark Monteiro
d06fee75b6 Rename Name to ProviderName 2020-05-17 17:36:36 -04:00
Mark Monteiro
c82f7eeca1 Clean up some doc comments 2020-05-17 17:26:40 -04:00
Mark Monteiro
67edf1b7f5 Do not convert 'Type' value to string unnecessarily, and do not replace 'General' type with null 2020-05-17 15:59:13 -04:00
Mark Monteiro
422d5b2b68 Move ExternalIdMediaType enum to MediaBrowser.Model 2020-05-17 15:57:24 -04:00
BaronGreenback
3a5333228f Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17 20:44:44 +01: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
e5c857ac36 Rename external id type 'None' to 'General' 2020-05-17 15:29:53 -04:00
Mark Monteiro
526e47c362 Clean up documentation 2020-05-17 15:27:43 -04:00
Mark Monteiro
96acd6481e Merge branch 'master' into externalid-type 2020-05-17 13:50:44 -04:00
Mark Monteiro
3ed76d7e08 Update to .NET Core 3.1.4 2020-05-17 13:33:38 -04:00
dkanada
4b4b50f3ee Merge pull request #3115 from MrTimscampi/ffprobe
Parse color transfer and color primaries from ffprobe, and fix video range
2020-05-18 00:06:07 +09:00
Nathan Kessler
3bc07e7c56 Fix 500 error causing first-time setup wizard to hang 2020-05-17 10:48:30 -04:00
Samuel Gagnon
e75b2cd335 Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-05-17 08:03:42 -04:00
Franco Castillo
a33a589dba Translated using Weblate (Spanish (Argentina))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2020-05-17 08:03:42 -04:00
MrTimscampi
9314434bbf Fix suggestions 2020-05-16 17:35:34 +02:00
dkanada
ebc24470e3 Merge pull request #3075 from crobibero/api-operationid
Add OperationId to SwaggerGen
2020-05-17 00:08:54 +09:00
dkanada
8921c7a5bf Merge pull request #3113 from Artiume/patch-1
Fix Progressive and Interlaced Stream capitalization
2020-05-16 21:56:25 +09:00
dkanada
7f39d898b8 Merge pull request #3105 from aled/2149-fix-warnings-in-jellyfin.naming.tests
Fix compile warnings in Jellyfin.Naming.Tests
2020-05-16 16:08:01 +09:00
dkanada
ddebc9301e Merge pull request #3116 from Artiume/patch-2
Update Books Resolver File Types and add .opf Mime Type
2020-05-16 16:01:59 +09:00
Erik Rigtorp
f144acdc96 Use glob patterns to ignore files 2020-05-15 18:33:18 -07:00
Erik Rigtorp
9cad598059 Fix container image build by installing python 2020-05-15 18:25:43 -07:00
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
2020-05-15 17:20:07 -04:00
Vasily
652e9702fc Merge pull request #3117 from JustAMan/no-more-doppelgangers
Fixes collections (and probably some extras support, too)
2020-05-16 00:01:49 +03:00
Mark Monteiro
757643e326 Merge remote-tracking branch 'upstream/master' into no-more-doppelgangers 2020-05-15 15:23:44 -04:00
Mark Monteiro
6e68702799 Do not run DELETE command if no extras are detected
Also log a message if no extras were detected 
Also log the path used for the database backup
Also add some comments to explain the migration
2020-05-15 15:12:26 -04:00
Vasily
d21feb2b18 Merge pull request #2970 from barronpm/activitydb-efcore
Migrate Activity Database to Entity Framework Core
2020-05-15 22:04:23 +03:00
Vasily
43dc604e87 Fixed compilation, added backing db before removing extras 2020-05-15 21:49:45 +03:00
Patrick Barron
79dee27299 Fixed indentation 2020-05-15 14:33:36 -04:00
Vasily
034fe97eeb Apply suggestions from code review
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-05-15 21:32:56 +03:00
Patrick Barron
a7c2e524a9 Apply more review suggestions 2020-05-15 14:09:15 -04:00
gion
8c04049a59 Fix some code smells 2020-05-15 20:06:41 +02:00
gion
029bb80910 Merge remote-tracking branch 'upstream/master' into syncplay 2020-05-15 18:59:35 +02:00
Patrick Barron
a5dee36808 Apply more review suggestions 2020-05-15 12:51:18 -04:00
gion
e8f45248aa Fix code issues 2020-05-15 18:47:16 +02:00
artiume
a765272c17 Update MimeTypes.cs 2020-05-15 09:38:26 -04:00
artiume
527029af92 Update MediaStream.cs 2020-05-15 09:36:30 -04:00
artiume
d41cdb3b7a Update Interlace 2020-05-15 09:36:30 -04:00
artiume
eb3ce3fb87 Fix Progressive Stream 'P' capitalization 2020-05-15 09:36:30 -04:00
artiume
9ed8c6cb11 Add opf mimetype 2020-05-15 07:59:46 -04:00
dkanada
18953d95e6 Merge pull request #3085 from MrTimscampi/vtt-position
Add positionning cues to WebVTT writer
2020-05-15 16:43:31 +09:00
dkanada
cb249cc171 Merge pull request #3118 from barronpm/fix-regressions
Fix regressions introduced by #3098
2020-05-15 16:43:06 +09:00
Odd Stråbø
ef533015ae Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-05-14 23:26:47 -04:00
Vasily
ed751aa054 Merge pull request #3084 from fhriley/fix_allow_origin
Fix #3083: Set the Access-Control-Allow-Origin header to the request …
2020-05-15 03:18:16 +03:00
Patrick Barron
dcaffd3812 Fix regressions introduced by #3098 2020-05-14 20:11:34 -04:00
Erik Rigtorp
e02e041b23 If second cleaning results in same name skip lookup 2020-05-14 16:55:55 -07:00
Vasily
7c57134535 Implement a cleanup migration 2020-05-15 02:30:28 +03:00
Frank Riley
9ee10d22c8 Rename function 2020-05-14 16:15:09 -07:00
Frank Riley
6990af811a Use simpler dictionary iterator. 2020-05-14 16:15:09 -07:00
Frank Riley
c70c589236 Update Emby.Server.Implementations/HttpServer/HttpListenerHost.cs from review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-05-14 16:15:09 -07:00
Frank Riley
3cb6fd8a27 Fix #3083: Set the Access-Control-Allow-Origin header to the request origin/host header if possible 2020-05-14 16:15:03 -07:00
Vasily
ce16651dbd Fix a check broken by https://github.com/jellyfin/jellyfin/pull/2105 2020-05-15 01:55:53 +03:00
Patrick Barron
953777f1ba Removed unnecessary usings 2020-05-14 18:12:51 -04:00
Patrick Barron
87c63e668c Merge branch 'master' into activitydb-efcore 2020-05-14 21:16:43 +00:00
Patrick Barron
b94afc597c Address review comments 2020-05-14 17:13:45 -04:00
artiume
4eb4ad3be7 Update Books Resolver File Types 2020-05-14 17:03:53 -04:00
Erik Rigtorp
de35183903 Update MediaBrowser.Providers/Tmdb/Movies/TmdbSearch.cs
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-05-14 11:56:31 -07:00
Erik Rigtorp
fa1fef1099 Update MediaBrowser.Providers/Tmdb/Movies/TmdbSearch.cs
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-05-14 11:56:25 -07:00
aled
3ff6e3ff65 Add code analyzers to Jellyfin.Naming.Tests and fix resulting warnings 2020-05-14 18:59:10 +01:00
MrTimscampi
2e18142bb3 Add color primaries to ffprobe output 2020-05-14 18:52:42 +02:00
MrTimscampi
234292453f Add HLG to the video range detection 2020-05-14 18:44:51 +02:00
MrTimscampi
428e1b04fc Add color transfer to ffprobe results 2020-05-14 18:11:32 +02:00
Vasily
5ce008e02f Merge pull request #2162 from Bond-009/websocket
Rewrite WebSocket handling code
2020-05-14 18:49:44 +03:00
Mark Monteiro
2e09311a93 Merge branch 'master' into websocket 2020-05-14 11:08:08 -04:00
dkanada
11dd96f6c7 Merge pull request #3089 from MrTimscampi/tmdb-original-title
Add more information to TmdbSeriesProvider
2020-05-14 13:43:00 +09:00
aled
2849d2b134 Fix compile warnings in Jellyfin.Naming.Tests 2020-05-13 23:59:19 +01:00
Patrick Barron
9925742918 Implement more review suggestions 2020-05-13 17:55:31 -04:00
Patrick Barron
1fecd55ac0 Merge branch 'activitydb-efcore' of https://github.com/barronpm/jellyfin into activitydb-efcore 2020-05-13 15:35:44 -04:00
Patrick Barron
1e9b2613c6 Remove more unused code 2020-05-13 15:35:14 -04:00
Patrick Barron
a8f0d0aa0d Merge branch 'master' into activitydb-efcore 2020-05-13 19:06:04 +00:00
Patrick Barron
511d20a100 Apply review suggestions 2020-05-13 15:03:35 -04:00
Vasily
f08830ea00 Merge pull request #2774 from mark-monteiro/simplify-https-config
Simplify HTTPS Properties
2020-05-13 20:36:54 +03:00
Vasily
69676373ca Merge pull request #3098 from barronpm/remove-ilogger
Remove Support for Injecting ILogger Directly
2020-05-13 20:35:32 +03:00
MrTimscampi
512725a7d1 Fix style issue in TmdbSeriesProvider 2020-05-13 18:02:54 +02:00
Mark Monteiro
51cdb30741 Apply documentation suggestions from code review
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-05-13 09:46:29 -04:00
Patrick Barron
b7621d762c 2nd half of changes 2020-05-13 00:00:57 -04:00
Patrick Barron
c1360a1dc3 Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Entities/User.cs
#	Jellyfin.Data/ISavingChanges.cs
#	Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
#	Jellyfin.Server.Implementations/JellyfinDb.cs
#	Jellyfin.Server/Migrations/MigrationRunner.cs
#	MediaBrowser.Model/Notifications/NotificationOptions.cs
#	MediaBrowser.sln
2020-05-12 22:22:20 -04:00
Patrick Barron
9ad839c776 Initial migration code 2020-05-12 22:10:35 -04:00
tanvir-ahmed-siddique
92299be64c Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-05-12 19:34:59 -04:00
D Z
e69ba3531e Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-05-12 17:30:00 -04:00
Patrick Barron
62420a6eb1 Remove support for injecting ILogger directly 2020-05-12 16:03:15 -04:00
Patrick Barron
bac4bf96a0 Fix build errors 2020-05-12 12:50:17 -04:00
Patrick Barron
6379391f87 Merge branch 'master' into activitydb-efcore 2020-05-12 16:08:28 +00:00
rapmue
32c1182226 Translated using Weblate (German (Swiss))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gsw/
2020-05-12 11:52:45 -04:00
MrTimscampi
b961c3c9ae Address suggestions 2020-05-12 15:05:58 +02:00
Bond-009
94a96c93a8 Merge pull request #3038 from barronpm/generated-code-cleanup
Clean up generated code
2020-05-12 10:38:45 +02:00
millallo
6c855e5f81 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-05-11 16:55:55 -04:00
Federico Antoniazzi
5b2973b01a Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-05-11 09:02:52 -04:00
Bond-009
dabd67d127 Merge pull request #2900 from mark-monteiro/migration-dependency-injection
Use dependency injection to construct migration routines
2020-05-11 10:15:35 +02:00
Mark Monteiro
a10aec6956 Fix merge 2020-05-10 18:17:12 -04:00
Mark Monteiro
3abf870c1e Do not include a double slash in URLs when a base URL is not set 2020-05-10 18:07:56 -04:00
Mark Monteiro
dc5165b97f Merge branch 'master' into simplify-https-config 2020-05-10 14:43:57 -04:00
Mark Monteiro
43c22a5822 Add GetLoopbackHttpApiUrl() helper method to replace forceHttps functionality
Also refactor to use return a Uri instead of a string and use UriBuilder under the hood
2020-05-10 14:36:11 -04:00
Patrick Barron
0549d59a5f Merge branch 'master' into generated-code-cleanup 2020-05-10 15:00:52 +00:00
Patrick Barron
55cfa96b9f Apply review suggestions 2020-05-10 10:54:41 -04:00
MrTimscampi
d5ad53e4bb Add Director to role mapper for TMDb 2020-05-10 15:51:30 +02:00
MrTimscampi
9137069f6d Add more information to TmdbSeriesProvider 2020-05-10 14:36:46 +02:00
MrTimscampi
a262ecd9c7 Add positionning cues to WebVTT writer 2020-05-09 20:47:05 +02:00
timothyc824
f33876e7e3 Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2020-05-09 12:22:38 -04:00
gion
5c8cbd4087 Fix code issues 2020-05-09 14:34:07 +02:00
gion
8a6ec2fb71 Rename Syncplay to SyncPlay 2020-05-09 12:37:39 +02:00
gion
6e22e9222b Fix code issues 2020-05-09 12:37:23 +02:00
andra5
58122cc067 Translated using Weblate (German (Swiss))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gsw/
2020-05-08 19:12:07 -04:00
newton181
0e8505fb96 Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2020-05-08 19:12:07 -04:00
Vasily
3401d55f41 Fixed yet another case of hanging on a bad stream 2020-05-08 23:11:43 +03:00
redSpoutnik
2363ad5449 Add Post subtitle in API 2020-05-08 21:56:29 +02:00
crobibero
2b1b9a64b6 Add OperationId to SwaggerGen 2020-05-08 08:40:37 -06:00
Vasily
a517bd2e52 Re-raise the exception that caused LiveTV stream to not open 2020-05-08 14:32:41 +03:00
Erik Rigtorp
f7c44565fc Rename member variables to conform to coding standard 2020-05-07 15:47:59 -07:00
Erik Rigtorp
8bd356ab20 Reduce number of TMDB lookups if filenames have punctuation chars
Previosly TMDB would be queried with the raw name and always fail,
then retry with the cleaned name. Now non-word chars are always
cleaned out first.

If first query fails, retry with more aggressive cleaning.
2020-05-07 15:47:59 -07:00
Bond-009
d016a9772f Merge pull request #3066 from Artiume/patch-1
Remove ogg video mimetype
2020-05-07 22:09:30 +02:00
artiume
3e14b1b50f Remove ogg video mimetype 2020-05-07 15:58:20 -04:00
Bond-009
62da4d0e5c Merge pull request #2492 from Polpetta/fix-api-private-data-leak
Fix emby/user/public API leaking sensitive data
2020-05-07 14:52:10 +02:00
Davide Polonio
5c6339d8fd Fix typo in PublicUserDto
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
2020-05-07 09:14:00 +02:00
Stefan Petrushevski
41b667c137 Translated using Weblate (Macedonian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/mk/
2020-05-06 17:11:45 -04:00
dkanada
176159d0a8 Merge pull request #2969 from BaronGreenback/my-feature
http in development mode crashed -
2020-05-07 02:24:42 +09:00
Oliver Moolman
1c210d930c Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2020-05-06 13:09:15 -04:00
Davide Polonio
57cf19f058 Fix variable declaration and follow sonarcloud suggestions 2020-05-06 17:25:41 +02:00
BaronGreenback
ba2134de13 Made changes to message and exception class 2020-05-06 16:04:07 +01:00
dkanada
cd07bc23f8 Merge pull request #3050 from Artiume/patch-1
Update MimeTypes.cs
2020-05-06 21:56:45 +09:00
artiume
1388464329 Update MimeTypes.cs 2020-05-06 08:23:56 -04:00
miguel marsa canals
d34b7f801b Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2020-05-06 08:10:00 -04:00
artiume
1058c80a41 Update MediaBrowser.Model/Net/MimeTypes.cs 2020-05-06 07:45:40 -04:00
dkanada
822c14af4d Merge pull request #2949 from Bond-009/dvdlib2
Enable TreatWarningsAsErrors for DvdLib
2020-05-06 20:38:45 +09:00
artiume
0aff46631f Update MediaBrowser.Model/Net/MimeTypes.cs
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2020-05-06 07:38:19 -04:00
dkanada
c15463fa12 Merge pull request #2837 from Bond-009/async2
Minor IAsyncDisposable improvements
2020-05-06 20:30:03 +09:00
dkanada
c9d0b07ab0 Merge pull request #3024 from Bond-009/listhelper
Remove ListHelper extensions
2020-05-06 20:25:03 +09:00
Nazar Bulavko
0334b54ae7 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2020-05-05 14:52:38 -04:00
Brandon L
dcdafa4859 Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-05-05 14:52:37 -04:00
Mark Monteiro
432aae0fcc Add missing comma 2020-05-05 11:17:03 -04:00
artiume
183514ebe2 add azw3 2020-05-05 07:25:32 -04:00
Nazar Bulavko
661b0e9489 Added translation using Weblate (Ukrainian) 2020-05-04 19:09:37 -04:00
Patrick Barron
a78184ef44 Add the user data to the schema 2020-05-04 16:00:41 -04:00
Patrick Barron
75e0d58c2d Merge branch 'activitydb-efcore' into userdb-efcore 2020-05-04 15:18:11 -04:00
Bond-009
ca2f9c7341 Merge pull request #2945 from mark-monteiro/integration-tests
Add Integration Tests For BrandingService
2020-05-04 19:01:02 +02:00
artiume
25651362bf Update MimeTypes.cs 2020-05-04 12:13:50 -04:00
SaddFox
64ab8f8e7a Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2020-05-04 10:14:24 -04:00
x7aN
27328118a0 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-05-04 10:14:24 -04:00
Tin Pavelic
6aca248532 Translated using Weblate (Croatian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hr/
2020-05-04 10:14:24 -04:00
Anthony Lavado
0e11646107 Merge pull request #2950 from Bond-009/videoresolver
Fix VideoResolver and tests
2020-05-04 04:21:30 -04:00
artiume
675cbd8a16 Update MimeTypes.cs 2020-05-03 18:23:25 -04:00
Bond-009
491f59cad4 Merge pull request #3049 from mark-monteiro/fix-editorconfig
Fix editorconfig Settings
2020-05-03 23:45:30 +02:00
Mark Monteiro
8322d412f0 Move ruleset up one directory so it can be shared by all test projects 2020-05-03 16:51:39 -04:00
Mark Monteiro
6e1120c623 Merge pull request #3048 from jellyfin/api-notification-docs
Fix XML doc generation
2020-05-03 16:45:57 -04:00
Mark Monteiro
151182b9a9 Fix settings in editorconfig file 2020-05-03 16:30:39 -04:00
Mark Monteiro
927e7a24ed Add main ruleset as a solution item so it appears in Visual Studio 2020-05-03 16:29:13 -04:00
Mark Monteiro
e66b000183 Enable StyleCop and FxCop analyzers for integration tests project
Use a custom ruleset that derives from the base solution ruleset, overriding rules where necessary
2020-05-03 16:23:42 -04:00
crobibero
d7d8118b42 Fix xml docs 2020-05-03 14:02:15 -06:00
Mark Monteiro
ea82e2158c Make sure logger factories are disposed during integration tests 2020-05-03 15:31:17 -04:00
Bond-009
f2bace2a07 Merge pull request #2925 from crobibero/redoc
Enhance Swagger Generation
2020-05-03 19:36:42 +02:00
Patrick Barron
74f9ddc419 Delete DbContext class 2020-05-03 13:06:08 -04:00
Christoph Potas
7d3eaea3fa + add bd tag to clean string regex
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2020-05-03 18:17:55 +02:00
Bond-009
b1a2fb60f2 Merge pull request #2876 from ZadenRB/asp-net-notifications-service
Migrates the notifications service to use ASP.NET API framework
2020-05-03 17:33:01 +02:00
Bond-009
18075dd3e8 Merge pull request #3043 from puschie286/fix-startup-project
Jellyfin.Server as startup project
2020-05-03 17:26:31 +02:00
Christoph Potas
a7bc1d4341 ~ set Jellyfin.Server as startup project
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2020-05-03 16:13:05 +02:00
Mark Monteiro
519d65b9c8 Remove unnecessary gitignore entry
Visual Studio no longer generates this file when opening the solution since the project SDK has been set to the correct value
2020-05-03 01:10:51 -04:00
Mark Monteiro
1c06111497 Merge remote-tracking branch 'upstream/master' into integration-tests 2020-05-03 01:04:19 -04:00
dkanada
2bf3dee4c4 Merge pull request #3035 from mark-monteiro/fix-repo-double-dispose
Do not double dispose item repository resources
2020-05-03 13:28:26 +09:00
crobibero
35dbcea931 Return array -> ienumerable 2020-05-02 18:47:05 -06:00
crobibero
cbd4a64e67 Update endpoint docs 2020-05-02 18:46:27 -06:00
Patrick Barron
37dcbfbc39 Update code to only add implemented parts of the schema 2020-05-02 19:26:24 -04:00
crobibero
25002483a3 Update endpoint docs 2020-05-02 17:23:02 -06:00
crobibero
7516e3ebbe Update endpoint docs 2020-05-02 17:12:56 -06:00
crobibero
f67daa84b0 Update endpoint docs 2020-05-02 17:10:59 -06:00
crobibero
0017163f39 Update endpoint docs 2020-05-02 17:06:29 -06:00
Patrick Barron
032de931b1 Migrate activity db to EF Core 2020-05-02 18:32:22 -04:00
Patrick Barron
2b41f8ab63 Clean up generated code 2020-05-02 17:56:05 -04:00
ConfusedPolarBear
df65e3ab0d Add Access-Control-Allow-Origin header to exceptions
Fixes #1794
2020-05-02 15:33:45 -05:00
Mark Monteiro
daf79b8aeb Do not double dispose write lock and connection in user data repository 2020-05-02 15:45:03 -04:00
Neil Burrows
b737301c70 Auto discover published URL override 2020-05-02 17:56:09 +01:00
Davide Polonio
472efeeec4 Remove extra line in UserManager
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-05-02 13:09:57 +02:00
Bond_009
3623aafcb6 Make SonarCloud happy 2020-05-02 01:30:04 +02:00
Bond_009
04f826e50c Fix merge errors 2020-05-02 01:09:35 +02:00
Bond_009
15634a1913 Merge branch 'master' into websocket 2020-05-02 00:54:04 +02:00
Heikki Jetsonen
62e251663f Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-05-01 16:39:46 -04:00
Bond_009
7659a2ab32 Remove ListHelper extensions 2020-05-01 16:48:33 +02:00
Bruce
0d8253d8e2 Updated documentation according to discussion in jellyfin#2872 2020-05-01 15:17:40 +01:00
Aragon
9265b422f7 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-05-01 05:32:30 -04:00
Bond-009
7f7a686ea6 Merge pull request #2573 from YouKnowBlom/add-hls-fields
Add codecs, resolution and frame-rate fields to HLS master playlist
2020-05-01 11:20:56 +02:00
Heikki Jetsonen
8b6bec60d3 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-04-30 23:32:56 -04:00
fesken
c342c6b582 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2020-04-30 23:32:56 -04:00
Vasily
1927d0e23c Merge pull request #2293 from EraYaN/new-data-model
Add new EF Core data model (v2)
2020-04-30 12:18:51 +03:00
Erwin de Haan
bbd74f811f Spaces -> Tab in solution file 2020-04-30 10:06:02 +02:00
Erwin de Haan
a370c5c007 Restore the versioning extension settings. 2020-04-30 10:03:49 +02:00
Vasily
655a3ac54b Merge pull request #2656 from joshuaboniface/improve-builds
Improve builds
2020-04-30 00:55:38 +03:00
ZadenRB
82231b4393 Update to return IEnumerable directly where possible 2020-04-29 15:53:29 -06:00
Joshua M. Boniface
8c9604afba Add Web integration option in default service conf 2020-04-29 16:06:42 -04:00
crobibero
7a3925b863 Fix docs 2020-04-29 09:41:12 -06:00
crobibero
97ecffceb7 Add response code descriptions 2020-04-29 08:59:34 -06:00
crobibero
806ae1bc07 Remove versioned API 2020-04-29 08:04:05 -06:00
Cody Robibero
d491b1b45f Merge branch 'api-migration' into redoc 2020-04-29 07:38:18 -06:00
dkanada
2cb0f6f126 Merge pull request #2952 from crobibero/api-exception-middleware
Add Exception Middleware
2020-04-29 22:36:41 +09: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
Bond-009
690fb65cd8 Merge pull request #2985 from sparky8251/prometheus
Add Prometheus exporters
2020-04-29 11:36:05 +02:00
Vasily
aff65adca9 Merge pull request #2917 from Bond-009/tests
Improved tests
2020-04-29 12:17:39 +03:00
Vasily
5922c35d69 Merge pull request #2920 from Bond-009/tests2
Add some simple tests
2020-04-29 12:17:01 +03:00
Vasily
8607b6a997 Merge pull request #2817 from ferferga/master
Remove unnecessary space in hardware decoders argument for ffmpeg
2020-04-29 02:37:24 +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
ZadenRB
c61a200c9d Revise documentation based on discussion in #2872 2020-04-28 09:30:59 -06:00
gion
0b974d09ca Synchronize access to data 2020-04-28 14:12:06 +02:00
Vasily
fa46a61ee3 Merge pull request #2995 from JustAMan/fix-cache-for-real
Now parse date in header correctly as being in UTC
2020-04-28 01:56:39 +03:00
gion
73fcbe90c0 Send error messages to clients 2020-04-27 22:39:37 +02:00
gion
083d3272d0 Refactor and other minor changes 2020-04-27 22:39:37 +02:00
gion
aad5058d25 Implement KeepAlive for WebSockets 2020-04-27 22:39:37 +02:00
gion
40889702d0 Update session ping 2020-04-27 22:39:37 +02:00
gion
6519eebabb Implement NTP like time sync 2020-04-27 22:39:37 +02:00
gion
84d92ba9ce Check that client is playing the right item
Send date when playback command is emitted
Rename some classes
2020-04-27 22:39:20 +02:00
gion
73c19bd281 Filter groups by parental rating 2020-04-27 22:09:36 +02:00
gion
e74832d139 Filter groups by library access 2020-04-27 22:09:36 +02:00
gion
459297211e Implement syncplay permissions for a user 2020-04-27 22:09:02 +02:00
gion
f273995f5b Refactor: rename user to session 2020-04-27 22:07:33 +02:00
gion
b3354ec637 Ignore unrelated events 2020-04-27 22:07:33 +02:00
gion
10c2c62f07 Implement syncplay backend 2020-04-27 22:07:33 +02:00
Łukasz Nowak
ab8a5595f6 Translated using Weblate (Polish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pl/
2020-04-27 13:25:22 -04:00
Vasily
655208d375 Now parse date in header correctly as being in UTC 2020-04-27 19:03:42 +03:00
sparky8251
e3a42a8fe9 Address reviews 2020-04-27 08:42:46 -04:00
Bond-009
cf75fc0684 Merge pull request #2992 from rotvel/feature/ffmpeg
Try harder to find ffmpeg in app directory.
2020-04-27 10:09:26 +02:00
crobibero
068368df63 Order actions by route, then http method 2020-04-26 23:28:32 -06:00
Max Git
cee587d6e3 Try harder to find ffmpeg in app directory. While here do some cleanup 2020-04-27 03:25:57 +02:00
Shillos
820cd7e644 Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2020-04-26 18:50:35 -04:00
Shillos
c38e414178 Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2020-04-26 18:07:40 -04:00
Mark Monteiro
15fd4812f0 Remove unnecessary foreach loop 2020-04-26 18:04:34 -04:00
Mark Monteiro
679f97d5e9 Merge remote-tracking branch 'upstream/master' into simplify-https-config
Also reverts conflicting changes made in https://github.com/jellyfin/jellyfin/pull/2798
2020-04-26 17:37:30 -04:00
Mark Monteiro
cabdec87e8 Fix merge with master 2020-04-26 16:55:00 -04:00
oytal
241dea6706 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-04-26 16:14:03 -04:00
Joshua M. Boniface
00d8983d7c Merge pull request #2990 from mark-monteiro/create-missing-folders
Create Missing Data Folders
2020-04-26 16:02:09 -04:00
Mark Monteiro
7615cdc963 Ensure metadata path is created on app startup, and also each time it is updated 2020-04-26 15:51:41 -04:00
Joshua M. Boniface
4fa6d1ccee Merge pull request #2940 from balu92/master
Fix missing colons
2020-04-26 15:22:38 -04:00
Joshua M. Boniface
f502c89331 Merge pull request #2798 from JustAMan/fix-livetv-again
Make localhost LiveTV restreams always use plain HTTP port
2020-04-26 15:13:27 -04:00
Mark Monteiro
cbd62e00a4 Ensure transcoding path is created when it is retrieved 2020-04-26 15:07:37 -04:00
Joshua M. Boniface
ca4b6836c1 Merge pull request #2906 from randrey/dlna-nullref-fix
Fix InvalidOperationException while browsing via DLNA client.
2020-04-26 15:02:34 -04:00
Joshua M. Boniface
cbeeeced75 Apply style change
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:58:43 -04:00
Joshua M. Boniface
6ac723706c Apply style change
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:58:34 -04:00
Joshua M. Boniface
23c8ecff37 Apply style change
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:58:24 -04:00
Joshua M. Boniface
0157326354 Apply style change
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:58:00 -04:00
Joshua M. Boniface
d92a3552b7 Apply style change
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:57:45 -04:00
Joshua M. Boniface
7a550d2c4e Apply style change
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:57:31 -04:00
BaronGreenback
a0a5512069 2969 - re-issed code to address when developer doesn't have certificate installed. 2020-04-26 19:35:36 +01:00
Erwin de Haan
b8d1419d9a Add basic new data model.
Added maxlength to SourceId text field in Metadata entity.

Added extra fields to Person entity and adjusted SourceId length to 255.

Added Extra Nuget deps for Relational databases and added Default Sqlite connection string.

Made LibraryItem and Metadata abstract.

Added artwork, changed DbSet names, added Seasons, added Genres, removed Language enum

Add MediaFIleKind, add CustomVideos, add Books.

Add AdditionalStream

Updated GUIDs.

Remove merge artifacts.

Updated Language to use ISO-639-3 3 letter language codes.

Added collections and concurrency tokens.

Added chapters.

Added Photos and renamed CustomVideo to CustomItem.

Started adding fields.

Added extra fields and Company entities.

Implement a first pass of user permissions for the new database schema

Upgrade to v2 of the addon. Commit generated files.

Update comment, rename namespace and remove superflous field.

Un-ignore any generated code.

Clean up the model files and other left overs.
2020-04-26 19:14:45 +02:00
Mark Monteiro
57b5ec1d51 Remove unnecessary properties from SystemInfo response object
These properties do not provide any useful information to the client. The client would already have to have all this information in order to connect to the endpoint to retrieve it
2020-04-26 12:07:54 -04:00
sparky8251
997b71bbef Metrics endpoint now respects baseurl 2020-04-26 11:52:01 -04:00
Mark Monteiro
93649ad77b Merge remote-tracking branch 'upstream/master' into simplify-https-config 2020-04-26 11:44:42 -04:00
sparky8251
68c7a914c3 Added option to disable metrics collection and defaulted it to off 2020-04-26 11:28:17 -04:00
Joshua M. Boniface
a327e4ccac Update fedora/jellyfin.spec
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-25 22:13:21 -04:00
Joshua M. Boniface
c689bf457c Correct dpkg conditional logic
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-25 22:12:19 -04:00
sparky8251
233337256f Add prometheus exporters 2020-04-25 21:36:03 -04:00
crobibero
000088f8f9 init 2020-04-25 18:18:33 -06:00
Mark Monteiro
7e467f9faa Use the correct method to synchronously wait for tasks to complete 2020-04-25 18:36:09 -04:00
crobibero
890e659cd3 Fix autolaunch & redirect of swagger. 2020-04-25 15:12:18 -06:00
Bruce Coelho
5aced0ea0f Apply suggestions from code review
Co-Authored-By: Cody Robibero <cody@robibe.ro>
2020-04-25 21:41:56 +01:00
Bruce Coelho
f66714561e Update Jellyfin.Api/Controllers/PackageController.cs
Applying requested changes to PackageController

Co-Authored-By: Cody Robibero <cody@robibe.ro>
2020-04-25 21:32:49 +01:00
Bruce
c7fe8b04cc PackageService to Jellyfin.API 2020-04-25 19:59:31 +01:00
Bond_009
99fe8dbe62 Remove BaseVideoTest 2020-04-25 18:55:54 +02:00
Bond-009
f81833693d Merge pull request #2874 from barronpm/warnings-cleanup1
Emby.Server.Implementations code cleanup and warning fixes (Part 1)
2020-04-25 16:02:39 +02:00
Bond-009
3c366954ae Merge pull request #2960 from ZadenRB/content-type-annotation
Adds annotation for content-type of ASP.NET Web API endpoints
2020-04-25 15:55:36 +02:00
Bond_009
da17a1201f Please roslyn 2020-04-25 15:49:53 +02:00
Bond_009
a273ed9a57 Address comments 2020-04-25 15:29:59 +02:00
Andreas B
153ea9f027 Fix error in HLS codecs field when level is null 2020-04-25 15:22:09 +02:00
Bond-009
383bc45372 Merge pull request #2932 from crobibero/api-casing
Add optional camelCase formatter
2020-04-25 11:09:38 +02:00
crobibero
714aaefbcc Transfer EnvironmentService to Jellyfin.Api 2020-04-24 18:20:36 -06:00
ConfusedPolarBear
70e50dfa90 Apply suggestions from code review 2020-04-24 18:51:19 -05:00
ZadenRB
85853f9ce3 Add back in return type documentation 2020-04-24 17:11:11 -06:00
Aragon
01f49137fc Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-04-24 18:03:04 -04:00
ConfusedPolarBear
33390153fd Minor fix 2020-04-23 23:44:15 -05:00
crobibero
0765ef8bda Apply suggestions, fix warning 2020-04-23 21:41:10 -06:00
crobibero
b8508a57d8 oop 2020-04-23 21:38:40 -06:00
crobibero
be50fae38a Address comments 2020-04-23 21:24:40 -06:00
crobibero
3c34d95608 Address comments 2020-04-23 21:23:29 -06:00
Mark Monteiro
713f8b2f4b Merge pull request #34 from crobibero/api-tests
Do not use the "Microsoft.NET.Sdk.Web" SDK in the test project
2020-04-23 20:06:03 -04:00
Mark Monteiro
cd98938190 Merge remote-tracking branch 'upstream/master' into integration-tests 2020-04-23 19:32:40 -04:00
ZadenRB
2066b0f68f Use builtin JSON Mime type constant 2020-04-23 16:15:59 -06:00
crobibero
6f20e2482f Fix build 2020-04-23 12:43:05 -06:00
Admin
d1684b1053 http in development mode crashed - 2020-04-23 18:30:48 +01:00
crobibero
311f2e2bc3 Fix Authorize attributes 2020-04-23 10:07:21 -06:00
crobibero
f3da5dc8b7 Fix Authorize attributes 2020-04-23 10:04:37 -06:00
crobibero
bb8e738a08 Fix Authorize attributes 2020-04-23 10:03:54 -06:00
crobibero
5ca7e1fd79 Move ChannelService to Jellyfin.Api 2020-04-23 08:54:28 -06:00
crobibero
1223eb5a22 Remove unneeded Ok calls. 2020-04-23 08:03:41 -06:00
dkanada
534b372b81 remove several deprecated utilities in the web package 2020-04-23 22:56:32 +09:00
crobibero
4d894c4344 Remove unneeded Ok calls. 2020-04-23 07:55:47 -06:00
crobibero
c7c2f9da90 Apply suggestions 2020-04-23 07:51:04 -06:00
crobibero
c6eebca335 Apply suggestions and add URL to log message 2020-04-23 07:29:28 -06:00
dkanada
aa6d52277d Merge pull request #2771 from Bond-009/nullable4
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
2020-04-23 18:43:37 +09:00
Bond_009
118f30059c Merge branch 'master' into nullable4 2020-04-23 11:29:19 +02:00
Miko Dela Cruz
97e383d108 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2020-04-23 01:44:09 -04:00
tyaprak
964e277932 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-04-23 01:44:09 -04:00
Unlimitediq
7d22a3c394 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-04-23 01:44:09 -04:00
dkanada
97d7ffc458 Merge pull request #2861 from mark-monteiro/fix-auth-response-codes
Fix Auth Response Codes
2020-04-23 14:10:22 +09:00
crobibero
a06d271725 Move ConfigurationService to Jellyfin.Api 2020-04-22 13:07:21 -06:00
Bond-009
07c4dfd8fe Merge pull request #2765 from mark-monteiro/register-services-correctly
Register And Construct Services Correctly Using DI Framework
2020-04-22 20:39:03 +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
ZadenRB
eee02a355a Adds produces annotation to the base controller to indicate application/json as the response type for endpoints 2020-04-22 10:06:37 -06:00
ZadenRB
7693cc0db0 Use ActionResult return type for all endpoints 2020-04-22 10:00:10 -06:00
Patrick Barron
f5f9901544 Fixed build 2020-04-22 09:55:35 -04:00
Patrick Barron
7586c60224 Merge branch 'master' into warnings-cleanup1 2020-04-22 13:44:20 +00:00
Bond-009
07326c1d9b Merge branch 'master' into fix-auth-response-codes 2020-04-22 13:16:08 +02:00
Bond-009
a85b1dcba6 Merge pull request #2943 from mark-monteiro/fix-browser-autolaunch
Respect AutoRunWebApp and NoAutoRunWebApp settings when HostWebClient is false
2020-04-22 13:02:45 +02:00
Michael Ong
de328a46cd Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-04-22 04:54:42 -04:00
Wouter Kayser
e943facebb Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-04-22 04:54:42 -04:00
ZadenRB
2a49b19a7c Update documentation of startIndex
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-22 00:21:37 -06:00
crobibero
461b298be7 Migrate DlnaServerController to Jellyfin.Api 2020-04-21 19:15:27 -06:00
crobibero
f5385e4735 Move Emby.Dlna DlnaService.cs to Jellyfin.Api 2020-04-21 18:12:46 -06:00
crobibero
041d674eb6 Fix swagger ui Document Title 2020-04-21 16:19:26 -06: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
crobibero
2542a27bd5 Fix documentation endpoint for use with baseUrl 2020-04-21 16:15:31 -06:00
Vasily
587edde37a Merge pull request #2955 from mark-monteiro/sonarcloud
Add SonarCloud to the Azure Pipeline CI process
2020-04-22 01:11:15 +03:00
Mark Monteiro
9a401c3728 Only run SonarCloud analysis for ubuntu tests 2020-04-21 17:55:19 -04:00
crobibero
3ab61dbdc2 bump swashbuckle 2020-04-21 15:49:04 -06:00
crobibero
14c94b4e5f Merge branch 'api-migration' of https://github.com/jellyfin/jellyfin into redoc 2020-04-21 15:12:04 -06:00
crobibero
7db3b035a6 move to ActionResult<T> 2020-04-21 14:25:03 -06:00
crobibero
88b856796a move to ActionResult<T> 2020-04-21 14:23:08 -06: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
crobibero
9ae895ba21 move to ActionResult<T> 2020-04-21 14:09:06 -06:00
crobibero
02a78aaae9 move to ActionResult<T> 2020-04-21 14:07:11 -06:00
crobibero
98224dee9e move to ActionResult<T> 2020-04-21 14:01:47 -06:00
crobibero
927696c403 move to ActionResult<T> 2020-04-21 13:59:43 -06:00
crobibero
466e20ea8c move to ActionResult<T> 2020-04-21 13:57:11 -06:00
Mark Monteiro
66364eba92 Add tasks required for SonarCloud integration 2020-04-21 15:53:22 -04:00
ZadenRB
69d9bfb233 Make documentation of parameters clearer
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-21 12:10:34 -06:00
Chen-Tai,Peng
a2f19eadf7 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-04-21 13:36:28 -04:00
André Silva
b88a94116b Translated using Weblate (Portuguese (Portugal))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_PT/
2020-04-21 13:36:28 -04:00
Mehdi Khosravi
166a4e8129 Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2020-04-21 13:36:28 -04:00
crobibero
3ef8448a51 Return to previous exception handle implementation 2020-04-21 09:09:05 -06:00
crobibero
b8fd9c785e Convert StartupController to IActionResult 2020-04-21 08:42:48 -06:00
crobibero
14361c68cf Add ProducesResponseType to base controller 2020-04-21 08:38:31 -06:00
crobibero
fe632146dc Move Json Options to static class for easier access. 2020-04-21 08:17:13 -06:00
crobibero
8ab9949db5 Remove exception handler 2020-04-21 08:02:07 -06:00
crobibero
a6cd852675 Remove exception handler 2020-04-21 07:58:54 -06:00
crobibero
30609236ab Remove exception handler 2020-04-21 07:57:45 -06:00
crobibero
04119c0d40 Remove exception handler 2020-04-21 07:55:57 -06:00
crobibero
5ef71d592b Remove exception handler 2020-04-21 07:55:01 -06:00
crobibero
08eba82bb7 Remove exception handler 2020-04-21 07:52:33 -06:00
crobibero
1175ce3f97 Add Exception Middleware 2020-04-21 07:36:22 -06:00
Bond_009
851dda097e Minor improvement 2020-04-21 12:54:04 +02:00
Bond_009
735e7c3f7d Fix VideoResolver and tests 2020-04-21 12:11:55 +02:00
Bond_009
974a4e79f6 Enable TreatWarningsAsErrors for DvdLib 2020-04-21 10:33:41 +02:00
Bond_009
e21d6160c1 Address comments 2020-04-21 10:21:20 +02:00
Bond_009
c430a7ed8f Address comments 2020-04-21 10:18:26 +02:00
ZadenRB
dae6965710 Remove documentation of void return type 2020-04-21 00:24:35 -06:00
ZadenRB
6c8e1d37bd Remove more unnecessary IActionResult 2020-04-20 23:53:09 -06:00
ZadenRB
67efcbee05 Remove error handlers, to be implemented at a global level in a separate PR 2020-04-20 20:16:58 -06:00
Mark Monteiro
bc4e72b29b Create ApplicationHost logger correctly 2020-04-20 20:48:39 -04:00
Mark Monteiro
f815059698 Merge remote-tracking branch 'upstream/master' into register-services-correctly 2020-04-20 20:11:33 -04:00
Vasily
07143bcb68 Merge pull request #2466 from dkanada/plugin
Update plugin classes for nightly builds
2020-04-21 01:45:52 +03:00
Mark Monteiro
24ed639725 Fix NuGet dependencies 2020-04-20 16:23:57 -04:00
crobibero
766d2ee413 Move RemoteImageService to Jellyfin.API 2020-04-20 14:21:06 -06:00
Mark Monteiro
6612d9555f Ignore lauchSettings.json in test projects
This file is generated every time the solution is opened with Visual Studio but it is not a required file for an integration tests project
2020-04-20 16:01:33 -04:00
Mark Monteiro
2bcc553dda Commit missing changes to solution file 2020-04-20 15:54:54 -04:00
Mark Monteiro
e43e6af405 Create integration tests for the endpoints in BrandingService 2020-04-20 15:47:36 -04:00
Mark Monteiro
307754a0e0 Create a derived version of WebApplicationFactory<> that works with the Jellyfin server 2020-04-20 15:39:55 -04:00
crobibero
376619369d fix build 2020-04-20 13:12:54 -06:00
crobibero
e151d539f2 Move ImageByNameService to Jellyfin.Api 2020-04-20 13:06:29 -06:00
Mark Monteiro
51b610b999 Expose some methods in Program.cs so they can be used to initialize the application for integration tests 2020-04-20 14:58:00 -04:00
Mark Monteiro
bd81825d2d Respect AutoRunWebApp and NoAutoRunWebApp settings when HostWebClient is false 2020-04-20 14:54:05 -04:00
Mark Monteiro
3cf2fce983 Handle null values for RemoteIpAddress and LocalIpAddress in websocket requests
These values are null when creating fake web requests as part of integration tests
2020-04-20 13:59:02 -04:00
crobibero
fff2a40ffc Remove StringEnumConverter 2020-04-20 07:24:13 -06:00
ejalal
32ccab32bf Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-04-20 09:02:07 -04:00
Unknown
80f5dd1e59 Fixed missing colons
some colons were missing from the default ProtocolInfo string
2020-04-20 13:52:50 +01:00
dkanada
d0716ef5b3 Merge pull request #2620 from mark-monteiro/development-documentation
Add Development Documentation To README
2020-04-20 20:52:32 +09:00
dkanada
1cc5d6745a Merge pull request #2903 from randrey/dlna-albumart-fix
Fix DLNA clients displaying wrong album art.
2020-04-20 20:51:14 +09:00
dkanada
2f6dd258e6 Merge pull request #2936 from anthonylavado/fix-etags-right
Remove JsonIgnore from the DateLastSaved property of BaseItem
2020-04-20 20:44:17 +09:00
Bond_009
958681cdff Cover more branches 2020-04-20 10:18:12 +02:00
Bond_009
7f4a229cd2 Add some simple tests 2020-04-20 10:18:12 +02:00
Bond_009
a8b59c5d21 Rename test 2020-04-20 09:53:36 +02:00
Anthony Lavado
ed1dc5c922 Remove JsonIgnore from the DateLastSaved property of BaseItem 2020-04-20 02:35:47 -04:00
ZadenRB
688240151b Enable nullable reference types on new class, remove unnecessary documenation and return types 2020-04-20 00:00:00 -06:00
dkanada
e6ef680775 add code suggestions 2020-04-20 14:27:46 +09:00
dkanada
3142c9b990 Merge pull request #2916 from Bond-009/minor2
Minor improvements
2020-04-20 13:52:27 +09:00
ZadenRB
16cae23bbe Add response type annotations, return IActionResult to handle errors 2020-04-19 21:06:28 -06:00
crobibero
440f060da6 Fix Authenticated Roles 2020-04-19 19:36:18 -06:00
crobibero
21b54b4ad8 Move DeviceService to DevicesController 2020-04-19 19:33:55 -06:00
Andrew Rabert
1d4763a246 Merge pull request #2813 from nyanmisaka/docker
Switch to jellyfin-ffmpeg with integrated driver in docker build
2020-04-19 21:10:32 -04:00
Jay-Jay
42781c4d4b Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-04-19 20:11:01 -04:00
crobibero
c89dc8921f Fix PascalCase 2020-04-19 18:10:59 -06:00
crobibero
ad67081840 add camelCase formatter 2020-04-19 18:04:36 -06:00
crobibero
1fc6825410 nullable 2020-04-19 17:37:15 -06:00
crobibero
a41d5fcea4 Move AttachmentsService to AttachmentsController 2020-04-19 17:36:05 -06:00
crobibero
c5d709f77e remove todo 2020-04-19 16:35:31 -06:00
crobibero
a96db5f48e Remove old scheduled tasks service 2020-04-19 16:32:03 -06:00
crobibero
4a960892c2 Add Authorize and BindRequired 2020-04-19 16:31:09 -06:00
crobibero
d8fc4f91db burn ToOptimizedResult 2020-04-19 16:29:29 -06:00
crobibero
5d9c40ec72 move scheduled tasks to Jellyfin.Api 2020-04-19 16:26:20 -06:00
Mark Monteiro
6039c6200f Update instructions for running with the dotnet cli 2020-04-19 18:18:53 -04:00
Bond-009
6f866a7fdc Merge pull request #2915 from randrey/imdbid-length-fix
Fix imdbid regex
2020-04-20 00:09:18 +02:00
randrey
d30fd3b3d2 Changed '\d' to '[0-9]'. 2020-04-19 14:14:04 -07:00
ZadenRB
7c8188194b Address PR comments, and revert changes that changed the API schema 2020-04-19 13:19:15 -06:00
crobibero
e6b873f2ae Fix missing attributes 2020-04-19 12:56:16 -06:00
crobibero
60607ab60c Fix saving DisplayPreferences 2020-04-19 12:34:34 -06:00
crobibero
c31b9f5169 Fix build & runtime errors 2020-04-19 12:30:10 -06:00
crobibero
a282fbe966 Move DisplayPreferences to Jellyfin.Api 2020-04-19 12:26:38 -06:00
crobibero
86d68e23e7 Add DisplayPreferencesController 2020-04-19 12:06:18 -06:00
Patrick Barron
f26f44acaf Apply code review suggestions 2020-04-19 13:39:12 -04:00
crobibero
72745f4722 fix formatting 2020-04-19 11:28:56 -06:00
crobibero
5da88fac4d Enable string enum converter 2020-04-19 11:24:32 -06:00
crobibero
e72a543570 Add Redoc, move docs to api-docs/ 2020-04-19 11:24:03 -06:00
crobibero
8a7e4cd639 add redoc 2020-04-19 10:51:51 -06:00
Joshua M. Boniface
5c669d7ad7 Merge pull request #2849 from lyonzy/patch-1
Handle null outputFileExtension in GetOutputFilePath
2020-04-19 12:45:08 -04:00
Bond_009
fc3e2baccc Address comments 2020-04-19 18:27:07 +02:00
Bond_009
d99536e99f Improved tests 2020-04-19 11:57:03 +02:00
Bond_009
a73e1f18b6 Minor improvements 2020-04-19 11:16:09 +02:00
ConfusedPolarBear
387a07c6dd Add persistent setting configuration and temporary activation 2020-04-19 01:33:09 -05:00
tayhr
16401ec7ae Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-04-18 23:16:00 -04:00
dkanada
1f28d49fc7 Merge pull request #2864 from JustAMan/fix-caching
Make Last-Modified and If-Modified-Since headers follow the spec
2020-04-19 12:04:18 +09:00
dkanada
eda208e258 Merge pull request #2829 from Bond-009/warn19
Fix some warnings
2020-04-19 12:04:02 +09:00
dkanada
d62bd7fecd fix spelling error 2020-04-19 11:46:22 +09:00
dkanada
c35e6ac39a Merge pull request #2910 from randrey/dlna-extra-mime-types
Additional mime types for DLNA (VLC)
2020-04-19 11:38:25 +09:00
randrey
92f273cb0c Limit imdbid to 8 digits. 2020-04-18 18:18:48 -07:00
randrey
d7a71cee3c Fix imdbid regex 2020-04-18 17:26:22 -07:00
Klanc
e333e6765a Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2020-04-18 12:35:23 -04:00
dkanada
167e96d212 Merge pull request #2848 from ZadenRB/startup-endpoint-parameters
Fix casing of JSON in Jellyfin API
2020-04-18 18:16:36 +09:00
randrey
2e10d385f0 Add mime type for .mpegts files. 2020-04-17 23:11:52 -07:00
Julien Machiels
25da2cb2d7 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-04-18 01:52:55 -04:00
randrey
156998dd83 Add mime types for ape and wv files. 2020-04-17 22:25:54 -07:00
randrey
0bef4eef87 Fix InvalidOperationException while browsing via DLNA client. 2020-04-17 14:45:56 -07:00
Bond_009
6b959f40ac Fix build 2020-04-17 20:01:25 +02:00
Mark Monteiro
ecf49caf0d Add back warning message when Skia encoder cannot be used 2020-04-17 10:25:49 -04:00
Bond_009
f055995a1f Use System.Buffers in RangeRequestWriter 2020-04-17 14:21:15 +02:00
Bond-009
b76f570583 Merge pull request #2775 from mark-monteiro/upnp-cleanup
Port Forwarding Improvements
2020-04-17 14:19:49 +02:00
Andrey Sinitsyn
7529402cc9 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-04-17 07:40:20 -04:00
a1
eba781eac5 Fix DLNA clients displaying wrong album art. 2020-04-16 23:36:43 -07:00
Matt Lyons
e7fde6aaca Handle null outputFileExtension with null-conditional operator 2020-04-17 16:13:56 +10:00
Mark Monteiro
bcf1ef319a Update documentation for EnableUPnP 2020-04-17 00:27:18 -04:00
Mark Monteiro
1666f3ca14 Use dependency injection to construct migration routines 2020-04-16 23:40:32 -04:00
dkanada
ae7153b65b Merge pull request #2880 from Bond-009/deadcode2
Remove dead function
2020-04-17 12:10:19 +09:00
Mark Monteiro
8a81bcd742 Restart port forwarding when public https port changes 2020-04-16 22:49:23 -04:00
Mark Monteiro
78d9b9894c Respond to config changes correctly for external port forwarding 2020-04-16 22:41:19 -04:00
Mark Monteiro
26afb42a72 Cleanup port forwarding service
- Use a concurrent collection instead of manually locking
- Do not forward HTTPS port when it is not enabled
- Created multiple rules (HTTP/HTTPS) in parallel instead of in sync
2020-04-16 22:41:19 -04:00
Mark Monteiro
c78413cf7c Disable UPnP by default 2020-04-16 22:41:19 -04:00
Mark Monteiro
00a0e013c6 Update documentation for URL methods in ApplicationHost 2020-04-16 21:46:49 -04:00
Mark Monteiro
fee76097f4 Remove CanConnectWithHttps Property
It is only used in one place and only adds confusion by existing
2020-04-16 21:45:00 -04:00
WWWesten
1c38983ab4 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-04-16 14:52:40 -04:00
ZadenRB
bb288e16cc Document JSON options change 2020-04-15 17:02:43 -06:00
Vasily
95dc99fdbd Update Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-16 01:03:29 +03:00
Vasily
e1fb24c9ee Merge pull request #2830 from Bond-009/dvdlib
DvdLib: remove dependency on MediaBrowser.Model
2020-04-16 00:53:25 +03:00
Bond-009
31769bda28 Merge pull request #2745 from Artiume/patch-6
Force Audio Transcoding for LiveTV Transcoding
2020-04-15 23:23:56 +02:00
Bond-009
bcf53b3226 Merge pull request #2746 from dafo90/master
Authentication request log with IP
2020-04-15 23:22:50 +02:00
WWWesten
30b860fb82 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2020-04-15 16:44:09 -04:00
ConfusedPolarBear
36f3e933a2 Add quick connect 2020-04-15 14:49:20 -05:00
gnehs
f8a4525fd5 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-04-15 15:33:50 -04:00
Patrick Barron
c4e6329e58 Clean up and document ChannelManager.cs and implement suggestions 2020-04-15 15:00:45 -04:00
ZadenRB
558b50a094 Remove unnecessary assembly, update casing, enable nullable reference types on notification DTOs. 2020-04-15 09:29:29 -06:00
dkanada
d7df890017 Merge pull request #2855 from Delgan/improve-movie-resolver
Improve movie resolver if space precedes the year
2020-04-15 23:51:32 +09:00
Mark Monteiro
daed41815f Add missing punctuation in xml comment
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-15 08:56:00 -04:00
Bond_009
72219795d1 Remove dead function 2020-04-15 14:29:12 +02:00
Mathias
ed1ffcb603 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2020-04-15 07:55:21 -04:00
Bond-009
ae3ee1eb16 Merge pull request #2862 from mark-monteiro/dependabot/nuget/Mono.Nat-2.0.1
Bump Mono.Nat from 2.0.0 to 2.0.1
2020-04-15 11:24:11 +02:00
Bond_009
27ce10d0c1 Fix release build 2020-04-15 11:18:13 +02:00
Bond_009
10afa4509d Log exception 2020-04-15 11:14:54 +02:00
Bond_009
d6daac5064 Fix build 2020-04-15 11:12:58 +02:00
Bond_009
fc049caba2 Merge branch 'master' into nullable3 2020-04-15 11:09:14 +02:00
Bond_009
38dae51ccf Minor IAsyncDisposable improvements 2020-04-15 11:05:32 +02:00
ZadenRB
ad1c880751 Lowercase parameters 2020-04-15 00:34:50 -06:00
ZadenRB
72862d7b46 Lowercase actual parameters in code and remove whitespace to comply with StyleCopAnalyzers 2020-04-15 00:24:15 -06:00
ZadenRB
1180b9746f Migrates the notifications service to use ASP.NET MVC framework 2020-04-15 00:01:31 -06:00
Patrick Barron
a54dca09d8 Added the last missing documentation 2020-04-14 19:34:38 -04:00
Patrick Barron
fd750a9c79 Clean up and document CryptographyProvider.cs 2020-04-14 16:13:41 -04:00
Patrick Barron
ecaae2c8de Clean up and document ServerConfigurationManager.cs 2020-04-14 16:01:21 -04:00
Patrick Barron
ddd8120aab Clean up and document CollectionManager.cs 2020-04-14 15:57:05 -04:00
Miko Dela Cruz
2eb5775ee3 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2020-04-14 15:52:23 -04:00
Patrick Barron
77df0c943b Clean up and document CollectionImageProvider.cs 2020-04-14 15:50:48 -04:00
Patrick Barron
f29e6badb3 Remove unused field and documented RefreshChannelsScheduledTask.cs 2020-04-14 15:48:06 -04:00
Patrick Barron
c8e26b6d46 Document ChannelPostScanTask.cs 2020-04-14 15:36:29 -04:00
Patrick Barron
2c920cff33 Document ChannelImageProvider.cs 2020-04-14 15:29:57 -04:00
Patrick Barron
543c76a8f1 Clean up and document ChannelDynamicMediaSourceProvider.cs 2020-04-14 15:28:02 -04:00
Patrick Barron
4c0547f90c Document BrandingConfigurationFactory.cs 2020-04-14 15:19:11 -04:00
Patrick Barron
90e2564169 Document and clean up ZipClient.cs 2020-04-14 15:16:04 -04:00
Patrick Barron
9cec01d8ce Switch to using declaration 2020-04-14 15:11:21 -04:00
Patrick Barron
0e8f30f64b Documented BaseApplicationPath constructor parameters 2020-04-14 15:08:20 -04:00
Patrick Barron
f6899de338 Clean up and document ActivityRepository.cs 2020-04-14 15:04:54 -04:00
Patrick Barron
af4d617df2 Clean up and document ActivityManager.cs 2020-04-14 14:50:19 -04:00
Patrick Barron
9c679b6570 Clean up and document ActivityLogEntryPoint.cs 2020-04-14 14:45:57 -04:00
Jeisson rojas
96795ca250 Translated using Weblate (Spanish (Argentina))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2020-04-14 02:38:26 -04:00
Vasily
9df49cc796 Make Last-Modified and If-Modified-Since headers follow the spec 2020-04-14 01:52:43 +03:00
Mark Monteiro
9728aa8b0a Merge branch 'master' into register-services-correctly 2020-04-13 17:06:24 -04:00
Mark Monteiro
8b4b4b4127 Do not return the exception message to the client for AuthenticationExceptions 2020-04-13 16:10:55 -04:00
Mark Monteiro
a8c3951c17 Only show developer exception page for 500 server exceptions
Other response codes should be returned as normal
2020-04-13 15:26:49 -04:00
Mark Monteiro
9c7b3850f9 Throw AuthenticationException instead of ArgumentNullException when a user does not exist 2020-04-13 14:55:24 -04:00
Mark Monteiro
98044e7793 Document AuthenticationException correctly 2020-04-13 13:18:12 -04:00
Mark Monteiro
53380689ad Return correct status codes for authentication and authorization errors
- Use AuthenticatonException to return 401
- Use SecurityException to return 403
- Update existing throws to throw the correct exception for the circumstance
2020-04-13 13:17:46 -04:00
Mark Monteiro
6d35dd6b32 Clean up SecurityException
- Remove unused SecurityExceptionType
- Add missing constructor for InnerException
- Add missing documentation
2020-04-13 13:13:48 -04:00
Delgan
be6cc9644f Another iteration 2020-04-13 16:11:02 +02:00
Delgan
90d289f946 Fix failing tests? 2020-04-13 15:55:18 +02:00
Delgan
5c117734a5 Improve movie resolver if space precedes the year 2020-04-13 14:50:35 +02:00
dependabot-preview[bot]
4ecce9e085 Bump Mono.Nat from 2.0.0 to 2.0.1
Bumps [Mono.Nat](https://github.com/mono/Mono.Nat) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/mono/Mono.Nat/releases)
- [Commits](https://github.com/mono/Mono.Nat/compare/Mono.Nat-2.0.0...Mono.Nat-2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 10:39:10 +00:00
dkanada
cb2523e2ef merge branch master into plugin 2020-04-13 14:38:19 +09:00
dkanada
b937eb0c11 change conditional for download task on ci
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-04-13 14:34:31 +09:00
Matt Lyons
b52199e9e2 Handle null outputFileExtension in GetOutputFilePath 2020-04-13 12:44:15 +10:00
Oscar Rosario
9a0a4575ad Translated using Weblate (Spanish (Dominican Republic))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_DO/
2020-04-12 22:22:00 -04:00
ZadenRB
16a66dc89c Remove unused import, fix casing of startup wizard POST parameters 2020-04-12 19:25:02 -06:00
ZadenRB
5a658cf260 Fix casing of JSON in Jellyfin API. Currently only affects startup wizard. 2020-04-12 19:17:46 -06:00
Joshua M. Boniface
bf92694f8b Merge pull request #2715 from nyanmisaka/libfdk-aac
Prefer to use libfdk_aac encoder for better audio quality when it is available
2020-04-12 19:17:11 -04:00
Maerik
d23f388c5f Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2020-04-12 18:57:58 -04:00
Joshua M. Boniface
2be6550db4 Merge pull request #2783 from JustAMan/better-cancel-msg
Add logging of URL being processed when logging an error
2020-04-12 18:07:30 -04:00
Vasily
3bdb5e80a5 More consise error messages 2020-04-13 00:57:11 +03:00
Anthony Lavado
6d98c0b62a Merge pull request #2779 from KristupasSavickas/fix-docker-arm-ffmpeg-path
Fix ffmpeg path on ARM docker image
2020-04-12 16:49:43 -04:00
Vasily
058c35e739 Fix log highlithing 2020-04-12 23:40:34 +03:00
Vasily
6386b9b1b9 Merge pull request #2782 from JustAMan/fix-ssa-delivery
Fix support for attachments with baseURL set
2020-04-12 23:37:34 +03:00
Vasily
30f4392872 Fix condition flipped by https://github.com/jellyfin/jellyfin/pull/2635 2020-04-12 23:35:41 +03:00
Vasily
61d9c9df5b Addressing review feedback 2020-04-12 23:26:45 +03:00
Bond-009
df74c7722b Merge pull request #2804 from dtparr/extrasJunits
Add Unit Tests for the Extras Directories
2020-04-12 22:18:43 +02:00
dkanada
4758e75090 leave files in destination folder during extraction 2020-04-13 02:34:52 +09:00
dkanada
8c6e1ef27e fix pipeline references 2020-04-13 02:27:42 +09:00
dkanada
129e844252 use web artifacts for build step on ci 2020-04-13 02:20:37 +09:00
Bond-009
7731aba6f4 Merge pull request #2834 from mark-monteiro/add-nuget-config
Add nuget.config file
2020-04-12 15:35:39 +02:00
Adam Bokor
4dbb9dd201 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-04-12 05:57:02 -04:00
TheGoose
768703e9e1 Translated using Weblate (English (United Kingdom))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_GB/
2020-04-12 05:57:02 -04:00
Bond-009
84dba64644 Merge pull request #2821 from nyanmisaka/mpeg4
Fix MPEG4 broken on VAAPI
2020-04-12 11:44:17 +02:00
Nyanmisaka
62d9a48833 update as per suggestions 2020-04-12 17:34:25 +08:00
Nyanmisaka
e6f65863e3 update as per suggestions 2020-04-12 17:32:03 +08:00
amirmasoud
75226c18ab Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2020-04-11 20:44:00 -04:00
Abdul Khaliq
af089bd3cf Translated using Weblate (Urdu (Pakistan))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ur_PK/
2020-04-11 18:16:43 -04:00
tayhr
698e8420c0 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-04-11 18:16:43 -04:00
Spiderfly
42b19256e6 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-04-11 18:16:43 -04:00
Alexis BIZON
fa0cdef67d Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-04-11 18:16:43 -04:00
amirmasoud
3a4c97075f Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2020-04-11 18:16:43 -04:00
Mark Monteiro
fe11fb0a63 Add NuGet config file 2020-04-11 15:34:00 -04:00
dtparr
41f6fa0ae8 Whitespace fix
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-11 13:33:16 -05:00
dtparr
e027f4645f Whitespace fix
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-11 13:33:06 -05: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
4113288278 Fix style issues 2020-04-11 13:46:31 -04:00
Bond-009
14674d4469 Merge pull request #2772 from barronpm/codecleanup
MediaBrowser.Api code cleanup
2020-04-11 19:30:23 +02:00
Mark Monteiro
7152b55747 Use a separate line for each property initializer 2020-04-11 13:28:21 -04:00
Mark Monteiro
17e8813378 Use ActivatorUtilities to construct MediaEncoder and update constructor to inject EncodingHelper correctly 2020-04-11 10:53:13 -04:00
Mark Monteiro
1e1295bebf Merge remote-tracking branch 'upstream/master' into register-services-correctly 2020-04-11 10:00:39 -04:00
Bond_009
6b7517e506 Fix indentation 2020-04-11 15:37:24 +02:00
dkanada
ff065df986 update plugin manifest url 2020-04-11 20:11:41 +09:00
dkanada
bd55bdb4e3 merge branch master into plugin 2020-04-11 20:10:16 +09:00
dkanada
cbe1fe2c8f update description and overview for plugins 2020-04-11 20:00:32 +09:00
dkanada
2da5df6c25 add new property for version changelogs 2020-04-11 19:56:42 +09:00
dkanada
abb7ed9c35 rename target abi property 2020-04-11 19:54:33 +09:00
dkanada
78abbcc251 standardize plugin version and guid properties 2020-04-11 19:52:40 +09:00
dkanada
8e9aeb84b1 remove release channel from plugin classes 2020-04-11 19:33:36 +09:00
Bond_009
d8a7462205 DvdLib: remove dependency on MediaBrowser.Model 2020-04-11 12:33:23 +02:00
Bond_009
49fe5e0a21 Fix some warnings 2020-04-11 12:03:10 +02:00
Abdul Khaliq
299541f1b2 Added translation using Weblate (Urdu (Pakistan)) 2020-04-11 05:49:00 -04:00
dtparr
8e67cb541e Refactor the NamingOptions instantiations from both new and pre-existing facts/theories to be a readonly field to save instantiation costs 2020-04-10 23:00:30 +00:00
dtparr
8e42d0063d Fix tab/space issue causing github oddity 2020-04-10 21:21:22 +00:00
dtparr
ce86455747 Update to use the Theory/InlineData method to parameterize unit tests 2020-04-10 21:18:41 +00:00
Bond-009
c62c702ef9 Merge pull request #2825 from mark-monteiro/fix-xml-doc
Fix misformed xml doc comment
2020-04-10 23:00:47 +02:00
Mark Monteiro
64a255f090 Fix misformed xml doc comment 2020-04-10 15:02:54 -04:00
Nyanmisaka
6485c1eabc probe Main/High 10 more specifically 2020-04-11 01:19:28 +08:00
sabretou
79f39f7336 Translated using Weblate (Marathi)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/mr/
2020-04-10 10:47:55 -04:00
Nyanmisaka
dd3f3089ef minor changes 2020-04-10 22:41:27 +08:00
Nyanmisaka
e0ee61d114 fix mpeg4 failed on vaapi 2020-04-10 22:12:26 +08:00
Nyanmisaka
79e3de1568 Merge pull request #3 from jellyfin/master 2020-04-10 22:09:48 +08:00
Nyanmisaka
bfd87829e3 Merge pull request #2 from jellyfin/master
merge
2020-04-10 22:08:49 +08:00
sabretou
ec2e9d52ba Added translation using Weblate (Marathi) 2020-04-10 09:01:45 -04:00
hydracodone
799c71e2b4 Translated using Weblate (Filipino)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fil/
2020-04-10 07:24:35 -04:00
Vasily
53db9567d3 Merge pull request #2769 from mark-monteiro/configurable-repo-url
Make Plugin Repo URL Configurable
2020-04-10 12:52:46 +03:00
dtparr
1f33c51977 Add Unit Test for the Extras directories.
Parameterize the valid extras as well as the null conditions.
2020-04-10 03:50:17 +00:00
Lars Søndergaard Petersen
77445d9a5d Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2020-04-09 20:30:10 -04:00
Vasily
06c5b73c15 Merge pull request #2755 from Bond-009/dbcleanup
Clean up SqliteItemRepository
2020-04-10 00:20:53 +03:00
Vasily
8196916354 Merge pull request #2816 from jellyfin/revert-2749-ffmpeg-dependency-version
Revert "Specify a minimum version for jellyfin-ffmpeg dependency in .deb dependencies"
2020-04-09 21:26:45 +03:00
Bond_009
c2b5fb78ce Address comments 2020-04-09 19:27:03 +02:00
Bond_009
9cca964b08 Address comments 2020-04-09 19:22:29 +02:00
ferferga
4e894b4b66 Remove unnecessary space in hardware decoders argument for ffmpeg 2020-04-09 18:23:21 +02:00
Joshua M. Boniface
e872a89b1c Revert "Specify a minimum version for jellyfin-ffmpeg dependency in .deb dependencies" 2020-04-09 12:10:22 -04:00
hauntingEcho
4d949cb38b Specify a version for jellyfin-ffmpeg dependency in .deb
Lower versions cause #2126 in Jellyfin >= 10.4.3
2020-04-09 12:09:40 -04:00
Joshua M. Boniface
7eac368486 Fix missing restart script 2020-04-09 11:55:44 -04:00
Joshua M. Boniface
762a46045e Update gitignore paths for debian/ 2020-04-09 11:55:44 -04:00
Joshua M. Boniface
fbad4f00b4 Remove old build infra (again) 2020-04-09 11:50:46 -04:00
Joshua M. Boniface
42813ef069 Preserve Unraid configuration 2020-04-09 11:50:32 -04:00
Joshua M. Boniface
ed735522cf Revert "Remove old stuff"
This reverts commit b9fdd96ece.
2020-04-09 11:49:14 -04:00
Joshua M. Boniface
406d087a46 Correct ARCH var in Ubuntu Dockerfiles 2020-04-09 11:46:16 -04:00
Joshua M. Boniface
b0e80b486b Use jellyfin.org everywhere 2020-04-09 11:40:04 -04:00
Joshua M. Boniface
529a9ae544 Don't remove already-moved files 2020-04-09 11:37:00 -04:00
Joshua M. Boniface
c10df2fe85 Improve dpkg handling in build.sh 2020-04-09 11:33:22 -04:00
Joshua M. Boniface
9eab678487 Improve Fedora spec and add metapackage 2020-04-09 11:25:42 -04:00
Nyanmisaka
8105494cb5 minor changes 2020-04-09 17:37:57 +08:00
Bart
838b20a2d7 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-04-09 05:07:41 -04:00
Nyanmisaka
7b2fca96e3 use pre-compiled deb to avoid non-free drivers 2020-04-09 15:43:47 +08:00
Pika
7aba10eff6 Forgot one 2020-04-08 18:50:25 -04:00
Pika
d85ca5276b Port changes from #2773 2020-04-08 18:40:38 -04:00
Vasily
be538d4277 Merge pull request #2799 from jellyfin/windows
Remove old windows job from pipeline
2020-04-08 19:08:09 +03:00
dafo90
dd128b5e30 Log message for each exception during login 2020-04-08 17:02:32 +02:00
Vasily
626d4dab10 Make sure Jellyfin listens on localhost no matter what
This is needed by LiveTV
2020-04-08 13:45:53 +03:00
Vasily
5b59cd2eb2 Merge pull request #2696 from mark-monteiro/fix-extras
Display Extras With Unknown Types
2020-04-07 23:39:31 +03:00
Bond-009
51991cd182 Merge pull request #2797 from mark-monteiro/ignore-jellyfin-web-dir
Add MediaBrowser.WebDashboard\jellyfin-web to .gitignore
2020-04-07 20:15:57 +02:00
Bond-009
b16b58bc57 Merge pull request #2785 from nyanmisaka/mpge4-profile15
Fix MPEG4 packback error regression on vaapi
2020-04-07 19:13:02 +02:00
Bond-009
3a98ad8255 Merge pull request #2721 from PrplHaz4/patch-2
Separate Channels permissions from All Libraries
2020-04-07 19:10:34 +02:00
dkanada
bfff9b7178 Merge pull request #2794 from mark-monteiro/dependabot/nuget/System.Text.Json-4.7.1
Bump System.Text.Json from 4.7.0 to 4.7.1
2020-04-08 02:05:09 +09:00
Peter
bee080cfff Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2020-04-07 12:43:49 -04:00
dkanada
f4cba0ed43 fix dependency for compat job 2020-04-08 01:42:45 +09:00
dkanada
0a6faefe3a minor changes to main build job 2020-04-08 01:36:36 +09:00
dkanada
ea00abcf4e remove old windows job from pipeline 2020-04-08 01:29:54 +09:00
dkanada
0a70c55021 Merge pull request #2793 from mark-monteiro/remove-interactive-extensions
Remove Ix.NET
2020-04-08 01:15:44 +09:00
dkanada
aeedd06f51 Merge pull request #2796 from JustAMan/fix-transcode-reasons
Make codec check in profile examine profile type first
2020-04-08 01:04:31 +09:00
Vasily
e85f9f5613 Make localhost LiveTV restreams always use plain HTTP port 2020-04-07 18:41:15 +03:00
Bond-009
5cff79ea38 Merge pull request #2791 from mark-monteiro/dependabot/nuget/coverlet.collector-1.2.1
Bump coverlet.collector from 1.2.0 to 1.2.1
2020-04-07 17:38:44 +02:00
Mark Monteiro
0a9b7c868e Specify the directory for jellyfin-web correctly 2020-04-07 10:42:16 -04:00
Mark Monteiro
c88e6daacf Ignore the jellyfin-web directory in MediaBrowser.WebDashboard 2020-04-07 10:36:44 -04:00
Vasily
8e514f8d63 Fix check for profile supporting a codec - it should first check if profile is talking about media type
For example, audio-only profiles have "VideoCodec" set to "null" which translates to "any codec", which breaks some logic later on
2020-04-07 14:23:53 +03:00
Ibrahim Alesayi
c6987df501 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-04-07 06:57:40 -04:00
Bond-009
3773e37755 Merge pull request #2792 from mark-monteiro/dependabot/nuget/sharpcompress-0.25.0
Bump sharpcompress from 0.24.0 to 0.25.0
2020-04-07 11:50:58 +02:00
Patrick Barron
555651aae2 Fixed indentation and corrected typo 2020-04-06 23:17:49 -04:00
Mark Monteiro
1f765cdd93 Remove reference to System.Interactive.Async 2020-04-06 22:04:55 -04:00
Mark Monteiro
8e3b09a996 Do not use IAsyncEnumerable unnecessarily 2020-04-06 22:04:24 -04:00
dependabot-preview[bot]
25aa26a8fd Bump sharpcompress from 0.24.0 to 0.25.0
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.24...0.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 00:48:03 +00:00
Mark Monteiro
644ddfad00 Apply code review changes 2020-04-06 19:37:19 -04:00
dafo90
62b0db59aa Fix Authentication request log 2020-04-06 22:23:53 +02:00
Pika
1cf31229d8 Use embedded title for other track types 2020-04-06 13:49:35 -04:00
Nyanmisaka
0ecac47098 drop the unnecessary colorspace conversion
Since 'hwdownload, format = nv12' has completed the conversion of colorspace. 'format = p010le' is redundant and will reduce the speed by almost half under the premise of unchanged cpu usage.
2020-04-07 00:20:49 +08:00
Nyanmisaka
a5249730d7 mpeg4 profile 15 is not supported by vaapi device 2020-04-07 00:20:36 +08:00
Nyanmisaka
6453638103 Merge pull request #1 from jellyfin/master 2020-04-06 20:13:05 +08:00
Vasily
71d8e66d9f Add logging of URL being processed when logging an error
This might help diagnosing stuff like "Operation was cancelled"
2020-04-06 14:42:41 +03:00
Vasily
5be60782ed Fix support for attachments with baseURL set
* Revert "Add baseURL to attachments"
* This is properly handled by jellyfin-web#1020
2020-04-06 14:06:42 +03:00
Kristupas Savickas
9dda2ffc91 Fix ffmpeg path on ARM docker image 2020-04-06 13:21:20 +03:00
dkanada
0cd7cd611e Merge pull request #2758 from Bond-009/plugininstalled
Remove PluginInstalled
2020-04-06 19:01:15 +09:00
dkanada
0522c90109 Merge pull request #2635 from mark-monteiro/use-development-exception-page
Use ASP Development Exception Page
2020-04-06 18:59:58 +09:00
dkanada
cb634d27d8 Merge branch 'master' into use-development-exception-page 2020-04-06 18:59:45 +09:00
dkanada
19b6961c08 Merge pull request #2749 from hauntingEcho/ffmpeg-dependency-version
Specify a minimum version for jellyfin-ffmpeg dependency in .deb dependencies
2020-04-06 16:48:39 +09:00
Mark Monteiro
5bc6c08a0a Merge remote-tracking branch 'upstream/master' into simplify-https-config 2020-04-06 00:24:11 -04:00
Mark Monteiro
410a322fe2 Add CanConnectWithHttps to interface 2020-04-05 23:30:57 -04:00
Patrick Barron
c9da49ebaa Implemented more suggestions 2020-04-05 23:12:25 -04:00
Patrick Barron
47ba4a84cd Simplified more conditionals 2020-04-05 18:06:30 -04:00
Patrick Barron
81b4a4c54c Implement various suggestions 2020-04-05 17:58:39 -04:00
Patrick Barron
e1958e3902 Miscellaneous code cleanup 2020-04-05 15:56:08 -04:00
Bond_009
2fcbc2a5b8 Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia 2020-04-05 21:19:04 +02:00
Patrick Barron
add0a2088d Simplified Conditionals and returns 2020-04-05 14:44:14 -04:00
Mark Monteiro
ed88430429 Log error messages when the manifest URL is not valid 2020-04-05 14:34:41 -04:00
Mark Monteiro
15dd46c25a Add '--plugin-manifest-url' command line option and 'InstallationManager:PluginManifestUrl' config option 2020-04-05 13:46:36 -04:00
Patrick Barron
80cfcf5643 Remove unnecessary casts and explicit array types 2020-04-05 13:00:35 -04:00
Patrick Barron
86c06996b1 Remove redundant name qualifiers 2020-04-05 12:48:22 -04:00
Patrick Barron
961f48f5bc Use ? and ?? where applicable 2020-04-05 12:45:01 -04:00
Patrick Barron
6a3f9253db Convert using statements to using declarations where applicable 2020-04-05 12:26:11 -04:00
Bond_009
30ce346f34 Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
Patrick Barron
5966ee6d87 Convert type checks and null checks into pattern matching 2020-04-05 12:07:43 -04:00
Medzhnun
92af81166d Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-04-05 11:11:09 -04:00
Mark Monteiro
f91f2ef328 Merge remote-tracking branch 'upstream/master' into register-services-correctly 2020-04-05 10:07:17 -04:00
Mark Monteiro
f2760cb055 Register IImageEncoder in Jellyfin.Server instead of Emby.Server.Implementations 2020-04-05 10:03:53 -04:00
Mark Monteiro
7be4b57fe7 Fix documentation for ExtraRuleType enum values 2020-04-05 09:47:55 -04:00
Mark Monteiro
3d8501e462 Document exception 2020-04-05 09:25:23 -04:00
Mark Monteiro
658e963e93 replace 'try-finally' with 'using' where appropriate 2020-04-05 09:23:44 -04:00
Bond-009
29539174a3 Merge pull request #2636 from mark-monteiro/development-https
Use ASP.NET Core HTTPS Development Certificate
2020-04-05 15:09:27 +02:00
Mark Monteiro
bc91445b5d Use correct naming convention for _relevantEnvVarPrefixes 2020-04-05 09:05:23 -04:00
PrplHaz4
46453549b5 Start line with Boolean 2020-04-05 07:26:21 -04:00
PrplHaz4
b05e04c0cb Collapse IsInEnabledFolder to single expression
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-05 06:42:15 -04:00
Adam Bokor
a05cdf0b05 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-04-05 05:18:52 -04:00
Adam Bokor
1cfc002764 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-04-05 03:57:11 -04:00
Mark Monteiro
735d6c8ad5 Convert properties in ApplicationHost to private readonly fields, where possible 2020-04-04 23:18:47 -04:00
Mark Monteiro
241d0ae65c Inject IStartupOptions into StartupWizard 2020-04-04 23:14:35 -04:00
darcostan
33cb5c02b0 Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sr/
2020-04-04 22:28:03 -04:00
adrian gustavo martinez
837eacec04 Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2020-04-04 22:28:03 -04:00
adrian gustavo martinez
3707437594 Translated using Weblate (Spanish (Argentina))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2020-04-04 22:28:02 -04:00
Mark Monteiro
809cf3a0c2 Register IJsonSerializer correctly 2020-04-04 21:33:57 -04:00
Mark Monteiro
710767fbf2 Add deprecation warning message for injecting ILogger 2020-04-04 21:27:48 -04:00
Mark Monteiro
e16c16dd51 Register and construct IHttpClient correctly 2020-04-04 21:18:09 -04:00
Mark Monteiro
adf0e8d3fd Register and construct ITaskManager and IIsoManager correctly 2020-04-04 21:00:11 -04:00
Mark Monteiro
3f2f95d877 Register IProcessFactory, ICryptoProvider and ISocketFactory correctly 2020-04-04 20:42:11 -04:00
Mark Monteiro
aee6a1b476 Remove unnecessary async and parameter from ApplicationHost initialization method 2020-04-04 20:40:50 -04:00
Mark Monteiro
5d648bf54f Register and construct ILocalizationManager correctly 2020-04-04 20:21:48 -04:00
Mark Monteiro
cbc0224aaf Register IStreamHelper, IInstallationManager, IZipClient, IHttpResultFactory and IBlurayExaminer correctly 2020-04-04 20:00:55 -04:00
Mark Monteiro
615717e562 Register and construct IUserDataManager and IUserDataRepository correctly 2020-04-04 19:57:26 -04:00
Mark Monteiro
5827f0f5a9 Register IDisplayPreferencesRepository correctly 2020-04-04 19:40:53 -04:00
Mark Monteiro
a5234dfd88 Register and construct IAuthenticationRepository correctly 2020-04-04 19:36:27 -04:00
Mark Monteiro
4daa5436fc Register and construct IUserManager and IUserRepository correctly 2020-04-04 19:31:14 -04:00
Mark Monteiro
84b48eb69c Convert MediaEncoder property to field 2020-04-04 19:01:21 -04:00
Mark Monteiro
fe9f4e06d1 Register and construct LibraryManager correctly 2020-04-04 18:28:46 -04:00
Mark Monteiro
7fd25f94f3 Inject and construct ISearchEngine and IMusicManager correctly 2020-04-04 18:22:29 -04:00
Mark Monteiro
c2b21ce553 Register and construct ILibraryMonitor correctly 2020-04-04 17:33:00 -04:00
Mark Monteiro
d173358065 Move ApplicationHost certificate initialization to constructor 2020-04-04 17:19:16 -04:00
Mark Monteiro
07cebbeae2 Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly 2020-04-04 17:12:24 -04:00
Mark Monteiro
efe3ebaab8 Eliminate circular dependency between LibraryManager and ImageProcessor 2020-04-04 16:01:10 -04:00
Mark Monteiro
11693d6024 Register ITvManagerService correctly 2020-04-04 15:44:44 -04:00
Mark Monteiro
71c84905de Register IDeviceManager correctly 2020-04-04 15:40:06 -04:00
Mark Monteiro
7b31b0e322 Inject logger correctly into ActivityManager and ActivityRepository 2020-04-04 15:33:23 -04:00
Mark Monteiro
573da63d41 Register and construct IMediaSourceManager correctly 2020-04-04 15:28:21 -04:00
Mark Monteiro
dd5a55aeba Register ISubtitleManager correctly 2020-04-04 15:12:02 -04:00
Mark Monteiro
3d8b81039d Log refresh progress at Debug level 2020-04-04 15:08:04 -04:00
Mark Monteiro
0ce82ab332 Remove unnecessary fields in ApplicationHost 2020-04-04 15:05:50 -04:00
Mark Monteiro
51b9a6e94b Register IProviderManager correctly 2020-04-04 14:56:50 -04:00
Mark Monteiro
75b05ca1e6 Register and construct DtoService correctly 2020-04-04 14:41:03 -04:00
Mark Monteiro
cb2d99e831 Construct LiveTvDtoService and LiveTvManager correctly 2020-04-04 14:40:04 -04:00
Mark Monteiro
f78423bd49 Register IChannerManager correctly 2020-04-04 14:32:35 -04:00
Mark Monteiro
bb3db9e845 Register ISessionManager, IDlnaManager and ICollectionManager correctly; replace private properties with fields 2020-04-04 13:56:01 -04:00
Mark Monteiro
3d5b4f869c Register ILiveTvManager and IPlaylistManager correctly 2020-04-04 13:16:53 -04:00
Mark Monteiro
1456365411 Register IUserViewManager correctly 2020-04-04 13:10:39 -04:00
Abderrahmane TAHRI JOUTI
a79c5a00a3 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-04-04 13:07:17 -04:00
Mark Monteiro
f1d0fb1edb Register INotificationManager correctly; resolve services correctly 2020-04-04 13:03:32 -04:00
Mark Monteiro
78370911c2 Register IDeviceDiscovery, IChapterManager, IAttachmentExtractor correctly 2020-04-04 12:56:36 -04:00
Mark Monteiro
7884c3813d Register IEncodingManager correctly; remove unnecessary properties in ApplicationHost 2020-04-04 12:51:56 -04:00
Mark Monteiro
4ba07b114d Register and initialize IActivityRepository correctly 2020-04-04 12:46:35 -04:00
Mark Monteiro
3dbbe54f6c Register IResourceFileManager correctly 2020-04-04 12:42:21 -04:00
Mark Monteiro
18c1823cea Register IAuthorizationContext correctly 2020-04-04 12:40:33 -04:00
Mark Monteiro
358deecf52 Register ISessionContext correctly 2020-04-04 12:38:59 -04:00
Mark Monteiro
3147111471 Register IAuthService correctly 2020-04-04 12:34:01 -04:00
Mark Monteiro
92b0d40ad4 Move service initializations into correct method 2020-04-04 12:33:25 -04:00
Mark Monteiro
e9e12b8eb9 Register ISubtitleEncoder correctly 2020-04-04 12:26:24 -04:00
Peter Cai
7cc53d3759 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2020-04-04 05:31:50 -04:00
Peter Cai
2891a1438a Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-04-04 05:31:50 -04:00
K4DH3M
2294d28991 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-04-04 05:31:50 -04:00
Bond_009
ae21c67537 Remove PluginInstalled
Doesn't do anything yet as all plugins (afaik) still require a restart
2020-04-04 11:28:37 +02:00
Andrew Rabert
1aba4506be Merge pull request #2708 from ox0spy/master
Dockerfile: support for non-ASCII characters
2020-04-04 01:35:17 -04:00
Peter Cai
8f8b5d2422 Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2020-04-03 21:09:38 -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
Mark Monteiro
0e195d2e49 Add missing call to ConfigureAwait() 2020-04-03 20:20:55 -04:00
Mark Monteiro
7ced986e0b Remove section on serving over HTTPS
This functionality has not been merged yet
2020-04-03 20:07:11 -04:00
Mark Monteiro
499deb4fe5 Add section describing the repository with a link to contribution docs 2020-04-03 20:05:58 -04:00
Vasily
d5cc10d7e1 Merge pull request #2741 from Bond-009/dlnawarnings2
Fix some warnings
2020-04-04 01:38:09 +03:00
Bond-009
64692af1a2 Update Device.cs 2020-04-04 00:24:36 +02:00
Bond-009
0951dc632b Update MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-04-04 00:21:54 +02:00
Bond-009
91b17e7289 Update Device.cs 2020-04-04 00:21:26 +02:00
Bond-009
4cacfd5997 Update DidlBuilder.cs 2020-04-03 23:20:04 +02:00
Bond-009
ad0e2e42e6 Update Device.cs 2020-04-03 23:13:45 +02:00
Bond-009
0b21494999 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-03 23:13:04 +02:00
Bond-009
d6224ddeda Update InternalPeopleQuery.cs 2020-04-03 22:44:18 +02:00
Bond-009
cbb6797043 Update SqliteItemRepository.cs 2020-04-03 22:41:14 +02:00
장건
cda0574c8d Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2020-04-03 16:22:04 -04:00
Bond_009
8e7b15285e Clean up SqliteItemRepository 2020-04-03 20:59:38 +02:00
Bond_009
3161e85f76 Address comments 2020-04-03 17:30:01 +02:00
Bond-009
f6c9a44703 Update Device.cs 2020-04-03 16:46:14 +02:00
Bond-009
231c1e519f Update Emby.Dlna.csproj 2020-04-03 16:44:40 +02:00
Vasily
a37b69a493 Merge pull request #2559 from whooo/295-fix
Add descriptive TV episode titles for DLNA browsing
2020-04-03 17:39:33 +03:00
Andrew Hunter
6510c4ed02 Translated using Weblate (French (Canada))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-04-03 10:05:46 -04:00
4d1m
9ba8b37b0b Translated using Weblate (Romanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ro/
2020-04-03 07:20:33 -04:00
dependabot-preview[bot]
b80c2a532e Bump coverlet.collector from 1.2.0 to 1.2.1
Bumps [coverlet.collector](https://github.com/tonerdo/coverlet) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tonerdo/coverlet/releases)
- [Commits](https://github.com/tonerdo/coverlet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 10:44:33 +00:00
Vasily
c85cb85eea Merge pull request #2742 from Bond-009/warn18
Enable Microsoft.CodeAnalysis.FxCopAnalyzers for Jellyfin.Common
2020-04-03 00:53:05 +03:00
Mark Monteiro
387fa474aa Document HTTPS configuration options 2020-04-02 17:45:33 -04:00
Mark Monteiro
ca71ac72ab Replace EnableHttps and SupportsHttps with ListenWithHttps and CanConnectWithHttps 2020-04-02 17:45:04 -04:00
Didier Dafond
2fb9e36493 Authentication request log with IP 2020-04-02 22:02:14 +02:00
Mednis
65542c7c98 Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2020-04-02 15:59:42 -04:00
Arild Stølen
a01395739a Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-04-02 15:59:42 -04:00
Mark Monteiro
de634203d8 Put Boolean operators at beginning of lines instead of the end 2020-04-02 14:31:56 -04:00
artiume
d10ae74b38 Force Audio Transcoding for LiveTV Transcoding
Noticing some sync issues when transcoding livetv, the only thing I was able to do to fix it was to force the audio stream to be transcoded as well. This was how I originally wrote the code and we changed it during the review process. I am reverting it back to the original code.
2020-04-02 14:14:57 -04:00
Bond_009
2be394089e Enable Microsoft.CodeAnalysis.FxCopAnalyzers for Jellyfin.Common 2020-04-02 20:12:18 +02:00
Mark Monteiro
eadad73117 Merge branch 'master' into use-development-exception-page 2020-04-02 13:51:53 -04:00
dkanada
5a816f0b22 Merge pull request #2731 from Bond-009/minor2
Minor improvements
2020-04-03 01:41:05 +09:00
DJSweder
b07b499466 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2020-04-02 12:07:38 -04:00
Bond-009
b3283e37f2 Merge pull request #2740 from JustAMan/fix-livetv
Fix GetLocalApiUrl for cases with https enabled
2020-04-02 18:04:49 +02:00
Bond_009
8a566dfe73 Fix build 2020-04-02 17:07:37 +02:00
Bond_009
be8ba96183 Fix some warnings 2020-04-02 16:52:11 +02:00
Bond-009
108172c00f Merge pull request #2637 from mark-monteiro/do-not-instantiate-services-at-startup
Do not instantiate IService instances unecessarily at startup
2020-04-02 15:50:47 +02:00
Mark Monteiro
2a521b0f68 Rename 'log' to 'logger' 2020-04-02 09:32:43 -04:00
Vasily
89448ac055 Merge pull request #2634 from mark-monteiro/enable-http2
Enable HTTP/2 support
2020-04-02 13:54:05 +03:00
Vasily
bece62fd5c Fix GetLocalApiUrl for cases with https enabled
This should fix LiveTV and tuners
2020-04-02 13:40:48 +03:00
Mark Monteiro
0e57348cf4 Merge remote-tracking branch 'upstream/master' into development-https 2020-04-01 23:21:30 +02:00
Mark Monteiro
123bfbcf19 Merge remote-tracking branch 'upstream/master' into use-development-exception-page 2020-04-01 23:09:55 +02:00
Mark Monteiro
5b1091db27 Merge remote-tracking branch 'upstream/master' into do-not-instantiate-services-at-startup 2020-04-01 23:05:36 +02:00
Vasily
cc40f84f3c Merge pull request #2660 from Bond-009/usings
Minor style fixes
2020-04-01 23:56:00 +03:00
Bond-009
f31efce52d Merge branch 'master' into usings 2020-04-01 22:42:43 +02: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
Vasily
10275a1f32 Merge pull request #2447 from Bond-009/minor
Add analyzers to MediaBrowser.Providers and minor improvements
2020-04-01 23:35:40 +03:00
dkanada
d8b4df6823 Merge pull request #2735 from mark-monteiro/dependabot/nuget/Microsoft.NET.Test.Sdk-16.5.0
Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
2020-04-02 05:11:43 +09:00
Vitorvlv
5804873d38 Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2020-04-01 15:44:35 -04:00
Mark Monteiro
4699ec6417 Use null-coalescing assignment
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-01 21:20:36 +02:00
MG
cd5289efcf Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-04-01 13:49:20 -04:00
Louis Hermier
ab7771941a Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-04-01 13:49:20 -04:00
Medzhnun
3c666aed4c Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2020-04-01 13:49:20 -04:00
Mark Monteiro
1a4d9d4c53 Code review suggestions 2020-04-01 19:41:52 +02:00
Anthony Lavado
c9919f4633 Merge pull request #2730 from Bond-009/plugincrash
Try to not crash on unsupported plugin load
2020-04-01 13:17:56 -04:00
Bond_009
3ab50f5a3f Address comments 2020-04-01 19:05:41 +02:00
Mark Monteiro
377f9896ce Small fixes 2020-04-01 19:04:00 +02:00
Mark Monteiro
4ff8d30e41 Document ExtraRule properly 2020-04-01 18:54:06 +02:00
Mark Monteiro
34204046dd Remove duplicate array of extras directory names 2020-04-01 18:53:53 +02:00
Bond_009
787049f35f Merge branch 'master' into minor 2020-04-01 18:53:22 +02:00
Mark Monteiro
2e1ec2858a Match using directory names in ExtraResolver 2020-04-01 18:53:19 +02:00
Bond-009
ddd5d3aaec Merge branch 'master' into usings 2020-04-01 18:51:44 +02:00
Bond-009
62a18af17a Update Emby.Dlna/Main/DlnaEntryPoint.cs
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-01 18:50:19 +02:00
Nyanmisaka
d9b78a1dc5 update as per suggestion
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-02 00:48:43 +08:00
Mark Monteiro
cc8294842a Add ExtraType.Unknown enum value and use it instead of null 2020-04-01 18:10:29 +02:00
Bond_009
4419587c2a Minor improvements 2020-04-01 15:30:53 +02:00
Bond_009
147e434634 Try to not crash on unsupported plugin load 2020-04-01 14:50:18 +02:00
Mark Monteiro
861bad1eda Apply suggestions from code review 2020-04-01 13:26:47 +02:00
dkanada
58900bb57e Merge pull request #2723 from jairbubbles/updateSkiaForArm
Update Jellyfin.SkiaSharp.NativeAssets.LinuxArm to version 1.68.1
2020-04-01 16:14:22 +09:00
hauntingEcho
d565d6e8f1 Specify a version for jellyfin-ffmpeg dependency in .deb
Lower versions cause #2126 in Jellyfin >= 10.4.3
2020-03-31 21:41:10 -05:00
Nyanmisaka
ebb7590350 update as per suggestion
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-01 07:48:29 +08:00
nextlooper42
aa96f4322e Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2020-03-31 19:33:14 -04:00
KGT1
6e847b3f57 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-03-31 19:33:14 -04:00
Vasily
9aefb41512 Merge pull request #2503 from nyanmisaka/vaapi
Fix various bugs in HWA subtitle burn-in
2020-03-31 23:19:44 +03:00
Nyanmisaka
cf98a1fbc7 update as per suggestion
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-01 00:22:10 +08:00
Exploding Dragon
314129c803 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-03-31 07:31:05 -04:00
amirmasoud
6408174ccc Translated using Weblate (Persian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2020-03-31 07:31:05 -04:00
pucherot
6bfb7524f9 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2020-03-31 07:31:05 -04:00
Unknown
55ddda09c4 Update Jellyfin.SkiaSharp.NativeAssets.LinuxArm to version 1.68.1 2020-03-31 08:25:35 +02:00
dkanada
9e82e7c847 Merge pull request #2712 from joshuaboniface/fix-ldap-issues
Revert #2146 ordering change
2020-03-31 15:15:25 +09:00
Nyanmisaka
0aefc39469 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-03-31 01:47:59 -04:00
abdulaziz
0a23abb84f Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-03-30 19:33:01 -04:00
Anthony Lavado
8c8a396cd6 Merge pull request #2720 from dkanada/music
Fix custom musicbrainz servers
2020-03-30 17:19:42 -04:00
PrplHaz4
025888204d Fix permission setting on Channels
Currently, permission settings on Channels are not taken into account prior to returning `{UserName} is not permitted to access Library {ItemName}.`.  Whether or not a user can see items within the Channel is solely dependent on `EnableAllFolders`, so you cannot view a plugin's Channels unless you can also see ALL libraries.

This PR enables does two things for Channel-providing Plugins:
1. Fixes functionality of "EnableAllChannels"
2. Allows users with Channel permissions to access all folders within that Channel

I'm not 100% sure on 2 but I wasn't able to see an obvious way to propagate permissions downward into specific Folders inside a Channel.

I tested on a fairly simple library with two channel-providing plugins (ServerWMC, LazyMan) and it seems to work, but this behavior should also be tested by someone with more content/collections.
2020-03-30 17:14:59 -04:00
dkanada
907f2bb2f4 fix custom musicbrainz servers 2020-03-31 05:16:32 +09:00
nyanmisaka
95c5c08610 minor improvements 2020-03-31 04:04:55 +08:00
Joshua M. Boniface
49da8766d8 Update bump_version script
1. Remove some cruft
2. Update the metapackage as well
3. Changelogs are automated, don't bother EDITOR-ing them
2020-03-30 15:24:38 -04:00
nyanmisaka
db23660660 prefer to use libfdk_aac for better audio quality 2020-03-30 15:53:49 +08:00
nyanmisaka
0af353404c fix the UTF-16 error while burning ass/ssa subtitles 2020-03-30 14:47:55 +08:00
Nyanmisaka
0e9d9a7897 fix the incorrect HLS time while using hw encoders 2020-03-30 14:48:57 +08:00
Nyanmisaka
0c6ac38454 fix graphical subtitle scaling for NVDEC 2020-03-30 14:48:44 +08:00
Nyanmisaka
111095c2b0 fix QSV HWA failed when burning text subtitles
ffmpeg 4.3+ is required for better transcoding speed(more than twice increase).
Using qsv on Linux also requires a fix in ffmpeg 4.3+.
See 74007dd86a
2020-03-30 14:47:55 +08:00
nyanmisaka
fac6831653 fix various bugs in VAAPI hardware acceleration 2020-03-30 14:47:55 +08:00
Joshua M. Boniface
8094687b9c Add Debian/Ubuntu metapackage equivs file 2020-03-30 02:40:06 -04:00
Vasily
5bda05304a Merge pull request #2678 from ferferga/master
Translate Scheduled Tasks
2020-03-30 02:51:41 +03:00
ferferga
a9759f6a80 Rename translation keys 2020-03-29 23:46:19 +02:00
Bond-009
5acd0521a2 Merge pull request #2639 from alset333/master
Change DeinterlaceMethod's "bobandweave" to "yadif" or "yadif_bob", and set default value
2020-03-29 23:03:01 +02:00
Joshua M. Boniface
c356266419 Revert #2146 ordering change 2020-03-29 16:57:13 -04:00
ox0spy
e0fdf6fa07 Dockerfile: support for non-ASCII characters 2020-03-29 14:05:22 +00:00
Mark Monteiro
e266ad51c5 Simplify logic; remove unnecessary methods 2020-03-28 14:17:33 +01:00
Mark Monteiro
ea306e8f6d Do not assign an invalid value of zero to ExtraType 2020-03-28 13:54:14 +01:00
Mark Monteiro
5fcbedc194 Display extras with an unknown type 2020-03-28 13:40:56 +01:00
dkanada
bd4269cb59 Merge pull request #2667 from crobibero/emby-naming-warnings
Fix warnings in Emby.Naming
2020-03-28 04:51:35 +09:00
ferferga
620135d8da Removed spanish string from english file 2020-03-27 17:06:06 +01:00
ferferga
aa98160d70 Add whitespaces 2020-03-27 16:49:01 +01:00
ferferga
797b2fbf1d Restore comments 2020-03-27 11:25:32 +01:00
Erik Larsson
b63ed35238 Add descriptive TV episode titles for DLNA browsing
When browsing TV episodes in Next Up, etc via DLNA a more descriptive
title should be used to easier identify the right episode.
2020-03-27 06:34:22 +01:00
Mark Monteiro
1f5caa46c5 Fix some more issues with disposing Process instances 2020-03-27 01:53:08 +01:00
Mark Monteiro
d705931e81 Dispose of process correctly in AttachmentExtractor 2020-03-27 01:42:28 +01:00
Mark Monteiro
1c13be085f Make HasExitedSafe() private 2020-03-27 01:28:24 +01:00
Mark Monteiro
48bbcbb426 Use WaitForExitAsync extension method in AttachmentExtractor 2020-03-27 01:09:25 +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
7447ea8960 Make sure Process objects are all disposed correctly 2020-03-27 00:49:22 +01:00
Mark Monteiro
b947d98266 Delete unnecessary ProcessFactory abstraction 2020-03-27 00:45:48 +01:00
Mark Monteiro
ee2f911a2b Remove unnecessary CommonProcess abstraction 2020-03-27 00:10:16 +01:00
ferferga
a2a53ec879 Same with SubtitleScheduledTasks 2020-03-26 22:49:54 +01:00
ferferga
07f4893ba6 Translated RefreshChannelScheduledTask as well 2020-03-26 22:36:11 +01:00
ferferga
28f07df657 Fix NullReferenceException at startup 2020-03-26 22:26:25 +01:00
Luke Foust
0fb78cf54b Add documentation around Name, Id, and Type. Changed ExternalIdType to ExternalIdMediaType 2020-03-26 14:26:12 -07:00
ferferga
105fc3dc29 Apply suggestions 2020-03-26 21:40:41 +01:00
Luke Foust
ae4e727b24 Merge branch 'master' of https://github.com/lfoust/jellyfin into externalid-type 2020-03-26 13:36:18 -07:00
ferferga
d0b3dc1485 Remove an unused string 2020-03-26 20:32:28 +01:00
ferferga
30c1170a55 Remove comments 2020-03-26 20:29:00 +01:00
ferferga
0778eb20aa Translate Scheduled Tasks (names and descriptions) 2020-03-26 20:28:30 +01:00
dependabot-preview[bot]
b10f268c43 Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 17:15:35 +00:00
dependabot-preview[bot]
798a765105 Bump System.Text.Json from 4.7.0 to 4.7.1
Bumps [System.Text.Json](https://github.com/dotnet/corefx) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 17:15:32 +00:00
Cody Robibero
ea49514723 Update Emby.Naming/Subtitles/SubtitleParser.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-03-26 09:31:23 -06:00
Bond-009
10050a55a5 Merge pull request #2674 from JustAMan/fix-attachments-scan
Make variables binding correspond with column names
2020-03-26 15:57:06 +01:00
Vasily
0d2a355c00 Make variables binding correspond with column names 2020-03-26 17:40:28 +03:00
dkanada
622106467e Merge pull request #2668 from mark-monteiro/fix-application-host-dispose
Fix ApplicationHost Dispose() method
2020-03-26 14:26:53 +09:00
crobibero
bd5c66b2a6 implement suggestions 2020-03-25 18:29:47 -06:00
dkanada
6c2cca57f4 Merge pull request #2669 from mark-monteiro/update-net-core
Update .NET Core to 3.1.3
2020-03-26 07:57:16 +09:00
crobibero
18906d0205 implement suggestions 2020-03-25 14:33:44 -06:00
crobibero
261a2e1989 revert xml docs indentation 2020-03-25 14:31:03 -06:00
Mark Monteiro
aa9737afb3 Update .NET Core to 3.1.3 2020-03-25 20:09:48 +01:00
Mark Monteiro
d1fe28fac6 Check for null before disposing 2020-03-25 19:16:12 +01:00
Mark Monteiro
ca85bef7c5 Move check for web client directory to application startup in Program.cs 2020-03-25 18:52:14 +01:00
crobibero
cb68fbeb0a Fix warnings in Emby.Naming 2020-03-25 10:53:03 -06:00
Mathis
37ff36226b Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-03-25 02:52:56 -04:00
Bond-009
306bc4008d Merge pull request #2657 from villagra/master
Add netstandard2.0 as TargetFramework
2020-03-24 22:36:51 +01:00
Bond-009
632323969f Merge pull request #2655 from lfoust/tvdbruntimefix
Fix FormatException when mapping TVDB series
2020-03-24 22:04:24 +01:00
Bond-009
1345e699fa Merge pull request #2653 from iwalton3/fix-embedded-subtitles
Fix embedded mkv subtitles.
2020-03-24 22:04:16 +01:00
Bond-009
eb09d47ed2 Update Jellyfin.Server/Program.cs
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-03-24 17:43:11 +01:00
Mark Monteiro
4bccaafb57 Use 'Length' instead of 'Any()' for an array 2020-03-24 16:27:54 +01:00
Joshua M. Boniface
cd616746b9 Use more specific mv source glob 2020-03-24 11:17:01 -04:00
Bond_009
7915c6ca73 Remove extra ; 2020-03-24 16:16:13 +01:00
Bond_009
e9d1eabd53 Remove unused usings 2020-03-24 16:12:06 +01:00
Jose
5a30d9ecfb Added support for netstandard2.0 besides netstandard2.1 (multi target framework) to allow usage from UWP (netstandard 2.1 not available in UWP until .net 5) 2020-03-24 09:58:04 +01:00
Joshua M. Boniface
b9fdd96ece Remove old stuff 2020-03-24 01:10:29 -04:00
Joshua M. Boniface
05aa28a377 Clean up redundant Makefile steps 2020-03-24 00:01:48 -04:00
Joshua M. Boniface
891aa7c255 Update info in Fedora spec 2020-03-23 23:00:35 -04:00
Joshua M. Boniface
fc5e932492 Fix makefile formatting 2020-03-23 22:55:37 -04:00
Joshua M. Boniface
be9eb0f19e Unify dep installation and update 2020-03-23 22:51:12 -04:00
Joshua M. Boniface
e87a10235b Go back to cp-based control archive but right 2020-03-23 21:52:35 -04:00
Joshua M. Boniface
c478a43fd5 Update package description for Debian 2020-03-23 21:44:33 -04:00
Joshua M. Boniface
a561d4ca41 Remove arch from macos 2020-03-23 18:44:32 -04:00
Joshua M. Boniface
b95bd0e678 Bump shared_version to 10.6.0 too 2020-03-23 18:42:09 -04:00
Joshua M. Boniface
de66ab4d83 Use git checkout instead of file copies to clean 2020-03-23 18:41:23 -04:00
Joshua M. Boniface
9169861baa Add CODEOWNERS for GitHub 2020-03-23 18:18:38 -04:00
Joshua M. Boniface
0242ce5fee Add Windows build 2020-03-23 18:18:32 -04:00
Joshua M. Boniface
ab8de37080 Add .tar.gz-based builds 2020-03-23 18:01:42 -04:00
Joshua M. Boniface
8e0a33c1aa Handle single- or triple-part platform names 2020-03-23 18:01:28 -04:00
Joshua M. Boniface
cf6dc609b7 Fix up single-segment platform names 2020-03-23 17:54:17 -04:00
Joshua M. Boniface
6028bc0f79 Port Fedora and CentOS builds and remove web build
Simplifies a number of aspects of the RPM build, including moving
.copr/Makefile into the "fedora/" folder (and leaving a symlink),
removing the jellyfin-web build components, and renaming it
jellyfin-server like Debian did.
2020-03-23 17:32:07 -04:00
Joshua M. Boniface
eb632e4a0d Back up and restore control file 2020-03-23 16:01:25 -04:00
Joshua M. Boniface
8b1a76a32e Mount the source volume rather than copy it
Now that the build script cleans up both before and after building, this
is a viable option and will significant reduce build times by promoting
container reuse (with `-k`).
2020-03-23 15:46:08 -04:00
Joshua M. Boniface
3e7a106a95 Add Ubuntu configurations 2020-03-23 15:40:59 -04:00
Joshua M. Boniface
9ce2af2a6c Don't limit to files (allow symlinks) 2020-03-23 15:40:51 -04:00
Joshua M. Boniface
f72c5b7a1d Fix version output 2020-03-23 15:40:19 -04:00
Joshua M. Boniface
c4a29e537c Remove NPM install from Dockerfiles 2020-03-23 15:28:57 -04:00
Joshua M. Boniface
0365adb823 Fix deps for armhf 2020-03-23 15:24:13 -04:00
Joshua M. Boniface
9c378866e4 Add arm64 and armhf builds 2020-03-23 15:02:54 -04:00
Joshua M. Boniface
163cf223aa Only support cross-building with Docker 2020-03-23 15:00:41 -04:00
Joshua M. Boniface
c61e95d117 Only support Docker builds on amd64 2020-03-23 14:49:55 -04:00
Joshua M. Boniface
93d1256a4c Remove web building, rename, bump version 2020-03-23 14:46:16 -04:00
Luke Foust
128b18750f Prevent FormatException when mapping TV series 2020-03-23 10:56:54 -07:00
Ian Walton
4836d1674b Don't return closed stream for subtitles. (jellyfin/jellyfin#2650) 2020-03-23 12:39:12 -04:00
Luke Foust
a7e7098da6 Merge pull request #3 from jellyfin/master
merge with upstream master
2020-03-23 08:00:32 -07:00
Dennis M. Pöpperl
da4855ce4f Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-03-23 10:18:02 -04:00
dkanada
84311fdb76 Merge pull request #2645 from sparky8251/rss-feed-add
Add RSS feed badges to README
2020-03-23 19:06:44 +09:00
dkanada
86f614b26b Merge pull request #2638 from mark-monteiro/update-asp
Update .NET Core to 3.1.2
2020-03-23 18:48:22 +09:00
sparky8251
83f4494b9e Clean up minor formatting issue 2020-03-22 19:17:57 -04:00
sparky8251
975fef9ebc Add RSS feed badges to README 2020-03-22 19:08:00 -04:00
Joshua M. Boniface
ba55ee4986 Add first proof-of-concept deployment setup 2020-03-22 16:03:14 -04:00
Joshua M. Boniface
3571afece1 Ignore web artifacts 2020-03-22 16:03:08 -04:00
Joshua M. Boniface
f9cecfc0fb Add new build.sh script and symlink 2020-03-22 16:02:02 -04:00
Joshua M. Boniface
8b620ed26a Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
Joshua M. Boniface
28f7df6520 Move all old deployment stuff to a new folder 2020-03-22 16:00:52 -04:00
Joshua M. Boniface
2afbbba3f8 Remove old build script 2020-03-22 16:00:20 -04:00
Luke Foust
9bdb99fe92 Add type to externalids to distinguish them in the UI 2020-03-22 12:58:53 -07:00
Frode F
a4ff27fbdc Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2020-03-22 15:55:26 -04:00
Luke Foust
f3213d3bef Merge pull request #2 from jellyfin/master
merge with upstream master
2020-03-22 12:28:59 -07:00
Joshua M. Boniface
425bd2b01b Merge pull request #2642 from mark-monteiro/fix-extras
Add missing null check when retrieving extras
2020-03-22 15:10:23 -04:00
dkanada
0d9787dfb4 Merge pull request #2478 from JustAMan/fix-search-order
Fix ordering of search results
2020-03-23 02:30:41 +09:00
dkanada
7270997e76 add code suggestions
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-03-23 00:59:22 +09:00
Mark Monteiro
6897a19051 Add missing null check when retrieving extras 2020-03-22 15:09:51 +01:00
Mark Monteiro
6183b83b18 Update benches project to correct target framework 2020-03-22 02:14:38 +01:00
Mark Monteiro
debab44870 Update all packages to .NET Core 3.1.2 2020-03-22 02:03:07 +01:00
Mark Monteiro
b8580e58aa Check for implementation of IService correctly 2020-03-21 23:28:27 +01:00
Mark Monteiro
6f8c81ff7e Register ServiceController with the DI framework 2020-03-21 23:28:07 +01:00
Mark Monteiro
dc2b8c4646 Log a warning if an attempt is made to register an invalid service type 2020-03-21 23:19:24 +01:00
Mark Monteiro
72c822513f Create ServiceController via DI instead of manual construction 2020-03-21 23:18:41 +01:00
Mark Monteiro
dc140429fe Do not create unnecessary instances of IService at server startup 2020-03-21 23:17:30 +01:00
Mark Monteiro
3fd245ba87 Add instructions for serving content over HTTPS 2020-03-21 23:03:00 +01:00
Mark Monteiro
c36e4ecc6c Log all 'DOTNET_' and 'ASPNETCORE_' environment variables at application startup 2020-03-21 22:45:57 +01:00
Mark Monteiro
0e3d319a3a Log 'ASPNETCORE_ENVIRONMENT' value at application startup 2020-03-21 22:30:38 +01:00
Mark Monteiro
54cbf9c4dc Bind HTTPS ports when running with development environment flag 2020-03-21 21:31:22 +01:00
Mark Monteiro
edc974e4c0 Set 'ASPNETCORE_ENVIRONMENT=Development' when running from visual studio 2020-03-21 21:28:34 +01:00
Mark Monteiro
41de0bd245 Run in development mode by default from Visual Studio 2020-03-21 21:06:30 +01:00
Mark Monteiro
842ec04828 Do not handle exceptions manually when in development mode 2020-03-21 21:06:01 +01:00
Mark Monteiro
92628c4033 Clean up HTTP listener exception handling 2020-03-21 21:04:16 +01:00
Mark Monteiro
1fb939b9b2 Enable HTTP/2 support 2020-03-21 20:21:07 +01:00
Mark Monteiro
aa546dd36a Rename command line option to --nowebclient and config setting to HostWebClient 2020-03-21 18:25:09 +01:00
dkanada
2184553d15 Merge pull request #2566 from mark-monteiro/feature-request-issue-template
Feature Request Issue Template
2020-03-21 16:58:44 +09:00
dkanada
84c23d6232 Merge pull request #2631 from mark-monteiro/fix-client-build-scripts
Fix Client Build Scripts
2020-03-21 16:39:15 +09:00
dkanada
ba4c5e7f04 Merge pull request #2606 from Artiume/patch-4
Update docker dependencies for Gulp
2020-03-21 16:32:21 +09:00
Mark Monteiro
589958d13f Add missing trailing slashes 2020-03-20 22:41:58 +01:00
Luke Foust
dcd0d93f44 Merge pull request #1 from jellyfin/master
merge with upstream master
2020-03-20 12:53:52 -07:00
Medzhnun
e028fb6fde Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2020-03-20 08:18:36 -04:00
Mark Monteiro
1a63c3f364 Inject IConfiguration instead of resolving manually 2020-03-20 13:13:20 +01:00
Mark Monteiro
cd34115e99 Remove duplicate text
Co-Authored-By: artiume <siderite@gmail.com>
2020-03-20 12:35:01 +01:00
Mark Monteiro
48f33f9a96 Reword prerequisite section so that IDEs are listed as optional 2020-03-20 12:21:20 +01:00
Mark Monteiro
887e9c2020 Remove unnecessary execution of yarn build:production 2020-03-20 11:46:51 +01:00
Mark Monteiro
6894602dab Use 'yarn build:production' instead of 'yarn:build' everywhere 2020-03-20 11:36:21 +01:00
Mark Monteiro
1da9910673 Use a new 'feature-request' label instead of the existing 'feature' label 2020-03-20 11:18:54 +01:00
Mark Monteiro
4c24beccb4 Apply suggested changes from code review 2020-03-20 11:13:40 +01:00
Peter Maar
adbf375efe Merge pull request #1 from jellyfin/master
Pull latest to my fork
2020-03-19 22:02:08 -04:00
Andreas B
0a2d24aff3 Add RESOLUTION field to HLS master playlist 2020-03-19 23:39:33 +01:00
Andreas B
8a990d1d95 Add FRAME-RATE field to HLS master playlist 2020-03-19 23:39:33 +01:00
Andreas B
f2858878d1 Add CODECS field to HLS master playlist 2020-03-19 23:39:23 +01:00
dkanada
af5d3e8eae Merge pull request #2617 from Shawmon/wasm-mimetype
add wasm mimetype
2020-03-18 23:52:57 +09:00
dkanada
9649b986d8 Merge pull request #2621 from mark-monteiro/log-env-vars-at-startup
Log 'JELLYFIN_' environment variables at application start
2020-03-18 23:52:43 +09:00
dkanada
a96c0a72b8 Merge pull request #2549 from dkanada/refactor
Refactor some provider classes
2020-03-18 17:43:15 +09:00
Andreas Zeller
3e3470e503 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-03-17 14:43:41 -04:00
abdulaziz
a19e4e2e30 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-03-17 14:43:41 -04:00
Mark Monteiro
885bc11b67 Log 'JELLYFIN_' environment variables at application start 2020-03-17 14:30:08 +01:00
Mark Monteiro
751dff09dc Add development instructions to README with details on running from source 2020-03-17 14:21:24 +01:00
Mark Monteiro
681dd8d32f Add recommended extensions to VS Code configuration 2020-03-17 14:21:00 +01:00
Mark Monteiro
7dd2f3a8f2 Do not add command line flag to the config hierarchy unless it is explicitly set 2020-03-17 14:19:43 +01:00
Shawmon
8630d18372 add wasm mimetype 2020-03-17 11:49:32 +08:00
Joshua M. Boniface
ef4dfd4461 Merge pull request #2607 from joshuaboniface/fix-fedora
Correct BuildRequires and NodeJS for Fedora/CentOS
2020-03-15 23:03:06 -04:00
Mark Monteiro
48ea7dc604 Merge remote-tracking branch 'upstream/master' into support-running-without-web-content 2020-03-16 00:14:33 +01:00
artiume
d7faea0731 Update Dockerfile.arm64 2020-03-15 19:09:35 -04:00
artiume
7d14bdd6ff Update Dockerfile.arm 2020-03-15 19:09:15 -04:00
Anthony Lavado
bb8a1a38fb Merge pull request #2603 from mark-monteiro/fix-azure-pipeline
Fix Azure Pipelines Build
2020-03-15 18:46:15 -04:00
Joshua M. Boniface
f4c8b25698 Use NodeJS 10 on CentOS 2020-03-15 18:17:04 -04:00
Joshua M. Boniface
5c4e468035 Correct BuildRequires and NodeJS for Fedora/CentOS 2020-03-15 18:14:00 -04:00
artiume
dc2510d5e2 Update docker dependencies for Gulp 2020-03-15 17:56:53 -04:00
Mark Monteiro
ef7497e837 Merge remote-tracking branch 'upstream/master' into support-running-without-web-content 2020-03-15 19:50:00 +01:00
Mark Monteiro
f4b2cdfce9 Fix another pipleine 2020-03-15 19:32:14 +01:00
Mark Monteiro
876c4681d0 Build web client correctly 2020-03-15 19:24:27 +01:00
dkanada
7aec11d621 Merge pull request #2497 from mark-monteiro/1914-prevent-duplicates-in-playlists
Check for duplicates when adding items to a playlist
2020-03-16 02:49:57 +09: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
923313bb1c Add debugging profile for running the server without web content 2020-03-15 17:49:13 +01:00
Mark Monteiro
5d48259046 Use the same key constant for command line config and all other config 2020-03-15 17:43:52 +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
Mark Monteiro
602112fba4 Return 404 for static web resources when the 'nowebcontent' flag is set 2020-03-15 16:24:04 +01:00
Mark Monteiro
2a01537371 Merge command line options into framework configuration 2020-03-15 15:34:09 +01:00
Mark Monteiro
0996ce2898 Add --nowebcontent command line flag
Added without any functionality
2020-03-15 15:31:43 +01:00
Mark Monteiro
7e3caec583 Make PackageCreator.ModifyHtml() static and clean up XML documentation
This eliminates the need to create a dummy instance to call this method
2020-03-15 15:29:39 +01:00
Mark Monteiro
6fbdf0d6a2 Construct ApplicationHost with DI framework instead of manually 2020-03-15 15:28:29 +01:00
Andreas B
85da15685f Refactor DynamicHlsService.AppendPlaylist to use StringBuilder 2020-03-15 15:06:38 +01:00
Mark Monteiro
6a6293afc7 Make startup config nullable when configuring app configuration 2020-03-15 13:15:47 +01:00
Mark Monteiro
a67e32f8ec Clean up and document BrowserLauncher correctly 2020-03-15 13:14:57 +01:00
Mark Monteiro
420e3619fb Use startup configuration to set the default redirect path 2020-03-15 13:01:05 +01:00
Mark Monteiro
a9c1ff9119 Remove unnecessary method in BrowserLauncher 2020-03-15 13:00:34 +01:00
Mark Monteiro
4102e3afd0 Rename IsNoWebContent to NoWebContent 2020-03-15 13:00:14 +01:00
Mark Monteiro
547f248a62 Update XML documentation for WebPath 2020-03-15 12:59:34 +01:00
SaddFox
6ab2b74c18 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2020-03-14 19:46:57 -04:00
dkanada
6960f0af67 Merge pull request #2582 from Bond-009/subs
Fix subtitles
2020-03-15 00:00:55 +09:00
Andy CHABALIER
d380684805 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-03-14 09:19:46 -04:00
Shadowghost
f92543479f Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-03-13 20:42:37 -04:00
Mark Monteiro
9a7875b6f9 Do not check for duplicates if they are allowed in playlist configuration 2020-03-13 23:14:25 +01:00
Mark Monteiro
79413d9f33 Add a configuration flag to allow/disallow duplicates in playlists 2020-03-13 23:11:59 +01:00
Mark Monteiro
c594b1a4c3 Fix bad merge in contributors list 2020-03-13 22:46:11 +01:00
Bond-009
2c8592fe78 Fix subtitles 2020-03-12 17:18:49 +01:00
Vasily
ad440cd2f6 Merge pull request #2449 from Bond-009/warn17
Fix some warnings
2020-03-12 15:56:01 +03:00
Deniz
8d0d05107f Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2020-03-12 07:21:28 -04:00
Z Yang
217b8a96ac Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-03-11 19:53:50 -04:00
Mark Monteiro
d276e0f8f4 Use Distinct() to filter out duplicates when adding items to playlist 2020-03-11 23:26:55 +01:00
Mark Monteiro
487aa376b4 Merge remote-tracking branch 'upstream/master' into 1914-prevent-duplicates-in-playlists 2020-03-11 23:21:30 +01:00
Mark Monteiro
99bf6edba2 Merge remote-tracking branch 'upstream/master' into support-running-without-web-content 2020-03-11 23:04:47 +01:00
Mark Monteiro
d437950ac3 Parse config value correctly 2020-03-11 22:55:10 +01:00
Mark Monteiro
29bad073eb Use config setting to decide if web content should be hosted
Also fail server startup if web content is expected but missing
2020-03-11 22:54:54 +01:00
Bond-009
94fe9b8f6d Merge branch 'master' into warn17 2020-03-11 20:26:43 +01:00
Bond_009
29cee00d2d Address comments 2020-03-11 16:36:55 +01:00
Bond_009
bbd4860b55 Another warning 2020-03-11 16:30:22 +01:00
Bond-009
008a76cf4d Merge pull request #2502 from JustAMan/baseitem-equals
Adds BaseItem.Equals method that compares items by their Id
2020-03-11 16:00:36 +01:00
Bond-009
0b51de3af5 Merge pull request #2480 from mark-monteiro/support-injecting-iconfiguration
Support Injecting IConfiguration
2020-03-11 15:43:39 +01:00
Mark Monteiro
6131599e88 Merge branch 'master' into support-injecting-iconfiguration 2020-03-10 22:45:17 +01:00
Mark Monteiro
6d27efe30a Small text update 2020-03-10 19:18:12 +01:00
Mark Monteiro
af8ad2d275 Add a template for feature request issues instructing user to not create them
Also provide direction for users who are willing to contribute code for new features themselves
2020-03-10 19:11:38 +01:00
zixaar
97bca5a900 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-03-10 13:16:21 -04:00
zixaar
8999a5f6a2 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-03-10 12:34:01 -04:00
Bond-009
a7e1a5c96a Merge pull request #2506 from mark-monteiro/inject-loggers-with-context
Inject loggers with context using ILogger<T>
2020-03-10 15:04:35 +01:00
Mednis
12f2baa3d8 Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2020-03-09 19:15:04 -04:00
Mednis
f6cfdcf7d7 Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2020-03-09 17:12:17 -04:00
Falke Carlsen
cc66a40ae3 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2020-03-09 14:58:04 -04:00
Nutjob
6ec1be219d Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-03-09 11:27:17 -04:00
dkanada
4f195f289c remove useless interface 2020-03-10 00:10:02 +09:00
dkanada
d7c34b4611 start tvdb migration for plugin interface 2020-03-09 23:53:07 +09:00
dkanada
d16f68bb14 move omdb providers 2020-03-09 23:36:02 +09:00
dkanada
52fde64f10 remove unused files and fix some future warnings 2020-03-09 23:30:57 +09:00
dkanada
bf34105af3 Merge pull request #2541 from joshuaboniface/fix-docker-arm
Fix curl for Jellyfin GPG key
2020-03-09 22:41:23 +09:00
João Fonseca
ad93f3b146 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-03-09 07:34:03 -04:00
Joshua M. Boniface
c257d6071c Fix curl for Jellyfin GPG key
This curl command seems to fail inexplicably with an "unable to get
local issuer" error. Use `-k` instead so it doesn't complain.
2020-03-08 20:53:11 -04:00
Mednis
3e3c47407b Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2020-03-08 20:08:15 -04:00
Mednis
3741348fb9 Added translation using Weblate (Latvian) 2020-03-08 17:24:16 -04:00
Joshua M. Boniface
623c0b6daa Merge pull request #2536 from dkanada/audiodb
Migrate AudioDB to use plugin interface
2020-03-08 17:06:22 -04:00
Joshua M. Boniface
d8d37671ff Merge pull request #2535 from mark-monteiro/logging-migration
Create Logging Configuration Heirarchy
2020-03-08 15:33:15 -04:00
Mark Monteiro
9e89cbbc3a Store migration names alongside Ids in configuration in order to assist with development/debugging 2020-03-08 17:40:30 +01:00
Mark Monteiro
72bf920291 Use a Guid to uniquely identify migrations instead of a string name
Also use a list instead of an array to store executed migrations in the configuration class
2020-03-08 16:05:31 +01:00
Mark Monteiro
8dbb1c9257 Use logging.json instead of logging.user.json for override settings 2020-03-08 15:46:13 +01:00
Mark Monteiro
2f0b4cc24c Clean up migration logging messages 2020-03-08 15:02:59 +01:00
Mark Monteiro
a0fdceb4bc Throw exception on migration failure to halt application
Also save migration configuration after each migration instead of at the end in case an exception is thrown part way through the list
2020-03-08 15:02:42 +01:00
sharkykh
86190aa7e9 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-03-08 09:01:04 -04:00
dkanada
f8b391538d update audiodb config page 2020-03-08 12:19:38 +09:00
dkanada
acf1698d2b include audiodb config page in release 2020-03-08 12:17:49 +09:00
dkanada
26c778eb16 implement option to disable audiodb for now 2020-03-08 12:10:25 +09:00
Tomi
cbd1e92486 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-03-07 22:03:35 -05:00
IDXK
01b51388f5 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-03-07 22:03:35 -05:00
Niels van Velzen
b4e81f2f0c Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2020-03-07 22:03:35 -05:00
sharkykh
d38eab50ef Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-03-07 22:03:35 -05:00
Leo Verto
796bdd46df Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2020-03-07 22:03:35 -05:00
Joshua M. Boniface
ae9948ce04 Merge branch 'master' into logging-migration 2020-03-07 21:19:24 -05:00
Joshua M. Boniface
3d563ca3a3 Merge pull request #2523 from JustAMan/logging-migration
Improve migrations so they are more maintainable
2020-03-07 21:14:14 -05:00
Mark Monteiro
1295f6c79b Documentation and log message cleanup 2020-03-07 20:26:06 +01:00
dkanada
adc3ab1991 Merge pull request #2534 from joshuaboniface/disable-ssl-default
Set EnableHttps disabled by default
2020-03-08 03:03:16 +09:00
Mark Monteiro
7ecb16a46e do not ignore exceptions during migration execution 2020-03-07 18:23:32 +01:00
Joshua M. Boniface
2610bb2cc1 Merge pull request #2532 from MrTimscampi/attachment-baseurl
Add baseURL to attachments API url
2020-03-07 12:21:01 -05:00
Joshua M. Boniface
e0381c8854 Set EnableHttps disabled by default
Prevents issues on first setup when behind a reverse proxy. Also
prevents issues saving the Networking page by default if SSL is not
fully configured.
2020-03-07 11:55:02 -05:00
MrTimscampi
e8c593f413 Add baseURL to attachments 2020-03-07 17:41:36 +01:00
Terrance M
f3db3cacf6 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-03-06 21:35:24 -05:00
Marcus Schelin
b373721d29 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2020-03-06 21:35:24 -05:00
Mark Monteiro
4c2b543b30 Rename IUpdater to IMigrationRoutine 2020-03-06 21:51:50 +01:00
Mark Monteiro
6660006f01 Load user logging config file into application configuration 2020-03-06 19:28:36 +01:00
Mark Monteiro
1a9908d094 Add migration to create "logging.user.json" 2020-03-06 19:11:42 +01:00
Mark Monteiro
f2fdf50b3b Create separate constants for the two logging file names 2020-03-06 19:07:34 +01:00
Vasily
5a0f1fe848 Implement review suggestion 2020-03-06 19:01:07 +03:00
Vasily
098d3538e3 Disable logging.json migration as it is not ready yet 2020-03-06 17:22:22 +03:00
Vasily
d4564d8e29 More logging, mark all migrations as applied if setup wizard is not complete 2020-03-06 13:22:44 +03:00
Anthony Lavado
b99a5843dd Merge pull request #2524 from ferferga/nsis-fixes
Replaces NSIS uninstaller icon so it's more visible
2020-03-05 13:09:38 -05:00
ferferga
e36c4de9f6 Replaces uninstaller icon so it's more visible 2020-03-05 18:53:04 +01:00
Vasily
216e425cc5 Fix comment 2020-03-05 20:52:00 +03:00
Vasily
55b429e5e8 Moved migration routines to their own directory 2020-03-05 20:40:17 +03:00
Vasily
ccafebca68 Extract "migrations" config name to a proper constant 2020-03-05 20:37:49 +03:00
Vasily
ecaa7f8014 Improve migration logic 2020-03-05 20:09:33 +03:00
Vasily
66e11879ef Shuffle migrations in a more manageable structure 2020-03-05 18:21:27 +03:00
Joshua M. Boniface
dcf3dbb250 Merge pull request #2515 from JustAMan/migration-scripts
Implement ability to run migration routines when updating Jellyfin
2020-03-05 10:03:43 -05:00
Vasily
9eef0e8ca0 Implement EnableThrottling migration for pre-10.5.0 to 10.5.0 or newer 2020-03-05 17:41:32 +03:00
Andrew Rabert
ca585f12b3 Fix Docker packages (#2499)
* Fix Vaapi Intel packages

https://github.com/jellyfin/jellyfin/issues/1901#issuecomment-593114951

Still need to compile with the packages to verify it builds properly. Arm builds probably need it too.

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile.arm

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Update Dockerfile.arm

* Update Dockerfile.arm

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Update Dockerfile.arm64

* Update Dockerfile.arm

* Update Dockerfile

* shift from curl to git for web install

removed the necessity of curl, tar and package availability and using the source directly

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile.arm

* Update Dockerfile.arm64

* clean up packages and remove unnecessary ARG

* Update Dockerfile

* Update Dockerfile.arm64

* Update Dockerfile

* Update Dockerfile.arm64

* Update Dockerfile

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Explainations

* Update Dockerfile.arm

* Update Dockerfile.arm64
2020-03-05 09:41:14 -05:00
Vasily
acd67c7152 Add tracking of JF version used to run this config previously 2020-03-05 16:22:15 +03:00
Vasily
f4ccee5801 Add inheritdoc comment and squash simple method bodies 2020-03-05 15:03:17 +03:00
Vasily
e80c9bb8c6 Merge pull request #2513 from Bond-009/alpha
Improve alpha numeric sorting
2020-03-05 15:01:05 +03:00
Vasily
456f571343 Follow code review suggestions 2020-03-05 14:25:50 +03:00
Bond-009
375cf212dd Update AlphanumComparatorTests.cs 2020-03-05 12:24:12 +01:00
Davide Polonio
5099f6e4a2 Add FIXME in HasConfiguredPassword public user DTO method 2020-03-05 08:01:47 +01:00
Joshua M. Boniface
434f665e81 Merge pull request #2512 from Artiume/patch-4
Update Fedora build container version
2020-03-04 20:03:02 -05:00
Bond_009
be1d4b32c6 Add speed for alpha numeric sorting 2020-03-05 00:57:24 +01:00
Bond_009
ada3f96668 Add tests for alpha numeric sorting 2020-03-05 00:54:46 +01:00
artiume
7931a7a7d0 update fedora 2020-03-04 17:43:50 -05:00
Vasily
007c5b9f67 Implement BaseItem.GetHashCode override 2020-03-04 13:06:13 +03:00
Joshua M. Boniface
a987b68f7c Merge pull request #2508 from joshuaboniface/contributors-update
Update contributors list
2020-03-03 23:27:11 -05:00
Joshua M. Boniface
3016e78aef Remove dependabotbot 2020-03-03 23:22:29 -05:00
Joshua M. Boniface
0e98d8bbad Update contributors list
Refreshes the contributors list with the data available from all merged
PRs. Includes a huge number of people who had never added themselves
manually. Going forward this is probably not needed anymore as we can
update this fairly easily.
2020-03-03 22:51:16 -05:00
Mark Monteiro
9aa259eb95 Revert unnecessary ordering changes in ApplicationHost 2020-03-03 23:56:47 +01:00
Mark Monteiro
6b06a9a919 Make Logger and LoggerFactory both protected in ApplicationHost 2020-03-03 23:53:48 +01:00
Mark Monteiro
c49a12dd73 Make LoggerFactory private in ApplicationHost and use it to construct loggers with context 2020-03-03 23:31:25 +01:00
Mark Monteiro
370c312e01 Make logger private in ApplicationHost 2020-03-03 23:08:42 +01:00
Mark Monteiro
b67e9cde8c Replace ILogger with ILogger<T> wherever possible
Log entries will contain additional class context when using this interface
2020-03-03 23:07:10 +01:00
Mark Monteiro
76957213e6 Merge remote-tracking branch 'upstream/master' into support-injecting-iconfiguration 2020-03-03 22:27:49 +01:00
Bond-009
5276c75cde Merge pull request #2500 from mark-monteiro/2498-register-logging-correctly
Register Logging Services Correctly
2020-03-03 21:53:53 +01:00
Davide Polonio
cd471ed4df Fix emby/users/public not taking into account first run
The previous implementation was not taking in account the first seup
phase. Now the check has been added.

A little method refactor has been done in order to make the code more
elegant.
2020-03-03 20:20:35 +01:00
Davide Polonio
737d4d2b3f Fix conditional with a less verbose one
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-03-03 19:51:03 +01:00
Mark Monteiro
3cb98fba55 Use ToList() instead of ToArray() on sequences of unknown size 2020-03-03 18:18:00 +01:00
dkanada
c07e1e4f84 Merge pull request #2476 from JustAMan/playto-sort
Bring back sorting when needed to fix PlayTo
2020-03-04 01:53:26 +09:00
Mark Monteiro
6438771212 Exit method early if there are no unique playlist items to add 2020-03-03 17:48:11 +01:00
Mark Monteiro
4d32b59a0b Performance improvements
Use arrays instead of lists; use Array.CopyTo to concat playlist items; only count number of duplicates once
2020-03-03 17:47:16 +01:00
dkanada
2dc1a18203 Merge pull request #2501 from JustAMan/pedal-to-the-metal-from-the-get-go
Default transcoding throttling to false for new installs
2020-03-04 01:37:44 +09:00
Vasily
f21cd30039 Lower log level for BaseItem.Equals to debug 2020-03-03 19:22:45 +03:00
Vasily
c1aafd2ba0 Default transcoding throttling to false for new installs 2020-03-03 19:14:31 +03:00
Mark Monteiro
7f96fce15d Add SegiH as a contributor
This PR is based on a change originally proposed by this author
2020-03-03 14:40:49 +01:00
Mark Monteiro
77533fd433 Revert unnecessary style change 2020-03-03 14:40:07 +01:00
Bond-009
20ac3c36e2 Merge pull request #2483 from xosdy/fix-download-filename
Fix download file with non-ASCII filename
2020-03-03 14:28:48 +01:00
Bond-009
464039043d Merge pull request #2491 from mark-monteiro/2425-fix-playlists
Fix Playlist Deletion
2020-03-03 14:23:43 +01:00
Mark Monteiro
a4bf645ba5 Fix compilation error 2020-03-03 01:10:26 +01:00
Mark Monteiro
9a6c279473 Increase min log level to 'Warning' framework namespaces 2020-03-03 00:36:54 +01:00
Mark Monteiro
c376f4ca51 Register Serilog logging services correctly 2020-03-03 00:35:41 +01:00
Mark Monteiro
dde0277050 Check for duplicates when adding items to a playlist 2020-03-02 21:12:35 +01:00
dkanada
76e49a1eb7 migrate audiodb to plugin 2020-03-03 02:07:31 +09:00
Ilija Apostolovski
1c1484389a Translated using Weblate (Macedonian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/mk/
2020-03-02 08:05:17 -05:00
Bond-009
1c21248e2e Merge pull request #2474 from JustAMan/simplify-sorting
Simplify AlphanumericComparer, reduce code duplication
2020-03-02 12:28:31 +01:00
Vasily
13d30a0a79 Merge pull request #2436 from dkanada/music
Add config options for MusicBrainz
2020-03-02 12:54:17 +03:00
Vasily
ba8d8cede9 Replace foreach with for - MOAR SPEED 2020-03-02 12:39:34 +03:00
Vasily
9a9f2aa293 Apply suggestions from code review
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-03-02 12:36:44 +03:00
Vasily
376bbb40bd Apply code review suggestion 2020-03-02 12:34:34 +03:00
Vasily
11abe31e0d Speed up equality comparison of BaseItem 2020-03-02 12:31:31 +03:00
Davide Polonio
5d760b7ee8 Fix emby/user/public API leaking private data
This commit fixes the emby/user/public API that was returning more data
than necessary. Now only the following information are returned:
- the account name
- the primary image tag
- the field hasPassword
- the field hasConfiguredPassword, useful for the first wizard only
(see
https://github.com/jellyfin/jellyfin/issues/880#issuecomment-465370051)
- the primary image aspect ratio

A new DTO class, PrivateUserDTO has been created, and the route has been
modified in order to return that data object.
2020-03-01 21:46:01 +01:00
Mark Monteiro
3ab51712b8 Fix warnings in PlaylistXmlSaver 2020-03-01 18:41:17 +01:00
Mark Monteiro
1204818698 Clean up and document PlaylistResolver 2020-03-01 18:28:19 +01:00
Mark Monteiro
41a26f8ecd Correctly resolve playlists that are stored using a directory path 2020-03-01 18:28:02 +01:00
Mark Monteiro
f00356e9fe Use a constant for the default playlist file name 2020-03-01 18:23:51 +01:00
dkanada
49f6809254 fix build error 2020-03-01 22:48:41 +09:00
Mark Monteiro
7e3b6768f8 Add NuGet reference to config abstractions in MediaBrowser.Common project 2020-03-01 12:10:32 +01:00
Ignatius Bagus
0b0c5984f9 Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-02-29 15:49:17 -05:00
Adam Bokor
03a294a706 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-02-29 04:10:17 -05:00
dkanada
d86e5c2ab7 add code suggestions 2020-02-29 16:24:07 +09:00
dkanada
630d79fc96 prefix private fields with underscore 2020-02-29 16:22:45 +09:00
Steven Tang
2e856ad9fe Fix download file with non-ASCII filename 2020-02-29 12:11:27 +08:00
Mark Monteiro
189f005846 Remove IConfiguration from service collection
This does not appear to be used anywhere and the web host already handles injecting this as a special case anyways
2020-02-28 23:35:53 +01:00
Mark Monteiro
48f8118072 Do not save a reference to the startup config in ApplicationHost 2020-02-28 23:28:15 +01:00
Mark Monteiro
a4e5a5ab31 Register configuration correctly with application using 'ConfigureAppConfiguration()' in WebHostBuilder
Without this, the correct instance of IConfiguration is not injected into services that rely on it
2020-02-28 23:18:22 +01:00
Mark Monteiro
3f4b9e9a81 Add new 'nowebcontent' configuration flag 2020-02-28 20:40:45 +01:00
Bond_009
be6ed3ec7b Add comment 2020-02-28 20:39:51 +01:00
Bond_009
e699e5d405 Fix possible race condition 2020-02-28 20:34:10 +01:00
Ilija Apostolovski
6261e4e7f6 Translated using Weblate (Macedonian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/mk/
2020-02-28 13:12:32 -05:00
Mark Monteiro
3043b7323b Use constants for settings keys 2020-02-28 17:57:38 +01:00
Ilija Apostolovski
77963c7a8c Added translation using Weblate (Macedonian) 2020-02-28 10:12:47 -05:00
Vasily
7f38af3701 Remove custom queue class as it is not needed 2020-02-28 17:27:16 +03:00
Vasily
f81cd037f0 Small speed improvement - no need to convert an array to a list to just iterate over it 2020-02-28 16:19:51 +03:00
Vasily
ae1f975b99 Implement fast sorting 2020-02-27 20:21:34 +03:00
Vasily
0f0b89f344 Trying to be more safe 2020-02-27 20:14:56 +03:00
Vasily
e125db4fe3 Bring back sorting when needed to fix PlayTo
This is partial revert of https://github.com/jellyfin/jellyfin/pull/1011
2020-02-27 20:11:40 +03:00
dkanada
e80444d11b use the custom server for external ids 2020-02-28 01:43:57 +09:00
Vasily
d1670f8180 Apply suggestions from code review
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2020-02-27 16:02:18 +03:00
Vasily
8e20d2e931 Simplify AlphanumericComparer, reduce code duplication 2020-02-27 14:51:34 +03:00
Bond-009
13bf5e94b3 Merge pull request #2472 from Narfinger/tests-fix3
moves shows tests to Theory and InlineData format
2020-02-27 08:52:12 +01:00
Narfinger
107974e3f8 moves shows tests to Theory and InlineData format 2020-02-27 11:35:01 +09:00
sharkykh
9d53fd0e73 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-02-26 14:01:46 -05:00
Bond_009
d1e1aef5f7 Fix possible race condition 2020-02-26 18:19:34 +01:00
dkanada
fd3ee279de Merge pull request #2448 from Narfinger/tests-fix2
adds names from the episodenumber tests to path tests
2020-02-27 02:05:16 +09:00
Mark Monteiro
d95ccbacac Use IsHostingContent instead of explicitly checking ContentRoot 2020-02-26 16:11:09 +01:00
Vasily
a9f3b5dacb Fix ordering of search results 2020-02-26 10:54:29 +03:00
sharkykh
6c6b5d7f28 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2020-02-25 18:29:17 -05:00
dkanada
974a04c129 update plugin classes for nightly builds 2020-02-26 01:58:39 +09:00
Mark Monteiro
192ec57b60 Remove log message executed before logger is initialized 2020-02-25 17:22:21 +01:00
Mark Monteiro
f3be93a4de Use the swagger API page as the default redirect path if not hosting the jellyfin-web content 2020-02-25 17:02:51 +01:00
Mark Monteiro
1b5999a1bc Open the Swagger API page on server start if not hosting the static web content 2020-02-25 17:01:57 +01:00
Mark Monteiro
26af5ea45a Do not set a static content root if the jellyfin-web directory does not exist or is empty 2020-02-25 16:51:36 +01:00
MOLOKAL
f11678ae4b Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2020-02-25 07:10:03 -05:00
Vasily
a075fefca9 Merge pull request #2160 from Artiume/master
Force Transcoding LiveTV
2020-02-25 14:40:06 +03:00
dkanada
4ae80a5d56 partially fix issue with music scans 2020-02-24 14:35:30 +09:00
Andreas Olsson
b40ac479a2 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: http://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2020-02-23 23:21:31 -05:00
R0flcopt3r
3e2f09ecf8 Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: http://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2020-02-23 23:21:31 -05:00
Daniel De Jesus
6b634026e6 Translated using Weblate (Spanish (Dominican Republic))
Translation: Jellyfin/Jellyfin
Translate-URL: http://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_DO/
2020-02-23 23:21:31 -05:00
Peter Maar
818695a01e Improve controls for deinterlace method; matches with jellyfin-web changes 2020-02-23 21:40:53 -05:00
artiume
697aee5b0c Merge pull request #21 from jellyfin/master
nightly
2020-02-23 10:57:52 -05:00
dkanada
940990708e remove unused assignment 2020-02-24 00:25:27 +09:00
dkanada
19a609a889 update musicbrainz options 2020-02-24 00:24:03 +09:00
dkanada
a34826008f update external ids 2020-02-24 00:22:23 +09:00
dkanada
0a55eb9106 Merge pull request #2444 from Narfinger/tests-fix
converted tests to inlinedata
2020-02-23 21:55:06 +09:00
dkanada
a3bb81553d Merge pull request #2176 from Bond-009/nullable2
Enable nullable reference types for Emby.Photos and Emby.Notifications
2020-02-23 21:52:46 +09:00
dkanada
de40f22a46 Merge pull request #2384 from Bond-009/warn16
Fix some warnings in Emby.Server.Implementations
2020-02-23 21:46:15 +09:00
Bond_009
a2f955e2eb Fix formatting 2020-02-23 12:22:48 +01: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
Narfinger
496bdc65f3 adds names from the episodenumber tests to path tests 2020-02-23 19:45:29 +09:00
Bond_009
6d6fa13550 Fix release build 2020-02-23 10:58:45 +01:00
Bond_009
a07ee65365 Minor improvements 2020-02-23 10:53:51 +01:00
Narfinger
fd5f0c54a6 fixes formatting and enabling another test 2020-02-23 18:50:33 +09:00
Narfinger
b306b8b881 add todos and fixes some todo tests 2020-02-23 18:46:10 +09:00
Narfinger
4dabc50f09 fixes last tests and cleanup 2020-02-23 18:31:23 +09:00
Narfinger
c2fe628c79 removed failing tests 2020-02-23 18:19:19 +09:00
dkanada
72c98e41ca Merge pull request #2442 from Bond-009/remux
Switch remux and direct stream
2020-02-23 16:23:12 +09:00
Narfinger
21f11c600a converted tests to inlinedata 2020-02-23 12:12:48 +09:00
dkanada
6e239c52c5 Merge pull request #2291 from Bond-009/sessionmanager
Fix warnings in SessionManager
2020-02-23 10:53:44 +09:00
dkanada
6715450598 Merge pull request #2427 from Bond-009/minor
Minor improvements
2020-02-23 10:48:47 +09:00
Bond_009
ffc9eb67f0 Switch remux and direct stream 2020-02-23 00:05:28 +01:00
Peter Maar
7716deddf0 Add encoding option bobandweave, change back the EncodingHelper logic 2020-02-22 17:01:56 -05:00
artiume
4becaf83dd Update MediaInfoService.cs 2020-02-22 10:03:17 -05:00
dkanada
65a9d618cc add config options for musicbrainz 2020-02-22 15:04:52 +09:00
Saksol
804ca0543b Translated using Weblate (Icelandic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/is/
2020-02-21 14:29:23 -05:00
R0flcopt3r
583f171f9e Added translation using Weblate (Norwegian Nynorsk) 2020-02-21 14:29:23 -05:00
dkanada
557b165f01 Merge pull request #2434 from Bond-009/photo
Fix photo serialization
2020-02-22 00:21:34 +09:00
dkanada
4355b453d4 Merge pull request #2429 from Bond-009/episode
Fix episode parsing
2020-02-22 00:17:37 +09:00
dkanada
61015c1d0f Merge pull request #2321 from Bond-009/images
Simplify image processing by removing image enhancers
2020-02-21 12:32:54 +09:00
artiume
eb67117b83 Merge pull request #20 from jellyfin/master
nightly
2020-02-20 19:44:58 -05:00
Bond-009
b02a3a29f5 Fix photo serialization 2020-02-20 15:30:04 +01:00
Daniel De Jesus
28cc210a5e Translated using Weblate (Spanish (Dominican Republic))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_DO/
2020-02-20 09:18:14 -05:00
SleepyJesse
d240321e87 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-02-20 09:18:14 -05:00
SleepyJesse
b2bf0f1796 Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2020-02-20 09:18:14 -05:00
SleepyJesse
107e43aaac Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-02-20 09:18:14 -05:00
Bond-009
7df6d4e7a0 Update EpisodeNumberTests.cs 2020-02-20 12:02:45 +01:00
Vasily
c73370ad92 Merge pull request #2421 from viaregio/master
#2407: Prefer episode and season numbers from the embedded MP4-metadata
2020-02-20 13:17:07 +03:00
Bond_009
adc9fc282c Minor improvements 2020-02-19 23:08:58 +01:00
Bond_009
dfd74adc15 Add test 2020-02-19 22:51:30 +01:00
Bond_009
620047ab9a Fix episode parsing 2020-02-19 22:35:40 +01:00
Bond-009
0f173e1778 Merge branch 'master' into sessionmanager 2020-02-19 21:07:09 +01:00
Bond_009
184ad29f3f Address comments 2020-02-19 21:04:28 +01:00
Ulrich Wagner
3bd7633cbf Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 19:47:03 +01:00
Ulrich Wagner
a9e744bea0 Curly braces on new lines 2020-02-19 19:41:10 +01:00
Ulrich Wagner
3d9dc59554 Omitting the parameter ExtraChapters 2020-02-19 19:03:42 +01:00
Ulrich Wagner
f4d0fa8dc8 Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 18:58:28 +01:00
Ulrich Wagner
d6971581d6 Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 17:46:50 +01:00
Ulrich Wagner
0f2ee2686d Constructor of the LibraryManager takes the mediaEncoder as parameter 2020-02-19 16:06:30 +01:00
Ulrich Wagner
b16ba7d985 Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 13:40:27 +01:00
Ulrich Wagner
7005326685 Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 13:40:06 +01:00
Ulrich Wagner
4d0ee3f6cc Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 13:39:51 +01:00
Ulrich Wagner
39b6d6586f Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-19 13:37:36 +01:00
artiume
8f5ffba29f Merge pull request #19 from Artiume/Artiume-livetv-1
Update MediaInfoService.cs
2020-02-19 06:26:06 -05:00
artiume
a4e0364139 Update MediaInfoService.cs 2020-02-19 06:15:55 -05:00
artiume
b375aeb56a fix indentation
it was tabs
2020-02-19 06:07:48 -05:00
artiume
967f8c6dcd Merge pull request #18 from jellyfin/master
nightly
2020-02-19 06:02:26 -05:00
Ulrich Wagner
5fed4d10ab Only reading the result of GetMediaInfo if it completed successfully 2020-02-19 08:39:01 +01:00
Ulrich Wagner
a62196afc7 Merge pull request #1 from jellyfin/master
Up-to-date
2020-02-19 08:09:37 +01:00
artiume
cef796a5ba Update Bug Report for System Details (#2422)
* Update bug_report.md

Increase priority for system details, constantly have to ask people for their deets. also increased details that should be asked.

* Update bug_report.md

* Update bug_report.md

* Update .github/ISSUE_TEMPLATE/bug_report.md

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/bug_report.md

Co-Authored-By: telans <telans@protonmail.com>

* Update bug_report.md

* Update bug_report.md

Co-authored-by: dkanada <dkanada@users.noreply.github.com>
Co-authored-by: telans <telans@protonmail.com>
2020-02-19 13:56:02 +09:00
Protik Das
a68d4396e5 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-02-18 21:46:15 -05:00
Christian Elbrianno
b672d105b6 Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-02-18 21:46:15 -05:00
Kaspar Laineste
e2a36a5b14 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-02-18 21:46:15 -05:00
Adam Bokor
6783878711 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-02-18 21:46:15 -05:00
Daniel De Jesus
b6ae5242c5 Added translation using Weblate (Spanish (Dominican Republic)) 2020-02-18 21:46:15 -05:00
Ulrich Wagner
d7f199bb1c #2407: Prefer MP4-Metadata for episodes 2020-02-17 14:57:07 +01:00
Bond-009
3bc0ce070d Merge pull request #2382 from dkanada/refactor
Refactor some API services
2020-02-17 10:41:19 +01:00
Protik Das
0387c73d64 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-02-16 03:16:09 -05:00
Pramit Biswas
ae049f7fc8 Translated using Weblate (Bengali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bn/
2020-02-16 03:16:08 -05:00
Pramit Biswas
6b4f1f3b5b Added translation using Weblate (Bengali) 2020-02-15 12:23:53 -05:00
Adam Bokor
0591d118f9 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2020-02-14 22:49:44 -05:00
Andrew Rabert
eff8d2466e Merge pull request #2405 from nvllsvm/fuckit
Fix arm32 built on amd64 host
2020-02-14 20:13:43 -05:00
Andrew Rabert
dcac99c1a4 Fix arm32 built on amd64 host
dotnet doesn't support building arm32 from QEMU (fuck knows why).
also change arm64 image for the sake of consistency
2020-02-13 20:03:40 -05:00
artiume
63f13df6fc Merge pull request #17 from jellyfin/master
10.5
2020-02-13 13:09:50 -05:00
dkanada
53db526667 merge branch master into refactor 2020-02-14 03:02:06 +09:00
dkanada
cf2626428c Merge pull request #2400 from Bond-009/baseurl
Another baseurl related fix
2020-02-14 01:16:52 +09:00
Bond-009
407ba755f1 Merge pull request #2258 from geilername/transcoding-throttling
Enable Throttling when transcoding without Hardware-Acceleration
2020-02-13 17:01:09 +01:00
dkanada
8ee917143f Merge pull request #2358 from Bond-009/tests
Enable TreatWarningsAsErrors and Nullable for test projects
2020-02-14 00:31:00 +09:00
artiume
40ad6f843f Merge pull request #16 from jellyfin/master
nightly
2020-02-13 05:53:23 -05:00
Bond_009
f5db4c8402 Another baseurl related fix
Baseurl always starts with a '/' (unless it's empty)
2020-02-12 20:57:34 +01:00
Bond-009
64800de29d Merge pull request #2394 from mark-monteiro/xml-documentation
Add Some XML Documentation
2020-02-12 20:43:51 +01:00
Mark Monteiro
8ffb073ccb Enable documentation warnings for fully documented files 2020-02-12 20:05:26 +01:00
Bond-009
a2490a7ae5 Merge branch 'master' into images 2020-02-12 17:41:46 +01:00
Mark Monteiro
33761c3658 Use "implement" instead of "apply" when referring to an interface 2020-02-12 14:08:06 +01:00
Vasily
e241f83ff1 Merge pull request #2398 from Artiume/patch-1
Update dockerfile to install git for new dependency
2020-02-12 14:24:19 +03:00
Vasily
a26c1ab17d Remove commented code 2020-02-12 14:19:11 +03:00
Anthony Lavado
42066ee326 Merge branch 'master' into transcoding-throttling 2020-02-12 02:01:56 -05:00
Anthony Lavado
684568e6d2 Merge pull request #2393 from DMouse10462/patch-1
Fix Fedora build
2020-02-12 01:56:12 -05:00
Johan
6813efd1a2 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-02-12 00:17:58 -05:00
j7johnny
a7c7d536a7 Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2020-02-12 00:17:58 -05:00
Anthony Lavado
00073c162a Merge pull request #2363 from dkanada/view
Add session view endpoint
2020-02-11 23:56:47 -05:00
dkanada
662e1164c9 Merge pull request #2326 from Bond-009/dlnawarnings
Improvements to dlna server
2020-02-12 02:23:52 +09:00
artiume
fd55164410 Merge pull request #15 from Artiume/Artiume-livetv
Fix MaxBitrate
2020-02-11 12:21:43 -05:00
artiume
b5342bb7d9 Fix MaxBitrate 2020-02-11 10:57:16 -05:00
artiume
8fb86cb5ff git to arm64 2020-02-11 10:30:30 -05:00
artiume
e47185160e Add git to arm 2020-02-11 10:30:15 -05:00
artiume
8acfc264fc Update dockerfile to install git for new dependency
https://github.com/jellyfin/jellyfin-web/pull/735

I had to install git to get it to build ✌️
2020-02-11 10:29:26 -05:00
Mark Monteiro
a381eb884c add-some-xml-documentation 2020-02-10 10:26:28 +01:00
David Mouse
422c440743 Fix Fedora build
Fedora builds were broken due to dotnet-sdk-3.1 and dotnet-runtime-3.1 not being available on the @dotnet-sig/dotnet repo as well as a lack of the git package (needed for yarn when installing jellyfin/jellyfin-noto per https://github.com/jellyfin/jellyfin-web/pull/735). Replaces the outdated repo with the official repo found in Microsoft's documentation.
2020-02-10 04:12:37 -05:00
Peter Maar
8531ed646d Temporary fix/change forcing yadif to "send_field" 2020-02-09 12:13:31 -05:00
artiume
4d324046ac Merge pull request #14 from jellyfin/master
nightly
2020-02-08 21:14:45 -05:00
Bond_009
867835a474 Fix build 2020-02-08 22:25:44 +01:00
Bond_009
f96bc23c4f Merge branch 'master' into nullable2 2020-02-08 21:49:28 +01:00
diegoalrey
77428d338d Translated using Weblate (Galician)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gl/
2020-02-08 10:17:50 -05:00
The Iiseppi
e7dcaa7d08 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-02-08 10:17:50 -05:00
dkanada
75d6545145 Merge pull request #2373 from Bond-009/warn14
Fix some warnings in MediaBrowser.Model
2020-02-07 23:45:21 +09:00
artiume
81396a11cb Update CONTRIBUTORS.md 2020-02-06 17:35:47 -05:00
artiume
ab59848d92 Merge pull request #13 from Artiume/Artiume-LiveTV
Update MediaInfoService.cs
2020-02-06 17:34:04 -05:00
artiume
a73ce1d781 Update MediaInfoService.cs 2020-02-06 17:21:10 -05:00
artiume
c3f749ec66 Update MediaBrowser.Model/Users/UserPolicy.cs
Co-Authored-By: Anthony Lavado <anthonylavado@me.com>
2020-02-06 14:02:46 -05:00
Bond_009
7060934792 Fix some warnings in Emby.Server.Implementations 2020-02-06 15:21:38 +01:00
Bond-009
cefac4f886 Update Emby.Server.Implementations/Session/SessionManager.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-02-06 13:16:22 +01:00
Bond-009
1ae9ed6e2a Merge pull request #2381 from sebPomme/fix_readme_link
Fix quick start guide url in readme
2020-02-06 13:16:06 +01:00
Bond-009
0a43814596 Merge branch 'master' into sessionmanager 2020-02-06 13:04:07 +01:00
Bond-009
3fe84c3213 Apply suggestions from code review
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-02-06 13:03:02 +01:00
Bond-009
22510909fb Update Jellyfin.Naming.Tests.csproj 2020-02-06 13:00:15 +01:00
dkanada
df739b5b2f Merge pull request #2325 from Bond-009/naming
Clean up Emby.Naming
2020-02-06 20:59:30 +09:00
Bond-009
d5fcca3d05 Merge branch 'master' into naming 2020-02-05 23:28:00 +01:00
dkanada
1cb51a8ac7 rename session folder 2020-02-06 00:47:50 +09:00
sebpomme
a954d5e953 Fix qui start guide url in README.md 2020-02-05 16:26:51 +01:00
dkanada
c2733ac0dc split api keys into their own service 2020-02-06 00:26:21 +09:00
dkanada
e8984ed3a9 Merge pull request #2379 from joshuaboniface/nodejs-deb
Use NodeJS 10.X for NPM builds
2020-02-05 14:06:51 +09:00
ariqfadlan
ebd0771dca Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2020-02-04 23:17:44 -05:00
Joshua M. Boniface
e3c64b9fee Use NodeJS 10.X for NPM builds 2020-02-04 22:07:01 -05:00
dkanada
9af149b02d Merge pull request #2374 from Bond-009/warn15
Fix some warnings in MediaBrowser.Controller
2020-02-05 01:23:04 +09:00
Bond-009
91707f13a8 Add endpoints back 2020-02-04 12:29:14 +01:00
Bond-009
6a6472bb8a Update MediaBrowser.Controller/Entities/PersonInfo.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-02-04 12:28:16 +01:00
Bond-009
ba1ffbabd3 Merge branch 'master' into nullable2 2020-02-04 12:21:42 +01:00
Bond-009
c9e11c95ee Apply suggestions from code review
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-02-04 12:05:14 +01:00
artiume
3b6a4c3a33 Merge pull request #11 from jellyfin/master
nightly
2020-02-04 06:02:38 -05:00
Bond_009
32dcd372f4 Fix some warnings in MediaBrowser.Controller 2020-02-04 02:10:44 +01:00
Bond_009
f47ad85011 Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
Noitty
176e850973 Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2020-02-03 16:17:42 -05:00
dkanada
f93edb7ade add code suggestions 2020-02-04 01:29:18 +09:00
Claus Vium
241e351a61 Merge branch 'master' into dlnawarnings 2020-02-03 13:51:34 +01:00
dkanada
b7a9900556 Merge pull request #2357 from Bond-009/warn13
Fix warnings
2020-02-03 17:15:03 +09:00
dkanada
fe325a6e73 Merge pull request #2359 from Bond-009/username
Allow changing capitalization of usernames
2020-02-03 17:14:50 +09:00
dkanada
ba724f158c Merge pull request #2367 from Artiume/patch-4
fix SSL issue in arm and arm64
2020-02-03 15:59:18 +09:00
dkanada
c1ecd886d9 Merge pull request #2368 from nyanmisaka/master
Fix framerate info not showing when mediasource is in H264 format.
2020-02-03 15:58:26 +09:00
Nyanmisaka
c149fcb3ee Update MediaBrowser.Controller/MediaEncoding/JobLogger.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-03 00:02:24 +08:00
Nyanmisaka
2c3b1bb8cb Update JobLogger.cs 2020-02-02 16:46:56 +08:00
Nyanmisaka
7472ae5ca9 fix fps info issue when the video is h264.
Fixed an issue that when the media source is in H264 format and the frame rate info is not displayed due to missing space characters in ffmpeg log.
2020-02-02 16:27:02 +08:00
Nyanmisaka
8eced835c0 Update JobLogger.cs 2020-02-02 15:58:29 +08:00
artiume
4302f16925 Update Dockerfile.arm64 2020-02-01 14:50:45 -05:00
artiume
78bb45e8fa fix SSL issue in arm and arm64
verified arm build on raspbian
2020-02-01 14:46:11 -05:00
Andrew Rabert
021427d881 Merge pull request #2365 from mcarlton00/docker-ssl-fix
Add root certificates to docker image
2020-02-01 12:26:49 -05:00
Matt
994481213f Add root certificates to docker image 2020-02-01 11:02:44 -05:00
dkanada
1bc8ca2542 add session view endpoint 2020-02-02 00:16:11 +09:00
dkanada
26dd67a441 change authentication flow 2020-02-02 00:09:18 +09:00
dkanada
6341d986a9 fix a few warnings 2020-02-02 00:07:46 +09:00
Bond-009
87c5047b13 Merge pull request #2362 from dkanada/tasks
Improve scan progress and fix a few bugs
2020-02-01 15:37:16 +01:00
dkanada
692a9bfdd0 update some comments
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-01 23:36:40 +09:00
dkanada
7df6f8d54e update error message
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-01 23:14:27 +09:00
dkanada
afe9ed977b improve scan progress and fix a few bugs 2020-02-01 22:44:27 +09:00
dkanada
ab2349ff3c update task names and descriptions 2020-02-01 22:27:25 +09:00
Bond-009
70bc03c795 Apply suggestions from code review
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-02-01 12:54:48 +01:00
Bond_009
acc1846e3e Allow changing capitalization of usernames 2020-01-31 22:56:24 +01:00
Bond_009
71abf1d3ce Enable TreatWarningsAsErrors and Nullable for test projects 2020-01-31 22:46:10 +01:00
Bond_009
87d2479b78 Fix warnings 2020-01-31 22:26:53 +01:00
dkanada
cd13f718fb Merge pull request #2247 from Bond-009/stringhelper
Remove StringHelper functions
2020-02-01 03:29:16 +09:00
Bond-009
6cd9c84ddf Update MediaBrowser.Model/Extensions/StringHelper.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-31 18:10:15 +01:00
dkanada
b3811a9498 Merge pull request #2349 from Bond-009/deps
Update deps
2020-01-31 11:22:30 +09:00
WNotCoder
a3615dec69 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-01-30 13:17:32 -05:00
Bond-009
d69870680b Close xmlwriter first 2020-01-29 17:30:27 +01:00
artiume
d4470b5709 Merge pull request #9 from jellyfin/master
nightly
2020-01-28 21:41:52 -05:00
artiume
a012a4574f remove test patch 2020-01-28 21:36:51 -05:00
Bond_009
2186df8ac4 Update deps 2020-01-28 22:42:07 +01:00
mtanECECS
81fae5932b Translated using Weblate (Filipino)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fil/
2020-01-28 16:09:23 -05:00
Pooka Mustard
1ff74dd8f0 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-01-28 16:09:23 -05:00
diegoalrey
f7b4dfc1cb Added translation using Weblate (Galician) 2020-01-28 16:09:23 -05:00
Bond_009
6ee04855cd Style 2020-01-28 21:54:51 +01:00
Bond-009
ae9c1e29e7 My bad 2020-01-28 17:50:25 +01:00
Bond-009
acfacabf0c Merge pull request #2347 from Matt07211/fix-2255
Fix broken webserver caused by dotnet publish. Temp Fix for #2255
2020-01-28 15:01:29 +01:00
Bond-009
36d62c3093 Fix? 2020-01-28 13:19:25 +01:00
Matt07211
84fbf64867 Fix broken webserver caused by dotnet publish.
This should be considered a temp fix, as it fixes the symptom and not
the actual root cause of the issue. Why this works? I *feel like* this is
a dependency issue and this change forces it to evalute dependencys in a
different order, avoiding the bug.
2020-01-28 19:37:13 +11:00
Bond_009
6b68521bae Try again 2020-01-27 23:34:40 +01:00
Bond_009
fc578de3b3 Try possible solutions 2020-01-27 22:43:58 +01:00
Vasily
0a95c3a1c2 Merge pull request #2343 from Bond-009/spacing
Fix spacing logs
2020-01-27 19:31:42 +03:00
Bond-009
71bdcd7307 Fix spacing logs 2020-01-27 17:24:29 +01:00
Bond-009
04b9e94c7c Merge pull request #2338 from ferferga/master
Removed old 'automatic restart after update' features
2020-01-27 17:02:30 +01:00
dkanada
1ed92b05fb Merge pull request #2332 from pR0Ps/bugfix/dlna
Fix another issue with DLNA responses not properly paginating
2020-01-27 23:18:33 +09:00
Vasily
8c520160cc Merge pull request #2331 from nyanmisaka/master
fix an issue that could not correctly determine 'IsSecondaryAudio' in some cases.
2020-01-27 15:51:50 +03:00
mtanECECS
b5be0c567f Added translation using Weblate (Filipino) 2020-01-26 22:25:14 -05:00
Bond-009
bade35958a Fix 2020-01-26 17:41:34 +01:00
Bond-009
3a338c1899 Address comments 2020-01-26 17:37:47 +01:00
artiume
918df5e352 Merge remote-tracking branch 'jellyfin/master' 2020-01-26 09:33:31 -05:00
ferferga
d6786c7304 Removed old 'automatic restart after update' features' 2020-01-25 23:01:48 +01:00
dkanada
e58aa57ed7 Merge pull request #2337 from ThreeFive-O/AddTranscodingFramerate
Add transcoding framerate info
2020-01-26 01:06:28 +09:00
SaddFox
ad5081f276 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2020-01-25 10:17:25 -05:00
a-alshabib
eb04126473 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2020-01-25 10:17:25 -05:00
ThreeFive-O
4f3bfd9146 Add Transcoding framerate info 2020-01-24 23:33:32 +01:00
Carey Metcalfe
d3de91dab6 Fix another issue with DLNA responses not properly paginating
The `UserRootFolder.GetItemsInternal` method now applies any sorting and
pagination requested by the `InternalItemsQuery` that was passed to it.

Previous pagination fix: #2304
Original issue #2303
2020-01-24 00:43:28 -05:00
Nyanmisaka
48e9c004b4 fix an issue about determining 'IsSecondaryAudio'
fix an issue that could not correctly determine 'IsSecondaryAudio' in some cases.
2020-01-24 00:55:14 +08:00
Vasily
8ff07e17e6 Merge pull request #2242 from Bond-009/getstream
Remove FileSystem.GetStream
2020-01-23 19:33:40 +03:00
Bond_009
c751ba9f70 Fix build 2020-01-22 22:27:03 +01:00
Bond-009
c8409d2ea1 Remove FileSystem.GetStream 2020-01-22 22:20:35 +01:00
Bond_009
dc62e436c4 Clean up Emby.Naming 2020-01-22 22:18:56 +01:00
Bond_009
82112b6788 Improvements to dlna server
* Improve response writer
* Add analyzers
* Error on warnings in release mode
* Disable doc warnings
2020-01-22 21:00:07 +01:00
Marco
6eac7f0fa7 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2020-01-22 12:17:19 -05:00
dkanada
1dd4abebbd Merge pull request #2297 from Bond-009/asyncio
Kestrel doesn't like sync IO operations
2020-01-23 01:59:52 +09:00
Bond-009
5340eb9363 Update Emby.Dlna/Service/BaseControlHandler.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-22 17:46:26 +01:00
Bond_009
ddf9b38799 Simplify image processing by removing image enhancers 2020-01-21 20:26:30 +01:00
Bond-009
ac3b958c67 Use async methods 2020-01-21 17:59:41 +01:00
dkanada
d4de78693f Merge pull request #2184 from WiiPlayer2/bug/global-header-flag-support
Add check if output container supports "global_header" flag
2020-01-21 19:24:35 +09:00
Vasily
f23434f4f7 Merge pull request #2299 from dkanada/testing
Fix a few more tests for music and episodes
2020-01-21 13:21:24 +03:00
dkanada
4abcbc66be Merge pull request #2295 from shemanaev/patch-1
Enable path mapping in `PlaybackInfo` endpoint
2020-01-21 19:20:14 +09:00
Waldemar Tomme
ef487441d1 Remove configuration of global_header flag 2020-01-21 06:48:25 +01:00
dkanada
11c758b6be remove unsupported test cases 2020-01-21 00:20:24 +09:00
Vasily
2f8f064a23 Merge pull request #2304 from pR0Ps/master
Fix pagination for DLNA root folder list
2020-01-20 16:07:51 +03:00
Andrew Rabert
da2c998e28 Update ARM images to debian buster (#2313)
Also has the effect of updating ffmpeg to 4.1
2020-01-19 12:34:33 -05:00
Andrew Rabert
075dad8720 Fix ARM images (#2302)
Allow for native building of Docker images. Use buildx if
cross-compilation is needed.
2020-01-19 07:51:38 -05:00
Carey Metcalfe
f2eea89ff0 Fix pagination for DLNA root folder list
Previously, when responding to a DLNA "Browse" request, the
`StartingIndex` was not respected and all of the root items were
returned each time. This caused infinite loops with in DLNA clients that
ignored the `TotalMatches` data in the response and just continued
asking for the next page until they got an empty response.

This fix makes the root folder list respect the `StartingIndex` and
`RequestedCount` parameters like all other responses.

Fixes issue #2303
2020-01-19 01:37:52 -05:00
dkanada
a562a4d505 minor linting for ci files 2020-01-19 00:19:19 +09:00
dkanada
e700fc8a07 fix and remove a few more tests 2020-01-19 00:18:55 +09:00
dkanada
c618f3f8eb Merge pull request #2257 from Bond-009/cleantests
Fix a couple of tests
2020-01-19 00:08:37 +09:00
dkanada
1e65cc4695 Merge pull request #2269 from EraYaN/azp-coverlet-reports
Split CI YAML files and update code coverage collection
2020-01-18 23:53:55 +09:00
Bond_009
2610f377c0 Kestrel doesn't like sync IO operations 2020-01-18 00:09:25 +01:00
Denis
549a2d8b6d Enable path mapping in PlaybackInfo endpoint 2020-01-17 22:48:28 +03:00
4d1m
8e71046a3c Translated using Weblate (Romanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ro/
2020-01-17 04:17:10 -05:00
artiume
73a47e934d Fix Docker Arm Nightly (#2286)
* Fix Docker Arm Nightly

Updated image base.

There was an error for libssl missing. I attempted to add libssl1.0.0 but it wasn't found so I fell back to libssl-dev.

Much more work needs to be done. ffmpeg is still debian based. I attempted to add jellyfin-ffmpeg but I was having too many issues so I'm saving it for another day, but it at least builds out successfully.

* Fix docker arm64 nightly
2020-01-17 00:35:41 -05:00
Bond_009
c601def484 Fix warnings in SessionManager 2020-01-17 00:19:58 +01:00
Bond-009
686d1ff9fb Update StringHelper.cs 2020-01-16 23:23:06 +01:00
Bond-009
47d3337124 Update StringHelper.cs 2020-01-16 23:22:42 +01:00
artiume
0cbae4a06d Tcoding
https://github.com/jellyfin/jellyfin/pull/2184
2020-01-16 12:51:34 -05:00
Vasily
bdbf7a69f6 Merge pull request #2289 from Bond-009/dvd
Add back support for DVDs copied as folders
2020-01-16 19:43:36 +03:00
Vasily
1cb142fbab Merge pull request #2290 from anthonylavado/master
Update SQLitePCL to new version
2020-01-16 18:26:44 +03:00
Anthony Lavado
dcd6ceb9a2 Update SQLitePCL to new version 2020-01-16 09:31:20 -05:00
Bond-009
f3a1729964 Address comments 2020-01-16 15:02:50 +01:00
Vasily
ad481322f6 Merge pull request #2288 from Bond-009/logging
Add brackets around thread id
2020-01-16 16:45:46 +03:00
Vasily
88d66d5f5c Merge pull request #2249 from Narfinger/docker-fix
fixes dockerfile building on recent linux installations
2020-01-16 16:40:12 +03:00
Bond-009
e882b03e81 Add back support for DVDs copied as folders 2020-01-16 13:30:38 +01:00
Bond-009
96c9af5904 Add brackets around thread id 2020-01-16 13:20:01 +01:00
dkanada
bc4c67e6fa Merge pull request #2287 from nyanmisaka/master
New upstream ffmpeg version 4.2.1 for windows nightly channel
2020-01-16 20:54:59 +09:00
Nyanmisaka
2ce16d4bb5 fix indentation 2020-01-16 18:47:54 +08:00
Nyanmisaka
0a7ea36c68 Update build-jellyfin.ps1 2020-01-16 18:10:14 +08:00
Nyanmisaka
e92e105c42 New upstream ffmpeg version 4.2.1 on windows 2020-01-16 17:57:19 +08:00
Nyanmisaka
ac0b30285e New upstream ffmpeg version 4.2.1 on windows 2020-01-16 16:32:07 +08:00
Nyanmisaka
15c52867ea New upstream ffmpeg version 4.2.1 on windows 2020-01-16 16:32:04 +08:00
4d1m
42213d94e5 Translated using Weblate (Romanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ro/
2020-01-16 02:17:12 -05:00
nextlooper42
d4745957b3 Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2020-01-16 02:17:12 -05:00
dkanada
4aa0b940e3 Merge pull request #2251 from nyanmisaka/master
add support for AMD AMF hardware encoding on Windows & Linux
2020-01-16 15:26:46 +09:00
dkanada
884c3e5614 Merge pull request #2283 from EraYaN/nsis-create-speedup
Change NSIS log verbosity and use lesser but faster compression.
2020-01-16 15:04:16 +09:00
Joshua M. Boniface
3b3718e437 Merge pull request #2275 from Artiume/patch-1
Explicitly ask for ffmpeg logs
2020-01-15 10:05:35 -05:00
artiume
2cad58e5cd Update .github/ISSUE_TEMPLATE/media_playback.md
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-15 10:02:01 -05:00
Erwin de Haan
ec8baaf48d Switch around SetCompressor arguments. Hide progress bars for powershell. 2020-01-15 12:17:42 +01:00
Nyanmisaka
2c10891b66 turn on indentation. 2020-01-15 18:45:28 +08:00
Nyanmisaka
8868ff2ffa remove useless comment 2020-01-15 18:40:58 +08:00
Erwin de Haan
67cae37308 Formatting and comment removal. 2020-01-15 11:39:47 +01:00
Erwin de Haan
1ad6f01617 Switch to slightly more verbose logging. 2020-01-15 11:37:37 +01:00
Erwin de Haan
9aa870cf24 Enable /SOLID switch for compression 2020-01-15 11:36:54 +01:00
Erwin de Haan
d3bd22d7a2 Enable Unicode
ANSI targets are deprecated
2020-01-15 11:36:22 +01:00
Vasily
3ab979c6ba Merge pull request #2264 from Bond-009/discovery
Clean up server discovery code
2020-01-15 13:34:29 +03:00
Erwin de Haan
22f408201a Less output and lesser compression. 2020-01-15 11:20:01 +01:00
Erwin de Haan
da91b4fa4c Split CI testing files
Switch to cobertura for code coverage
Switch to dotnet test for tests
Add matrix run for different platforms
Add extra variables for easier maintenance
2020-01-15 11:05:57 +01:00
Vasily
c6484c0220 Merge pull request #2181 from BnMcG/2179-authentication-tests
Test Jellyfin.Api authentication handling
2020-01-14 18:03:25 +03:00
dkanada
b1e76db21e Merge pull request #2266 from Bond-009/nullref2
Try to fix nullreff
2020-01-14 18:46:09 +09:00
dkanada
d43d39f9b8 Merge pull request #2272 from Bond-009/logging
Add thread ID and source to logging
2020-01-14 18:03:26 +09:00
Artiume
c1350f30d2 Update .github/ISSUE_TEMPLATE/media_playback.md
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-13 21:25:41 -05:00
Artiume
cd5e5cda61 Update .github/ISSUE_TEMPLATE/media_playback.md
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-13 21:25:21 -05:00
Artiume
402691b5e1 Explicitly ask for ffmpeg logs
gimme yo ffmpeg logs, yo
2020-01-13 17:16:43 -05:00
Bond_009
407f54e776 Style fixes 2020-01-13 20:06:08 +01:00
Bond-009
ee964f8a58 Don't log message info 2020-01-13 20:06:08 +01:00
Bond-009
d01ba49be3 Fix space 2020-01-13 20:06:08 +01:00
Bond-009
f89e18ea26 Improve error handling 2020-01-13 20:06:08 +01:00
Bond-009
bdd823d22f Handle unexpected disconnect 2020-01-13 20:06:08 +01:00
Bond-009
8865b3ea3d Remove dead code and improve logging 2020-01-13 20:06:08 +01:00
Bond-009
4d311870d2 Fix websocket handling 2020-01-13 20:06:08 +01:00
Bond_009
5ca68f9623 Fix nullref exception and added logging 2020-01-13 20:06:08 +01:00
Bond_009
976459d3e8 Rewrite WebSocket handling code 2020-01-13 20:06:08 +01:00
Bond-009
facbd87cfc Merge pull request #2268 from dkanada/absolute-path-fix
Fix tests for absolute paths
2020-01-13 19:58:45 +01:00
Bond-009
65fe243afb Add thread ID and source to logging 2020-01-13 19:44:17 +01:00
Slobodan Simić
138bff4327 Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sr/
2020-01-13 06:17:07 -05:00
Z Yang
ab0130e9e2 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2020-01-13 06:17:07 -05:00
Alexander Brissman
7b91df1994 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-01-13 06:17:07 -05:00
hbo
faf898ea0d Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-01-13 06:17:07 -05:00
Philmo67
31347de792 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-01-13 06:17:07 -05:00
punkch
9c2c31b0c6 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2020-01-13 06:17:07 -05:00
dkanada
536237c35d move the split usage to the proper location 2020-01-13 17:37:07 +09:00
dkanada
d461f46bef ignore drive name in windows environments 2020-01-13 17:31:14 +09:00
dkanada
9eac19c75a change invariant culture to ordinal 2020-01-13 17:09:22 +09:00
Bond-009
cf13e89ad6 Update MediaBrowser.Api/Playback/MediaInfoService.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-13 09:01:14 +01:00
Bond-009
665ca5cf1f Update UdpServer.cs 2020-01-13 09:00:30 +01:00
dkanada
d00fd7ca82 switch two incorrectly used variables 2020-01-13 15:43:06 +09:00
dkanada
65e9a705d3 check operating system for absolute path test 2020-01-13 15:34:50 +09:00
dkanada
a8cd963d46 fix tests for absolute paths 2020-01-13 15:25:54 +09:00
dkanada
c3efcbf77e Merge pull request #2245 from BnMcG/1874-regression-test
Add a test to prevent a regression of absolute path generation behaviour
2020-01-13 14:18:11 +09:00
Bond_009
56f580cdf6 Add test to prevent regressions 2020-01-12 23:57:13 +01:00
Bond_009
93ab829df5 Attempt #3 2020-01-12 23:25:57 +01:00
Bond_009
84d1b12530 Attempt #2 2020-01-12 21:55:04 +01:00
Bond_009
da5893b0f1 Try to fix nullreff 2020-01-12 21:21:20 +01:00
dkanada
ce7744806c Merge pull request #2216 from gnattu/master
Let HLS fallback to mpegts in case device reports unsupported container
2020-01-13 03:43:59 +09:00
gnattu
ea075c1b48 Add reminder to remove the workaround
This will be no longer needed when ffmpeg is ready

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-12 13:22:20 -05:00
Bond-009
ded9857f45 Clean up server discovery code 2020-01-12 18:59:10 +01:00
dkanada
d217f1614e Merge pull request #2096 from Bond-009/embytv
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
2020-01-13 00:41:52 +09:00
Bond-009
2a09f05ff3 Fix build 2020-01-12 16:30:31 +01:00
Nyanmisaka
08c4d3797f add support for AMF hardware encoding on Linux.
1) h264_amf is now supported on linux with 'amdgpu-pro' installed and '--enable-amf' when compiling ffmpeg.
2) Using vaapi decode and h264_amf encode on linux platform can avoid some weird transcoding errors in h264_vaapi with amd gpu.
2020-01-12 21:38:28 +08:00
Maximilian Marschall
081d942d03 Enable Throttling when transcoding without Hardware-Acceleration 2020-01-12 00:33:57 +01:00
Bond_009
9f5bbb126e Fix tests 2020-01-11 22:29:46 +01:00
Bond_009
abf03f7d3a Clean up some more 2020-01-11 22:17:05 +01:00
Bond_009
ec0ef2a2c5 Remove useless statement 2020-01-11 22:17:05 +01:00
Bond_009
cd0592ea8f Improve parsers 2020-01-11 22:17:05 +01:00
Bond_009
dd254eddac Simplify CleanDateTimeParser 2020-01-11 22:17:05 +01:00
Bond_009
b1dc595be1 Fix a couple of tests 2020-01-11 22:17:05 +01:00
Bond_009
a647dc5705 Cleanup tests 2020-01-11 22:17:05 +01:00
dkanada
a272638a84 Merge pull request #2170 from Bond-009/mediainfoservice
Minor changes to MediaInfoService
2020-01-11 16:54:23 +09:00
dkanada
bca48b5d5c Merge pull request #2248 from jellyfin/azp-vstest-fix
Fix the VSTest runner
2020-01-11 15:34:22 +09:00
dkanada
d63debd008 Merge pull request #2254 from Bond-009/regex
Fix regex for movies released after 2019
2020-01-11 15:12:39 +09:00
Bond_009
801c356d66 Fix regex for movies released after 2019 2020-01-11 00:23:14 +01:00
Vasily
dd7feacd34 Merge pull request #2105 from Bond-009/namingtests
Add back all old emby tests
2020-01-11 02:11:13 +03:00
Bond_009
0d6a4c2909 Fix build 2020-01-11 00:08:47 +01:00
Vasily
aca4d678a2 Merge pull request #2136 from Bond-009/warn12
More warnings (removed)
2020-01-11 02:02:48 +03:00
Slobodan Simić
fa1aeeb18a Added translation using Weblate (Serbian) 2020-01-10 15:27:17 -05:00
Bond_009
d9ec502ff9 Address comments 2020-01-10 21:25:45 +01:00
Bond_009
bb236b9591 Merge branch 'master' into warn12 2020-01-10 21:18:16 +01:00
Bond_009
e714b9930e Merge branch 'master' into embytv 2020-01-10 21:16:46 +01:00
Nyanmisaka
e95239e281 add support for AMD h264_amf & hevc_amf 2020-01-11 01:36:25 +08:00
archon eleven
0a39e54984 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2020-01-10 10:17:05 -05:00
Philmo67
81ae6d8afd Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-01-10 10:17:05 -05:00
keitaro62
0a92200c6f Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-01-10 10:17:05 -05:00
Narfinger
c3ff4e0b9f fixes dockerfile building on recent linux installations 2020-01-10 19:42:07 +09:00
Ben Magee
64baca9fac Renamed project and namespace 2020-01-09 22:03:57 +00:00
Bond_009
b50c4938e1 Merge branch 'master' into namingtests 2020-01-09 18:26:22 +01:00
Artiume
a40cb7bbd8 Merge pull request #7 from jellyfin/master
nightly
2020-01-09 12:14:54 -05:00
Erwin de Haan
312987aea5 Build all test projects using a wildcard 2020-01-09 17:39:17 +01:00
Erwin de Haan
654336990f Added plural glob for test assemblies 2020-01-09 17:31:44 +01:00
Erwin de Haan
d328fc51cf Apply suggestions from code review
Co-Authored-By: Bond-009 <bond.009@outlook.com>
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-09 17:28:20 +01:00
Erwin de Haan
6792fa111e Fix the test selection glob. 2020-01-09 17:27:48 +01:00
Erwin de Haan
1ea613a9bd Update Jellyfin.Api.Test to 3.1 2020-01-09 17:26:42 +01:00
Erwin de Haan
1fecb9efb2 Fix the VSTest runner 2020-01-09 17:17:52 +01:00
Bond-009
fdbb329118 Remove StringHelper functions 2020-01-09 17:07:13 +01:00
gnattu
d5204f572a Fix typo and plural 2020-01-09 02:25:05 -05:00
dkanada
162c1ac7b7 Merge pull request #2185 from Bond-009/scanerrors
Fix exceptions while scanning
2020-01-09 15:10:29 +09:00
Ben Magee
140673fcf6 Add a test case which doesn't specify the parent directory. 2020-01-08 23:03:17 +00:00
Ben Magee
43c76b48c9 Added a test to prevent a regression of the issue seen in #1874. This issue was fixed in PR#2240 2020-01-08 22:52:33 +00:00
Bond-009
b1af8a4178 Rename function 2020-01-08 18:14:01 +01:00
Bond-009
277e9d2b0b fix build 2020-01-08 18:13:11 +01:00
Bond-009
c3752b1a30 Merge branch 'master' into scanerrors 2020-01-08 18:10:17 +01:00
Andrew Rabert
124a852787 Merge pull request #2240 from anthonylavado/fix-pathfinding
Re-order the path statement to avoid file issues
2020-01-08 08:29:03 -05:00
Anthony Lavado
75f19a762c Re-order the path statement to avoid file issues
Fixes #31874.
2020-01-08 04:05:07 -05:00
dkanada
423d50e978 Merge pull request #1838 from Unhelpful/media-attachments
Add support for embedded attachments in media files
2020-01-08 11:04:21 +09:00
dkanada
73fac50e57 rename two properties based on code suggestions 2020-01-08 10:52:48 +09:00
Bond_009
8a0ef41036 Minor improvements 2020-01-08 01:24:12 +09:00
Bond_009
a253fa616d Fix build and address comments 2020-01-08 01:23:57 +09:00
dkanada
aca31457c0 merge branch master into media-attachments 2020-01-08 01:21:09 +09:00
Bond-009
9dfafb9e9f Update MediaBrowser.MediaEncoding/Probing/MediaFormatInfo.cs
Co-Authored-By: Erwin de Haan <EraYaN@users.noreply.github.com>
2020-01-07 11:13:47 +01:00
Bond-009
49fef5f09c Update MediaBrowser.MediaEncoding/Probing/MediaChapter.cs
Co-Authored-By: Erwin de Haan <EraYaN@users.noreply.github.com>
2020-01-07 11:13:11 +01:00
dkanada
534716d9c9 Merge pull request #2220 from Bond-009/unicode
Replace unicode char with its integer value
2020-01-06 21:16:22 +09:00
Bond-009
70210b47a4 Update MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-06 10:39:01 +01:00
dkanada
e5c68834a3 Merge pull request #2221 from Bond-009/baseurlfix
Fix baseurl (again)
2020-01-06 15:05:11 +09:00
dkanada
f48269a319 Merge pull request #2219 from Bond-009/subtitle
Fix JSON subtitle writer
2020-01-06 14:43:07 +09:00
samucamg
80dfc78ba5 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-01-05 16:47:41 -05:00
Thoscellen
a4d0e4b38e Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2020-01-05 16:47:41 -05:00
Cota Fainado
0a483c83f9 Translated using Weblate (Portuguese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2020-01-05 16:47:41 -05:00
Bond-009
a21645d6be Merge pull request #2230 from dkanada/update-ci
Fix dependency issue for CI
2020-01-05 21:05:29 +01:00
Erwin de Haan
21b78f44c8 Add new dotnet version to compat stage as well. 2020-01-05 19:30:32 +01:00
Erwin de Haan
65f65db8b9 Re-enable compat checks. 2020-01-05 19:25:33 +01:00
Erwin de Haan
2ca7200a05 Updated for v0.0.5 of the compat checker. 2020-01-05 19:24:24 +01:00
Artiume
5b55997984 Merge pull request #6 from jellyfin/master
nightly
2020-01-05 11:49:45 -05:00
dkanada
d599124508 manually disable compatibility check 2020-01-05 16:39:48 +09:00
dkanada
c7d5f35eb7 update display names for some ci steps 2020-01-05 16:32:24 +09:00
dkanada
303385dfa2 remove unused parameters 2020-01-05 16:08:19 +09:00
dkanada
f1008ab58d update job names 2020-01-05 16:01:42 +09:00
dkanada
e5e0166951 update dotnet version for ci 2020-01-05 15:59:31 +09:00
Constantin Matel
0b592376d5 Translated using Weblate (Romanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ro/
2020-01-04 18:01:30 -05:00
Cota Fainado
aa7aadb2b2 Added translation using Weblate (Portuguese) 2020-01-04 18:01:30 -05:00
dkanada
aac0a1ed26 Merge pull request #2206 from Bond-009/userconfig
Delete user config dir on user deletion
2020-01-04 22:55:42 +09:00
Bond-009
77a9ebf13f Merge pull request #2222 from sachk/master
Update the build script to use .NET core SDK 3.1
2020-01-04 11:30:38 +01:00
Sacha Korban
2497573b7f Update the build script to use .NET core SDK 3.1 2020-01-04 15:02:38 +11:00
shoeflydbm
5cd8338e73 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2020-01-03 10:37:00 -05:00
Constantin Matel
295eaa2ccb Added translation using Weblate (Romanian) 2020-01-03 10:37:00 -05:00
Bond_009
5994328903 Fix baseurl (again) 2020-01-02 21:22:10 +01:00
Bond_009
09d1f976d9 Replace unicode char with its integer value 2020-01-02 20:19:01 +01:00
Bond-009
59cdfdc2d9 Fix JSON subtitle writer 2020-01-02 14:38:13 +01:00
dkanada
d756233f62 Merge pull request #2144 from neilsb/feature/Add-Excluded-Tags-to-SQLite-query-using-parameters
Add Excluded Tags to SQLite query using parameters
2020-01-02 15:32:25 +09:00
dkanada
653610d578 Merge pull request #2165 from Ullmie02/master
Add Tmdb as a Provider for Season Images
2020-01-02 11:27:34 +09:00
dkanada
fb61a1f882 Merge pull request #2150 from Bond-009/releaseerror
Enable TreatWarningsAsErrors for some projects
2020-01-02 10:13:57 +09:00
Joshua M. Boniface
d3bce6e380 Merge pull request #2107 from Bond-009/dotnet3.1
Move to .Net Core 3.1
2020-01-01 13:30:20 -05:00
erikasne6152
72d2b5910a Translated using Weblate (Lithuanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2020-01-01 04:16:39 -05:00
marty
c62599f873 Translated using Weblate (Lithuanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2020-01-01 04:16:39 -05:00
dkanada
529cff3920 Merge pull request #2153 from dkanada/fix-playlist
Fix playlist deletion and a few warning fixes
2020-01-01 15:00:57 +09:00
dkanada
c10cb66169 remove directory check 2020-01-01 14:45:09 +09:00
gnattu
167549f5f1 Let HLS fallback to mpegts in case device reported unsupported container 2019-12-31 22:33:14 -05:00
dkanada
e476125cf8 Merge pull request #2208 from Bond-009/todo
Fix a couple of TODOs
2019-12-31 03:03:42 -08:00
marty
f672ecbac5 Translated using Weblate (Lithuanian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2019-12-30 11:16:34 -05:00
Bond-009
49330e3082 Fix a couple of TODOs 2019-12-30 16:03:20 +01:00
Bond_009
ab57b504fe Delete user config dir on user deletion 2019-12-29 19:32:12 +01:00
Z Yang
49ce876c2c Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-12-28 17:16:32 -05:00
Allan
d7164d2eb7 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-12-28 17:16:32 -05:00
dkanada
b3963058db Merge pull request #1891 from stanionascu/bdinfo-uhd
Upgrade BDInfo plugin to UHD/Atmos/DTS:X support
2019-12-28 04:16:45 +09:00
Odd Stråbø
5bf0eb2b0e Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2019-12-25 19:16:26 -05:00
arg2009
ef62df69df Translated using Weblate (Indonesian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/id/
2019-12-24 05:16:25 -05:00
Bond_009
a41ec5c9d4 Fix typo 2019-12-23 15:29:30 +01:00
arg2009
a22f1dabb4 Added translation using Weblate (Indonesian) 2019-12-23 04:13:48 -05:00
Ben Magee
d1461b4238 Changed cast style as suggested, improved some member names to make them less ambiguous 2019-12-22 23:21:20 +00:00
Ben Magee
00c6d392a1 Added tests for FirstTimeSetupOrElevatedHandler 2019-12-22 23:18:42 +00:00
Ben Magee
ef75455178 Test RequiresElevationHandler for all roles 2019-12-22 22:54:46 +00:00
Ben Magee
8d06d0dbdf Removed unneeded dependency 2019-12-22 22:39:29 +00:00
Ben Magee
8c4e679ff4 PR style comments 2019-12-22 22:36:11 +00: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
Waldemar Tomme
57aec873d0 Add check if output container supports "global_header" flag 2019-12-22 13:01:18 +01:00
Ben Magee
f47c7959af Wrote tests to cover CustomAuthenticationHandler 2019-12-22 09:46:09 +00:00
Artiume
c2db45bad9 Merge pull request #5 from Artiume/revert-4-server-validation
Revert "Allow valid https requests in .NET Core"
2019-12-21 00:01:54 -05:00
Artiume
1bab76d80c Revert "Allow valid https requests in .NET Core" 2019-12-21 00:01:43 -05:00
Artiume
0e920a6d5f Update MediaInfoService.cs 2019-12-20 23:40:36 -05:00
Artiume
963b69c7b2 Update MediaInfoService.cs 2019-12-20 23:17:01 -05:00
Artiume
82911c8a20 Merge pull request #4 from stevehayles/server-validation
Allow valid https requests in .NET Core
2019-12-20 23:09:35 -05:00
Bond_009
b87750d8e0 Update vs code workspace 2019-12-20 21:50:15 +01:00
Bond_009
5751d86536 Fix warnings and move to System.Text.Json 2019-12-20 21:49:16 +01:00
Bond_009
5dc3874ebd Enable nullable reference types for Emby.Photos and Emby.Notifications
* Enable TreatWarningsAsErrors for Emby.Notifications
* Add analyzers to Emby.Notifications
2019-12-20 21:30:51 +01:00
David
94d3dda324 Refactor seriesId 2019-12-20 20:10:02 +01:00
David
d720d8f356 Add requested changes 2019-12-20 20:04:27 +01:00
Bond_009
7f5a174dff Merge branch 'master' into warn12 2019-12-20 19:43:57 +01:00
Artiume
6a6e02e1ec Merge pull request #3 from jellyfin/master
nightly, big one
2019-12-19 20:51:45 -05: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
David
ce8754d052 Refactor list of RemoteImageInfo 2019-12-19 19:58:00 +01:00
David
1f323683b3 Add requested changes 2019-12-19 18:59:55 +01:00
Bond-009
bb62dd14c2 Limit size for playbacktest 2019-12-19 17:46:17 +01:00
Vasily
06dfa2e687 Merge pull request #2134 from Bond-009/dlnam3u8
Fix comparison between different types
2019-12-19 18:51:51 +03:00
Bond-009
a5cd11735c Minor changes to MediaInfoService 2019-12-19 15:54:27 +01:00
David
eb12754fc5 Add Tmdb as a Provider for Season Images
Changes to be committed:
	modified:   CONTRIBUTORS.md
	new file:   MediaBrowser.Providers/Tmdb/TV/TmdbSeasonImageProvider.cs
	modified:   MediaBrowser.Providers/Tmdb/TV/TmdbSeasonProvider.cs
2019-12-18 17:27:44 +01:00
Bond-009
5c9e849b85 Enable analyzers 2019-12-18 12:03:54 +01:00
Bond-009
a1ca50fd5a Merge branch 'namingtests' of https://github.com/Bond-009/jellyfin into namingtests 2019-12-18 11:53:41 +01:00
Bond-009
8723bdbb4f Fix tests 2019-12-18 11:52:32 +01:00
dkanada
bc7cbfb21a Merge pull request #1941 from Bond-009/mediaencoding
Make probesize and analyzeduration configurable and simplify circular dependencies
2019-12-18 08:54:40 +09:00
pagaiba
0f444c21e9 Translated using Weblate (Catalan)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ca/
2019-12-17 13:16:15 -05:00
Bond_009
742d84e53f Enable analyzers for Emby.Naming 2019-12-17 17:41:12 +01:00
Bond-009
91562a4392 Merge pull request #2155 from mark-monteiro/2149-jellyfin-drawing-skia-warnings
Jellyfin.Drawing.Skia Warnings and Analyzers
2019-12-17 17:39:35 +01:00
Bond-009
6b185119aa Merge branch 'master' into namingtests 2019-12-17 17:35:27 +01:00
Artiume
d2e9ce7644 Merge pull request #2 from jellyfin/master
refresh
2019-12-16 15:48:17 -05:00
Artiume
b626508bc8 Update Dockerfile 2019-12-16 15:23:43 -05:00
Artiume
f3e7c72bac Update MediaInfoService.cs 2019-12-16 15:22:18 -05:00
Artiume
b31f4ccbc2 Update MediaInfoService.cs 2019-12-16 14:53:42 -05:00
Óskar Freyr
db61a58c39 Translated using Weblate (Icelandic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/is/
2019-12-16 12:16:14 -05:00
tanto faz
dda431dff1 Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-12-16 12:16:14 -05:00
Roland Vet
6fb7999a14 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2019-12-16 12:16:14 -05:00
Robin
a7a4974d95 Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2019-12-16 12:16:14 -05:00
schbal
c6851bd72c Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-12-16 12:16:14 -05:00
Artiume
5a9e08e0de Update Dockerfile 2019-12-16 01:26:36 -05:00
Artiume
4e43c70439 Update Dockerfile 2019-12-16 01:12:50 -05:00
Artiume
c96d3c35a0 Update Dockerfile 2019-12-16 01:09:45 -05:00
Artiume
0d571b3ad1 Update Dockerfile 2019-12-16 00:59:38 -05:00
Artiume
2457e43dec Update Dockerfile 2019-12-16 00:44:10 -05:00
Artiume
46442e24f8 Update MediaInfoService.cs 2019-12-16 00:43:03 -05:00
Artiume
3fb7aabfde Update MediaInfoService.cs 2019-12-16 00:40:25 -05:00
Artiume
64c313a8fb Update MediaInfoService.cs 2019-12-16 00:27:48 -05:00
Artiume
77fc77eb82 Update UserPolicy.cs 2019-12-15 23:59:46 -05:00
Artiume
1443583a41 Merge pull request #1 from Artiume/branch1
Update MediaInfoService.cs
2019-12-15 23:57:58 -05:00
Artiume
be956dfd02 Update MediaInfoService.cs 2019-12-15 23:52:07 -05:00
dkanada
61b9845e0f Merge pull request #2099 from cryptobank/master
Fix VAAPI encoding on 10-bit hevc. Update QSV encoding and scaling to...
2019-12-15 19:54:20 +09:00
cryptobank
d063300af4 Add space
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-15 20:35:52 +10:30
Bond-009
b8c61a5c40 Merge pull request #2146 from cromefire/patch-1
Fix invalid username handling
2019-12-15 10:07:22 +01:00
Joshua M. Boniface
d79242c3c7 Remove broken Microsoft SDK image (#2158)
* Remove broken Microsoft SDK image

This was not working; for some reason the Microsoft .NET Docker image
for 3.0 still had a 2.1 binary which was wreaking havoc. Replace it with
the manual download that all the other .deb packages use.

* Install missing dependency
2019-12-15 01:55:07 -05:00
dkanada
28e922326d remove space
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-15 13:38:59 +09:00
Mark Monteiro
3924df9c51 Move CA1032 rule to correct location 2019-12-14 23:35:28 +01:00
Neil Burrows
d9c0721e3d Reformatting code 2019-12-14 17:48:30 +00:00
Mark Monteiro
47805d89fe Set CA1032 (Implement standard exception constructors) severity to info globally
This replaces the existing [SurpressMessage] attribute
2019-12-14 16:01:24 +01:00
Mark Monteiro
4c30557527 Remove commented code 2019-12-14 15:48:35 +01:00
Mark Monteiro
f7eef1aa7f Use the correct verbiage for documenting thrown exceptions 2019-12-14 15:47:35 +01:00
dkanada
623e85a9e4 add suggested changes
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 22:34:18 +09:00
Bond-009
831d1daa68 Merge pull request #2152 from dkanada/progress
Track progress for any item that supports the feature
2019-12-14 14:06:13 +01:00
Mark Monteiro
c1c1672d0f Fix remaining StyleCop warnings 2019-12-14 12:20:52 +01:00
Mark Monteiro
c05933234a Enable TreatWarningsAsErrors flag is project file 2019-12-14 11:46:25 +01:00
Mark Monteiro
2c3e1b8562 Enable StyleCop analyzer and fix existing issues 2019-12-14 11:04:22 +01:00
Mark Monteiro
b8c8d45b8d Enable Serilog and multithreading analyzer 2019-12-14 10:53:54 +01:00
Bond-009
c824c564cd Move Emby.XmlTv to a NuGet package (#2042)
* Move Emby.XmlTv to a NuGet package

* Update Emby.Server.Implementations/Emby.Server.Implementations.csproj

Co-Authored-By: Anthony Lavado <anthonylavado@me.com>
2019-12-14 00:45:29 -05:00
dkanada
1b2453b4e9 fix playlist deletion 2019-12-14 12:51:27 +09:00
dkanada
02928128b9 track progress for any item that supports the feature 2019-12-14 11:36:06 +09:00
cryptobank
bafcadbe58 Use case insensitive contains (4)
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 11:27:43 +10:30
cryptobank
d0febd6c37 Use case insensitive contains (3)
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 11:27:43 +10:30
cryptobank
802a66a9e6 Use case insensitive contains (2)
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 11:27:43 +10:30
cryptobank
867b61025d Use case insensitive contains (1)
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 11:27:43 +10:30
cryptobank
f18d3ed33b Formatting fix (3)
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 11:27:41 +10:30
Óskar Freyr
c36467c496 Translated using Weblate (Icelandic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/is/
2019-12-13 18:16:10 -05:00
Mark Monteiro
0cf9e59d5a Enable FxCop Analysis and fix issues 2019-12-13 21:17:05 +01:00
Mark Monteiro
88928118eb Add missing documentation in Jellyfun.Drawing.Skia 2019-12-13 20:57:23 +01:00
Bond_009
5a8e972952 Enable TreatWarningsAsErrors for some projects
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
2019-12-13 20:11:37 +01:00
Vasily
54dbdc695a Merge pull request #2138 from mark-monteiro/fix-episode-search
Fix Tvdb Provider Episode Search
2019-12-13 19:56:41 +03:00
dkanada
dc32050a2e Merge pull request #2142 from Bond-009/livetverrormsg
Add improved error message for #2141
2019-12-13 23:33:59 +09:00
Cromefire_
7e987b9642 Remove whitespace
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2019-12-13 15:30:08 +01:00
Cromefire_
6231fc18ea Fixed invalid username handling 2019-12-13 15:27:12 +01:00
Neil Burrows
55317b5c74 Fixing index error & split out code for readability 2019-12-13 13:45:20 +00:00
Neil Burrows
12bb4a92eb Tidying up code 2019-12-13 11:08:19 +00:00
Neil Burrows
554c967dd6 Add Excluded Tags using SQLite parameters 2019-12-13 10:29:38 +00:00
Mark Monteiro
a2462704d1 Add self to Jellyfin contributors 2019-12-12 17:48:41 +01:00
Bond-009
a4ca259a64 Add improved error error for #2141 2019-12-12 17:25:58 +01:00
Bond-009
6464bca791 Use extension methods 2019-12-12 17:02:42 +01:00
Bond-009
2c0259f920 Replace '_' with ':' in config keys 2019-12-12 16:57:16 +01:00
Bond-009
baadb504bb Merge branch 'master' into mediaencoding 2019-12-12 16:34:34 +01:00
dkanada
96a5dda9ff Merge pull request #2109 from Bond-009/plugin
Fix plugin installation and correct api behaviour
2019-12-12 15:40:22 +09:00
Joshua M. Boniface
9744f5aee3 Merge pull request #2118 from chaosinnovator/master
Add StartIndex result to /Items API query
2019-12-11 23:42:02 -05:00
Mark Monteiro
421092b478 Clean up checks for Dictionary keys 2019-12-11 23:48:41 +01:00
Mark Monteiro
1e0967f43c Fix issue with episode search 2019-12-11 23:47:51 +01:00
Bond_009
2ef4ffd698 More warnings (removed) 2019-12-11 00:13:57 +01:00
Bond_009
0bf8bfbb0c Merge branch 'master' into mediaencoding 2019-12-10 23:00:59 +01:00
chaosinnovator
b98e25a07e Add StartIndex result to /Items API query 2019-12-10 09:30:44 -08:00
Bond-009
b20b648659 Fix comparison between different types 2019-12-10 17:25:21 +01:00
dkanada
f1fc6ef59f Merge pull request #2106 from Bond-009/docker
Fix ubuntu x64 docker build
2019-12-11 01:15:31 +09:00
dkanada
67922dff50 Merge pull request #2041 from Bond-009/warn11
Fix more warnings
2019-12-11 01:14:55 +09:00
dkanada
2a7210ca28 Merge pull request #2133 from Bond-009/loggerfix
Fix typo
2019-12-11 01:13:09 +09:00
Bond-009
19844a2c2a Fix typo 2019-12-10 17:07:23 +01:00
Bond-009
affb58ef9e Apply suggestions from code review
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-12-10 16:22:03 +01:00
dkanada
dee3076eaf Merge pull request #1923 from Bond-009/random
Don't shuffle some types by default
2019-12-10 22:28:44 +09:00
dkanada
b5d0bd0d76 Merge pull request #2020 from Bond-009/baseurl
Add support for multi segment base urls
2019-12-10 22:11:32 +09:00
gustinn
1b5da55ae5 Translated using Weblate (Icelandic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/is/
2019-12-09 21:16:05 -05:00
Michael Berggren
f25c1e40d4 Translated using Weblate (Swedish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sv/
2019-12-09 21:16:05 -05:00
nextlooper42
cf1eb2798c Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2019-12-09 21:16:05 -05:00
translit
7d4c4c369e Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2019-12-09 21:16:05 -05:00
tanto faz
f0dbcfca6e Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-12-09 21:16:05 -05:00
Matzi24GR
52f31775fc Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-12-09 21:16:05 -05:00
antoniy
4fa8f9ccfe Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2019-12-09 21:16:05 -05:00
Petr Janda
1cec41baf8 Merge remote-tracking branch 'upstream/master' 2019-12-07 20:21:24 +10:30
Bond_009
ec70f3ac75 Fix plugin installation and correct api behaviour
The `/Packages/{Name}` endpoint would return a package that had either
the corrent name or the correct guid. In reality it shoud check if both
are correct.
2019-12-06 22:06:16 +01:00
Bond_009
c8f403238e Move to .Net Core 3.1 2019-12-06 21:28:47 +01:00
cryptobank
408cf017a4 Remove newline
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-12-07 06:48:44 +10:30
cryptobank
5b5d527a09 Use string.Equals instead of of equals operator
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-12-07 06:47:57 +10:30
cryptobank
68edb9734d Add space between if statement and boolean expression
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-12-07 06:46:24 +10:30
Joshua M. Boniface
6f283d80dc Merge pull request #2104 from cvium/avoid_catastrophic_backtracking
Simplify regex to avoid catastrophic backtracking
2019-12-06 15:13:23 -05:00
Bond_009
803ec15150 Fix ubuntu x64 docker build 2019-12-06 21:08:11 +01:00
Bond_009
35151553e3 Add back all old emby tests 2019-12-06 20:41:39 +01:00
Claus Vium
8befab5b5d Simplify regex to avoid catastrophic backtracking 2019-12-06 20:21:18 +01:00
Bond-009
a2c35e6dba Merge remote-tracking branch 'upstream/master' into random 2019-12-06 12:06:13 +01:00
Bond-009
94edb5b9f9 Add else 2019-12-06 11:58:45 +01:00
Vasily
935525e77a Merge pull request #2102 from jellyfin/Bond-009-plugins
Add installed plugins to bug reports
2019-12-06 12:53:42 +03:00
Petr Janda
75426d0004 Add logging when force_key_frames is disabled 2019-12-06 17:21:24 +10:30
Petr Janda
3f43aef997 Add back code removed during testing/debugging 2019-12-06 16:04:29 +10:30
Petr Janda
535390bb64 QSV can hardware deinterlace too now 2019-12-06 06:30:09 +10:30
Petr Janda
a9766992b7 Do not force original aspect ratio to decrease, it causes bitmap subtitles to be off-centre 2019-12-06 06:08:45 +10:30
Petr Janda
9ee0804407 Move scaling filters and definitions before deinterlacing 2019-12-06 05:52:40 +10:30
Petr Janda
7d2bfabb32 Force original aspect ratio can be used for QSV subtitle scaling 2019-12-06 05:12:16 +10:30
Petr Janda
8368815788 Remove trailing spaces 2019-12-06 05:03:46 +10:30
memnos
caa57d5bda Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2019-12-05 13:29:41 -05:00
gustinn
8694577c71 Added translation using Weblate (Icelandic) 2019-12-05 13:29:41 -05:00
Bond-009
8718e1ea6b Add installed plugins to bug reports 2019-12-05 18:30:56 +01:00
Bond-009
5f6bca8aeb Merge remote-tracking branch 'upstream/master' into baseurl 2019-12-05 17:49:15 +01:00
Bond-009
a6f883345f Reduce #lines 2019-12-05 17:44:46 +01:00
Vasily
e05c02263a Merge pull request #2097 from Bond-009/unused2
Remove unused fields and properties
2019-12-05 12:06:14 +03: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
Petr Janda
7cde256402 Merge remote-tracking branch 'upstream/master' 2019-12-05 19:29:20 +10:30
WtK0040
82575db662 Translated using Weblate (Afrikaans)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/af/
2019-12-05 03:57:07 -05:00
Pavel Sochor
fccc90ae1a Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2019-12-05 03:57:07 -05:00
Yuval Pecht
fc4bbee39f Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2019-12-05 03:57:07 -05:00
bugthug
9144c84dc9 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2019-12-05 03:57:07 -05:00
TheGoose
5234c686e7 Translated using Weblate (English (United States))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_US/
2019-12-05 03:57:07 -05:00
Dominik
7d2f066cd4 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2019-12-05 03:57:07 -05:00
woodmichl
383733044f Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2019-12-05 03:57:07 -05:00
Petr Janda
70530e1f14 Fix formatting (2) 2019-12-05 19:20:47 +10:30
Petr Janda
3d8f3da5d6 Add comments 2019-12-05 18:39:09 +10:30
Petr Janda
78a161138f Fix formatting stuffed up by previous commit 2019-12-05 18:07:46 +10:30
Petr Janda
89605d4fb1 Fix VAAPI encoding on 10-bit hevc. Update QSV encoding and scaling to take advantage of scale_qsv and overlay_qsv 2019-12-05 17:39:36 +10:30
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
f7d71a2bc7 Remove unused fields and properties 2019-12-04 21:53:01 +01:00
Bond_009
5cab79c839 Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs 2019-12-04 21:39:27 +01:00
Vasily
e44a7ae3f6 Merge pull request #2073 from Bond-009/networkcode
Minor improvements to network code
2019-12-04 20:03:10 +03:00
WtK0040
903752b77b Translated using Weblate (English (United States))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/en_US/
2019-12-04 02:25:32 -05:00
WtK0040
df10cf8012 Added translation using Weblate (Afrikaans) 2019-12-03 07:59:34 -05:00
Bond-009
caca2b31fe Fix build 2019-12-03 10:55:22 +01:00
Bond-009
01c5dcea77 Merge pull request #2082 from excelite/add_centralized_logging_support
added required nuget package to enable serilog based centralized logging in gelf format
2019-12-03 09:12:03 +01:00
Bond-009
7765b43eea Merge pull request #2089 from escabe/fix2088
Fix #2088
2019-12-02 14:22:26 +01:00
dkanada
203bf7b794 Merge pull request #2052 from EraYaN/azp-tag-checkout-windows
Add tag building support to Windows Web build.
2019-12-02 18:23:22 +09:00
KingsFourze
a7461f3ba7 Translated using Weblate (Chinese (Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2019-12-01 23:15:46 -05:00
EscAbe
3b7b8eba4c Fix for #2088 2019-12-01 20:50:24 +01:00
Bond-009
84c136b1f2 Update Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2019-12-01 19:30:18 +01:00
penguinfuko
28f71b445f Translated using Weblate (Chinese (Traditional))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2019-11-30 05:15:47 -05:00
Mehmet Can Kanpolat
be14b91f23 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-11-30 05:15:47 -05:00
excelite
12dd2c51a7 added required nuget package to enable serilog based centralized logging in gelf fromat 2019-11-29 23:03:59 +01:00
Vasily
8f56baf6d9 Merge pull request #2071 from excelite/add_default_values_to_logconfig
add filesize limit for logfiles and a maximum logfile count
2019-11-29 18:55:50 +03:00
Vasily
32519a5471 Merge pull request #2058 from ferferga/master
Add full Raspberry Pi hardware accelerated decoding support
2019-11-29 13:06:06 +03:00
Bond-009
6f45d95951 Minor improvements to network code 2019-11-28 17:46:06 +01:00
excelite
60691349a1 added filesize limit for logfiles and a maximum logfile count 2019-11-28 11:20:46 +01:00
Bond_009
42ffddc269 Fix more warnings 2019-11-27 16:29:56 +01:00
Vasily
f3ca4631c3 Merge pull request #2062 from Bond-009/docker
Use .Net Core 3.0 in all docker images
2019-11-27 16:20:41 +03:00
Vasily
5263aaa026 Merge pull request #1503 from cvium/webapi_v2
Move StartupWizard to ASP.NET Web Api
2019-11-27 11:50:06 +03:00
Vasily
c45d54efb2 Merge pull request #1942 from Bond-009/nullable
Enable nullable reference types for Jellyfin.Server
2019-11-27 11:48:41 +03:00
Mehmet Can Kanpolat
1606706070 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-11-26 11:15:39 -05:00
Leo Verto
22f50de1fe Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2019-11-26 11:15:39 -05:00
dkanada
5bb6e605fa Merge pull request #2054 from jellyfin/Bond-009-dlna-getpathvalue
dlna GetPathValue
2019-11-26 18:43:49 +09:00
dkanada
3dc1bfc179 Merge pull request #2049 from jellyfin/dkanada-patch-1
Update readme
2019-11-26 18:41:01 +09:00
Claus Vium
080b106991 Update Jellyfin.Api/Auth/FirstTimeSetupOrElevatedPolicy/FirstTimeSetupOrElevatedRequirement.cs
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-11-26 10:20:45 +01:00
Bond-009
50a535e6e4 Use .Net Core 3.0 in all docker images 2019-11-26 09:47:26 +01:00
ferferga
94ef239de0 Add full Raspberry Pi hardware decoding support 2019-11-25 23:09:23 +01:00
dkanada
65ae4eb0dd fix some html tags in the readme 2019-11-26 00:32:14 +09:00
Bond-009
c6d48f51f6 Fix naming const 2019-11-25 12:29:51 +01:00
Vasily
47e6eede71 Merge pull request #2055 from Bond-009/fixbuild
Fix master build
2019-11-25 14:17:56 +03:00
Bond_009
cc5acf37f7 Make probesize and analyzeduration configurable and simplify circular
dependencies

Makes the probesize and analyzeduration configurable with env args.
(`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
2019-11-25 12:07:59 +01:00
Bond_009
3221e837f9 * Add support for multi segment base urls
* Make baseurl case-insensitive
2019-11-25 11:55:24 +01:00
Bond-009
a4c2886ac0 Fix master build
I was wrong, it did break...
2019-11-25 11:04:51 +01:00
Bond-009
69d76af054 dlna GetPathValue
Forgot to update this last time, just copied the code from `MediaBrowser.Api/BaseApiService.cs`
2019-11-25 10:56:23 +01:00
Madokami
e7098f1997 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2019-11-24 21:18:03 -05:00
Erwin de Haan
f12c9bf3b0 Added tag building support to Windows Web build. 2019-11-24 23:01:18 +01:00
Mehmet Can Kanpolat
afa1d6b708 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-11-24 16:15:35 -05: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
Joshua M. Boniface
db581c4d9b Merge pull request #2045 from Bond-009/baseurlfix2
Fix baseurl issues part 2
2019-11-24 13:25:52 -05:00
Claus Vium
47a4f2f387 Fix more review comments 2019-11-24 19:25:46 +01:00
Claus Vium
2af5922af0 Fix review comments 2019-11-24 18:25:43 +01:00
Bond_009
6a6bfa6da9 Fix possible nullref when updating packages 2019-11-24 17:23:36 +01:00
Claus Vium
27e3cf1558 Move appbuilder and service collection to Jellyfin.Server 2019-11-24 15:27:58 +01:00
dkanada
47ad21b6e3 Merge pull request #2039 from Bond-009/fixcondition
Fix always false condition
2019-11-24 21:41:19 +09:00
dkanada
6889d09cf7 Merge pull request #2040 from Bond-009/https
Validate https certificates
2019-11-24 21:41:03 +09:00
dkanada
dbda76e842 Update readme 2019-11-24 21:27:43 +09:00
Bond_009
602ebe3fdb Fix baseurl (attempt #2) 2019-11-23 22:50:37 +01:00
Claus Vium
111b46599a Remove unused reference 2019-11-23 20:46:01 +01:00
Claus Vium
c2cdbc909b Add style rules and fix it all 2019-11-23 20:31:17 +01:00
Claus Vium
c9669a0d21 Split a long line 2019-11-23 19:59:45 +01:00
Claus Vium
706739dbe6 Move API stuff to the api project 2019-11-23 19:43:30 +01:00
Claus Vium
3f651de24c Add authentication and remove versioning 2019-11-23 16:31:02 +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
d7335f6ae6 Reword exception message 2019-11-22 17:02:28 +01:00
Vasily
7b3c394a3e Merge pull request #1967 from Bond-009/warn10
Fix some warnings
2019-11-22 18:29:17 +03:00
Bond_009
526776372e Validate https certificates 2019-11-22 16:23:42 +01:00
Bond_009
d884ed353f Fix always false condition 2019-11-22 16:19:19 +01:00
Bond_009
06596feaa7 Address comments 2019-11-22 16:15:31 +01:00
Bond-009
b477b3874e Fix some warnings 2019-11-22 16:15:31 +01:00
Vasily
7846e9cb3c Merge pull request #1977 from Bond-009/deps
Update deps
2019-11-22 15:53:34 +03:00
Vasily
ace45fb3f6 Merge pull request #1968 from Bond-009/CA1720
Disable CA1720: Identifiers should not contain type names
2019-11-22 14:14:51 +03:00
Vasily
13dd63d631 Merge pull request #2034 from Bond-009/easypass
Fix easy password
2019-11-22 11:17:24 +03:00
AdmiralAnimE
883011dd64 Translated using Weblate (Bulgarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/bg/
2019-11-21 12:15:31 -05:00
Bond-009
413ae86dbc Fix easy password 2019-11-21 17:32:29 +01:00
Bond_009
3cf9313c86 Update deps 2019-11-21 17:08:06 +01:00
Bond-009
d4b438791f Don't append transcodes to transcoding temp path 2019-11-21 16:57:49 +01:00
Bond-009
d868a8da6c Merge pull request #1934 from dkanada/transcode
Minor changes to transcode cleanup scheduled task
2019-11-21 16:18:46 +01:00
dkanada
37eed8cf1f revert settings to their old names 2019-11-21 21:55:10 +09:00
dkanada
b1f9b03b17 rename some missed variables and fix warnings 2019-11-21 21:55:10 +09:00
dkanada
f3ca37e523 minor changes to transcode cleanup scheduled task 2019-11-21 21:55:10 +09:00
Claus Vium
05b7e22808 Add SwaggerUI 2019-11-19 22:51:02 +01:00
Claus Vium
c011fa2ea8 Remove old instantiation of serviceProvider in app host 2019-11-19 21:49:20 +01:00
Claus Vium
e5d57bd82f Move StartupWizard to ASP.NET Web Api 2019-11-19 21:48:16 +01:00
Joshua M. Boniface
c0d10800ab Merge pull request #1925 from joshuaboniface/integrate-web-build-debuntu
Integrate web build into Debuntu package build steps
2019-11-19 01:37:38 -05:00
Vasily
a8c878f48c Merge pull request #2016 from joshuaboniface/stalebot-wording
Update stalebot timings and message
2019-11-18 13:59:57 +03:00
Vasily
0836241e90 Merge pull request #2019 from Bond-009/baseurlhotfix
Remove leading / from baseurl
2019-11-18 13:55:56 +03:00
Joshua M. Boniface
84009b534d Merge pull request #1937 from justinfenn/docker-entrypoint-exec
use exec form for Dockerfile entrypoint
2019-11-17 17:29:55 -05:00
Stanislav Ionascu
9989b7b68f Replace BDInfo plugin with nupkg and UHD/Atmos/DTS:X support 2019-11-17 20:56:13 +01:00
Joshua M. Boniface
78e0afae2f Merge pull request #1992 from Bond-009/namingtests
Fix naming tests
2019-11-17 13:55:27 -05:00
Bond_009
5ee070eb29 Remove leading / from baseurl 2019-11-17 19:53:12 +01:00
Joshua Boniface
6c7b592131 Update stalebot timings and message
1. Bump up the timings, since the project releases have slowed down a
   fair bit. 120 days stale with 21 days for a response still gets us
   the desired effect while loosening the timeline for issue submitters.
2. Revamp the wording to better explain what the author (or others) need
   to do, and why this bot exists.
2019-11-17 12:24:27 -05:00
dkanada
c87f459ec2 Merge pull request #2008 from Bond-009/pathvalue
Fix GetPathValue function
2019-11-16 01:25:20 +09:00
Bond-009
d161b9cbfc Fix GetPathValue function for DLNA service 2019-11-13 16:40:34 +01:00
Bond-009
aea4ef9471 Fix logic 2019-11-13 16:32:33 +01:00
Bond-009
b14d6d0417 Fix GetPathValue function 2019-11-13 16:32:33 +01:00
Andrew Mahone
dee247453e Throw InvalidOperationException when attachment extraction exits abnormally or doesn't produce output. 2019-11-13 08:52:37 -05:00
dkanada
0b02c77691 Merge pull request #1864 from Bond-009/installationmanager
Improve IInstallationManager interface
2019-11-13 21:12:52 +09:00
dkanada
f51f59d675 Merge pull request #1965 from Bond-009/dbjson
Deserialize with the correct type (and warning fixes)
2019-11-10 16:51:54 +09:00
Sander Lambrechts
522df3196d Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2019-11-09 18:15:12 -05:00
DJSweder
92b6d84433 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-11-09 18:15:12 -05:00
Bond_009
dd749dde5f Add comment 2019-11-09 20:26:56 +01:00
Bond_009
03fe0e762d Fix typos in docs 2019-11-09 20:23:09 +01:00
Bond_009
a2df6e0e36 Fix naming tests 2019-11-08 19:59:48 +01:00
Andrew Mahone
7ea05bb86b Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments 2019-11-07 14:30:43 -05:00
Andrew Mahone
79858eb26c Remove use of ProcessFactory, as well as arbitrary timeout in AttachmentExtractor. 2019-11-07 14:24:49 -05:00
dkanada
61b9b4046a Merge pull request #1929 from Narfinger/parser-fix4
[Draft][Help wanted] Fix parsing of certain names and adds a default season if no season was found
2019-11-08 02:14:01 +09:00
Andrew Mahone
3a9bf84e3b Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 12:00:47 -05:00
Andrew Mahone
1eb3df1d6c Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting / style

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:59:54 -05:00
Andrew Mahone
380d023351 Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments 2019-11-07 11:58:13 -05:00
Andrew Mahone
2f728fd2a1 Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:58:26 -05:00
Andrew Mahone
2338a53229 Don't user ILoggerFactory. 2019-11-07 11:55:39 -05:00
Andrew Mahone
c6855e6a2a Simplify AttachmentExtractor instantiation. 2019-11-07 11:53:39 -05:00
Andrew Mahone
743685110c Update MediaBrowser.Controller/Library/IMediaSourceManager.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:29:34 -05:00
Andrew Mahone
0fd7886a12 Update MediaBrowser.Controller/Library/IMediaSourceManager.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:28:11 -05:00
Andrew Mahone
d73f46dcda Update Emby.Server.Implementations/Library/MediaSourceManager.cs
docs

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:27:55 -05:00
Andrew Mahone
492bbc9e13 Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
String -> string

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:25:44 -05:00
Andrew Mahone
92aae268a3 Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:24:53 -05:00
Andrew Mahone
8b2d7062c4 Update Emby.Server.Implementations/Library/MediaSourceManager.cs
docs

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:24:30 -05:00
Andrew Mahone
193a1fa474 Update Emby.Server.Implementations/Library/MediaSourceManager.cs
docs

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:23:28 -05:00
Andrew Mahone
d6aa02ff09 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:22:07 -05:00
Andrew Mahone
4b75e6518e Update MediaBrowser.Api/Attachments/AttachmentService.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:21:40 -05:00
Andrew Mahone
f60e9b0b62 formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:20:29 -05:00
Andrew Mahone
c09eb34708 Check for attachment file before trying to remove it during cleanup. 2019-11-07 08:56:12 -05:00
Andrew Mahone
6defe80b62 Check for cancellation between each batch of MediaAttachment inserts. 2019-11-07 08:38:36 -05:00
dkanada
b103aa20c1 Merge pull request #1970 from Bond-009/nat
Use Mono.Nat Nuget package
2019-11-07 18:56:46 +09: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
Terrance Siu
2779d9d3bc Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-11-07 04:15:06 -05:00
dkanada
ad852ffd9a Merge pull request #1973 from EraYaN/docs-warning-fixes
Fix the last of the docs warnings
2019-11-07 18:12:26 +09:00
Narfinger
9cd62d661f removed restriction to 3 digits in episodenumber and 4 in season numbers 2019-11-07 10:50:02 +09:00
Andrew Mahone
74fb63a898 Use block rather than local using statement. 2019-11-06 10:43:14 -05:00
Andrew Mahone
4f3b883155 Clean up handling of missing source/attachment in AttachmentExtractor. 2019-11-06 09:46:31 -05:00
Andrew Mahone
79bbf09ecb Revert "Simplify AttachmentExtractor instantiation."
This reverts commit d33e0a4e2c.
2019-11-06 08:43:49 -05:00
Andrew Mahone
8505ee9d6c Extract the prefix for MediaAttachment insertions to a static member instead of generating it per-query. 2019-11-05 14:53:46 -05:00
Andrew Mahone
cc7741efd4 Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments 2019-11-05 08:35:42 -05:00
Andrew Mahone
3602251cf5 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:36:17 -05:00
Andrew Mahone
a78aec56e3 Format attachment DeliveryURL with CultureInfo.InvariantCulture.
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:21:06 -05:00
Andrew Mahone
e5b65ed034 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:19:07 -05:00
Andrew Mahone
cdc7d83c22 Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments 2019-11-05 08:18:04 -05:00
Andrew Mahone
d33e0a4e2c Simplify AttachmentExtractor instantiation.
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:17:34 -05:00
Andrew Mahone
349310787c Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:16:46 -05:00
Andrew Mahone
25bc7b81c3 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:13:35 -05:00
Andrew Mahone
24a460dc93 Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
formatting

Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:13:22 -05:00
Andrew Mahone
b936c530aa Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments 2019-11-05 08:13:15 -05:00
Andrew Mahone
bd4da93d1e Throw ArgumentException instead of ArgumentNullException on empty Guid. 2019-11-05 07:48:32 -05:00
Andrew Mahone
6ca252ba5c Remove check for "[0]" in codec_tag. 2019-11-05 07:09:55 -05:00
Andrew Mahone
28a6718d8e Return path of extracted attachment, which is always a file, instead of AttachmentInfo with path and protocol. 2019-11-04 14:48:28 -05:00
Andrew Mahone
04a96788f9 Convert exceptions for missing MediaSource or MediaAttachment to ResourceNotFoundException with appropriate message. 2019-11-04 14:34:21 -05:00
Andrew Mahone
154fb1fe9b AttachmentExtractor code cleanup. 2019-11-04 11:45:31 -05:00
Andrew Mahone
c7d303a6ae MediaExtractor logging cleanup. 2019-11-04 11:39:40 -05:00
Andrew Mahone
262a8f47af Remove attachment filenames from attachment URLs. 2019-11-04 11:31:41 -05:00
Andrew Mahone
9eef5f860d AttachmentExtractor logging cleanup. 2019-11-04 11:16:57 -05:00
Andrew Mahone
e9c893f07e Fail attachment extraction on non-zero exit code. 2019-11-04 10:58:56 -05:00
Andrew Mahone
bd545891c0 Indentation fix. 2019-11-04 10:38:53 -05:00
Andrew Mahone
7110069b39 Return list result directly for MediaAttachments. 2019-11-04 10:37:19 -05:00
Andrew Mahone
ad2101ce52 Rename "limit" to "insertAtOnce" in InsertMediaAttachments. 2019-11-04 10:33:50 -05:00
Andrew Mahone
c2d8f210b1 Check for cancellation in SaveMediaAttachments. 2019-11-04 10:31:32 -05:00
Andrew Mahone
0dde5e46df Flatten using connection in GetMediaAttachments/SaveMediaAttachments 2019-11-04 10:28:33 -05:00
Andrew Mahone
4573fb5301 Use ToByteArray instead of ToGuidBlob. 2019-11-04 10:19:53 -05:00
Andrew Mahone
1600d5b53f Merge remote-tracking branch 'origin/master' into media-attachments-clean 2019-11-04 10:03:18 -05:00
Andrew Mahone
90dfe729bb Add space when building query string for attachments.
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-11-04 08:48:27 -05:00
Joshua M. Boniface
9756bdb76e Merge pull request #1903 from anthonylavado/nsis-update
Update NSIS Installer
2019-11-03 14:36:56 -05:00
Joshua M. Boniface
a460814182 Merge pull request #1904 from JustAMan/hls-move-2
Switch ffmpeg to hls muxer (from segment) to fix premature stop on non-patched ffmpeg
2019-11-03 14:36:34 -05:00
Joshua M. Boniface
5d5fa55fe5 Merge pull request #1859 from joshuaboniface/copr-fix
Fix COPR build and Fedora packaging
2019-11-03 14:05:13 -05:00
Joshua Boniface
d4474d493b Remove extraneous newline 2019-11-03 12:39:45 -05:00
Erwin de Haan
f0e2f243ad Conform MovieResult.cs to the formatting standards. 2019-11-03 17:55:46 +01:00
Erwin de Haan
45a670f15b Revert the project inclusion that created a cycle. 2019-11-03 16:40:35 +01:00
Erwin de Haan
387051c409 Fix the last docs warnings. 2019-11-03 15:52:10 +01:00
Anthony Lavado
e877ef92d7 Always download the latest tray app release 2019-11-03 02:51:29 -05:00
Bond_009
210af0e73e Properly remove event handler 2019-11-02 10:31:27 +01:00
Joshua Boniface
fd4a9d13b7 Update path of SOS readme
Seems like this changed upstream as it's not our file.
2019-11-02 01:34:43 -04:00
Joshua Boniface
4fc2bd56ee Add master fallback for web build 2019-11-02 01:24:26 -04:00
Joshua Boniface
e40c82be88 REVERT-ME Update to .NET 3.0 2019-11-02 01:17:12 -04:00
Juhos István
0f769fe979 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2019-11-02 00:14:59 -04:00
Bond_009
558baeac48 Add docs 2019-11-01 21:25:37 +01:00
Bond_009
b0a25c4237 Use Mono.Nat Nuget package 2019-11-01 21:22:35 +01:00
Joshua M. Boniface
33ddca12ed Merge pull request #1969 from jellyfin/stale-bread
Add an exemption for the confirmed label
2019-11-01 16:11:17 -04:00
Anthony Lavado
3a741936c5 Add an exemption for the confirmed label
Adds an exemption we can use to keep issues open when they are confirmed/real
2019-11-01 16:06:00 -04: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
28df726c33 Disable CA1720: Identifiers should not contain type names 2019-11-01 18:45:16 +01:00
dkanada
48a99366b6 Merge pull request #1789 from Bond-009/deps
Update deps and add MultiThreading analyzer
2019-11-02 02:07:20 +09:00
Bond_009
81c135c5bb Fix PR issues 2019-11-01 17:57:19 +01:00
Bond_009
d529f81cd9 Improve IInstallationManager interface 2019-11-01 17:57:19 +01:00
Bond_009
5e0858d13f Fix xml docs 2019-11-01 17:55:44 +01:00
Bond_009
3f7836d9eb Update deps and add MultiThreading analyzer 2019-11-01 17:55:44 +01:00
Bond_009
60cb256835 Fix benches 2019-11-01 17:52:29 +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
dkanada
89a21c96c0 Merge pull request #1852 from Bond-009/warn9
Fix some more warnings
2019-11-02 01:24:44 +09:00
Bond_009
846857b60e Deserialize with the correct type (and warning fixes) 2019-11-01 17:07:42 +01:00
Bond-009
92abc202a4 Style fix 2019-11-01 16:42:47 +01:00
Bond-009
443422ddb4 Merge pull request #1931 from grafixeyehero/PersonServies
update persons service
2019-11-01 16:38:54 +01:00
Bond-009
43f51b2d90 Fix build 2019-11-01 16:35:44 +01:00
Anthony Lavado
57cf3e24f8 Use the correct file copy operation for the icon 2019-11-01 01:55:09 -04:00
Anthony Lavado
0c003feac6 Fix an incorrect argument type in build script 2019-11-01 01:25:45 -04:00
Steve Hayles
da9a59de1e Allow valid https requests in .NET Core
ServerCertificateValidationCallback on the ServicePointManager is not supported in .NET Core and outgoing https requests will fail if the certificate is not trusted.

This adds the equivalent functionality
2019-10-31 18:48:34 +00:00
Anthony Lavado
bde1af5def Add the tray app download to the build script, use it in the installer shortcuts
Adds the tray app download to build-jellyfin, adjusts the shortcuts in the installer, and adds the switch to the pipeline configuration.
2019-10-30 18:16:31 -04:00
Thomas Büttner
e6e9cd8ce2 Remove the SPEC edit hack, replace with proper repos (#7)
* Remove the SPEC edit hack, replace with proper repos

Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>

* Fix bad rpmbuild flag

Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-10-29 18:16:08 -04:00
Anthony Lavado
aca4f83333 Remove extra EndIf 2019-10-29 16:24:45 -04:00
Bond_009
d868530d1e Fix comments 2019-10-29 18:37:10 +01:00
Bond_009
10ae815bb4 Address comments 2019-10-29 17:56:06 +01:00
Bond_009
016be02cd6 More warning fixes 2019-10-29 17:56:05 +01:00
Bond_009
d9a03c9bb1 Fix more warnings 2019-10-29 17:55:16 +01:00
Bond-009
2b1e766c17 Update MediaBrowser.Controller/Library/IUserManager.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-10-29 17:50:09 +01:00
Bond-009
24c076eff3 Update Emby.Server.Implementations/Library/UserViewManager.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-10-29 17:50:01 +01:00
Bond-009
1258a3766f Update Jellyfin.Server/Program.cs
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-10-29 17:49:41 +01:00
dkanada
ef623f5129 Merge pull request #1954 from LogicalPhallacy/LogicalPhallacy-patch-NSSM
Use mirror for NSSM
2019-10-29 16:22:58 +09:00
dkanada
0449d7c5e1 Merge pull request #1949 from stevehayles/master
Update to Dockerfile
2019-10-29 16:19:46 +09:00
LogicalPhallacy
9c65853ddd updates win32 build script with nssm mirror 2019-10-28 22:10:36 -07:00
LogicalPhallacy
8c0580aa24 Updating win-x64 build NSSM address 2019-10-28 22:09:46 -07:00
LogicalPhallacy
fd8d4894ca Updated build-jellyfin.ps1 to pull from my mirror
Updated it to pull from my mirror on Azure.
2019-10-28 22:07:01 -07:00
LogicalPhallacy
8edb1c49d8 Merge pull request #6 from jellyfin/master
Bringing my branch up to sync
2019-10-28 21:54:40 -07:00
Steve Hayles
b1e65c6cd4 Adding OpenSSL library
Depending on configuration the docker container may need OpenSSL to support https access
2019-10-28 08:22:59 +00:00
Steve Hayles
26ce62d318 Update Dockerfile
debian-stretch packages were missing for libva-drm2 so would not build

the base image mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION} is incorrectly referencing .NET Core 3-preview6 which will cause issues at runtime with library references being mismatched
2019-10-27 20:22:17 +00:00
Steve Hayles
5eb9d10287 Merge remote-tracking branch 'jellyfin/master' 2019-10-27 20:17:41 +00:00
Justin Fenn
435c30aed9 use exec form for Dockerfile entrypoint
This causes the jellyfin process to be pid 1 in the container.  It can
receive signals like SIGTERM (from "docker stop", for example) and shut
down properly.
2019-10-27 12:28:56 -07:00
Joshua M. Boniface
53ee78170a Merge branch 'master' into copr-fix 2019-10-27 13:52:08 -04:00
Joshua Boniface
2cdf5c203a Correct CentOS build for new Fedora spec 2019-10-27 13:51:32 -04:00
Vasily
8cf8c36708 Move throwing if cancelled after logging that fact 2019-10-27 16:48:42 +03:00
Vasily
dd7ae7747e Apply suggestions from code review
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-10-27 16:47:00 +03:00
Bond-009
c9f4a74af0 Merge pull request #1930 from grafixeyehero/vsc-workspace
update vsc workspace launch for net core 3
2019-10-27 11:44:16 +01:00
Bond_009
2702dca8b6 Enable nullable reference types for Jellyfin.Server 2019-10-26 23:58:23 +02:00
Joshua M. Boniface
588b554ef0 Merge pull request #6 from Wuerfelbecher/copr-fix
Fix build script
2019-10-26 16:48:38 -04:00
Joshua M. Boniface
67be3f8c9e Merge branch 'copr-fix' into copr-fix 2019-10-26 16:41:16 -04:00
Joshua M. Boniface
ee488dcb83 Merge pull request #5 from brianjmurrell/fix-copr
Fix jellyfin-web URL
2019-10-26 16:40:12 -04:00
Thomas Büttner
bf11426f7d Add comments about Source URLs and remove no longer needed dependency
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-10-26 19:24:44 +02:00
Brian J. Murrell
d5cbfee82b Fix jellyfin-web URL 2019-10-26 13:22:52 -04:00
Andrew Rabert
873225a7f2 Merge pull request #1922 from Bond-009/docker
Use the correct dotnet runtime in Docker images
2019-10-25 12:26:18 -04:00
Bond_009
f1167ace7e Use the correct dotnet runtime in Docker images
The self contained packages already contains the dotnet runtime
No need to use the dotnet runtime base image.

This should decrease the size of the image.
2019-10-25 18:04:01 +02:00
delfino434
0add74240f Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-10-24 11:14:42 -04:00
emmanuel billeaud
cb0aeeb189 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2019-10-24 11:14:42 -04:00
Joshua M. Boniface
f8556b3d89 Merge pull request #1918 from nvllsvm/dockermaster
Docker fixes
2019-10-24 09:14:20 -04:00
Bond-009
da7ba822b0 Merge pull request #1933 from cvium/autoreload_log_config
Reload logging.json on changes
2019-10-24 10:27:35 +02:00
Claus Vium
c3eac58dda Reload logging.json on changes 2019-10-23 19:52:12 +02:00
Anthony Lavado
5e90747541 More preparations for the tray app 2019-10-23 04:14:58 -04:00
Anthony Lavado
cfaf2b97fe Add the "service" argument to the service parameters
This will avoid an exception when the server cannot launch a browser process for the web interface.
2019-10-23 03:49:31 -04:00
Anthony Lavado
14a850b4a8 Change the default AppExit action to Exit
When the service should fail to launch Jellyfin, or should Jellyfin crash, the default action is changed from Restart to AppExit. This prevents the service from entering a constant restart due to a permissions issue or similar.
2019-10-23 03:34:12 -04:00
grafixeyehero
90c1eceec7 update vsc workspace launch for net core 3 2019-10-23 01:57:38 +03:00
grafixeyehero
752cf08e5c update persons service 2019-10-23 01:54:32 +03:00
Andrew Mahone
20727906c8 Use attachment filename if available. 2019-10-22 11:54:59 -04:00
Andrew Mahone
01b1c847e9 Provide delivery URLs for attachments in PlaybackInfo. 2019-10-22 11:54:59 -04:00
Andrew Mahone
8c89d89932 Attachment service. 2019-10-22 11:54:59 -04:00
Andrew Mahone
a9a85f251e Instantiate AttachmentExtractor in ApplicationHost. 2019-10-22 11:50:07 -04:00
Andrew Mahone
12f752d8b1 FFMPEG extractor for attachments. 2019-10-22 11:50:07 -04:00
Andrew Mahone
f22ca6dd9e Retrieve media attachments in BaseItem. 2019-10-22 10:36:54 -04:00
Andrew Mahone
1513c76a3e Support MediaAttachment retrieval in MediaSourceManager. 2019-10-22 10:35:00 -04:00
Andrew Mahone
03ecf57548 Store MediaAttachments in DB. 2019-10-22 10:32:40 -04:00
Andrew Mahone
321e5cba60 Add new MediaAttachment to store attachments found during media probing. 2019-10-22 10:30:55 -04:00
Anthony Lavado
94932ea216 Make installer shortcut check better
During an upgrade, only create shortcuts if the existing install was not a service install. Otherwise, do not create them.
2019-10-22 04:33:06 -04:00
Anthony Lavado
a278b380b6 Fix syntax errors, move order of upgrade checks, enhance folder check, fix shortcuts
Fixes a syntax error with the NoServiceUninstall section. Moves the detection of an existing Service and datadir further up, so it happens before we decide how the installation will happen. Removed a newline from a comment, and enhanced the existing directory check. Adds an existing folder check, as well as a prompt if the user wants to continue with it or not. Also adds the datadir property to shortcuts.
2019-10-22 04:16:08 -04:00
Narfinger
4a20260a27 add another parser case and allow parsing of seasonless
Add another parser case and we now allow parsing of seasonless series which hopefully should cover more cases of directory structure
2019-10-22 15:46:35 +09:00
Thomas Büttner
59995c20f1 Fix buildscript failure, remove unnecessary yarn repo for Fedora build 2019-10-21 23:42:54 +02:00
Vasily
3743137c31 Address Bond-009 review comments 2019-10-21 12:05:49 +03:00
Vasily
ae2b95024f Update MediaBrowser.Api/Playback/BaseStreamingService.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-10-21 11:58:04 +03: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
Joshua Boniface
17c1de7bf2 Clean up ubuntu-armhf build steps
Installs the nodejs package via NodeSource, since the Bionic npm
package is heckin' broken.
2019-10-20 13:01:52 -04:00
Joshua Boniface
44e2d91b2f Clean up ubuntu-arm64 build steps
Installs the nodejs package via NodeSource, since the Bionic npm
package is heckin' broken.
2019-10-20 13:01:44 -04:00
Joshua Boniface
f02ab9818a Clean up ubuntu-x64 build steps
Installs the nodejs package via NodeSource, since the Bionic npm
package is heckin' broken.
2019-10-20 13:00:38 -04:00
Joshua Boniface
9a48486838 Clean up debian-armhf build steps 2019-10-20 13:00:14 -04:00
Joshua Boniface
d9f6c6f289 Clean up debian-arm64 build steps 2019-10-20 12:59:52 -04:00
Joshua Boniface
07d45e82f0 Move web-build into Debian build rules
This removes the convoluted steps in docker-build.sh in favour of
integrating the web-build sequence into the Debian rules file
explicitly. This will allow the web-build to work properly outside of
the boutique Docker container we build, thus allowing it to be build
properly directly on a target system with dpkg-buildpackage.
2019-10-20 12:58:10 -04:00
Joshua Boniface
c30866fc93 Remove web frontend build from docker-build.sh
This is now handled in the RPM spec.
2019-10-20 11:18:12 -04:00
Joshua Boniface
d57ee0b2b8 Remove spec version bump
This will be taken care of with the 10.4.1 bump in stable.
2019-10-20 11:12:45 -04:00
Bond-009
fdb0c3a1df Merge pull request #1909 from KerryRJ/FixDvdsFailingToPlay
Fix System.NullReferenceException when playing Dvds copied to HDD
2019-10-20 17:10:43 +02:00
Bond_009
bbc0875387 Don't shuffle some types by default 2019-10-20 16:08:40 +02:00
Andrew Rabert
4ace99ad76 Fix Docker ffmpeg 2019-10-19 21:01:01 -04:00
Andrew Rabert
64eca9e1c7 Update Docker containers to dotnet 3.0 2019-10-19 19:36:56 -04:00
Andrew Rabert
cd3c14961f Default to jellyfin-web master 2019-10-19 19:32:19 -04:00
schbal
e3f1f62a8b Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-19 09:14:27 -04:00
Marius Lindvall
3f16e6d947 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2019-10-18 07:14:26 -04:00
schbal
f469f18756 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-18 07:14:26 -04:00
Joshua M. Boniface
e211f821c9 Merge pull request #4 from brianjmurrell/fix-copr
Support building jellyfin-web webpack
2019-10-17 09:27:13 -04:00
Brian J. Murrell
145df92265 Support buiding jellyfin-web webpack
Needs nodejs >= 8 on EL7
- from https://rpm.nodesource.com/pub_8.x/el/7/x86_64/ on EL7.
Needs yarn
- from yarnpkg.com on EL7
2019-10-17 06:22:35 -04:00
KerryJ
ef3df7baaf Fix System.NullReferenceException when playing Dvds copied to HDD 2019-10-17 11:31:11 +02:00
Vasily
6b6fede2e0 Address review comments 2019-10-16 16:13:59 +03: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
Vasily
dd83784da2 Merge pull request #1887 from joshuaboniface/bump-version
Bump version to 10.5.0 for next stable release
2019-10-16 12:40:01 +03:00
Anthony Lavado
330395e8b6 Check for the presence of AppDataLocal folder before using it 2019-10-16 03:25:39 -04:00
Anthony Lavado
6f504a246b Use the registry path for datadir, don't override it here
Removes an assumption on directory if the user has a datadir from the previous install, use that
2019-10-16 03:18:34 -04:00
Anthony Lavado
63e0bd1d61 Only create/remove shortcuts on non-service install
Should only remove shortcuts if the install type was non-service. On upgrade, check if the install type was non-service, and if so, set the variables correctly and create shortcuts.
2019-10-16 03:14:12 -04:00
Anthony Lavado
5232302532 Adds icons to shortcuts, fixes nsis warning
Adds the icon as a resource file in the program folder, and uses it for the shortcuts created.
Removes an extra section from the dialog creator file, so NSIS won't show a warning for unused code.
2019-10-16 02:29:37 -04:00
Anthony Lavado
dc46620a81 Automatically creates shortcuts for non-service installs
If the user is not installing as a service, then the installer creates a Start Menu shortcut, and a desktop shortcut. Commented out future shortcuts for a tray app.
2019-10-16 02:01:26 -04:00
Anthony Lavado
f80343bf9d Fix the Setup Type dialog titles
I had put the title and subtitle in the wrong order. This corrects the issue.
2019-10-16 01:43:53 -04:00
Bond_009
5edb8159a7 Fix Json serialization error 2019-10-15 17:49:49 +02:00
Vasily
0ccbc2f374 Merge pull request #1884 from Bond-009/netcore3.0
Move to netcore3.0
2019-10-15 15:35:37 +03:00
Anthony Lavado
9ad781324e Fix up Setup Type dialog, and add logic for basic setup
Fix up the Setup Type dialog, by removing an unused function from the page.
Adds logic to the installer to check for a basic or advanced setup choice. Ensures that the service is only installed if the "advanced" method is chosen. Note - it may be possible to remove some defaults from the .onInit, considering they get set through the program now.
2019-10-15 04:24:30 -04:00
Vasily
adccc18298 Revert "yarn build" as it is fixed in master, fix typo 2019-10-14 14:07:12 +03:00
Vasily
3132280b07 * Make sure force_key_frames expression arguments are properly converted to strings
* Fore usage of keyframe cuts only in HLS
2019-10-14 13:22:53 +03:00
Vasily
1bd12083c3 Respect non-inversed setting of "enable break on non-keyframes" 2019-10-14 13:22:53 +03:00
Vasily
82f8345aa5 Log to debug all HTTP 500 response urls 2019-10-14 13:22:53 +03:00
Vasily
2f6879e869 Add limiting max keyframe interval when full transcoding 2019-10-14 13:22:53 +03:00
Vasily
986ea5c636 Fix log message - log args were swapped 2019-10-14 13:22:53 +03:00
Vasily
3740228100 Don't start waiting for a segment which doesn't exist if transcoding is not running 2019-10-14 13:22:52 +03:00
Vasily
7aea9266d0 Stop waiting for a segment to become ready if there's no alive transcode
Remove extra quotes in logging

Fix typo in comment
2019-10-14 13:22:39 +03:00
Vasily
c1f9107b8b Add more logging
Trying to fix hls muxer plus ffmpeg 4.1+ combo

Try to fix waiting for segment being ready

This is needed because hls muxer in ffmpeg >= 4.1 creates the
playlist only when it finishes transcoding.

Also cleaned up logs a bit.

Lower log level for "StartFfmpeg finished" to debug
2019-10-14 13:22:15 +03:00
Vasily
6746f708f2 Revert "Revert "Fix premature stop when streaming""
This reverts commit 575b96d03a.
2019-10-14 13:16:30 +03:00
schbal
c9851db4c7 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-13 17:14:18 -04:00
Axel Gabriel Calle Granda
aa5cd46b6c Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-10-13 17:14:18 -04:00
Marius Lindvall
510c2d01c7 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2019-10-13 17:14:18 -04:00
Anthony Lavado
05fb84ba22 Make service setup an optional component, remove setuptype page config for now 2019-10-12 04:39:34 -04:00
Anthony Lavado
04c4ad731e Begin to add setup type dialog 2019-10-12 03:56:46 -04:00
Anthony Lavado
c8ffa2fb1d Set service install default to no 2019-10-12 03:03:33 -04:00
Joshua Boniface
fffc5e3a6f Bump version to 10.5.0 for next stable release 2019-10-11 20:12:52 -04:00
Bond_009
516933aab5 Move to netcore3.0 2019-10-11 18:32:13 +02:00
Bond-009
d64b43286e Delete Doxyfile (#1879) 2019-10-11 00:11:23 -04:00
Narfinger
45f906c556 added a couple more tests 2019-10-11 11:46:51 +09:00
Vasily
79f9887625 Merge pull request #1854 from Bond-009/json
Use System.Text.Json api for databases
2019-10-10 18:15:48 +03:00
Vasily
c6cb4b7cf8 Merge pull request #1840 from Bond-009/ruleset
Ignore warning CA1308 and SA1108
2019-10-10 16:53:37 +03:00
Vasily
094852ce30 Merge pull request #1861 from joshuaboniface/fix-centos-build
Use NVM to install nodejs v8 and yarn for CentOS
2019-10-10 10:35:11 +03:00
schbal
697450a619 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-10 02:14:10 -04:00
Narfinger
8da012c8c5 add tests for Emby.Naming/TV/EpisodePathParser.cs
This should in the future help to detect working and non working name matchings
2019-10-10 13:22:42 +09:00
Joshua M. Boniface
b7586335a6 Merge pull request #1872 from thornbill/translate-badge
Update translate badge in README
2019-10-09 18:46:10 -04:00
Vasily
1176749f14 Merge pull request #1863 from joshuaboniface/fix-baseurl-issues
Fix inconsistent BaseUrl behavior
2019-10-09 19:24:41 +03:00
Bill Thornton
5437434339 Update translate badge in README 2019-10-09 11:47:55 -04: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
Joshua Boniface
345a14ff55 Use value instead of assigning baseUrl first 2019-10-09 10:52:51 -04:00
Joshua Boniface
b10e06ff45 Fix spacing issues 2019-10-09 10:40:52 -04:00
Bond-009
d8d2e52e3f Merge pull request #1870 from JustAMan/fix-http-ex1
Fix exception when handling error, log errors better
2019-10-09 16:08:50 +02:00
Joshua Boniface
b96079fee6 Make NormalizeUrlPath static 2019-10-09 09:22:55 -04:00
dkanada
8d7ac291bc Merge pull request #1855 from Bond-009/stylefixes
Minor style fixes
2019-10-09 22:21:32 +09:00
dkanada
0c329736cc Merge pull request #1853 from Bond-009/startup
Log startup time
2019-10-09 22:19:49 +09:00
Vasily
cadfd5bf3f Merge pull request #1866 from Bond-009/sqlslow
Change slow query time logging to debug
2019-10-09 15:52:29 +03:00
Vasily
03450f383f Fix template for logging 2019-10-09 14:05:32 +03:00
Vasily
8109c7eb30 Always log at least error message when error happens during request processing 2019-10-09 14:00:22 +03:00
Vasily
33b69a7099 Set response length and mime type correctly when reporting an error 2019-10-09 13:54:05 +03:00
Joshua Boniface
2a79ae0a6e Normalize baseUrl behaviour
Fully normalizes the baseUrl behaviour to better match how this sort of
feature works in other programs.

1. The baseUrl is always appended to paths, even the built-in `/emby`
and `/mediabrowser` paths.
2. The baseUrl is set statically at class instance creation, to ensure
it persists through changes until the next restart.
3. Configuration is normalized using a function when set, to ensure it's
in a standard `/mypath` format with leading `/`.
4. Cleans up the conditionals around default redirects. For sanity after
changing the URL, it will match *any* path that doesn't match the
current baseUrl and redirect it back to the main page (with baseUrl).
5. Adds a second method, NormalizeUrlPath, to avoid lots of `+ "/" +`
string manipulations which are unclean - we should always have a leading
slash.
6. Sets the default baseUrl to an empty string to avoid unexpected
behaviour, though this would be worked-around automatically.
7. Adds some debug logs whenever a URL is normalized, to help track down
issues with this code (if any arise).
2019-10-08 18:06:03 -04:00
Bond_009
ac93a5a85c Change slow query time logging to debug 2019-10-08 22:17:15 +02:00
Bond_009
e553eba31e Use System.Text.Json api 2019-10-08 20:59:53 +02:00
Vasily
531642fc53 Improve gitattributes for images 2019-10-08 16:54:41 +03:00
Vasily
aa9d7d7f04 Merge pull request #1862 from joshuaboniface/bump-version
Fix bump_version for submodule removal
2019-10-08 16:04:55 +03:00
Joshua Boniface
f20555bf4a Use NVM to install nodejs v8 and yarn
Prevents failure of the installation of jellyfin-web dependencies due
to the NodeJS version in EPEL being too old. v8 might be a little
conservative but is the earliest compatible version. Instead of using
their repo to install Yarn, use the new nvm binary to install Yarn, thus
forcing it to use the updated NodeJS version.
2019-10-07 23:34:02 -04:00
Joshua Boniface
3fc71731a3 Remove jellyfin-web submodule from bump_version 2019-10-07 22:37:19 -04:00
Joshua Boniface
218015063b Port former create_tarball into COPR Makefile
This script was removed in #1793; instead of restoring it, instead
implement its functionality directly in the COPR Makefile.
2019-10-07 22:30:23 -04:00
Joshua M. Boniface
d8c3b26fa6 Merge pull request #1846 from jellyfin/EraYaN-patch-1
Switch to custom patched build for ffmpeg for the Windows installer
2019-10-06 19:23:01 -04:00
Erwin de Haan
adde41c533 Remove /bin from ffmpeg path. 2019-10-06 22:26:17 +02:00
Erwin de Haan
3925e1dced Fix extracted path from ffmpeg zip. 2019-10-06 22:20:49 +02:00
Erwin de Haan
c7d1206dcb Switch to custom patched build for ffmpeg 2019-10-06 22:03:44 +02:00
Vasily
f1567c64a5 Merge pull request #1844 from dkanada/poster
Fix missing image on seasons without posters
2019-10-06 22:16:21 +03:00
Joshua M. Boniface
d900cc5c53 Merge pull request #1845 from joshuaboniface/mesa-va-drivers-fix
Correct missing mesa-va-drivers package
2019-10-06 15:12:48 -04:00
Poki
5c456231b1 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2019-10-06 09:14:04 -04:00
Joshua Boniface
abde7c0242 Make the comment nicer 2019-10-05 18:38:55 -04:00
Joshua Boniface
762d17c3df Move copy steps further so they're not overwriting 2019-10-05 18:24:38 -04:00
dkanada
e006b7f1e1 add comment explaining a bug fix 2019-10-06 01:24:04 +09:00
dkanada
db10f380d1 fix missing image on seasons without posters 2019-10-06 00:58:27 +09:00
Poki
60f8aa540f Added translation using Weblate (Finnish) 2019-10-05 08:04:16 -04:00
Joshua M. Boniface
7b64c696f7 Merge pull request #1841 from joshuaboniface/docs-url
Update Docs to docs.jellyfin.org URL
2019-10-04 15:13:07 -04:00
Joshua Boniface
0367dc21f8 Update GitHub templates 2019-10-04 15:07:59 -04:00
Joshua Boniface
7a172a9051 Update Docs to docs.jellyfin.org URL 2019-10-04 14:37:36 -04:00
Bond_009
416155c35f Ignore warning SA1108 2019-10-04 20:21:47 +02:00
Bond_009
0cd2bfc428 Ignore warning CA1308 2019-10-04 19:55:14 +02:00
Joshua M. Boniface
5bb44c36e1 Merge pull request #1822 from anthonylavado/readme-fix
Update README for new docs location
2019-10-04 13:24:17 -04:00
Bond-009
3ad34de808 Update ApplicationHost.cs 2019-10-04 18:53:26 +02:00
Joo-Hong Lee
4025b2c6a1 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-04 00:13:59 -04:00
Joshua M. Boniface
6b00cc1a06 Merge pull request #1829 from thornbill/fix-sd-auth
Fix SchedulesDirect authentication
2019-10-02 12:36:25 -04:00
Bill Thornton
80dccdef22 Add using block and HexHelper 2019-10-02 09:51:53 -04:00
SaddFox
b0ec5c527d Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2019-10-02 02:13:58 -04:00
Kamilake
5d073713b6 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-02 02:13:58 -04:00
WontTell
d93853375e Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2019-10-02 02:13:58 -04:00
h4ss2
26872eb2c2 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2019-10-02 02:13:58 -04:00
Bill Thornton
119041a425 Fix SchedulesDirect authentication 2019-10-02 01:35:28 -04:00
Joshua M. Boniface
9c85566da7 Merge pull request #1825 from jellyfin/revert-1802-fix-premature-stop
Revert "Fix premature stop when streaming"
2019-10-01 13:55:11 -04:00
Joshua M. Boniface
575b96d03a Revert "Fix premature stop when streaming" 2019-10-01 12:07:09 -04:00
Anthony Lavado
823f648955 Update README for new docs location
Updates several links in the readme to point to our new docs location.
2019-09-30 17:49:37 -04:00
Joshua M. Boniface
7203f463f4 Merge pull request #1820 from joshuaboniface/fix-portable
Properly build DLL for porable
2019-09-30 01:40:50 -04:00
Joshua Boniface
3651755984 Properly build DLL for porable 2019-09-30 01:11:11 -04:00
Joshua M. Boniface
180fb857ed Merge pull request #1819 from nvllsvm/ffmpeg_kill
Ignore exception when attempting to kill ffmpeg that has exited
2019-09-29 20:23:19 -04:00
Joshua M. Boniface
cb09459ad1 Merge pull request #1818 from jellyfin/EraYaN-ci-web-clone-fix
Fix SourceBranch -> SourceBranchName in git clone for Web UI
2019-09-29 19:52:05 -04:00
Andrew Rabert
fd1bdad0e2 Ignore exception when attempting to kill ffmpeg that has exited
A race condition where this code attempts to kill an already exited
ffmpeg process is possible. This results in unnecessary error logging.

This change replaces the generic exception handling with the above
mentioned exception. No log output is produced.
2019-09-29 19:19:53 -04:00
Erwin de Haan
b2ba3a5922 Fix SourceBranch -> SourceBranchName in git clone for Web UI 2019-09-29 23:46:09 +02:00
Joshua M. Boniface
749023bf02 Merge pull request #1811 from joshuaboniface/fix-listen
Configure Kestrel listener to use configured IPs
2019-09-29 17:22:40 -04:00
Joshua M. Boniface
dcc8c7b92a Merge pull request #1808 from joshuaboniface/fix-amf-win
Change Win32 AMF flag to d3d11va
2019-09-29 17:19:23 -04:00
Joshua M. Boniface
f63d591b08 Merge pull request #1817 from joshuaboniface/change-pragma-mode
Change PRAGMA mode from WAL to TRUNCATE
2019-09-29 17:19:08 -04:00
Joshua Boniface
387192610f Handle Kestrel startup failures with a nice error 2019-09-29 17:17:19 -04:00
Joshua M. Boniface
9aec21f6b5 Nicer link format for comment
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-09-29 16:18:05 -04:00
Joshua M. Boniface
e183a14933 Merge pull request #1814 from Bond-009/ffmpeg_fix
Fix ffmpeg version check for unknown versions
2019-09-29 16:16:58 -04:00
Joshua Boniface
72edf5b555 Change PRAGMA mode from WAL to TRUNCATE 2019-09-29 15:53:35 -04:00
Joshua Boniface
7fd75bf071 Change Win32 AMF flag to d3d11va for Windows 8+ 2019-09-29 12:39:52 -04:00
Joshua M. Boniface
d64005df40 Merge pull request #1812 from dkanada/settings
Avoid editing preferences without user interaction
2019-09-29 11:43:03 -04:00
Joshua M. Boniface
c523e576c4 Merge pull request #1815 from Bond-009/fix_tests
Fix tests
2019-09-29 11:26:09 -04:00
Bond_009
d1a6e8c99e Fix tests 2019-09-29 13:57:43 +02:00
Bond_009
3e1aab6b29 Fix ffmpeg version check for unknown versions 2019-09-29 13:43:47 +02:00
dkanada
7a88e7fa34 avoid editing preferences without user interaction 2019-09-29 16:21:32 +09:00
Joshua Boniface
cabb9aed31 Configure Kestrel listener to use configured IPs 2019-09-29 00:37:48 -04:00
Joshua M. Boniface
61f2c41b76 Recursively zip Windows packages (#1809)
Without -r the directory is not properly zipped up.
2019-09-29 00:33:31 -04:00
Bond_009
1745f0181c Log startup time 2019-09-29 00:29:28 +02:00
Joshua M. Boniface
3249fbb715 Merge pull request #1804 from Bond-009/ffmpeg_tests
Add tests for EncoderValidator and add support for ffmpeg 4.2
2019-09-28 18:08:38 -04:00
Joshua M. Boniface
2d797adc08 Merge pull request #1773 from sparky8251/remove-wan-ddns
Remove WAN DDNS
2019-09-28 18:08:24 -04:00
Joshua M. Boniface
c069496b27 Merge pull request #1770 from sparky8251/remove-wan-ip
Remove WAN IP Detection
2019-09-28 18:08:10 -04:00
Joshua M. Boniface
c1e8087b11 Merge pull request #1803 from Bond-009/revision
Don't log revision number
2019-09-28 17:16:38 -04:00
Joshua M. Boniface
427d52cf9a Merge pull request #1805 from Bond-009/plugin_fix
Fix plugin installation
2019-09-28 15:23:08 -04:00
Bond_009
06d420f743 Fix plugin installation 2019-09-28 21:06:58 +02:00
Bond_009
05a1510b31 Add more test data 2019-09-28 19:49:41 +02:00
Bond_009
1b01a6ece1 Add tests for EncoderValidator
* Add support for ffmpeg 4.2
* Parse the complete ffmpeg version instead of only the first 2 digits
* Make max and min version optional
* Remove max limitation (for now)
* Style improvements
2019-09-28 19:41:34 +02:00
Joshua M. Boniface
3577ef6814 Merge pull request #1802 from JustAMan/fix-premature-stop
Fix premature stop when streaming
2019-09-28 11:15:33 -04:00
Joshua M. Boniface
75b7c9ac36 Do explicit dotnet publish in Dockerfiles (#1801)
The common.build.sh script was removed in #1793 but the Dockerfiles
still used this to perform the dotnet publish. Remove that call and do
the publish explicitly.
2019-09-27 23:02:18 -04:00
Bond_009
4f63bfd616 Don't log revision number 2019-09-27 23:58:04 +02:00
Vasily
4fae733eef Cleaned up move to HLS muxer 2019-09-27 18:22:43 +03:00
Vasily
36a34f911e Replaced "stream" muxer with "hls" trying to fix "premature stop" issue 2019-09-27 16:37:41 +03:00
Joshua M. Boniface
e4d5e5bf91 Merge pull request #1793 from joshuaboniface/fix-build
Clean up and update builds to use new jellyfin-web
2019-09-26 22:24:41 -04:00
Joshua Boniface
547a6121b0 Remove redundant yarn build command 2019-09-26 22:09:19 -04:00
Anthony Lavado
bae5e3795e Fix SetImage to avoid out of range exception (#1798)
* Fix SetImage to avoid out of range exception

* Actually use the new images we've retrieved
2019-09-26 09:47:48 -04:00
Joshua Boniface
3b935d8fd0 Clean up old changelog entires from Debian package 2019-09-25 14:54:39 -04:00
Joshua Boniface
15b83f8b55 Clean up and fix Fedora/CentOS builds
This performs a lot of bugfixing and general cleanup to the
Fedora/CentOS builds, including moving the create_tarball into the
docker-build.sh script, remove some old long versions from the spec
file, correcting several bugs with the Docker environment including
splitting them into more discrete layers, and finally making sure
jellyfin-web is included properly in the RPM.
2019-09-25 14:45:15 -04:00
Joshua Boniface
56a879e148 Use redirection instead of tee 2019-09-25 14:20:49 -04:00
Bond_009
c5995af493 Some style fixes 2019-09-25 17:19:48 +02:00
Vasily
fc99f1f563 Merge pull request #1785 from dkanada/compat
Add mediabrowser route back for now
2019-09-25 14:18:21 +03:00
Joshua Boniface
4b257b7b4a Clean up web_build_dir in docker-build.sh 2019-09-25 01:36:20 -04:00
Joshua Boniface
172a81b22c Clean up deployment directory
1. Update README.md to remove some old info
2. Remove common.build.sh from all the build scripts
3. Remove common.build.sh script
4. Remove the docker folder as this isn't used at all
2019-09-25 01:28:07 -04:00
Joshua Boniface
5c7ca6b363 Port Windows x86 build to Docker and add web build 2019-09-25 01:27:35 -04:00
Joshua Boniface
93b213b59f Port Windows x64 build to Docker and add web build 2019-09-25 01:27:28 -04:00
Joshua Boniface
3b669521da Port Portable build to Docker and add web build 2019-09-25 01:10:04 -04:00
Joshua Boniface
05f01b2c45 Port MacOS build to Docker and add web build 2019-09-25 01:06:50 -04:00
Joshua Boniface
f36b898a4d Port Linux build to Docker and add web build 2019-09-25 01:06:18 -04:00
Joshua Boniface
fa9b0d9da1 Add web build to Fedora package build 2019-09-24 23:25:46 -04:00
Joshua Boniface
1c2fd4ef84 Add web build to CentOS package build 2019-09-24 23:24:22 -04:00
Joshua Boniface
be3b05df68 Add web build to Ubuntu arm64 package build 2019-09-24 23:17:11 -04:00
Joshua Boniface
601a50e430 Add web build to Ubuntu armhf package build 2019-09-24 23:15:31 -04:00
Joshua Boniface
03d60438e2 Add web build to Ubuntu amd64 package build 2019-09-24 23:13:40 -04:00
Joshua Boniface
9b6720ce80 Add web build to Debian arm64 package build 2019-09-24 23:11:18 -04:00
Joshua Boniface
b9e0a0b1ac Add web build to Debian armhf package build 2019-09-24 23:09:47 -04:00
Joshua Boniface
d22fd964c2 Add web build to Debian amd64 package build 2019-09-24 23:06:47 -04:00
Joshua Boniface
188ad540ee Remove submodule handling from build script 2019-09-24 23:06:27 -04:00
Joshua Boniface
12f24674fb Fix up Windows build script copy 2019-09-24 22:10:12 -04:00
Vasily
ac9dfa8e93 Merge pull request #1775 from Bond-009/fixes
Fix multiple mistakes and warnings
2019-09-24 19:08:39 +03:00
dkanada
b5b7db1f32 add an exception to logging 2019-09-24 23:59:24 +09:00
dkanada
ab7e697f30 add mediabrowser route back for now 2019-09-24 23:59:24 +09:00
Joshua M. Boniface
b086f6d330 Merge pull request #1791 from EraYaN/ci-web-build
Remove submodule and add clone and build to CI for web UI
2019-09-24 10:48:09 -04:00
Erwin de Haan
a73d87229a Add extra conditions. 2019-09-24 16:38:51 +02:00
Erwin de Haan
e9fb46b0cd Fix path typo and add same code to main build. 2019-09-24 16:32:57 +02:00
Erwin de Haan
0ca0d9d01e Remove submodule and add clone and build to CI 2019-09-24 16:22:26 +02:00
dkanada
1156b8f100 Merge pull request #1788 from joshuaboniface/ssl-dep-ubu
Include libssl-dev dep in Ubuntu build containers
2019-09-24 13:12:03 +09:00
Bond_009
c9820d30ed Fix multiple mistakes and warnings 2019-09-23 20:32:44 +02:00
Dan Johansen
b8fd6a7ec3 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2019-09-23 12:28:24 -04:00
WWWesten
2c2a55abab Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2019-09-22 23:13:44 -04:00
Mário Victor Ribeiro Silva
f7e9b0a27f Translated using Weblate (Portuguese (Brazil))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-09-22 23:13:44 -04:00
pucherot
6b33089274 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-09-22 23:13:44 -04:00
Anthony Lavado
229bd598b5 Add escapes for path quotes in the NSIS Installer (#1777)
This adds backslashes to escape the `--datadir` path in the Windows Installer. Without this, the path would be dropped at the first space (e.g. `C:\Test Area\Jellyfin` would become `C:\Test`).

Fixes #1773.
2019-09-20 13:45:20 -04:00
Joshua Boniface
260dd37bd5 Include libssl-dev dep in Ubuntu build containers 2019-09-20 11:55:51 -04:00
Mark Bai
54d33c06c7 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-09-20 03:13:39 -04:00
Vasily
a7358171cf Merge pull request #1772 from sparky8251/better-hidden-defaults
Hide new users from public API by default
2019-09-19 23:28:53 +03:00
sparky8251
14f563d7c2 Removed WAN DDNS
It's odd that JF still had code lying around for generating a self signed cert. Currently, it does not do this so this code has been removed.

JF also appears to have functions in place to modify provided certs? Warrants deeper investigation. JF should not be attempting modifications of any certs under any circumstance.
2019-09-19 15:56:54 -04:00
sparky8251
44a3e0a97b Hide new users from public API by default 2019-09-19 15:16:57 -04:00
Joshua M. Boniface
e19474d22f Merge pull request #1643 from Bond-009/docs3
Fix some documentation warnings for MediaBrowser.XbmcMetadata
2019-09-19 11:26:26 -04:00
sparky8251
208c8b2b9d Remove missed unused functions
Forgot to remove these in the previous WAN IP detection removal commit
2019-09-19 11:21:19 -04:00
sparky8251
0562b4cf6f Remove WAN IP Detection 2019-09-19 10:55:58 -04:00
Joshua M. Boniface
8ba86fe272 Merge pull request #1765 from EraYaN/ci-add-submodule-update
Add submodule update to CI build.
2019-09-18 14:55:19 -04:00
Bond-009
fad4594062 Merge pull request #1768 from whooo/filewrite-log2
Set log level to debug for HTTP range requests
2019-09-18 20:22:44 +02:00
Erik Larsson
74864832ca Set log level to debug for HTTP range requests
This removes some spam when a DLNA renderer uses byte seeking.
2019-09-18 18:29:15 +02:00
Erwin de Haan
9c95eba5a1 Add VSTest support to CI (#1696)
* Add VSTest support to CI

Add result publishing

Move tests to windows.

Spacing issue.

Image name update.

* Passthrough main debug build

* Rectify mistake and build test assemblies seperately.

* Remove Test dependency
2019-09-18 11:43:02 -04: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
Erwin de Haan
f8fed49225 Another condition update. 2019-09-17 16:45:18 +02:00
Erwin de Haan
8b438b68cc Added Better submodule updates. 2019-09-17 16:40:11 +02:00
Erwin de Haan
8f2ec3b197 Add submodule update to build. 2019-09-17 16:23:27 +02:00
Joshua M. Boniface
adc2a68a98 Merge pull request #1744 from Bond-009/dataprovider
Rewrite `ItemDataProvider` to be more robust
2019-09-17 09:11:50 -04:00
Joshua M. Boniface
39faadc9dc Merge pull request #1751 from Bond-009/login
Reset invalid login counter on successfull login
2019-09-17 09:11:25 -04:00
Joshua M. Boniface
c4c7ced948 Merge pull request #1764 from EraYaN/publish-ci-fault
Fix publish CI YAML parse error
2019-09-16 21:49:01 -04:00
Erwin de Haan
6fa1c5e214 Fix release symlink name. 2019-09-17 01:41:14 +02:00
Erwin de Haan
831ce4da13 Skip checkout for Publish CI pipelines 2019-09-17 01:37:42 +02:00
Erwin de Haan
24a5bebabe Fix yaml parse error 2019-09-17 01:33:17 +02:00
Erwin de Haan
42f761582f Add two manually triggered pipelines for publishing artifacts. (#1763)
* Added two extra pipelines.

* Change the sshEndpoint
2019-09-16 19:23:52 -04:00
nevado
cb32bf1c4f Add mesa-va-drivers to main Dockerfile (#1727) 2019-09-15 00:31:13 -04:00
Bond-009
318b9949f2 Improve Skia error handling (#1752) 2019-09-15 00:27:42 -04:00
Bond-009
221b831bb2 Reset invalid login counter on successfull login 2019-09-13 17:18:45 +02:00
Andrew Rabert
cc8609d0aa Merge pull request #1746 from nvllsvm/yarn
Docker - Build jellyfin-web
2019-09-12 22:19:35 -04:00
Andrew Rabert
03f32978c0 Docker - Build jellyfin-web 2019-09-12 18:24:09 -04:00
Bond_009
8fe7b6551f Rewrite ItemDataProvider to be more robust
* Stop locking 2+ times per operation
* Don't clone the list multiple times
* Keep the lock for the duration of the operation
2019-09-12 21:34:55 +02:00
Bond-009
2919cf28ea Update deps (#1735) 2019-09-11 13:31:35 -04:00
Abdulkadir Furkan Şanlı
e131078673 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-09-11 10:13:20 -04:00
qqq-qqqq
e1b445d133 Translated using Weblate (Chinese (Simplified))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-09-11 10:13:20 -04:00
tluciomiranda
177ca3ccba Translated using Weblate (Portuguese (Portugal))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_PT/
2019-09-11 10:13:20 -04:00
Joshua M. Boniface
c63a53959c Merge pull request #1731 from EraYaN/segment-time-delta-culture-fix
Fix culture problem on Windows for segment_time_delta argument.
2019-09-10 10:41:59 -04:00
Erwin de Haan
e8b13ea8a9 Fix culture problem on Windows for segment_time_delta argument. 2019-09-10 16:31:35 +02:00
Erwin de Haan
2f2010ce59 NSIS improvements (#1692)
* Much better, but still broken

It crashes with two custom pages after one another. (So when the service should be installed).

* Fixed the problems and finished the NSIS installer.

Also ignored some of the artifacts.

* Added changes to CI for setup building.

Consolidate building and fixed git error.

Small CI fixes.

Move UX repo to SourcesDirectory

Fix stupid checkout <> clone error.

Fix typo in PowerShell command.

Artifact publish tasks can not have wildcards.
2019-09-09 17:40:51 -04:00
Anthony Lavado
e6a1407786 Merge pull request #1723 from Bond-009/mrmc
Possible fix for MrMC
2019-09-08 18:10:47 -04:00
Bond_009
3eca8b9c98 Address comments 2019-09-08 21:19:41 +02:00
Bond_009
0803a916aa Fix some documentation warnings for MediaBrowser.XbmcMetadata 2019-09-08 21:19:41 +02:00
Bond_009
675754bc5c Possible fix for MrMC 2019-09-08 21:07:29 +02:00
Joshua M. Boniface
2638759b42 Merge pull request #1708 from crobibero/patch-1
Fix translate link
2019-09-03 00:03:05 -04:00
Joshua M. Boniface
b4d722b9f2 Merge pull request #1709 from joshuaboniface/fix-rootdir-crash
Fix crash due to missing userRootFolder data
2019-09-03 00:02:39 -04:00
Joshua Boniface
baa30b41de Add debug logs and try/catch when creating folder 2019-09-02 23:32:03 -04:00
Cody Robibero
299193e2bd Fix translate link 2019-09-02 20:06:22 -06:00
Joshua M. Boniface
fde9dd2a61 Merge pull request #1693 from joshuaboniface/update-libssl
Update Debian build to Buster and LibSSL 1.1
2019-09-02 21:11:57 -04:00
Joshua Boniface
5552e8cbd7 Add missing build dependency 2019-09-02 20:13:28 -04:00
Joshua M. Boniface
2aecc3fa1b Merge pull request #1699 from joshuaboniface/bump-version
Bump version to 10.4.0
2019-09-02 20:03:31 -04:00
Anthony Lavado
e2577ea1c7 Merge pull request #1707 from nvllsvm/default_build_arg
Fix default build arg
2019-09-02 15:45:52 -04:00
Andrew Rabert
11346c000e Fix default build arg 2019-09-02 15:13:08 -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
Anthony Lavado
cb393c215a Merge pull request #1686 from Bond-009/warn7
More warning fixes
2019-09-02 02:07:19 -04:00
Anthony Lavado
c4eac8b3c6 Merge pull request #1702 from Bond-009/warn8
Fix more warnings
2019-09-02 02:05:20 -04:00
Anthony Lavado
852e5e29ca Merge pull request #1704 from nvllsvm/fix_replace_multiple_spaces
Fix replace multiple spaces
2019-09-02 01:33:14 -04:00
Andrew Rabert
907b3185c2 Use regex to replace multiple spaces with one space
This communicates the intent of the code more clearly than before.
No noticeable performance impact.
2019-09-01 21:44:34 -04:00
Andrew Rabert
6478cd2ea4 Fix infinite looping when scanning TV metadata
It's a possible that name and sb will never be equal. This is caused by
additional replacements before this loop.
Regression introduced in c699c546e4
2019-09-01 21:40:47 -04:00
Bond_009
1616f24cee Fix more warnings 2019-09-01 18:39:23 +02:00
Bond-009
160718efe2 Merge pull request #1691 from sammyrc34/vaapifix
Enable VAAPI decoding without hardware encoding
2019-09-01 17:30:58 +02:00
Bond-009
a266b54ad6 Merge pull request #1683 from dkanada/misc
Move the transcode path and other small fixes
2019-09-01 17:27:08 +02:00
Anthony Lavado
fde024e7b8 Merge pull request #1700 from thornbill/flac
Restore flac mime type
2019-09-01 02:05:15 -04:00
Bill Thornton
3a600687ea Restore flac mime type 2019-09-01 01:15:34 -04:00
Anthony Lavado
67f38006f8 Merge pull request #1680 from marius-luca-87/q6fn_dlna_seek
Fix q6fn dlna seek for direct play
2019-09-01 00:48:30 -04:00
Samantha Collard
627bde4b72 Fix VAAPI 8-bit HW to SW transcoding for some media 2019-09-01 13:20:18 +10:00
Joshua Boniface
742102b541 Bump version to 10.4.0 2019-08-31 21:39:10 -04:00
Joshua Boniface
5251a5ca79 Allow selecting web branch and fix Docker sed 2019-08-31 21:38:26 -04:00
Joshua M. Boniface
ba06ef57a9 Merge pull request #1687 from Bond-009/isomounter
Move IsoMounter to plugin
2019-08-31 21:22:41 -04:00
Joshua M. Boniface
0d7adc3382 Merge pull request #1695 from nvllsvm/dfa
Make Docker ffmpeg version configurable
2019-08-31 21:12:37 -04:00
Andrew Rabert
1c4755f26a docker - make ffmpeg version configurable 2019-08-31 13:26:13 -04:00
Joshua Boniface
93a668de8b Add libssl-dev dependency 2019-08-31 01:17:23 -04:00
Joshua Boniface
1d5b11f7f6 Update GCC crossbuild to version 8 2019-08-31 01:12:11 -04:00
Joshua Boniface
b1c7b88b5b Use latest 2.2.6 dotnet SDK image (2.2.401) 2019-08-31 00:39:46 -04:00
Joshua Boniface
bedc2be525 Add libssl-dev build dependency 2019-08-31 00:32:26 -04:00
Samantha Collard
a321ca5b39 Enable VAAPI decoding without hardware encoding
Enable VAAPI command arguments to ffmpeg if VAAPI is selected, and
add the "hwdownload" filter if transcoding from VAAPI to software.
Also support transforming 10 bit colourspace to 8-bit, consistent
with other hardware encoding options, at least until client pixel
formats are configurable.
2019-08-31 12:04:31 +10:00
Bond_009
14fbd845c2 Move IsoMounter to plugin 2019-08-29 23:11:55 +02:00
Bond_009
e4f893a0eb More warning fixes 2019-08-29 22:28:33 +02:00
Anthony Lavado
a30876c3ff Merge pull request #1685 from Bond-009/format
Fix invalid arg for
2019-08-29 15:55:31 -04:00
Bond_009
0aaaaab7a0 Fix invalid arg for 2019-08-29 20:25:56 +02:00
dkanada
21ff63c371 move the transcode path 2019-08-29 00:14:50 -07:00
marius
3deeca43a1 - use streamInfo.StartPositionTicks if provided over userdata.PlaybackPositionTicks when creating the Samsung Bookmark Info 2019-08-29 02:38:53 +03:00
Bond-009
503ab56a59 Merge pull request #1678 from marius-luca-87/dlna_seek_exception_fix
Fix ArgumentOutOfRangeException in ParseTimeSeekHeader
2019-08-28 20:13:58 +02:00
marius
b711ece829 - fix ArgumentOutOfRangeException at MediaBrowser.Api.Playback.BaseStreamingService.ParseTimeSeekHeader (second substring argument is length) 2019-08-28 21:05:17 +03:00
Anthony Lavado
efaa668158 Merge pull request #1633 from Bond-009/udpclient
Attempt to fix #1391
2019-08-28 09:41:11 -04:00
Anthony Lavado
a2fd82137c Merge pull request #1676 from Bond-009/login
Fix login
2019-08-28 09:38:12 -04:00
Bond_009
efc4805233 Fix login 2019-08-28 14:45:46 +02:00
Bond_009
dc194015c2 Remove unused args 2019-08-28 13:59:17 +02:00
Bond_009
5dd332b63d Attempt to fix #1391 2019-08-28 13:55:36 +02:00
Anthony Lavado
874f02631b Merge pull request #1641 from cvium/tmdb_cleanup
Tmdb cleanup and re-add Writer and Producer
2019-08-27 23:29:01 -04:00
Andrew Rabert
24775f4988 Merge pull request #1651 from sl1288/master
Fix local trailers playback
2019-08-27 19:02:05 -04:00
Odd Stråbø
f255788383 Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.7% (90 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2019-08-26 22:06:50 -04:00
Pafzedog
ba0997a8db Translated using Weblate (French)
Currently translated at 95.7% (90 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2019-08-26 22:06:50 -04:00
Axel Gabriel Calle Granda
7d4bb28d18 Translated using Weblate (Spanish)
Currently translated at 95.7% (90 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-08-26 22:06:50 -04:00
Matzi24GR
d2c69e7733 Translated using Weblate (Greek)
Currently translated at 95.7% (90 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-08-26 22:06:50 -04:00
Βασίλης Μουρατίδης
143a408342 Translated using Weblate (Greek)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-08-26 22:06:50 -04:00
Matzi24GR
6be68a3656 Translated using Weblate (Greek)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-08-26 22:06:50 -04:00
Anthony Lavado
b744ebb3b3 Merge pull request #1656 from loli10K/fix_firewalld_service
Fix firewall-cmd: Error: INVALID_SERVICE: 'jellyfin' not among existing services
2019-08-26 17:02:05 -04:00
Joshua Boniface
fb37f4a1d5 Use base Debian image in Docker build 2019-08-26 11:05:15 -04:00
Joshua Boniface
5945a638ff Update builds to Debian 10 and OpenSSL to 1.1-only 2019-08-26 11:00:36 -04:00
Bond-009
e87d7cfaf3 Merge pull request #1659 from jellyfin/fix_ffmpeg
Fix segment_time_delta value for ffmpeg 4.1
2019-08-25 13:38:11 +02:00
Claus Vium
2e66361482 Move argument to new line 2019-08-24 11:38:33 +02:00
Claus Vium
15b054be94 Fix style issues 2019-08-24 11:17:17 +02:00
Joshua M. Boniface
1dfd5000ff Merge pull request #1499 from crobibero/log-password-ip
Log IP address on failed login attempt
2019-08-23 23:40:45 -04:00
crobibero
4f974122f8 log password on failed login attempt 2019-08-23 23:28:52 -04:00
Joshua M. Boniface
dc1782d049 Merge pull request #1646 from Bond-009/lock
Return DB lock immediately
2019-08-21 18:24:47 -04:00
loli10K
588db95e2a Fix firewall-cmd: Error: INVALID_SERVICE: 'jellyfin' not among existing services 2019-08-20 20:27:31 +02:00
Joshua M. Boniface
1bce9a89b6 Merge pull request #1433 from fhriley/h265
Add support for encoding with libx265 and hevc_nvenc
2019-08-19 16:28:43 -04:00
Joshua M. Boniface
d95c04787c Merge branch 'master' into h265 2019-08-19 14:57:48 -04:00
Joshua M. Boniface
d99278da1d Merge pull request #1650 from Bond-009/sqlitepclv2
Upgrade SQLitePCL to v2
2019-08-19 14:43:54 -04:00
SL1288
fdc24ec2ee Fix LocalTrailers playback. 2019-08-19 18:56:41 +02:00
Bond_009
3fd489d1cb Upgrade SQLitePCL to v2 2019-08-19 17:03:21 +02:00
Claus Vium
058e077422 Add newline after end tag 2019-08-19 12:13:34 +02:00
Claus Vium
d2b8672c1c Require latest C# version in Providers project 2019-08-19 12:12:00 +02:00
dkanada
c8474f734c Merge pull request #1644 from Bond-009/hiddenwarn
Fix possible hidden exceptions
2019-08-19 01:59:07 -07:00
dkanada
5626709de5 Merge pull request #1645 from Bond-009/fixusers
Fix UserNotFoundError
2019-08-19 01:58:24 -07:00
Bond_009
f70a63d575 Return DB asap 2019-08-18 22:05:06 +02:00
Bond_009
24fac4b191 Fix UserNotFoundError 2019-08-18 20:12:25 +02:00
Bond_009
99aea27723 Fix possible hidden exceptions
If an error occurred while starting the server which in turn caused an
exception in the dispose method of the apphost, the first exception
wouldn't get logged.
2019-08-18 20:01:08 +02:00
Joshua M. Boniface
94e25e898a Merge pull request #1511 from crankdoofus/master
Add NSIS installer build support
2019-08-18 13:56:20 -04:00
Joshua M. Boniface
4bb0c2d053 Merge pull request #1642 from cvium/fix_slow_db
Speed up BaseItem deserialization
2019-08-18 13:42:08 -04:00
Claus Vium
f48eaccc51 Use reader.GetString instead of indexing 2019-08-18 17:32:41 +02:00
Claus Vium
e7c05dcfaf Speed up BaseItem deserialization 2019-08-18 17:22:45 +02:00
Claus Vium
82b0015b30 Fix style issues 2019-08-18 14:50:26 +02:00
Claus Vium
78441730a7 Add Writer and Producer to crew list 2019-08-18 14:50:26 +02:00
Claus Vium
5ea1299030 Fix api url 2019-08-18 14:50:26 +02:00
Claus Vium
817d9b3389 Move and rename tmdb providers for better separation 2019-08-18 14:50:26 +02:00
dkanada
25a590e8cd Merge pull request #1636 from Bond-009/isomounter
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
2019-08-18 03:19:27 -07:00
Anthony Lavado
6766e04dd6 Merge pull request #1521 from Bond-009/hdhomerun
Clean up livestreaming code
2019-08-17 02:24:39 -04:00
Anthony Lavado
28d707604b Merge pull request #1629 from cvium/fix_tvdb_guest_stars
Fix tvdb guest stars with multiple roles
2019-08-17 02:22:07 -04:00
Anthony Lavado
f1f4b1a184 Merge pull request #1628 from cvium/fix_tvdb_ep_provider_id
Always fetch episode id as EpisodeInfo does not contain it
2019-08-17 02:10:36 -04:00
Anthony Lavado
f41a608f11 Merge pull request #1452 from Bond-009/usermanager2
Improvements to UserManager
2019-08-17 02:02:55 -04:00
Bond_009
1bc9b42c57 More fixes 2019-08-16 21:18:37 +02:00
Bond-009
4b37caa63a Update SharedHttpStream.cs 2019-08-16 21:13:18 +02:00
Bond_009
237db8ae92 Clean up livestreaming code 2019-08-16 21:13:18 +02:00
Claus Vium
9e3f4ac954 Move the first argument to its own line 2019-08-16 21:10:42 +02:00
Bond_009
8d3b5c851d Improvements to UserManager 2019-08-16 21:06:11 +02:00
Bond_009
dc662beefe Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors 2019-08-16 21:03:45 +02:00
Anthony Lavado
7a27dd8a1b Merge pull request #1632 from Bond-009/locale
Improve LocalizationManager
2019-08-16 14:17:01 -04:00
Anthony Lavado
af3c4e0ce8 Merge pull request #1588 from dkanada/url
Add base url option to server configuration
2019-08-16 14:16:18 -04:00
Claus Vium
e4158d9703 Continue 2019-08-16 20:11:01 +02:00
Claus Vium
8d230e67a2 Place args on separate lines 2019-08-16 20:09:30 +02:00
Claus Vium
daf29233e6 Invert the second if 2019-08-16 20:07:00 +02:00
Claus Vium
15f7a2078b Invert the if 2019-08-16 19:58:44 +02:00
Claus Vium
26b4fb21fe Update MediaBrowser.Providers/TV/TheTVDB/TvdbEpisodeProvider.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-08-16 19:53:28 +02:00
Claus Vium
617f7e8b5b Fix segment_time_delta value for ffmpeg 4.1 2019-08-16 19:52:54 +02:00
Anthony Lavado
be5a819621 Merge pull request #1634 from Bond-009/fixbuild
Fix build on .Net Core 2.x
2019-08-16 13:49:02 -04:00
Bond_009
c0e71cdea7 Fix build on .Net Core 2.x 2019-08-16 19:05:30 +02:00
Anthony Lavado
b89c26ab57 Merge pull request #1631 from Bond-009/fixbuild
Fix build for .Net Core 2.x
2019-08-16 12:03:27 -04:00
Bond_009
499c3dbdca Fix build for .Net Core 2.x 2019-08-16 17:37:40 +02:00
Bond_009
c699c546e4 Improve LocalizationManager 2019-08-16 17:31:47 +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
Claus Vium
11504321b5 Handle negative roleStartIndex since not all guest stars have roles 2019-08-15 19:54:01 +02:00
Claus Vium
f7f3627bb1 Remove unused import 2019-08-15 14:56:49 +02:00
Claus Vium
f4a99beb16 Fix tvdb guest stars loop 2019-08-15 14:54:22 +02:00
Claus Vium
38b0967044 Log episode id and series id when either request fails 2019-08-15 13:43:12 +02:00
Claus Vium
14575f0a06 Always fetch episode id as EpisodeInfo does not contain it 2019-08-15 13:39:56 +02:00
dkanada
685e9e4f58 Merge pull request #1584 from Bond-009/checksum
Check checksum for plugin downloads
2019-08-15 01:00:33 -07:00
dkanada
535e0d2553 Merge pull request #1625 from Bond-009/crash
Fix instant crash.
2019-08-14 15:05:35 -07:00
Bond_009
d62a3f0e57 Fix master 2019-08-15 00:00:21 +02:00
dkanada
ca12763adc Merge pull request #1624 from Bond-009/nullref
Fix possible Nullref
2019-08-14 12:42:58 -07:00
Bond_009
2fdf7f1098 Properly dispose DisplayPreferencesRepository 2019-08-14 20:35:36 +02:00
Bond_009
e5b163b86a Fix possible nullref 2019-08-14 20:24:44 +02:00
Anthony Lavado
f8202384a6 Merge pull request #1622 from anthonylavado/transcoding-cleanup
Add a task to clean up transcode cache
2019-08-14 12:25:05 -04:00
Anthony Lavado
35da4ffa3e Remove unneeded comment 2019-08-14 11:59:14 -04:00
Anthony Lavado
4762e2fc6c Add a task to clean up transcode cache 2019-08-14 01:51:46 -04:00
dkanada
8f8d8e3d0b Merge pull request #1581 from Bond-009/socket1
Use System.Net abstractions instead of raw socket
2019-08-13 19:58:57 -07:00
Anthony Lavado
29623d36e8 Merge pull request #1568 from whooo/master
Add DLNA headers if requested by the client
2019-08-13 01:29:16 -04:00
dkanada
443ccbf426 Merge pull request #1613 from Bond-009/docs
Update deps + document startup project
2019-08-12 18:42:30 -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
Bond_009
cb492fe3c7 Improve clickable link 2019-08-11 15:17:39 +02:00
Bond_009
003238ef5e Update deps + document startup project
* Fixed the release build
* Documented all public/internal members of Jellyfin.Server
* Enable TreatWarningsAsErrors for debug builds for Jellyfin.Server

This will ensure that any new public/internal members of Jellyfin.Server
are documented
2019-08-11 15:11:53 +02:00
dkanada
1ad67e223f Merge pull request #1462 from Bond-009/installationmanager
Improvements to InstallationManager
2019-08-11 03:47:10 -07:00
whooo
9556561a77 Merge branch 'master' into master 2019-08-11 12:42:19 +02:00
dkanada
97d6c2db6b keep old base url for now 2019-08-11 00:35:18 -07:00
dkanada
d521e5c36a add base url to server configuration 2019-08-11 00:35:18 -07:00
dkanada
c987203f5a remove old routes from http server 2019-08-11 00:33:13 -07:00
Joshua M. Boniface
a96fa7a5c7 Merge pull request #1397 from Bond-009/passfast
Streamline authentication proccess
2019-08-10 21:42:46 -04:00
dkanada
5c366e4697 Merge pull request #1612 from Bond-009/warn4
Fix warnings
2019-08-10 15:12:54 -07:00
dkanada
4f592e9c33 Merge pull request #1484 from SenorSmartyPants/DVD-Order
Update TVDB provider to search based on series display order
2019-08-09 23:26:42 -07:00
dkanada
b5f3f28f41 Merge pull request #1578 from Bond-009/httpresponse
Replace custom code with Asp.Net Core code
2019-08-09 23:26:10 -07:00
Joshua M. Boniface
f8ad6655fb Merge pull request #1023 from Bond-009/cultinvar
Use CultureInvariant string conversion for Guids
2019-08-09 22:33:18 -04:00
Bond_009
25917db07a Fix doc releated warnings 2019-08-09 23:50:40 +02:00
Bond_009
9b2cf8501f Add last one 2019-08-09 23:24:04 +02:00
Bond_009
52c1b45feb Fix build 2019-08-09 23:17:54 +02:00
Bond-009
6032f31aa6 Use CultureInvariant string conversion for Guids 2019-08-09 23:17:54 +02:00
Bond_009
2a58c643d2 Fix more warnings 2019-08-09 23:16:24 +02:00
Anthony Lavado
aafa11b48b Merge pull request #1608 from Marenz/patch-1
Add link to feature request hub to readme
2019-08-09 17:08:40 -04:00
Bond-009
a5cb069f26 Update HdHomerunManager.cs 2019-08-09 22:38:31 +02:00
Bond_009
1cad93c276 Use System.Net abstractions instead of raw socket 2019-08-09 22:38:31 +02:00
Bond_009
0116190050 Minor changes 2019-08-09 22:37:44 +02:00
Bond_009
cf7290343f Fix build 2019-08-09 22:36:20 +02:00
Bond_009
9fff4b060e Replace custom code with Asp.Net Core code 2019-08-09 22:36:20 +02:00
Mathias L. Baumann
6c58ac5c55 Add link to feature request hub to readme 2019-08-09 10:00:16 +02:00
dkanada
cf0460c7f9 move comment to separate line 2019-08-07 02:24:56 -07:00
dkanada
779f0c637f Merge pull request #1580 from Bond-009/linklocal
Ignore Ipv6 link-local addresses
2019-08-07 02:18:22 -07:00
Andrew Rabert
dac22887cf Merge pull request #1605 from nvllsvm/fix_docker
Fix Docker build
2019-08-07 00:04:34 -04:00
Andrew Rabert
da01376294 Fix Docker build 2019-08-06 23:57:39 -04:00
Joshua M. Boniface
74f88b3c50 Merge pull request #1602 from anthonylavado/stale-update
Update the Stale-bot config
2019-08-06 13:21:05 -04:00
Anthony Lavado
ff93b162ee Update the Stale-bot config
Updates the Stale bot to mark an issue after 90 days, and allows 14
days before closing the issue.
2019-08-06 12:59:45 -04:00
LogicalPhallacy
984e415c66 Merge pull request #5 from jellyfin/master
Merge up to latest master
2019-08-06 00:26:19 -07:00
Tradutor da Silva
89f592687e Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.7% (90 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-08-04 19:24:29 -04:00
Tamás Mogyorósi
5e6e52d397 Translated using Weblate (Hungarian)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2019-08-04 19:24:29 -04:00
AndersMachmueller
20cbbd4f4c Translated using Weblate (Danish)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2019-08-04 19:24:29 -04:00
Michał
b637cdabae Translated using Weblate (Polish)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pl/
2019-08-04 19:24:29 -04:00
Joshua M. Boniface
0f9fd38053 Merge pull request #1593 from nvllsvm/docker_web_master
Docker - make web version more configurable
2019-08-03 15:53:07 -04:00
Bond-009
20f0a8a1c4 Merge pull request #1597 from whooo/filewriter-log
Set log level to debug for HTTP range requests
2019-08-03 15:50:56 +02:00
Erik Larsson
0e6417c9fa Set log level to debug for HTTP range requests 2019-08-03 12:37:02 +02:00
Anthony Lavado
cc4bf60092 Merge pull request #1590 from anthonylavado/null_check
Adds null check on studio/network name
2019-08-02 14:12:17 -04:00
Andrew Rabert
358665d944 Docker - make web version more configurable
This allows for building against jellyfin-web master. Ex.

docker build . --build-arg JELLYFIN_WEB_VERSION=master
2019-08-01 01:03:52 -04:00
Anthony Lavado
d05440d267 Update MediaBrowser.Providers/TV/TheTVDB/TvdbSeriesProvider.cs
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2019-07-31 12:21:46 -04:00
dkanada
ca8e0796d9 Merge pull request #1582 from Bond-009/ipnetwork
Include library via NuGet instead of via source
2019-07-30 23:45:32 -07:00
dkanada
3949048dde Merge pull request #1573 from Bond-009/mimetype
Use a dictionary to look up mimetypes
2019-07-30 23:44:58 -07:00
dkanada
bf083c1429 Merge pull request #1579 from Bond-009/ass
Fix #1388 and #1472
2019-07-29 15:15:17 -07:00
Joshua M. Boniface
8c15ac7fab Merge pull request #1583 from jellyfin/EraYaN-fider-readme
Add Fider to README
2019-07-29 14:53:35 -04:00
Erwin de Haan
487ba2b928 Add Fider to README 2019-07-29 20:21:47 +02:00
Anthony Lavado
2fc1f39061 Merge pull request #1555 from jellyfin/EraYaN-stale-app-config
Add Stale app configuration starting point
2019-07-29 13:47:03 -04:00
Erwin de Haan
9e1adec5e0 Update message for stale issues and also ignore feature and enhancement labels 2019-07-29 19:42:38 +02:00
Anthony Lavado
43748d439a Merge pull request #1572 from jellyfin/remove-feature-requests
Remove the issue template for feature requests.
2019-07-29 13:20:07 -04:00
Bond_009
998017a76d Include library via NuGet instead of via source 2019-07-29 16:01:14 +02:00
Bond_009
5c9d041423 Ignore Ipv6 link-local addresses 2019-07-29 13:57:36 +02:00
dkanada
e4644599af Merge pull request #1513 from Bond-009/style2
Fix style issues
2019-07-29 00:16:56 -07:00
Bond_009
e6ef6088ff Fix #1388 and #1472 2019-07-29 00:43:57 +02:00
Erwin de Haan
b4f446fe42 Delete enhancement-request.md 2019-07-28 22:50:41 +02:00
Anthony Lavado
da7abea9aa Merge pull request #1574 from jellyfin/compat-checker-ci
Add the --azure-pipelines switch to the compat checker
2019-07-28 16:48:49 -04:00
Erwin de Haan
9faf035413 Add the --azure-pipelines switch to the compat checker 2019-07-28 21:01:18 +02:00
Bond-009
8b1bd7ac6b Use a dictionary to look up mimetypes 2019-07-28 20:20:03 +02:00
Erwin de Haan
7faf3ab04a Delete feature_request.md 2019-07-28 19:41:36 +02:00
Anthony Lavado
a8014b3942 Merge pull request #1540 from HelloWorld017/sami-fix
Fixed SMI Encoding Bug
2019-07-28 00:42:21 -04:00
dkanada
85b277b872 Merge pull request #1524 from Bond-009/ipaddress
Remove IpAddressInfo and IpEndPointInfo classes
2019-07-27 17:50:17 -07:00
Erik Larsson
a1efe4caca Add DLNA headers if requested by the client.
And remove the code which adds the headers as ResponseHelper.WriteToResponse
will do it.
2019-07-27 19:55:18 +02:00
crankdoofus
c6111a7fb5 Change service install user
The default is Network Service, with advanced option to use Local System
2019-07-27 20:23:22 +10:00
Anthony Lavado
80145cd5a3 Merge pull request #1562 from Bond-009/buffered
Don't copy the complete response stream
2019-07-27 03:01:34 -04:00
Anthony Lavado
d39decf918 Adds null check on studio/network name 2019-07-27 02:30:42 -04:00
crankdoofus
5517d912bf Rework based on review comments 2019-07-25 21:52:44 +10:00
crankdoofus
fbbcba95d3 Update installer name to copy 2019-07-25 21:51:53 +10:00
Bond_009
8270d0cc91 Move IPv6 scope id removal logic to it's own function 2019-07-25 00:23:56 +02:00
Bond_009
ddd1a282ea Remove IpAddressInfo and IpEndPointInfo classes 2019-07-25 00:15:06 +02:00
Bond_009
773af2eef9 Don't copy the complete response stream 2019-07-24 23:46:58 +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
595a68b822 Bump version for 10.3.7 2019-07-24 10:48:35 -04:00
Vladimir Jendrol
18bc6c69d5 Translated using Weblate (Slovak)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sk/
2019-07-22 22:28:01 -04:00
tluciomiranda
d56725a43d Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_PT/
2019-07-22 22:28:01 -04:00
Tradutor da Silva
b3aaa9216d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-07-22 22:28:01 -04:00
vaheed
ea41155c6b Translated using Weblate (Persian)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fa/
2019-07-22 22:28:01 -04:00
polVRtong
b337df889e Translated using Weblate (Korean)
Currently translated at 97.8% (92 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-07-22 22:28:01 -04:00
exveria1015
00c92e88c5 Translated using Weblate (Japanese)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2019-07-22 22:28:01 -04:00
Moritz
8c94187c75 Translated using Weblate (German)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2019-07-22 22:28:01 -04:00
Matsuri
cd504e6ee5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-07-22 22:28:01 -04:00
ZhiGang Zhung
6e29b8ad6f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-07-22 22:28:01 -04:00
ancarvalho
0d9cdb98f2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-07-22 22:28:01 -04:00
Anthony Lavado
c5d9480313 Merge pull request #1552 from cvium/fix_livetv_v2
Disable buffering in HttpClient as it causes big requests to timeout
2019-07-22 02:28:38 -04:00
Erwin de Haan
67e32a2c44 Add Stale app configuration starting point
Link: https://github.com/apps/stale
2019-07-21 01:07:39 +02:00
Claus Vium
dadfc09c01 Add HttpCompletionOption.ResponseHeadersRead to the buffering option to avoid potentially having 2 copies in memory 2019-07-20 13:36:59 +02:00
Claus Vium
886c88576c Use HttpCompletionOption.ResponseHeadersRead and resort to Content-Length header for non-buffered content 2019-07-19 23:22:30 +02:00
Joshua M. Boniface
4ba33eb3e1 Merge pull request #1541 from joshuaboniface/fix-deb-rules
Override the Debian installinit name
2019-07-14 23:40:03 -04:00
Khinenw
59518ec87e Fixed SMI to SRT UTF-16 Encoding bug 2019-07-15 12:20:59 +09:00
Joshua M. Boniface
953f077f9d Override the installinit name
Without this, when building the `jellyfin-nightly` package, it attempts
to find service/init files with the name `jellyfin-nightly` instead of
the proper name. This override prevents this by forcing the name to
`jellyfin`. Required for nightly builds.
2019-07-14 23:11:17 -04:00
Joshua M. Boniface
cf2f5b2026 Merge pull request #1538 from joshuaboniface/epg
Try to fix XmlTvListingsProvider
2019-07-14 17:09:00 -04:00
Joshua M. Boniface
135c16c721 Merge pull request #1537 from joshuaboniface/contenttype
Properly set content type
2019-07-14 17:08:54 -04:00
Joshua M. Boniface
e94fa791a9 Merge pull request #1519 from Bond-009/mergefix
Fix merge errors
2019-07-13 17:32:45 -04:00
Bond_009
5d9fa06675 Cleanup 2019-07-13 17:18:39 -04:00
Bond_009
b294b802a8 Try to fix XmlTvListingsProvider 2019-07-13 17:18:27 -04:00
Bond_009
7bb504d491 Create a new HttpMethod from the function name 2019-07-13 17:12:06 -04:00
Bond_009
b1bd062709 Properly set content type 2019-07-13 17:12:06 -04:00
Joshua M. Boniface
0d3b399b61 Merge pull request #1536 from joshuaboniface/fix-symlinks
Fix broken symlinks in deployment
2019-07-13 15:26:48 -04:00
Joshua M. Boniface
0f8e2600e3 Fix broken symlinks
These were removed somehow in defc5f1cf9b486357b379c610663e1bad48428ad;
restore them to their proper link state.
2019-07-13 14:23:57 -04:00
Joshua M. Boniface
3d71e9b509 Merge pull request #1534 from joshuaboniface/nightly-deb-fix
Use dash or underscore on mv command
2019-07-13 13:29:32 -04:00
Joshua M. Boniface
881f385a61 Use dash or underscore on mv command
Required for nightlies, which would not match this file format with the
underscore then wildcard. Enables nightly builds.
2019-07-13 13:03:50 -04:00
crankdoofus
e31851d25e Update to uninstall silently if already installed 2019-07-13 21:16:56 +10:00
crankdoofus
aff72323c6 Update code for in-place upgrades 2019-07-09 22:56:23 +10:00
Bond-009
a31a396780 Merge pull request #1518 from jellyfin/EraYaN-azp-grant-auth
Update the GitHub token to a Grant Auth token
2019-07-07 12:25:58 +02:00
crankdoofus
8555c5fae1 Correct comment 2019-07-07 09:17:03 +10:00
crankdoofus
da71354e82 Remove Emby migration section, include License 2019-07-07 09:13:27 +10:00
crankdoofus
3d0e7f6cb6 Include License file with installation 2019-07-07 09:10:35 +10:00
Bond_009
c7d12cc481 Fix merge errors 2019-07-07 00:43:43 +02:00
Erwin de Haan
440177a43d Update the GitHub token to a Grant Auth token. 2019-07-07 00:20:37 +02:00
Bond-009
953eb6e906 Merge pull request #1517 from jellyfin/EraYaN-azp-github-token-name
Update the GitHub connection name to use the GitHub App token
2019-07-07 00:08:27 +02:00
Erwin de Haan
fc55b44e4b Update the GitHub connection name to use the GitHub App token 2019-07-07 00:03:59 +02:00
Bond-009
f2a56fcd80 Merge pull request #1516 from jellyfin/EraYaN-vacuum-merge-fix
Move VACUUM command to fix merge error
2019-07-06 23:57:27 +02:00
Erwin de Haan
0dbc294836 Move VACUUM command to fix merge error
This fixes a syntax error.
2019-07-06 23:50:06 +02:00
Joshua M. Boniface
3b49c1bac0 Merge pull request #1515 from jellyfin/release-10.3.z
Backmerge for 10.3.6
2019-07-06 17:48:48 -04:00
Bond-009
82f041d050 Merge branch 'master' into release-10.3.z 2019-07-06 23:08:52 +02:00
Joshua M. Boniface
4f17ed961e Merge pull request #1514 from Bond-009/httpclient2
Fix issues with HttpClientManager
2019-07-06 17:01:35 -04:00
Joshua M. Boniface
ba551b48e1 Merge pull request #1111 from EraYaN/azp-hardcoded-try
Azure Pipelines DownloadBuildArtifacts@0 Experiment
2019-07-06 14:21:35 -04:00
Bond_009
5fc4ad6c4e Address comments 2019-07-06 20:04:45 +02:00
Bond_009
b117b364f2 Remove duplicate code 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
Joshua M. Boniface
54c6f02ebb Merge pull request #1455 from ferferga/release-10.3.z
Vacuum databases at startup
2019-07-06 13:57:18 -04:00
Joshua M. Boniface
b3f9d04501 Bump version for 10.3.6 2019-07-06 13:34:38 -04:00
Bond_009
ab7ef9c9cb Fix style issues 2019-07-06 16:15:38 +02:00
Bond_009
0f897589ed Streamline authentication proccess 2019-07-06 14:52:24 +02:00
crankdoofus
cea6a2217e Correct Service handling & LocalAppData folder
The service is now completely controlled by nssm as with the install-jellyfin.ps1
The LocalAppData had the global context, its now 
Corrected order of Mandatory and Optional components.
2019-07-06 18:34:48 +10:00
crankdoofus
dc3eceec6a Changed order to include install scripts in installer 2019-07-06 18:02:00 +10:00
crankdoofus
a6819ffd1d Cleaned up code 2019-07-06 12:19:57 +10:00
crankdoofus
de9ee10abc Uncomment accidental commenting of compilation 2019-07-06 12:18:20 +10:00
crankdoofus
43989800ba Added -Force to nsis extraction 2019-07-06 12:16:34 +10:00
crankdoofus
1fd827fa77 Create jellyfin.nsi 2019-07-06 11:43:20 +10:00
crankdoofus
3b9766f58c Added option for NSIS
This change will 
1. download NSIS zip, 
2. unzip in temp folder, 
3. use nsis to build the installer
2019-07-06 11:41:33 +10:00
Erwin de Haan
2c8df07753 Fix some task names. 2019-07-05 13:03:34 +02:00
Erwin de Haan
08421311b9 Switch download order around. 2019-07-05 12:10:57 +02:00
Erwin de Haan
dc68fa2c8b Disable seperate build and restore. 2019-07-05 12:06:01 +02:00
Erwin de Haan
ff373621b3 Switch to next gen artifacts. 2019-07-05 12:02:35 +02:00
Erwin de Haan
272691aacd Switched to specific download. 2019-07-05 11:37:14 +02:00
Erwin de Haan
46623bc985 Try with hardcoded name. 2019-07-05 11:32:25 +02:00
Erwin de Haan
3462147195 Switched to latest ubuntu image and hardcoded definitionId. 2019-07-05 11:17:48 +02:00
Erwin de Haan
268fe5efe8 Small attempts at making previous build downloads work. 2019-07-05 11:11:46 +02:00
dkanada
0e0c70f782 Merge pull request #1505 from trumblejoe/patch-1
Qualified Namespace of pscredential
2019-07-04 20:18:46 -07:00
Erwin de Haan
acf52b9b55 Cleanup extra spaces. 2019-07-04 20:55:49 +02:00
Erwin de Haan
7587fe56d8 Moved VACUUM down to the end of the list. 2019-07-04 20:54:57 +02:00
Anthony Lavado
ab34a95142 Merge pull request #1473 from DrPandemic/apply-deprecation-WebRequest-on-10.3.z
Apply deprecation web request on 10.3.z
2019-07-04 14:51:24 -04:00
dkanada
9e9952d81f Merge pull request #1247 from bugfixin/master
Adjust detection of 'sample' in filenames to use regex boundaries
2019-07-04 11:38:01 -07:00
dkanada
4f2d601f02 Merge pull request #1167 from Bond-009/eol
Force LF line endings
2019-07-02 13:02:29 -07:00
dkanada
e722801f80 Merge pull request #956 from Bond-009/db
Simplify db code
2019-07-02 11:56:13 -07:00
dkanada
6cf9204219 Merge pull request #1500 from dkanada/password
Add optional password field on user creation
2019-07-02 11:55:44 -07:00
trumblejoe
b719ca5a33 Qualified Namespace of pscredential
Qualified Namespace of pscredential, otherwise script fails in Powershell builds <3.0.
2019-07-02 13:29:28 -04:00
Bond_009
29ae7b9aeb Add docs 2019-07-01 18:24:35 +02:00
Bond_009
45c13141f9 Address comments 2019-07-01 17:59:01 +02:00
dkanada
9079b3e8da add optional password field on user creation 2019-06-30 01:58:01 -07:00
Andrew Rabert
0ee40cb636 Merge pull request #1495 from joshuaboniface/better-restart-script
Add nicer restart script
2019-06-29 19:48:54 -04:00
Joshua M. Boniface
62105c249f Use which to find the service binary path 2019-06-28 11:15:08 -04:00
Joshua M. Boniface
a629f209b9 Make message wording more consistent 2019-06-28 11:06:55 -04:00
Bond_009
ecb8d8991b Fix whitespace 2019-06-28 12:22:33 +02:00
Bond_009
2e4c0fee77 Add removed line 2019-06-28 12:16:51 +02:00
Bond_009
d961278b3d Reduce amount of raw sql 2019-06-28 12:14:27 +02:00
Bond_009
db2765aae5 Last bit of cleanup 2019-06-28 12:14:27 +02:00
Bond_009
7898af4ceb Reworked PRAGMA statements use 2019-06-28 12:14:27 +02:00
Bond_009
edfd2d0cd9 Fix startup 2019-06-28 12:14:27 +02:00
Bond_009
d00ad28efd Address comments 2019-06-28 12:14:27 +02:00
Bond-009
02b864e41b Last line? 2019-06-28 12:14:27 +02:00
Bond-009
e88ebd748d Final fixes 2019-06-28 12:14:27 +02:00
Bond-009
b6954f3bfd More 2019-06-28 12:14:27 +02:00
Bond-009
27c29bbb4c Back to a single connection 2019-06-28 12:13:34 +02:00
Bond-009
30842656a7 Properly dispose 2019-06-28 12:12:54 +02:00
Bond-009
e5248cfaa2 Properly dispose 2019-06-28 12:12:54 +02:00
Bond-009
c30ba14c1f Use a connection pool instead of creating new connections 2019-06-28 12:12:54 +02:00
Bond-009
cec22ad10d Simplify db code 2019-06-28 12:12:54 +02:00
Joshua M. Boniface
c08c0272b5 Add nicer restart script
The old restart script was buggy, as reported in #1320. This updated
script seems to work far more reliably and conforms to the existing
jellyfin-sudoers packages sudo configuration.
2019-06-27 18:05:03 -04:00
dkanada
c52e8a2027 Merge pull request #1394 from joern-h/bugfix-issue1347
Check if an item is a child of an EnabledFolder
2019-06-26 01:19:34 -07:00
Jörn
1fd8164756 fix issue #1347 introduced in pr #930 2019-06-26 01:13:54 -07:00
dkanada
b3b08fecb2 Merge pull request #1453 from Bond-009/cleanup2
Improve main code flow
2019-06-26 01:03:09 -07:00
dkanada
3c16c34386 Merge pull request #1485 from DrPandemic/fix-skia-segfault
Fix skia segfault
2019-06-25 12:44:29 -05:00
DrPandemic
394d96246b Check path before opening image 2019-06-24 20:13:07 -04:00
Andrew Rabert
fc439cc02a Merge pull request #1448 from joshuaboniface/nice-userconfig-paths
Use the username for the user config path
2019-06-24 12:54:24 -04:00
SenorSmartyPants
18e6cd429a Update TVDB provider to search based on series display order 2019-06-22 16:11:47 -05:00
dkanada
1b2621cd30 Merge pull request #1454 from Bond-009/webresource
Simplify file serving code
2019-06-21 23:33:37 -07:00
Anthony Lavado
084854d71d Merge pull request #1478 from cvium/fix_tvdb_again
Wait for the async authentication to finish when the JTW token expires
2019-06-22 02:08:46 -04:00
Claus Vium
c2ab0ad641 Wait for the async authentication to finish when the JTW token expires 2019-06-21 19:08:04 +02:00
dkanada
dbc2cda9d4 Merge pull request #1369 from teacupx/master
Enable Exynos MFC encoder and fix transcoding bitrate control
2019-06-20 16:55:09 -07:00
dkanada
65fa61a636 add comment explaining GetMinBitrate 2019-06-20 16:44:27 -07:00
Erwin de Haan
04784b4e43 Create Media Playback issue template (#1451)
Added media playback issue template. We might want to add some more information requests in there.
2019-06-19 12:41:52 -04: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
Joshua M. Boniface
2baddc1709 Merge pull request #1463 from Bond-009/deps
Update deps
2019-06-14 15:43:59 -04:00
Bond_009
5554595255 Update deps 2019-06-14 18:49:57 +02: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
af099a9b53 Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
2019-06-14 08:21:06 +02:00
Bond-009
6ebac0e500 Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
2019-06-14 08:20:52 +02:00
Anthony Lavado
b25c08e79a Merge pull request #1156 from Bond-009/sep
Small cleanups here and there
2019-06-13 22:27:00 -04:00
Bond-009
8fd47dd658 Merge pull request #1457 from TrisMcC/fix-path-substitution-1446
Stop path substitution in SubtitleEncoder - Fix #1446
2019-06-13 15:18:01 +02:00
Joshua M. Boniface
687255aa31 Merge pull request #1442 from jellyfin/release-10.3.z
Backmerge for Release 10.3.4 and 10.3.5
2019-06-12 23:30:57 -04:00
Tristan McCann
5c1fbfca03 Stop path substitution in SubtitleEncoder
This fixes jellyfin/jellyfin#1446. I am not an expert in this section of
code, but I cannot think of a need to do path substitution during
subtitle encoding.
2019-06-11 21:36:42 -04:00
ferferga
b136f14084 Vacuum databases at startup 2019-06-10 11:31:38 +02:00
Joshua M. Boniface
d5fe82314e Bump version for 10.3.5 2019-06-09 21:47:45 -04:00
Bond_009
253e72f667 Simplify file serving code 2019-06-10 00:53:16 +02:00
Bond_009
aa30227545 Improve main code flow
Improved the way how some parts of the code depend on eachother
Fixed some style issues
2019-06-09 23:51:52 +02:00
Joshua M. Boniface
06834fefef Merge pull request #1447 from joshuaboniface/implement-invalidauth
Implement InvalidAuthProvider
2019-06-09 15:36:25 -04:00
Joshua M. Boniface
2946ae1009 Revert "Don't set a default reset provider"
This reverts commit c230d49d7c.

This reenables an edge case where an admin might want to reset, with
the default auth provider, the password of an externally-provided
user so they could "unlock" the account while it was failing. There
might be minor security implications to this, but the malicious
actor would need FS access to do it (as they would with any password
resets) so it's probably best to keep it as-is.

Removing this in the first place was due to a misunderstanding
anyways so no harm.
2019-06-09 15:29:43 -04:00
Joshua M. Boniface
4b8f735cb8 Remove superfluous conditional
This wasn't needed to prevent updating the policy on-disk from my
tests and can be removed as suggested by @Bond-009
2019-06-09 13:57:49 -04:00
Joshua M. Boniface
c230d49d7c Don't set a default reset provider 2019-06-09 13:46:53 -04:00
Joshua M. Boniface
20e2cb2d86 Use SecurityException for auth failure 2019-06-09 13:45:51 -04:00
Joshua M. Boniface
b70083f3b3 Apply suggestions from code review
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-06-09 13:41:14 -04:00
Joshua M. Boniface
74ef389879 Add nicer log message and comment 2019-06-09 11:07:35 -04:00
Joshua M. Boniface
d1d0ddf62f Use the username for the user config path
Use the username to construct the UserConfigurationDirectory,
instead of the user ID, and move the old ID-based path to the new
path if needed when loading (temporary transitional code). Removes
administrator guesswork as to what user each directory belongs to,
which I found very annoying when investigating user configs.
2019-06-08 23:54:26 -04:00
Joshua M. Boniface
d78a55adb4 Implement InvalidAuthProvider
Implements the InvalidAuthProvider, which acts as a fallback if a
configured authentication provider, e.g. LDAP, is unavailable due
to a load failure or removal. Until the user or the authentication
plugin is corrected, this will cause users with the missing provider
to be locked out, while throwing errors in the logs about the issue.

Fixes #1445 part 2
2019-06-08 22:54:31 -04:00
Bond_009
77ecb0a70c Make script executable again 2019-06-08 19:57:46 +02:00
Bond-009
cb07822aa3 Add execute permissions back 2019-06-08 19:56:08 +02:00
Bond_009
defc5f1cf9 Force LF line endings 2019-06-08 19:56:08 +02:00
Andrew Rabert
6f99ed3955 Merge pull request #1443 from jellyfin/qemu
Docker - Update arm* Dockerfiles for latest multiarch
2019-06-07 18:41:35 -04:00
Andrew Rabert
247a5e12ab Docker - Update arm* Dockerfiles for latest multiarch
Relates to this change 7bdafb96ee
2019-06-07 00:00:14 -04:00
Joshua M. Boniface
855911333a Bump version for 10.3.4 2019-06-06 22:45:37 -04:00
Anthony Lavado
127bfc7d3b Merge pull request #1437 from pjeanjean/master
Fix issue #1436: media folders appear empty unless user has all libraries access
2019-06-06 17:21:20 -04:00
pjeanjean
7919dd81da Skip user permission checking for UserRootFolder
Fix #1436
UserRootFolders are used to represent virtual folders that exist outside
of libraries. As such, it doesn't make sense to check if a user has the
right to access their library (named `Media Folders`).
2019-06-06 08:30:56 +02:00
Bond-009
e3a3aebbf6 Merge pull request #1440 from cvium/fix-build
Change UsCulture to InvariantCulture
2019-06-05 21:31:09 +02:00
Claus Vium
c05b7c382a Change UsCulture to InvariantCulture 2019-06-05 20:59:06 +02:00
Anthony Lavado
d7aaa1489c Merge pull request #1427 from dkanada/fanart
Move fanart image provider to plugin
2019-06-05 01:19:54 -04:00
Anthony Lavado
aee3360841 Merge pull request #1366 from Bond-009/warn3
Fix more warnings
2019-06-05 01:17:21 -04:00
Anthony Lavado
256f44a870 Merge pull request #994 from Bond-009/tasks
Remove Tasks wrapped in a Task
2019-06-05 01:11:25 -04:00
Anthony Lavado
f631b2ecdc Merge pull request #1159 from Bond-009/streamjob
Trying to make sense of the streaming code
2019-06-04 00:20:43 -04:00
Anthony Lavado
a623dd1921 Merge pull request #1368 from dkanada/drives
Only return useful drives
2019-06-04 00:19:35 -04:00
dkanada
b768ad978e split the new command to more than one line 2019-06-02 21:49:12 -07:00
Juvenal Yescas
6b6776042c Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2019-06-01 20:50:19 -04:00
Julio García
4adaeee054 Translated using Weblate (Spanish)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-06-01 20:50:19 -04:00
Hyunsu Nam
a2d9420139 Translated using Weblate (Korean)
Currently translated at 97.8% (92 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-06-01 20:50:19 -04:00
exveria1015
3431a85adf Translated using Weblate (Japanese)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ja/
2019-06-01 20:50:18 -04:00
dracocephalum
430483c7a1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2019-06-01 20:50:16 -04:00
Frank
3ba709fcc3 Fix #1432. Add support for encoding with libx265 and hevc_nvenc. 2019-06-01 15:46:41 -07:00
Bond-009
ce1fa42f9d Merge branch 'master' into tasks 2019-06-01 17:06:01 +02:00
Bond_009
08ac5b6ec3 Fix build 2019-06-01 11:34:28 +02:00
Bond-009
a6f9ceedd8 Fix more warnings 2019-06-01 11:31:27 +02:00
Anthony Lavado
e1da046960 Merge pull request #1426 from jellyfin/cvium-fix-tvdb-refresh
Fix inverted comparison in the tvdb token refresh logic
2019-05-31 21:27:33 -04:00
dkanada
09dfa071dc move fanart image provider to plugin 2019-05-31 01:48:20 -07:00
Claus Vium
a756026962 Fix inverted comparison in the tvdb token refresh logic 2019-05-31 07:24:52 +02:00
Anthony Lavado
75260a960b Merge pull request #1406 from DrPandemic/fix-pin-update
Format the PIN when updating it
2019-05-31 00:58:53 -04:00
exveria1015
b1f764984f Added translation using Weblate (Japanese) 2019-05-30 18:28:11 -04:00
DrPandemic
69ee49bee6 Format correctly the PIN when updating it 2019-05-25 13:46:55 -04:00
erikasne6152
2aed2d164b Translated using Weblate (Lithuanian)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2019-05-24 14:28:14 -04:00
Bond-009
2d011b781e Merge pull request #1383 from jellyfin/release-10.3.z
Backmerge for Release 10.3.3
2019-05-18 12:56:42 +02:00
Joshua M. Boniface
1bf3a26a61 Bump version for 10.3.3 2019-05-17 23:12:21 -04:00
Joshua M. Boniface
c5760b3a40 Merge pull request #1380 from bugfixin/dlna-photo-thumb-fix
Improve Photo rendering in DLNA
2019-05-17 22:55:43 -04:00
Joshua M. Boniface
4de8bf3295 Merge pull request #1338 from cvium/fix_extras
Enforce a specific folder structure for Extras to avoid misidentification
2019-05-17 09:00:22 -04:00
dkanada
4a9b349c04 only return useful drives 2019-05-16 16:45:56 -07:00
bugfixin
87c8f19f19 Move DLNA thumbnail element to after larger image elements 2019-05-16 18:00:38 +00:00
Claus Vium
0ef52c739e Review changes
Untested
2019-05-16 07:27:38 +02:00
Joshua M. Boniface
0a9a6b949c Merge pull request #1372 from DrPandemic/fix-pin
Fix broken pin in 10.3.z
2019-05-14 21:54:28 -04:00
Joshua M. Boniface
71f81c5fb0 Merge pull request #1367 from Bond-009/photo
Ignore casing photo extensions
2019-05-14 21:25:46 -04:00
DrPandemic
c22068d6b1 Fix pin bug introduced in 10.3.z.
The issue is that the new easyPassword format prepends the hash
function. This PR extract the hash from "$SHA1$_hash_".
2019-05-11 19:53:34 -04:00
JMCC
012e4a3e63 Fix transcode bitrate control 2019-05-11 17:19:20 +02:00
JMCC
5d85076ad5 Enable Exynos V4L2-m2m HW encoder 2019-05-11 17:17:32 +02:00
Bond-009
35d7e97258 Ignore casing photo extensions 2019-05-11 11:55:41 +02:00
Joshua M. Boniface
bbc1a86b57 Merge pull request #1306 from oddstr13/pr-sudoless-build-1
Move artifact chown inside docker to avoid sudo
2019-05-10 09:25:41 -04:00
Joshua M. Boniface
89537abdc4 Merge pull request #1293 from Bond-009/query-time
Fix query time logging
2019-05-10 09:19:05 -04:00
Anthony Lavado
abfc41f382 Merge pull request #1363 from joshuaboniface/readme
Update getting-help link in README
2019-05-09 23:44:47 -04:00
Joshua Boniface
84ac6ea12a Update getting-help link in README 2019-05-09 18:57:40 -04:00
Bond-009
cd83d80f2b Merge pull request #1294 from DrPandemic/fix-download-non-ascii
Fix non-ascii filename downloads
2019-05-09 17:30:19 +02:00
Bond-009
d9c159122f Merge pull request #1229 from voodoos/cleanup/SocketSharp
Cleaning WebSocketSharp continued
2019-05-09 17:16:51 +02:00
Jean-Samuel Aubry-Guzzi
12721eb7dd Fix non-ascii filename downloads
Follow https://tools.ietf.org/html/rfc5987#section-3.2.2 to encode
non-ascii filenames in HTTP Content-Disposition header.
2019-05-07 19:43:04 -04:00
Claus Vium
b8a09339cd Enforce extras folder structure according to Emby's wiki 2019-05-02 08:14:00 +02:00
Odd Stråbø
3634d367c1 Move artifact chown inside docker to avoid sudo 2019-05-01 20:32:15 +02:00
Claus Vium
c1daea0ec7 Change owner and parent id of extras to the main media item 2019-05-01 07:47:22 +02:00
Joshua M. Boniface
2bc378a9c3 Merge pull request #1337 from jellyfin/release-10.3.z
Backmerge for 10.3.2 release
2019-04-30 23:35:11 -04:00
Joshua Boniface
e8196fed7c Bump version for 10.3.2 2019-04-30 20:18:54 -04:00
Joshua M. Boniface
477702fbb9 Merge pull request #1324 from joshuaboniface/arm64
Add arm64 packaging for Debuntu
2019-04-30 20:07:41 -04:00
Joshua M. Boniface
2216a271bb Merge pull request #1335 from Bond-009/ffmpeglimit
Limit amount of ffmpeg processes extracting images at once
2019-04-30 20:06:24 -04:00
Bond-009
91cd7d2f6b Limit amount of ffmpeg processes extracting images at once 2019-04-30 23:35:39 +02:00
Anthony Lavado
4e681d25d9 Merge pull request #1334 from Bond-009/musicbrainzfix
Iterate over IEnumerable before disposing
2019-04-30 16:56:54 -04:00
Bond-009
06cc2891de Merge pull request #1310 from bugfixin/progressivestreamingservice-unreachable
Remove unreachable code from BaseProgressiveStreamingService
2019-04-30 22:20:54 +02:00
Bond-009
682432f55a Iterate over IEnumerable before disposing 2019-04-30 22:18:40 +02:00
Anthony Lavado
7c4cb5ec58 Merge pull request #1333 from bugfixin/easypinfix
Fix incorrect hasPassword flag when easy pin set
2019-04-30 15:36:25 -04:00
bugfixin
1df73fdeba Fix incorrect hasPassword flag when easy pin set 2019-04-30 19:16:53 +00:00
Bond-009
21ba8a0593 Merge pull request #1332 from cvium/fix_tvdb_ep_provider
Make the TvdbEpisodeProvider class Public
2019-04-30 20:59:18 +02:00
Claus Vium
08ed52eb72 Make the TvdbEpisodeProvider class Public 2019-04-30 20:08:59 +02:00
Anthony Lavado
99700e1b95 Merge pull request #1327 from joshuaboniface/disco
Support libssl1.1 for Ubuntu Disco
2019-04-30 02:38:21 -04:00
Joshua M. Boniface
4e0be95368 Merge pull request #1305 from bugfixin/passwordless-form-encoded
Fix passwordless authentication with non-json content-types
2019-04-29 23:07:04 -04:00
Joshua Boniface
c8a59c8343 Support libssl1.1 for Ubuntu Disco 2019-04-29 23:03:57 -04:00
Joshua Boniface
2b2a2ed708 Add arm64 packaging for Debuntu 2019-04-29 00:56:17 -04:00
bugfixin
a827a2fbcc Remove unreachable code and const trySupportSeek within BaseProgressiveStreamingService 2019-04-25 19:14:33 +00:00
Anthony Lavado
f97f6b8061 Merge pull request #1296 from Bond-009/fix1234
Fix #1234
2019-04-25 01:37:02 -04:00
Bond-009
61d7bed181 Merge pull request #1304 from jellyfin/release-10.3.z
Backmerge 10.3.1
2019-04-25 07:27:37 +02:00
bugfixin
844ea9d77e Don't coalesce empty strings to null in StringMapTypeDeserializer 2019-04-25 04:36:28 +00:00
Bond_009
71479286e9 Fix #1234 2019-04-24 19:56:57 +02:00
Bond_009
a9337033c1 Fix query time logging 2019-04-24 15:25:22 +02:00
Bond-009
a0e61ee67f Merge pull request #1274 from bugfixin/content-type-fix
Prevent null reference when request content type is x-www-form-urlencoded
2019-04-24 14:54:18 +02:00
Claus Vium
28c2ac528d Re-add content length, semi revert of changes in #1010 (#1287)
* Re-add content length, semi revert of changes in #1010
2019-04-24 14:06:54 +02:00
bugfixin
08d3a5d2fe Fix null reference when request content type is application/x-www-form-urlencoded 2019-04-21 19:29:05 +00:00
Joshua Boniface
696a36b4a5 Update submodule for 10.3.1 2019-04-20 15:59:50 -04:00
Joshua Boniface
5fb4922c6f Bump version to 10.3.1 2019-04-20 14:24:40 -04:00
Joshua M. Boniface
3738f95871 Merge pull request #1258 from Bond-009/fixpluginload
Handle exception when loading unsupported assembly
2019-04-20 12:35:57 -04:00
Joshua M. Boniface
6797bdec04 Merge pull request #1264 from jellyfin/fix-empty-pw-migration
Fix comparison for empty password migration
2019-04-20 12:20:22 -04:00
Claus Vium
764c6d5461 Fix comparison for empty password migration 2019-04-20 17:50:34 +02:00
Bond-009
6973182ade Fix more possible exceptions 2019-04-20 17:47:11 +02:00
Bond-009
f62af07381 Handle exception when loading unsupported assembly
Fixes #1256
2019-04-20 17:47:11 +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
bugfixin
da842d5a73 Fix incorrect escaping in regex pattern 2019-04-19 18:35:28 +00:00
Joshua Boniface
46c37c0ae8 Bump version to 10.3.0 (release) 2019-04-19 14:25:29 -04:00
Joshua Boniface
4ad71766fc Merge branch 'translations' into release-10.3.z 2019-04-19 14:19:22 -04:00
Weblate
9d60cc8c66 Rename Chinese (Traditional) file 2019-04-19 13:59:04 -04:00
bugfixin
0794a3edf4 Adjust detection of 'sample' in filenames to use regex boundaries 2019-04-19 17:53:51 +00:00
Libor Filípek
4a6243096a Translated using Weblate (Czech)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-04-19 13:38:32 -04:00
Heldenkrieger01
10cbdc8e8e Translated using Weblate (Swiss German)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gsw/
2019-04-19 12:09:39 -04:00
SaddFox
4886fc467c Translated using Weblate (Slovenian)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2019-04-19 12:09:38 -04:00
WWWesten
8e2827cc39 Translated using Weblate (Kazakh)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2019-04-19 12:09:37 -04:00
Βασίλης Μουρατίδης
395d2e4917 Translated using Weblate (Greek)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-04-19 12:09:37 -04:00
Dan Johansen
d31f5229da Translated using Weblate (Danish)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2019-04-19 12:09:37 -04:00
Libor Filípek
d6622818dc Translated using Weblate (Czech)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-04-19 12:09:37 -04:00
tinganhsu
ba684d6d3a Translated using Weblate (Chinese (Traditional))
Currently translated at 96.8% (91 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2019-04-19 12:09:36 -04:00
tinganhsu
90c04a4640 Added translation using Weblate (Chinese (Traditional)) 2019-04-19 00:32:52 -04:00
Joshua M. Boniface
06a1e1f166 Merge pull request #1244 from joshuaboniface/hotfix-authapi
Hotfix authapi
2019-04-18 17:58:54 -04:00
Anthony Lavado
7bea62adbf Merge pull request #1245 from Bond-009/updateevent
Remove unused event
2019-04-18 14:16:48 -04:00
Joshua Boniface
31ad366aa9 Implemented suggested conditional 2019-04-18 10:24:08 -04:00
Joshua Boniface
10f33b0273 Update conditional to be correct 2019-04-18 09:31:30 -04: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
eaa1ac8013 Apparently strings can't be !'d 2019-04-17 22:49:17 -04:00
Joshua Boniface
ca3bb308b3 Add the proper Class too 2019-04-17 22:46:26 -04:00
Joshua Boniface
e790f024c2 Return MethodNotAllowedException if Pw is not set
Don't accept pre-hashed (not-plaintext) passwords as the auth
provider no longer supports this due to sha1+salting the passwords
in the database.
2019-04-17 22:33:00 -04:00
Joshua Boniface
250e0c75df Add MethodNotAllowedException with code 405 2019-04-17 22:31:06 -04:00
Joshua M. Boniface
c3532b92f7 Merge pull request #1158 from Bond-009/httpclean
Reduce complexity http routes
2019-04-17 22:12:17 -04:00
Joshua M. Boniface
0539861dc0 Merge pull request #1182 from Bond-009/deepcopy
Speed up DeepCopy
2019-04-17 22:11:53 -04:00
Joshua M. Boniface
deedf2a36c Merge pull request #1224 from Terror-Gene/patch-1
Fix missing Unraid cache mount and name capitalization
2019-04-17 22:11:30 -04:00
Joshua M. Boniface
cde7375049 Merge pull request #1242 from Bond-009/metadata
Fix metadata path save
2019-04-17 09:26:04 -04:00
Bond-009
e89c8dbf76 Use CultureInfo.InvariantCulture 2019-04-17 15:23:03 +02:00
Bond_009
c7fedfbca3 Fix metadata path save 2019-04-17 15:09:31 +02:00
Anthony Lavado
b031a55a59 Merge pull request #1225 from DrPandemic/update-build-path-help
Fix help message to indicate the right output folder
2019-04-16 16:20:12 -04:00
Bond-009
f520831025 Merge pull request #1239 from anthonylavado/fix-ident
Clean up UDP responders, and move ProductName to Public endpoint
2019-04-16 11:56:38 +02:00
Anthony Lavado
2f0719a883 Move the definition of ProductName to the correct class
Missed moving this from one class to the other.
2019-04-16 01:38:00 -04:00
Anthony Lavado
34ab99caf1 Move the ProductName to the public endpoint
Moves the ProductName field over from the private system/info point to
the public one, for easier identification
2019-04-16 01:16:02 -04:00
DrPandemic
65f9141764 Update the help message to indicate the right output folder 2019-04-15 17:51:26 -04:00
Anthony Lavado
b2f94c0e40 Remove the old message responders
Leaves only an answer to "Who is Jellyfin", removing older ones for
EmbyServer and MediaBrowser_v2.
2019-04-15 00:21:14 -04:00
VooDooS
ba12d96d23 Removed wrapping of HeaderNames fields 2019-04-12 15:25:18 +02:00
VooDooS
bb807554e2 Replace CRLF injection mitigation by use of .NET ip parsing 2019-04-12 13:48:12 +02:00
VooDooS
56d1050bac Replace custom ip "normalization" by methods from IPAddress 2019-04-11 17:49:18 +02:00
VooDooS
a6e1b23eb0 Simplify headers use in WSS 2019-04-11 17:49:14 +02:00
VooDooS
5f6ab836de Extend Microsoft.Net.Http.Headers.HeaderNames 2019-04-11 15:35:06 +02:00
Terror-Gene
a9f790e101 Fix directory capitalization 2019-04-11 04:00:46 +09:30
Terror-Gene
f888c4b641 Fix missing Unraid cache mount
Cache folder was not mounted outside of the Docker image since its separation from the config folder.
Config HostDir was only updated for consistency, previous directory was overridden by unraid into the appdata/appname folder anyway.
Name capitalization was corrected as this is only used by new installations & does not affect current installations/updates.
2019-04-11 03:19:05 +09:30
Joshua Boniface
65bff1181a Bump version to 10.3.0-rc2 and update submodule 2019-04-10 00:51:21 -04:00
Joshua Boniface
efb14f0b58 Bump dockerfile web versions too 2019-04-10 00:49:33 -04:00
Joshua M. Boniface
75a4f04cce Merge pull request #1209 from joshuaboniface/hotfix-authprovider-create
Override username with AuthenticationProvider
2019-04-10 00:18:08 -04:00
Joshua M. Boniface
007fe34363 Merge pull request #1221 from LogicalPhallacy/ffmpegdetection
Make Jellyfin search its base dir for ffmpeg
2019-04-09 23:57:20 -04:00
Ulysse
a1d50a6d05 Clean WebSocketSharpRequest.PathInfo (#1212)
* rm useless ResolvePathInfoFromMappedPath method

* rm useless NormalizePathInfo method

* Use request.Path instead of RawUrl

* Removing unused `HandlerFactoryPath` field

* Use an  expression body definition and rm field `pathInfo`

* More (syntactic) sugar

* Who needs blocks in cases ?
2019-04-09 20:19:27 +02:00
Anthony Lavado
d7df2ac60c Merge pull request #1210 from DrPandemic/fix-readme-link
Fix README documentation link
2019-04-09 12:23:07 -04:00
Phallacy
a7e31ef31f applied changes to just also search jellyfin base dir 2019-04-09 00:27:41 -07:00
Bond-009
dcae3daf43 Merge pull request #1218 from EraYaN/disable-azure-ci-compatcheck
Disable dotnet_compat part of pipeline
2019-04-09 07:45:15 +02:00
Andrew Rabert
941ee53e7a Merge pull request #1211 from Terror-Gene/patch-2
Update Unraid Docker icon
2019-04-08 18:53:57 -04:00
Joshua M. Boniface
eae0c28e6d Merge pull request #1178 from jellyfin/LogicalPhallacy-patch-1
Updates windows installer default lib location
2019-04-08 18:44:43 -04:00
Erwin de Haan
7b4e16bb8f Disabled dotnet_compat part of pipeline. 2019-04-09 00:43:25 +02:00
Joshua M. Boniface
21950382b9 Merge pull request #1188 from joshuaboniface/hotfix-pluginload
Fix problems with plugin installation
2019-04-08 11:24:53 -04:00
Terror-Gene
c72393c970 Updated Unraid Docker icon
Logo was set to use emby, but binhex has since added the jellyfin logo.
2019-04-08 14:56:42 +09:30
DrPandemic
f96d1e9e69 Fix README documentation link 2019-04-07 22:26:27 -04:00
Joshua Boniface
1af9c047fb Override username with AuthenticationProvider
Pass back the Username directive returned by an AuthenticationProvider
to the calling code, so we may override the user-provided Username
value if the authentication provider passes this back. Useful for
instance in an LDAP scenario where what the user types may not
necessarily be the "username" that is mapped in the system, e.g.
the user providing 'mail' while 'uid' is the "username" value.
Could also then be extensible to other authentication providers
as well, should they wish to do a similar thing.
2019-04-07 19:51:45 -04:00
Joshua M. Boniface
2d19bfa7fb Merge pull request #1199 from jftuga/use_tls12_for_nssm
Use TLS 1.2 to download NSSM
2019-04-07 02:48:59 -04:00
John Taylor
f5f7de64de Use TLS 1.2 to download NSSM 2019-04-06 13:40:19 -04:00
Joshua Boniface
754e76a61b Add TODO to remove string target 2019-04-04 02:34:23 -04:00
Joshua Boniface
09505e0988 Apply review feedback
Remove a few superfluous/testing log statements, and print the
deletion debug messages when it occurs rather than earlier. Use
a nicer name for the isDirectory variable.
2019-04-04 01:54:31 -04:00
Anthony Lavado
67e206fa0f Merge pull request #1195 from nvllsvm/optimize
Optimize images with image_optim
2019-04-04 01:16:49 -04:00
Andrew Rabert
608fd873de Optimize images with image_optim 2019-04-03 22:58:52 -04:00
Joshua Boniface
05a4161fd3 Correct the installation and removal of plugins
Upgrading plugins was broken for various reasons. There are four
fixes and a minor one:

1. Use a directory name based only on the `Name` of the plugin, not
   the source filename, which contains the version. Avoids strange
   duplication of the plugin.
2. Use the new directory name for the deletes if it's present, so
   that installation and removal happen at that directory level
   and we don't leave empty folders laying around. Ensures we
   properly remove additional resources in plugins too, not just
   the main `.dll` file.
3. Ignore the incoming `target` when installing, and always set
   it ourself to the proper directory, which would matter when
   reinstalling.
4. Deletes an existing target directory before installing if it
   exists. Note that not calling any of the plugin removal code
   is intentional; I suspect that would delete configurations
   unexpectedly when upgrading which would be annoying. This way,
   it just replaces the files and then reloads.
5. (Minor) Added some actual debug messages around the plugin
   download section so failures can be more accurately seen.
2019-04-03 20:05:14 -04:00
Vasily
05040351dc Merge pull request #1190 from jellyfin/updates
Update Dockerfiles
2019-04-03 18:05:59 +03:00
Andrew Rabert
d75324afc9 Update Dockerfiles
* Use new dotnet image paths
* Update jellyfin-web to 10.3.0-rc1
2019-04-03 01:21:28 -04:00
Joshua Boniface
38fcd31917 Search all subdirectories for Plugins
This was added in #801 which broke the previous plugin install
behaviour. Previously plugins could be loaded from subdirectories
but this search was only for the highest level. Change it to search
all subdirectories instead to restore the previous behaviour.

Also modifies the same option from #934, though I'm not 100% sure
if this is needed here.
2019-04-02 18:29:14 -04:00
Bond-009
2f33e99006 Speed up DeepCopy 2019-04-02 18:17:50 +02:00
Vasily
79d9b8e693 Merge pull request #1168 from Bond-009/io
Improve IO code
2019-04-01 16:20:23 +03:00
Vasily
91e3b3b491 Merge pull request #1176 from Bond-009/namingdep
Remove unused dependency for Emby.Naming
2019-04-01 16:19:44 +03:00
LogicalPhallacy
816d8a0216 Update install-jellyfin.ps1 2019-03-31 10:34:49 -07:00
LogicalPhallacy
e37ccd6ec0 Updates windows installer default lib location
You can use the emby import to move an existing library this way.
2019-03-31 10:32:56 -07:00
Bond_009
f2e2065fd4 Remove unused dependency for Emby.Naming 2019-03-31 15:25:30 +02:00
Joshua Boniface
f27477da26 Bump version to 10.3.0 and update submodule 2019-03-30 15:47:34 -04:00
Andrew Rabert
c032a015a4 Merge pull request #1172 from joshuaboniface/build-improvements
Minor improvements to release build setup
2019-03-30 15:45:11 -04:00
Anthony Lavado
11e81b035a Merge pull request #1171 from joshuaboniface/ubuntu-armhf
Add Ubuntu armhf build
2019-03-30 13:23:10 -04:00
Joshua Boniface
891a03c038 Remove superfluous variable declaration 2019-03-30 12:58:39 -04:00
Joshua Boniface
31aa6c486c Get the version string from build.yaml
For the purposes of packaging, this makes more sense, since we can
include additional appends to this version (e.g. `-rcX`) when we
can't in the SharedVersion file. The previous commit to the
bump_version script sets this as well.
2019-03-30 12:42:33 -04:00
Joshua Boniface
1d9133a5e8 Simplify bump_version and remove changelogs
Make this a lot simpler, use a reference to the release page
in the package changelogs instead of a full list.
2019-03-30 12:42:16 -04:00
Joshua Boniface
3375ca5a8c Split lists echoes into separate lines 2019-03-30 12:19:49 -04:00
Joshua Boniface
1596e93cc1 Fix up the Ubuntu repository definitions 2019-03-30 11:58:56 -04:00
Joshua Boniface
1a540f1cf7 Add Ubuntu armhf (Raspberry Pi) build
A pretty-much direct copy of the Debian armhf build infrastructure.
2019-03-30 11:50:46 -04:00
Joshua M. Boniface
05f5cd1bde Merge pull request #1170 from joshuaboniface/fix-build-typo
Correct bad quote characters
2019-03-29 19:17:32 -04:00
Joshua Boniface
f0fbd0232c Correct bad quote characters 2019-03-29 19:13:01 -04:00
Joshua M. Boniface
72dd609109 Merge pull request #1149 from LogicalPhallacy/ImprovedPasswordReset
Adds per user password reset
2019-03-29 18:26:30 -04:00
LogicalPhallacy
13e94a8b1b Remove dashes from pins 2019-03-29 12:48:07 -07:00
Bond_009
f911fda34f Merge ifs 2019-03-29 20:34:42 +01:00
Vasily
d9e7883fb5 Merge pull request #1169 from joshuaboniface/ffmpeg-location
Use new libexecdir location for jellyfin-ffmpeg
2019-03-29 18:16:36 +03:00
Phallacy
2d396cb589 adds readonly to properties 2019-03-29 07:10:49 -07:00
Phallacy
b56031b9f3 fix byte string 2019-03-28 20:49:11 -07:00
Joshua M. Boniface
fd86b141e2 Merge pull request #1166 from Bond-009/#1162
Fix exception on startup
2019-03-28 22:45:34 -04:00
Bond_009
41df562419 Improve IO code
* Style changes
* Remove remnants of SMB support
* Use `GetInvalidFileNameChars` instead of rolling our own
* Remove possible unexpected behaviour with async file streams
* Remove some dead code
2019-03-28 23:26:43 +01:00
Joshua Boniface
427a3e9b08 Use new libexecdir location for jellyfin-ffmpeg
From commit d6bb1f3c in jellyfin-ffmpeg, which moves the installed
binaries from /usr/share to /usr/lib on the next release.
2019-03-28 18:21:25 -04:00
Bond_009
3001f21f8d Hacky fix for a hacky issue 2019-03-28 19:11:05 +01:00
Phallacy
48b50a22a4 switched to a hexa string with crypto random backing 2019-03-28 08:15:53 -07:00
Phallacy
5e8496bc59 minor fixes and usings 2019-03-27 22:46:25 -07:00
Joshua M. Boniface
2dbc1153e8 Merge pull request #934 from Bond-009/plugin
WIP - Don't require a restart for 75% of plugins
2019-03-27 21:35:09 -04:00
Bond-009
b07c146fd9 Update Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-03-27 16:17:18 -07:00
Bond-009
73a9079ee2 Merge branch 'master' into httpclient 2019-03-27 19:43:02 +01:00
Joshua M. Boniface
cc2edc4d66 Merge pull request #1151 from Phlogi/patch-1
Use public ports and advertise DNS if available for WAN address
2019-03-27 13:54:14 -04:00
Bond_009
9aaeb19418 Self-documenting code 2019-03-27 17:05:08 +01: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
b69b19ddce Move messageId out of outer loop 2019-03-27 16:28:52 +01:00
Bond_009
b647959ec4 Add EnableOutputInSubFolder back 2019-03-27 16:26:33 +01:00
Bond_009
6c0e2e249d Even more duplicate code removed 2019-03-27 16:13:36 +01:00
Bond_009
8ed5d154b7 Remove duplicate code 2019-03-27 16:07:08 +01:00
Anthony Lavado
524357bfa8 Merge pull request #1157 from Bond-009/smallfix
Simplify/remove/clean code
2019-03-27 09:53:45 -04:00
Bond_009
157a86d0f1 Remove dead code 2019-03-27 12:43:46 +01:00
Bond_009
ca37ca291f More style changes 2019-03-26 23:06:38 +01:00
Bond_009
93e535d3a1 Trying to make sense of the streaming code
Mostly small changes as I was looking through the code.

* async void -> async Task
* Properly implemented dispose methods
* Pass the logstream directly to the JobLogger
* Style fixes
2019-03-26 23:00:14 +01:00
Bond-009
7343e07fe5 Fix build error 2019-03-26 19:31:06 +01:00
Bond-009
a332092769 Reduce complexity http routes 2019-03-26 19:20:40 +01:00
Phallacy
6be8624373 async improvements and post reset cleanups 2019-03-25 22:17:23 -07:00
LogicalPhallacy
740c95d557 Apply minor suggestions from code review
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-03-25 21:40:10 -07:00
Joshua M. Boniface
31607fbb37 Merge pull request #1153 from Bond-009/dlna
Check if disposed first
2019-03-25 20:08:11 -04:00
Phlogi
122cba2aa7 Correct use of local variable wanAddress. 2019-03-25 22:26:05 +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
Phlogi
1b03f078b9 No need to assign empty string. 2019-03-25 21:43:50 +01:00
Phlogi
4c8f8cf64c Removed trailing spaces, renamed get wan IP function. 2019-03-25 21:34:55 +01:00
Bond_009
2696ac5eac Lower the amount of running tasks 2019-03-25 21:33:48 +01:00
Bond-009
6566c91360 Seperate changes from #1023
The unrelated changes from #1023 (and more)
2019-03-25 21:27:03 +01:00
Bond-009
d623f616fa Improved dispose method 2019-03-25 17:32:27 +01:00
Bond-009
fc8de8aead Check if disposed first 2019-03-25 17:27:24 +01:00
Claus Vium
6480cfcc87 Formatting update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:19:08 +01:00
Claus Vium
e36d424b5f Formatting update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:18:47 +01:00
Claus Vium
f7e7d72688 Formatting update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:18:18 +01:00
Claus Vium
3474568ce2 Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:18:04 +01:00
Claus Vium
89f2dfd78a Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:17:53 +01:00
Claus Vium
2c4c56d6d6 Formatting update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:17:40 +01:00
Phlogi
087d4153ae Fix check for available WAN address. 2019-03-24 21:47:18 +01:00
Phallacy
86772bd7bd removes needless dictionary 2019-03-24 12:17:32 -07:00
Claus Vium
4e2841f0d7 Update Emby.Server.Implementations/Library/UserManager.cs
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-03-24 11:41:03 -07:00
Phallacy
26fe4040bf fixes some usings 2019-03-24 11:40:00 -07:00
Phlogi
fb7f29de18 Format the WAN API Url correctly with https and Port. 2019-03-24 18:33:21 +01:00
Phlogi
d18252542d Also add the WAN switch to the public system info. 2019-03-24 17:11:21 +01:00
Phlogi
030fcaac15 Proper access to configuration objects 2019-03-24 17:02:03 +01:00
Phlogi
7ebb043249 Removed comment, renamed methods consistently. 2019-03-24 16:50:39 +01:00
Claus Vium
598b1c9966 Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-24 16:47:59 +01:00
Claus Vium
cf36aaef2b Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-24 16:47:48 +01:00
Claus Vium
f30af9cd5f Update Emby.Server.Implementations/ApplicationHost.cs
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-24 16:47:42 +01:00
Bond-009
5024c52c60 Merge pull request #1140 from oddstr13/pr-doxygen-1
Add Doxygen config
2019-03-24 13:26:56 +01:00
Bond-009
e971b62dab Merge pull request #1137 from thornbill/fix-expires-header
Fix default value for Expires header
2019-03-24 13:25:41 +01:00
Phlogi
4ffec8ad26 Fix build, missing changes. 2019-03-24 12:19:10 +01:00
Phlogi
69cc5814d8 Change WAN IP behaviour: Use ServerConfiguration.WanDdns if set in configuration. 2019-03-24 12:11:46 +01:00
Phlogi
414a318a0d WAN Address should use public ports instead of local ports.
https://github.com/jellyfin/jellyfin/issues/601#issuecomment-475941080
2019-03-24 11:59:40 +01:00
Phallacy
758e35baba greaterthen/lessthen reversal fix 2019-03-24 00:30:16 -07:00
Phallacy
09921a00aa made password resets an interface and per user 2019-03-22 00:01:23 -07:00
Odd Stråbø
16a3bb2df4 Implemented some requested changes to the Doxyfile 2019-03-21 18:21:07 +01:00
Odd Stråbø
2c684c0231 Customize Doxygen config. 2019-03-21 13:42:29 +01:00
Odd Stråbø
949a1cce21 Generate doxygen template config doxygen -g 2019-03-21 13:16:33 +01:00
Vasily
0e787f4e9f Merge pull request #1139 from Liggy/debian-init
Update init scripts for compatibility with Devuan
2019-03-20 23:27:24 +03:00
Torsten
bd31091648 Update init scripts for compatibility with Devuan
Include start, stop, restart and status option for /etc/init.d/jellyfin
Use start-stop-daemon to make the script refer to systemctl mechanism
on systems that have systemd installed
2019-03-20 20:16:24 +01:00
Bill Thornton
4cd8903abc Fix default value for Expires header 2019-03-19 23:13:02 -04:00
Joshua M. Boniface
7b01de8db1 Merge pull request #1136 from jellyfin/add-access-to-template
Require access type to be included in bug report
2019-03-19 10:52:49 -04:00
Vasily
f73d8a44df Improve the wording per @joshuaboniface suggestion 2019-03-19 17:37:56 +03:00
Vasily
752d65d020 Require access type to be included in bug report
Inspired by https://github.com/jellyfin/jellyfin/issues/1085#issuecomment-473833591

It seems that the issue with "setup wizard" described there is only prominent when reverse-proxied, not when accessed directly. So this type of information should be gathered in the bug report as well.
2019-03-19 17:13:27 +03:00
LogicalPhallacy
c2667f99f4 Merge pull request #4 from jellyfin/master
updating local master
2019-03-18 22:58:37 -07:00
Joshua M. Boniface
c7e7aa0a61 Merge pull request #1117 from Bond-009/ffmpeg
Check before flushing ffmpeg log
2019-03-18 23:59:12 -04:00
Joshua M. Boniface
fc79659549 Merge pull request #1127 from LogicalPhallacy/lockoutfix
Add configurable user lockout
2019-03-18 21:13:51 -04:00
Vasily
e81a6adb95 Merge pull request #1090 from redSpoutnik/subtitle-display-title
Set DisplayTitle for subtitles
2019-03-17 09:36:35 +03:00
Phallacy
80aedcd7e2 really fixed line endings 2019-03-16 21:36:45 -07:00
Phallacy
fc28c9237c fixed line endings 2019-03-16 21:34:26 -07:00
Phallacy
b04200ca68 adding regex fix 2019-03-16 21:21:14 -07:00
Joshua M. Boniface
67fbbcfd12 Merge pull request #1121 from LogicalPhallacy/master
Update username regex to string literal with escaped -
2019-03-17 00:12:15 -04:00
Joshua M. Boniface
e3dbed1c1a Update Emby.Server.Implementations/Library/UserManager.cs
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-03-16 10:16:23 -07:00
redSpoutnik
480a6607e2 Merge branch 'master' into subtitle-display-title 2019-03-16 17:54:57 +01:00
redSpoutnik
4a30fee40d Remove some dead code 2019-03-16 17:28:45 +01:00
Phallacy
7f0fa74467 updated regex to string literal with escaped - 2019-03-16 00:38:31 -07:00
Vasily
3d1d27230d Merge pull request #1120 from LogicalPhallacy/master
quick fix for auth bug
2019-03-16 10:32:51 +03:00
LogicalPhallacy
9df1506794 Merge pull request #2 from LogicalPhallacy/master
update lockoutfix to latest for testing
2019-03-16 00:26:12 -07:00
LogicalPhallacy
2d0844b5db Merge pull request #1 from jellyfin/master
merging myself to latest
2019-03-16 00:25:16 -07:00
Phallacy
1ee016c997 configurable user lockout 2019-03-16 00:18:52 -07:00
Phallacy
221389089c quick fix for auth bug 2019-03-15 21:25:19 -07:00
Joshua M. Boniface
59031ee3b8 Merge pull request #1119 from ploughpuff/503retry
MusicBrainz 503 Retry Strategy
2019-03-15 16:47:03 -04:00
PloughPuff
d2e408539e MusicBrainz 503 Retry Strategy
Upon receiving back a 503 Service Unavailable from MusicBrainz (indicating throttling), retry the same request a number of times before giving up.
2019-03-15 19:33:26 +00:00
Bond_009
a8140cc74b Merge branch 'master' of github.com:jellyfin/jellyfin into ffmpeg 2019-03-15 18:08:51 +01:00
Bond_009
d5f080fefb Check before flushing ffmpeg log
The stream could have been diposed while writing.
2019-03-15 17:58:34 +01:00
Joshua M. Boniface
35ff8ec713 Merge pull request #1116 from Bond-009/sub
Fix exception caused by #1096
2019-03-15 12:48:15 -04: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
Andrew Rabert
f85d45d17f Merge pull request #1115 from SuperSandro2000/patch-2
Clean apt lists in arm Dockerfiles
2019-03-15 10:53:10 -04:00
Andrew Rabert
022bd1b8b4 Merge pull request #1114 from SuperSandro2000/patch-1
Only remove /var/lib/apt/lists/* in Dockerfile
2019-03-15 10:53:00 -04:00
Sandro Jäckel
31305af7ff Clean apt lists in arm Dockerfiles 2019-03-15 14:39:23 +01:00
Sandro Jäckel
dd929d796f Only remove /var/lib/apt/lists/* 2019-03-15 14:30: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
Joshua M. Boniface
3d85014edc Merge pull request #1110 from EraYaN/productname-and-ua
Adjusted the Product Name so the User Agent is correct/better.
2019-03-15 00:25:38 -04: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
redSpoutnik
427688a0a0 Change subtitles DisplayTitle behavior 2019-03-14 22:31:51 +01: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
PloughPuff
f8bb7a7ff4 Increased interval to 1050ms and moved to class scope
Review comments from JustAMan.
2019-03-14 19:01:17 +00:00
PloughPuff
6d3e6d800f Only delay making request if necessary
When requesting data from MusicBrainz, only delay the request if previous request was less than rate limit ago, instead of always delaying for one second at start.
2019-03-14 19:01:17 +00:00
Vasily
208585d3f6 Merge pull request #1106 from Bond-009/warn2
More warning fixes
2019-03-14 19:54:44 +03:00
Vasily
bf00dedc7f Merge pull request #1103 from Bond-009/stream
Improvements around streams
2019-03-14 19:53:50 +03:00
Bond-009
bf43dc00bb More warning fixes 2019-03-13 22:32:52 +01:00
Bond-009
e64aaebbac Improvements around streams
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
2019-03-13 21:11:01 +01:00
Erwin de Haan
1d443d2ff5 Do not use the nuget packages for comparison, but the last master build (#1091)
* Do not use the nuget packages for comparison, but the last master build.
* Only allow passing builds.
2019-03-13 21:09:08 +01:00
Bond-009
6507a9b2ee Merge pull request #1104 from EraYaN/disable-abi-check-on-drone
Disable the Drone CI ABI check
2019-03-13 20:46:59 +01:00
Erwin de Haan
4cc4d57a78 Disable the Drone CI ABI check 2019-03-13 20:37:08 +01:00
Vasily
605bf0e8c3 Merge pull request #1100 from ploughpuff/rmprobeswitch
Finalise removal of --ffprobe switch
2019-03-13 01:42:07 +03:00
Vasily
89e2af6b57 Merge pull request #1096 from dkanada/opensubs
Remove open subtitles from the server
2019-03-13 01:22:55 +03:00
PloughPuff
b864e9da2a Finalise removal of --ffprobe switch
Removed --ffprobe from src files and server/docker scripts.
2019-03-12 22:09:18 +00:00
Vasily
f10382a696 Merge pull request #1098 from jellyfin/Bond-009-patch-2
Fix build by removing non existent namespace
2019-03-13 00:02:24 +03:00
Vasily
297f25cfc2 Merge pull request #1059 from Bond-009/os
Remove EnvironmentInfo
2019-03-13 00:01:00 +03:00
Bond-009
afdef163ea Fix build by removing non existent namespace
Looks like a wrong auto merge. (We really should fix CI)
2019-03-12 20:49:29 +01:00
Joshua M. Boniface
6751560228 Merge pull request #1092 from joshuaboniface/configurable-webdir
Add configurable webdir option
2019-03-12 12:51:11 -04:00
Joshua M. Boniface
2012eb5e11 Merge pull request #785 from Bond-009/xml
Remove useless abstraction around XmlReaderSettings
2019-03-12 11:49:39 -04:00
Bond-009
58068e249a Merge pull request #1094 from cvium/imageprocessor_exception
Skip processing of images that don't exist
2019-03-12 16:40:20 +01:00
Bond-009
3ddbda9aca Merge branch 'master' into xml 2019-03-12 16:37:18 +01:00
Vasily
1fef8bf266 Merge pull request #1060 from Bond-009/assinfo
Remove redundant class AssemblyInfo
2019-03-12 16:34:21 +03:00
Joshua Boniface
3c4043199a Implement review feedback 2019-03-12 09:18:45 -04:00
Vasily
0220309ea7 Merge pull request #1095 from Bond-009/fix1077
Add AppConfig to the DI service collection
2019-03-12 12:56:39 +03:00
Vasily
497b4f834f Merge pull request #1021 from Bond-009/failonwarn
Fail on warnings for Jellyfin.Server
2019-03-12 11:31:22 +03:00
dkanada
715ddbb3b0 remove open subtitles from the server 2019-03-11 18:10:31 -07:00
Bond-009
0ff038f0a2 Fix nullref 2019-03-11 23:13:01 +01:00
Claus Vium
7322485a6d Skip processing of images that don't exist 2019-03-11 20:44:12 +01:00
Vasily
f77af5f6e4 Merge pull request #1093 from joshuaboniface/saner-paths
Use better path configuration for packages
2019-03-11 15:32:36 +03:00
Vasily
2324c408ba Merge pull request #1089 from jellyfin/translations
Update translations
2019-03-11 15:30:50 +03:00
Joshua Boniface
037cf9e1ee Move CreateDirectory for dataDir to try block 2019-03-10 18:30:10 -04:00
Joshua Boniface
5268553e7f Have datadir envvar match the others 2019-03-10 18:24:11 -04:00
Joshua Boniface
5f7524aca2 Remove unneccessary string 2019-03-10 17:21:10 -04:00
Joshua Boniface
86f5221f96 Use environment variables instead of opts for RPM 2019-03-10 17:11:16 -04:00
Joshua Boniface
ecf85a73ec Use environment variables instead of opts for Deb 2019-03-10 17:09:51 -04:00
Joshua Boniface
132ce3ece1 Add further resources to complete WebPath 2019-03-10 17:04:18 -04:00
Joshua Boniface
25deca9579 Make use of WebPath 2019-03-10 16:20:46 -04:00
Joshua Boniface
93d15cd969 Add configuration flag for Web directory 2019-03-10 16:17:48 -04:00
Anthony Lavado
4b91c9bf66 Merge pull request #1075 from dkanada/thumbnail
Remove mirror images from library thumbnail
2019-03-10 10:52:50 -04:00
WWWesten
16adaa64c9 Translated using Weblate (Kazakh)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2019-03-10 03:06:01 -04:00
Matsuri
93fe7957fb Translated using Weblate (Chinese (Simplified))
Currently translated at 97.8% (92 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-03-10 03:06:00 -04:00
Joshua M. Boniface
fb96763f65 Merge pull request #1077 from Bond-009/musicbrainz
Make MusicBrainz base url configurable
2019-03-09 23:19:32 -05:00
Anthony Lavado
63342f89d4 Merge pull request #1081 from cvium/certificate_not_null
Disable HTTPS in Kestrel if Certificate is null
2019-03-09 02:11:02 -05:00
dkanada
47095e6cf8 move a variable out of for loop 2019-03-09 11:17:02 +09:00
Claus Vium
f2062ba19b Disable HTTPS in Kestrel if Certificate is null 2019-03-08 22:25:45 +01: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
58061a7295 Make MusicBrainz base url configurable 2019-03-08 17:15:52 +01:00
Anthony Lavado
c6c398179a Merge pull request #1072 from anthonylavado/remove-header
Remove New File Header
2019-03-08 10:23:13 -05:00
dkanada
e498e47109 remove mirror images from library thumbnail 2019-03-08 18:39:41 +09:00
Anthony Lavado
40089e2fd9 Merge pull request #1071 from jellyfin/Bond-009-patch-1
Fix error from #1069
2019-03-08 02:36:54 -05:00
Anthony Lavado
045a0419f6 remove new file header text, and remove it from solution
This removes the new file header text file from the repository, and also removes the include that was in the project solution.
2019-03-08 02:33:08 -05:00
Bond-009
80fb3dc2cb Fix error 2019-03-08 06:36:00 +01:00
Vasily
fcee64df09 Merge pull request #1069 from Bond-009/fix
Quick nullref fix
2019-03-08 00:58:52 +03:00
Bond-009
757e0194b9 Merge pull request #1067 from cvium/add_urlprefixes
Add urlprefixes during init
2019-03-07 22:54:02 +01:00
Bond-009
4625592a83 Quick nullref fix 2019-03-07 22:52:41 +01:00
Claus Vium
e3b844b5aa Add urlprefixes during init 2019-03-07 22:49:41 +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
Bond-009
669c48cc8b Merge pull request #1065 from cvium/closed_response
Don't set status code if response is closed
2019-03-07 22:32:01 +01:00
Vasily
d1fe24ac92 Merge pull request #1064 from Bond-009/fix2
Remove file added in #996
2019-03-08 00:29:33 +03:00
Claus Vium
3fa43a1e08 Don't set status code if response is closed 2019-03-07 22:26:23 +01:00
Vasily
028a98d2c1 Merge pull request #1058 from Bond-009/clean
Cleanup/simplification
2019-03-08 00:23:00 +03:00
Vasily
0f70a81db3 Merge pull request #1063 from EraYaN/azure-pipelines-upstream-change-fix
Update to renamed DownloadGitHubRelease task (Microsoft/azure-pipelines-tasks#9481)
2019-03-08 00:21:32 +03:00
Bond-009
d014a1dc1d Remove file added in #996 2019-03-07 22:16:27 +01:00
Vasily
e04a152ed0 Merge pull request #996 from Bond-009/libscan
Reduce the amount of exceptions thrown
2019-03-08 00:11:53 +03:00
Erwin de Haan
8a680ae324 Update to renamed DownloadGitHubRelease task (Microsoft/azure-pipelines-tasks#9481) 2019-03-07 22:00:28 +01:00
Vasily
75996476a7 Merge pull request #1061 from Bond-009/dead
Remove dead code
2019-03-07 23:57:51 +03:00
Bond-009
620d7b560d Fail on warnings for Jellyfin.Server 2019-03-07 21:52:16 +01:00
Bond-009
ab9859ecef Address comment 2019-03-07 21:42:56 +01:00
Bond_009
37ea50a572 Reduce the amount of exceptions thrown 2019-03-07 21:42:56 +01:00
Joshua M. Boniface
5cb3f04389 Merge pull request #1062 from Bond-009/warnfix
Fix the 2 new warnings
2019-03-07 15:34:51 -05:00
Bond-009
cedf50eeec Fix the 2 new warnings 2019-03-07 21:29:17 +01:00
Bond-009
c5fce647de Cleanup/simplification
* Removed useless copies/allocations
* Reduced unneeded complexity
2019-03-07 21:13:13 +01:00
Bond-009
10a0d6bdba Merge pull request #1010 from cvium/kestrel_poc
Remove System.Net and port to Kestrel
2019-03-07 21:08:57 +01:00
Claus Vium
0abe57e930 Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc 2019-03-07 20:16:51 +01:00
Bond-009
65c0b486aa Remove dead code
What it says on the tin
2019-03-07 19:27:43 +01:00
Bond-009
ae0ecc1b10 Merge pull request #870 from LogicalPhallacy/betterauth
Better default authentication
2019-03-07 19:11:36 +01:00
Claus Vium
dfff68b2f4 Make SkipLogExtensions static 2019-03-07 19:05:53 +01:00
Bond-009
e4c5d51860 Update MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-03-07 19:04:50 +01:00
Claus Vium
8c609bc9ce Reduce aspnet imports 2019-03-07 19:04:09 +01:00
Bond-009
f486f5966f Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-03-07 09:56:03 -08:00
Bond-009
e91dd14b31 Remove redundent class AssemblyInfo 2019-03-07 18:10:55 +01:00
Joshua M. Boniface
8a53b60912 Merge pull request #947 from EraYaN/azure-pipelines
Add Azure Pipelines YAML
2019-03-07 09:57:14 -05:00
Vasily
a4b52b7264 Merge pull request #844 from ploughpuff/ffmpeg
Reworked FFmpeg path discovery and always display to user
2019-03-07 17:23:06 +03:00
Vasily
5ae0ef0527 Merge pull request #1028 from Bond-009/ratings
Simplify rating loading
2019-03-07 17:22:26 +03:00
Phallacy
dfb1d704ed made hashset static and readonly 2019-03-07 03:32:05 -08:00
Bond_009
ffd6dac03a Remove useless comments 2019-03-07 12:24:44 +01:00
Phallacy
8f4895e8a5 more fixes for perf and style 2019-03-07 03:11:41 -08:00
Bond_009
a9302b8b53 Remove useless abstraction around XmlReaderSettings
This removes the amount of stuff that needs to be passed around
Also removes some unneeded `ManagedFileSystem` usage
2019-03-07 12:04:14 +01:00
Bond-009
c31b0b311b Apply suggestions from code review
more minor fixes before I do larger fixes

Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-03-07 02:41:44 -08:00
Claus Vium
bba049c987 Make FileSystem readonly 2019-03-06 19:29:25 +01:00
Claus Vium
21c2acc520 Remove public Host property 2019-03-06 19:27:05 +01:00
Claus Vium
394d23a73a Review comments 2019-03-06 19:14:03 +01:00
Joshua M. Boniface
276428878e Merge pull request #1051 from joshuaboniface/build-improvements
Build improvements for wrapping infrastructure
2019-03-06 13:12:51 -05:00
Bond-009
04db0369d4 Update LocalizationManager.cs 2019-03-06 17:31:52 +01:00
Joshua Boniface
4ef7eda593 Copy install script from new location 2019-03-06 09:22:38 -05:00
Vasily
2242c8d793 Merge pull request #915 from cvium/remove_encryptionmanager
Remove IEncryptionManager
2019-03-06 15:56:15 +03:00
Phallacy
bef665be36 Minor fixes to address style issues 2019-03-05 23:45:05 -08:00
Joshua Boniface
bf9f342c13 Add build.yaml for parent build infrastructure 2019-03-05 23:53:07 -05:00
Joshua Boniface
a994edda04 Allow complete ignoring of submodule
Used by the parent build infrastructure
2019-03-05 23:52:58 -05:00
Joshua Boniface
9f6bca3658 Put output into bin instead of jellyfin-build 2019-03-05 23:22:07 -05:00
PloughPuff
2617a49b78 Renamed Init() to SetFFmpegPath() 2019-03-05 21:29:15 +00:00
PloughPuff
656bffbbb2 Remove --ffprobe logic 2019-03-05 21:29:15 +00:00
PloughPuff
8104e739d5 Address review comments from Bond 2019-03-05 21:29:15 +00:00
PloughPuff
632968dc81 Added self to contributors 2019-03-05 21:29:15 +00:00
PloughPuff
ed69e690b8 Review comments
Address review comments from JustAMan, Bond-009 and cvium.
2019-03-05 21:29:15 +00:00
PloughPuff
20775116f7 Reworked FFmpeg path discovery and always display to user
1) Reworked FFmpeg and FFprobe path discovery (CLI switch, Custom xml, system $PATH, UI update trigger).  Removed FFMpeg folder from Emby.Server.Implementations.  All path discovery now in MediaEncoder.

2) Always display FFmpeg path to user in Transcode page.

3) Allow user to remove a Custome FFmpeg path and return to using system $PATH (or --ffmpeg if available).

4) Remove unused code associated with 'prebuilt' FFmpeg.

5) Much improved logging during path discovery.
2019-03-05 21:24:54 +00:00
Claus Vium
446f9bf81f Remove more Content-Length references 2019-03-05 20:48:04 +01:00
Claus Vium
913e80fd55 Add ProcessWebSocketRequest to IHttpListener 2019-03-05 20:35:07 +01:00
Claus Vium
9a4a01fb0e Fix DI in FileWriter.TransmitFile 2019-03-05 19:32:22 +01:00
Claus Vium
df92df7bd6 Remove BOM 2019-03-05 19:22:41 +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
Erwin de Haan
942c400c19 Update README with Azure Pipelines status badge 2019-03-05 17:12:56 +01:00
Joshua M. Boniface
5587dd8bfb Merge pull request #900 from ploughpuff/validator
Implement proper FFmpeg version checking
2019-03-05 11:07:49 -05:00
Bond-009
8d1fc3f984 Merge pull request #1043 from thornbill/update-colors
Update image overlays to use Jellyfin blue
2019-03-05 12:06:48 +01:00
Claus Vium
318e0d4a24 Add GetValueOrDefault dictionary extension 2019-03-05 10:27:25 +01:00
Claus Vium
bc00617df7 Remove unused Brotli compressor 2019-03-05 10:26:43 +01:00
Phallacy
2c26517172 minor style fixes 2019-03-04 23:58:25 -08:00
Claus Vium
51648a2a21 Remove unused _listener 2019-03-05 08:05:42 +01:00
Claus Vium
12df381495 Grab content root from config and fix kestrel port bindings 2019-03-05 07:55:29 +01:00
Claus Vium
17ca23d73b Don't dispose the connection 2019-03-05 07:41:41 +01:00
Bill Thornton
41df94115f Update image overlays to use Jellyfin blue 2019-03-04 22:36:23 -05:00
Claus Vium
0250204f14 Expand todo 2019-03-04 22:26:57 +01:00
Bond-009
0419deeec4 Update LocalizationManager.cs 2019-03-04 20:18:35 +01:00
Claus Vium
9020f68ce1 Use QueryHelpers.AddQueryString 2019-03-04 20:08:54 +01:00
Claus Vium
557c4d065d Review comments 2019-03-04 19:55:59 +01:00
Claus Vium
6cc1bd544a Fix a logging statement 2019-03-04 19:31:26 +01:00
Joshua M. Boniface
aba22b92bc Merge pull request #735 from Bond-009/loop
Readability changes
2019-03-04 00:27:48 -05:00
Claus Vium
040871459b Remove some unused references 2019-03-03 14:35:54 +01:00
Claus Vium
6263b73d9c Await host startup 2019-03-03 14:30:41 +01:00
Claus Vium
1cc433eabc Start the webhost before RunStartupTasks and fix ContentEncoding 2019-03-03 13:54:14 +01:00
Daniel Widrick
5982cdad90 Implement SxxExx EpisodeNum Processing (#1009)
**Changes**
Implement and use SxxExx Episode numbering system from guide data if available.

**Issues**
Fixes #1008
2019-03-03 12:46:03 +01:00
Claus Vium
d450169964 Use EnableHttps instead of CertificateInfo 2019-03-03 08:46:17 +01:00
Claus Vium
e823c11b46 Add certificate to https and minor cleanup 2019-03-03 08:29:23 +01:00
Bond-009
c328417d29 Merge pull request #1030 from jellyfin/release-10.2.z
Backmerge for 10.2.2
2019-03-02 18:12:24 +01:00
Bond-009
c4192f9f8b Merge pull request #1032 from Lynxy/master
Correct the list of series types
2019-03-02 18:11:53 +01:00
Lynxy
5368112d90 Correct the list of series types 2019-03-01 22:28:25 -05:00
Bond-009
ed07ed44ae Simplify rating loading 2019-03-01 19:30:48 +01:00
Bond-009
9993dafe54 Don't mix LINQ and roreach loops for readability 2019-03-01 17:12:22 +01:00
Claus Vium
6bdb5debd2 Add some websocket manager boilerplate 2019-03-01 14:08:51 +01:00
Andrew Rabert
65403747df Merge pull request #1025 from jellyfin/justadep
Treat jellyfin-web as just another dependency for Docker builds
2019-03-01 07:52:29 -05:00
Bond-009
594b271383 Merge pull request #1024 from jellyfin/release-10.2.z
Backmerge for 10.2.2
2019-03-01 07:49:07 +01:00
Andrew Rabert
27f9981142 Treat jellyfin-web as just another dependency for Docker builds 2019-03-01 00:17:46 -05:00
Deniz
3d3d879b99 Translated using Weblate (Turkish)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-02-28 23:13:39 -05:00
ElFantasma
53ed6e5e6e Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_AR/
2019-02-28 23:13:38 -05:00
SaddFox
d0e4e0f600 Translated using Weblate (Slovenian)
Currently translated at 87.2% (82 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2019-02-28 23:13:36 -05:00
v1tin
311caf3fc3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-02-28 23:13:35 -05:00
EffeF
7c13021def Translated using Weblate (Italian)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/it/
2019-02-28 23:13:35 -05:00
TheBird956
c8788d83fb Translated using Weblate (French (Canada))
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2019-02-28 23:13:35 -05:00
TheBird956
331260cf80 Translated using Weblate (French)
Currently translated at 100.0% (94 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2019-02-28 23:13:34 -05:00
Joshua Boniface
58e5931a32 Bump version to 10.2.2 2019-02-28 22:03:08 -05:00
Bond-009
02041fa6f4 Merge pull request #1020 from Lynxy/master
Do not allow new users to delete content by default
2019-02-28 21:17:11 +01:00
Anthony Lavado
fcd299965d Merge pull request #992 from joshuaboniface/armhf-debian
Add Debian armhf (Rasberry Pi) build plus crossbuild
2019-02-28 12:55:59 -05:00
Vasily
79d5a53aea Merge pull request #1018 from fasheng/fix-dlna-rmvb
Fix rmvb video can not play under DLNA
2019-02-28 19:41:53 +03:00
Vasily
f1086a72bf Improve logic when determining return value
Co-Authored-By: ploughpuff <33969763+ploughpuff@users.noreply.github.com>
2019-02-28 15:58:41 +00:00
Xu Fasheng
95d001a053 Update CONTRIBUTORS.md 2019-02-28 22:15:59 +08:00
Vasily
b7fd68d366 Merge pull request #1017 from nvllsvm/dockerffmpeg
Set ffmpeg+ffprobe paths in Docker container
2019-02-28 16:43:35 +03:00
The Lynxy
c84729a4f4 Do not allow new users to delete content by default 2019-02-28 07:50:32 -05:00
Xu Fasheng
4951ec9814 Fix rmvb video can not play under DLNA
Or will report "Could not find handler for /videos/xxx/stream.rm" error
in server side.

Test OK with Kodi and gupnp-tools.
2019-02-28 18:00:25 +08:00
Phallacy
edba82db37 fixed logic flip in auth empty check and fixed crypto algo choice 2019-02-27 23:05:12 -08:00
Andrew Rabert
1d1e6dede9 Set ffmpeg+ffprobe paths in Docker container
Will always ensure containers use correct path.

Yes - the arm images have a different path than the amd64 one. This is
caused by the amd64 image using ffmpeg from jellyfin/ffmpeg while the
others use ffmpeg from their distro's repos.
2019-02-27 21:04:37 -05:00
Andrew Rabert
f384822aa5 Merge pull request #991 from joshuaboniface/ffmpeg-compat
Fix the ffmpeg compatibility
2019-02-27 20:45:43 -05:00
Claus Vium
1ac282b12e Call SharpWebSocket's Closed event handler before disposing 2019-02-27 23:39:20 +01:00
Claus Vium
588a13377c Remove a file that shouldn't have been added 2019-02-27 23:24:43 +01:00
Claus Vium
fb1de5a921 Remove more cruft and add the beginnings of a socket middleware 2019-02-27 23:22:55 +01:00
Claus Vium
71ed840944 Simplify websocket listeners 2019-02-27 22:09:22 +01:00
Claus Vium
dab8e15052 Check websocket state before closing 2019-02-27 21:48:28 +01:00
Claus Vium
e47d121985 Fix websockets 2019-02-27 21:40:47 +01:00
Claus Vium
c0b95dbc79 Fix query log for real 2019-02-27 20:11:40 +01:00
Claus Vium
647adc51c8 Fix query log 2019-02-27 19:55:25 +01:00
PloughPuff
7668ecf9c9 Use Version Class to ease comparisons 2019-02-27 18:20:48 +00:00
Vasily
3769453541 Merge pull request #978 from fasheng/fix-dlna-multiple-interfaces
Fix DLNA for multiple interfaces on linux
2019-02-27 19:23:31 +03:00
Vasily
8c2af50170 Merge pull request #1011 from Bond-009/order
Don't try to order the response the same as the request
2019-02-27 17:29:12 +03:00
Claus Vium
1e97e4d462 Remove IHttpResponse 2019-02-27 14:29:44 +01:00
Claus Vium
27e7e792b3 Replace some usage of QueryParamCollection 2019-02-27 14:23:39 +01:00
Xu Fasheng
7429c07c05 Remove redundant parenthesis 2019-02-27 20:16:54 +08:00
Claus Vium
91afaaf8fe Cleanup in QueryParamCollection 2019-02-27 12:45:06 +01:00
Claus Vium
333bd2107a Remove HttpUtility 2019-02-27 12:40:18 +01:00
Claus Vium
25d3d0b731 Remove some unused stuff 2019-02-27 08:02:32 +01:00
Claus Vium
77addb2283 Remove SocketHttpListener 2019-02-27 07:32:36 +01:00
Joshua M. Boniface
9651a78b0c Merge pull request #977 from Lynxy/genpts
Always set ffmpeg flag +genpts when video stream is being copied
2019-02-27 00:52:51 -05:00
Joshua M. Boniface
9eba31185a Merge pull request #959 from Bond-009/string
Reduce string allocations at startup
2019-02-27 00:37:31 -05:00
Joshua M. Boniface
aea7edf0fa Merge pull request #891 from Bond-009/postsan
Reduce the amount of db calls during the post scan event
2019-02-27 00:31:48 -05:00
Joshua M. Boniface
42d4834f63 Merge pull request #849 from Bond-009/span
Less string allocations
2019-02-27 00:30:31 -05:00
Joshua M. Boniface
ba78f6a0ff Merge pull request #999 from cvium/dont_write_disposed_log
Check that ffmpeg log target isn't disposed before writing to it
2019-02-27 00:27:25 -05:00
Erwin de Haan
feb5b62ad4 Enabled clean and updated the Github Connection Name 2019-02-27 00:53:16 +01:00
Erwin de Haan
5ccba7cf8a Move .azure to .ci 2019-02-27 00:20:04 +01:00
Claus Vium
848cfc32cc More cleanup 2019-02-26 22:57:59 +01:00
Claus Vium
5510e8ebee Remove unused Cookies 2019-02-26 22:53:59 +01:00
Claus Vium
9c02e99e35 Undo some of the span abuse 2019-02-26 22:40:25 +01:00
Claus Vium
148db8b81a Remove unused SharpSocket stuff 2019-02-26 22:11:21 +01:00
Claus Vium
e342b7bc71 Extend the IHttpServer interface to avoid the typecasting 2019-02-26 22:11:21 +01:00
Claus Vium
f1c93ae618 Remove SetContentLength and company 2019-02-26 22:11:21 +01:00
Claus Vium
4e229ad86b Fix PathInfo 2019-02-26 22:11:21 +01:00
Claus Vium
e88f079da6 Remove websocket options and configure kestrel listen ports 2019-02-26 22:11:21 +01:00
Claus Vium
4e8de67aca Remove SocketSharp from Jellyfin.Server and some other cleanup 2019-02-26 22:11:21 +01:00
Claus Vium
a85488cd20 Fix websockets array index out of bounds and some cleanup 2019-02-26 22:11:21 +01:00
Claus Vium
5a7cca9d1b Fix websockets and RawUrl 2019-02-26 22:11:21 +01:00
Claus Vium
d6c6f3c10c Still broken 2019-02-26 22:11:21 +01:00
Claus Vium
38f52a139e Add response compression middleware 2019-02-26 22:11:21 +01:00
Claus Vium
194da8416b Use middlewares instead of Routing 2019-02-26 22:11:21 +01:00
Claus Vium
f3e7bc0573 Replace some todos with http extensions and prepare some socket work 2019-02-26 22:11:21 +01:00
Claus Vium
c3fa299acc Remove hardcoded path and fix url bug in Windows 2019-02-26 22:11:21 +01:00
Claus Vium
852460b991 kestrel init 2019-02-26 22:11:21 +01:00
Claus Vium
33b67a357f Remove unused deps 2019-02-26 22:11:21 +01:00
Claus Vium
4db31acff9 Begin removing System.Net sources 2019-02-26 22:11:21 +01:00
Joshua M. Boniface
968e282c90 Merge pull request #1007 from Bond-009/time
Log time in a standardized way
2019-02-26 16:05:59 -05:00
Bond-009
1731bf7372 Remove ordering items 2019-02-26 20:47:23 +01:00
Bond-009
0804bed66d Log time in a standardized way 2019-02-26 19:40:23 +01:00
Bond-009
a0606b5730 Don't change submodule 2019-02-26 17:11:27 +01:00
Bond-009
9ba6227db4 Less string allocations 2019-02-26 17:11:04 +01:00
Vasily
9bab93262e Merge pull request #1003 from Bond-009/stopwatch
Use stopwatch for more accurate measurements and reduce log spam
2019-02-26 01:27:42 +03:00
Bond_009
0f9006c81f Use stopwatch for more accurate measurements and reduce log spam
DateTime.Now is suitible for small timespans
Replaced the needlessly complex and verbose logging for the httpserver
2019-02-25 18:26:17 +01:00
Vasily
b3438559cc Merge pull request #1000 from cvium/fix_object_disposed
Don't close the socket response multiple times
2019-02-25 16:52:31 +03:00
Vasily
8e5cccb22c Merge pull request #998 from cvium/enableraisingevents_default_true
Set EnableRaisingEvents to true for processes that require it
2019-02-25 16:42:27 +03:00
Vasily
500c0b9cba Merge pull request #979 from Wuerfelbecher/release-disable-debug
Build Package releases without debug turned on
2019-02-25 16:35:06 +03:00
Joshua Boniface
5054a77dcf Fix the ffmpeg compatibility
Doing this the other way was just complex. No longer try to override
the system ffmpeg, just put ours somewhere else and depend on that
package.
2019-02-25 00:41:34 -05:00
Joshua Boniface
dac2c98d8a Disable documentation and debug in build 2019-02-24 23:20:04 -05:00
Claus Vium
4df3333b71 Remove the unused status code 2019-02-24 22:31:46 +01:00
Claus Vium
5262e50fee Try another fix 2019-02-24 22:28:46 +01:00
Claus Vium
547d0ecf58 Move the check further down 2019-02-24 22:04:30 +01:00
Claus Vium
6e07eab247 Don't close the socket response multiple times 2019-02-24 21:45:03 +01:00
Claus Vium
96b3d37caf Check that ffmpeg log target isn't disposed before writing to it 2019-02-24 21:25:24 +01:00
Claus Vium
aafed63c3f Set EnableRaisingEvents to true for processes that require it 2019-02-24 16:33:05 +01:00
Claus Vium
2e9a3d45c2 Fix slow local image validation (#990)
* Check for local image directory existence to avoid tons of exceptions
2019-02-24 10:16:53 -05:00
Bond-009
e281c79d6f Merge pull request #968 from brianjmurrell/release-10.2.z-copr-autobuild
Release 10.2.z copr autobuild
2019-02-24 10:10:19 -05:00
Thomas Büttner
38ec68c488 use common.build.sh for docker image builds
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-02-24 11:17:39 +01:00
Thomas Büttner
da61998ad6 Build releases without debug
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-02-24 11:00:15 +01:00
Joshua M. Boniface
f28dd79fb1 Merge pull request #964 from jellyfin/fedora-runtime
Install the dotnet runtime package in Fedora build
2019-02-23 21:31:38 -05:00
Joshua Boniface
c2e57aba27 Add Debian armhf (Rasberry Pi) build plus crossbuild 2019-02-23 20:07:05 -05:00
Bond-009
4a3e42e779 Merge pull request #986 from JustAMan/submodule-update
Backmerge submodule updating strategy
2019-02-23 10:13:02 -05:00
The Lynxy
67f399dccf Leave +genpts untouched in GetProgressiveVideoArguments() 2019-02-23 10:01:41 -05:00
Lynxy
eb95b025d4 Add to contributors 2019-02-22 23:28:19 -05:00
Anthony Lavado
de45cfdd8c Merge pull request #984 from WWWesten/patch-1
Update kz.csv
2019-02-22 22:05:36 -05:00
Xu Fasheng
47966793c0 Remove useless if..else in SsdpDevicePublisher 2019-02-23 10:15:38 +08:00
Xu Fasheng
0c49079c16 Update comments for DLNA IPv6 2019-02-23 09:56:55 +08:00
Vasily
d82d6b6aef Merge pull request #981 from cvium/close_response_stream
Close the response stream after fetching temp files
2019-02-23 02:01:20 +03:00
Vasily
7ae526da8b Merging #975 to master 2019-02-23 01:52:51 +03:00
WWWesten
e79d44d9f1 Update kz.csv
The new ratings system
2019-02-23 01:51:35 +05:00
Claus Vium
fb7de2f966 Remove duplicate code and use using to properly dispose the response stream 2019-02-22 20:24:42 +01:00
Bond-009
db54fe4c70 Merge pull request #975 from cvium/release-10.2.z
Update submodule
2019-02-22 12:57:20 -05:00
Xu Fasheng
1eb26bdf08 Ignore IPv6 DLNA devices
DLNA is not ready for IPv6 now, uncomment the code will be fine.
2019-02-22 20:18:34 +08: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
2db1826ed8 Enable DLNA multi socket binding for linux
If not, DLNA on multiple interfaces not works for linux, for
example ZerotierOne VPN.
2019-02-22 20:13:17 +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
Lynxy
9b39404b9a Always set ffmpeg flag +genpts when video stream is being copied 2019-02-21 19:50:57 -05:00
Claus Vium
00fe66a38c Update submodule 2019-02-21 20:59:10 +01:00
Vasily
406af5f086 Merge pull request #967 from brianjmurrell/dotnet-runtime
dotnet-runtime is needed on Fedora now
2019-02-21 15:25:51 +03:00
Vasily
e7e7d96f51 Merge pull request #776 from cvium/update_tvdb
Update tvdb provider to v2 api
2019-02-21 15:09:54 +03:00
Vasily
785fa76ac6 Merge pull request #955 from ploughpuff/avoid
Avoid exceptions due to folder and file not found
2019-02-21 15:05:31 +03:00
Vasily
6c967c5982 Merge pull request #952 from Liggy/populate-extras
Populate video extras again
2019-02-21 15:02:36 +03:00
Brian J. Murrell
f03e279382 COPR auto building
This adds enhancements so that Fedora/EL packages can be automatically
built in COPR when a webhook is received.  A typical webhook could be
for tagging events for example or even a "Release" webhook to only
build releases.
2019-02-21 02:12:16 -05:00
Brian J. Murrell
1bc2b12ee3 dotnet-runtime is needed in Fedora RPM build also 2019-02-21 02:11:46 -05:00
Joshua Boniface
469a17b3ca Install the dotnet runtime too
This is needed since /usr/bin/dotnet doesn't exist in the SDK package
for whatever reason as of Feb 18 2019.
2019-02-20 20:36:49 -05:00
Bond-009
affb8c8673 Merge pull request #962 from scheidleon/fix-windows-build
Fix Path
2019-02-20 15:38:43 -05:00
scheidleon
74aa38acd7 Fix Path 2019-02-20 21:04:52 +01:00
Joshua M. Boniface
d4ded281aa Merge pull request #961 from jellyfin/release-10.2.z
Release 10.2.1
2019-02-20 14:24:22 -05:00
Claus Vium
c597f0de35 Make Tvdb strings const 2019-02-20 19:55:06 +01:00
Bond-009
3965f90236 Update MediaBrowser.Providers/TV/TheTVDB/TvdbSeriesImageProvider.cs
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-02-20 19:36:33 +01:00
Claus Vium
8af4417f8f Add ConfigureAwait to awaited calls 2019-02-20 19:35:47 +01:00
Joshua Boniface
83948420a4 Bump version to 10.2.1 2019-02-20 13:29:14 -05:00
Andrew Rabert
8c53407a9d Merge pull request #960 from nvllsvm/dock
Use jellyfin/ffmpeg image
2019-02-20 13:15:23 -05:00
Claus Vium
4a5c526ccc Fix logging args and add ilogger with categoryname 2019-02-20 19:08:47 +01:00
Andrew Rabert
69a81c0bc2 Use jellyfin/ffmpeg image 2019-02-20 12:11:50 -05:00
Bond_009
320707d44c Reduce string allocations at startup 2019-02-20 16:49:03 +01:00
Torsten
2690ac299b Only refresh metadata if extras changed 2019-02-20 16:39:49 +01:00
Torsten
268b099ca8 Merge branch 'populate-extras' of github.com:Liggy/jellyfin into populate-extras 2019-02-20 16:38:30 +01:00
Liggy
33171a58b5 Merge branch 'master' into populate-extras 2019-02-20 16:37:57 +01:00
PloughPuff
73c1cdb32a Avoid exceptions due to folder and file not found
1) Use function to return path to temp transcode path which has benefit of creating temp folder if not exists, thereby avoiding the exception when GetFilePaths is used.
2) Check json files exists before attempting to read from it.  Avoids having to mask FileNotFound exceptions when debugging.
2019-02-20 13:30:06 +00:00
Liggy
13bfe5093e Merge branch 'master' into populate-extras 2019-02-20 14:24:23 +01:00
Bond-009
99bed9a9c3 Merge pull request #939 from joshuaboniface/cleanup-builds
Clean up and rename obsolete deployment platforms
2019-02-20 07:28:20 -05:00
Vasily
8ef41020d9 Merge pull request #847 from Bond-009/async
Make websockets code async
2019-02-20 15:03:42 +03:00
Bond-009
fca226bdfd Add comment 2019-02-20 12:53:35 +01:00
Vasily
bca7a26ffd Merge branch 'master' into update_tvdb 2019-02-20 14:46:07 +03:00
Vasily
60df855b26 Merge pull request #930 from fruhnow/AuthorizationCheck
checking user-permission in GetQueryResult
2019-02-20 14:42:35 +03:00
Vasily
44ed037e73 Merge pull request #950 from cvium/replace_priority_queue
Replace OptimizedPriorityQueue source with NuGet reference
2019-02-20 14:39:52 +03:00
Vasily
50ce7572b4 Merge pull request #851 from Bond-009/appdata
Simplify code to get data dir
2019-02-20 14:31:01 +03:00
Vasily
74695428fe Merge pull request #914 from Bond-009/httppostedfile
Separate HttpPostedFile into it's own file
2019-02-20 13:33:42 +03:00
Claus Vium
139807719c Add missing base64 conversion 2019-02-20 11:09:10 +01:00
Claus Vium
1e2050f106 Rename functions to match functionality 2019-02-20 11:09:10 +01:00
Claus Vium
a23f04623e Remove IEncryptionManager 2019-02-20 11:09:06 +01:00
Claus Vium
1f30a50f4a Address review comments 2019-02-20 11:03:04 +01:00
Phallacy
098de6b050 made newlines into linux newlines 2019-02-20 01:17:30 -08:00
Phallacy
a0d31a49a0 merging with master to clear merge conflict 2019-02-20 00:46:13 -08:00
Phallacy
6bbb968b57 minor changes and return to netstandard 2019-02-20 00:00:26 -08:00
Joshua M. Boniface
6c6e9ca9f2 Merge pull request #889 from Bond-009/xmlex
Fix uncaught xml error
2019-02-19 21:31:16 -05:00
Joshua M. Boniface
89d4ce309d Merge pull request #848 from Bond-009/perf
Minor changes to reduce allocations
2019-02-19 21:24:51 -05:00
Joshua M. Boniface
b43317c5e1 Merge pull request #830 from Bond-009/update
Removed remaining self-update code
2019-02-19 21:21:36 -05:00
Torsten
5917e91447 Merge https://github.com/jellyfin/jellyfin into populate-extras 2019-02-19 23:21:40 +01:00
Torsten
9753a76905 Populate video extras again 2019-02-19 22:41:25 +01:00
Bond-009
d978ae1996 Merge pull request #948 from cvium/revert_movie_matching
Revert movie matching
2019-02-19 16:31:01 -05:00
Claus Vium
6016a27736 Check for whitespace 2019-02-19 22:30:21 +01:00
Vasily
24b76dbed8 Merge pull request #936 from EraYaN/fix-drone-abi-tests
Fixed the assemblynames for compatibility check in drone.
2019-02-20 00:22:09 +03:00
Claus Vium
dab25a0eeb Remove OptimizedPriorityQueue source and grab it from nuget 2019-02-19 21:17:30 +01:00
Claus Vium
566646ad8b Remove limit comment 2019-02-19 19:44:22 +01:00
Claus Vium
6c1ca6f737 Remove arbitrary limit and minor style fixes 2019-02-19 19:33:41 +01:00
Claus Vium
aa0c20afd5 Revert "Change multi version logic for movies"
This reverts commit a4055779f6.
2019-02-19 17:39:47 +01:00
Claus Vium
46acff4113 Revert "Remove unnecessary ToList"
This reverts commit 42abb5a993.
2019-02-19 17:39:30 +01:00
Claus Vium
de5c0bab70 Revert "Add Year to the new VideoInfo"
This reverts commit 05ad2e9b3f.
2019-02-19 17:39:10 +01:00
Claus Vium
5181427234 Revert "Merge pull request #924 from cvium/fix_movie_matching"
This reverts commit f274d024ce, reversing
changes made to 4b4399fba6.
2019-02-19 17:34:43 +01:00
Claus Vium
c79324154f Revert "Merge pull request #933 from cvium/fix_movie_matching_again"
This reverts commit 77d4fec6eb, reversing
changes made to f274d024ce.
2019-02-19 17:10:11 +01:00
Felix Ruhnow
53beebc774 switching logging to serilog convention according to pr comments 2019-02-19 12:17:28 +01:00
Felix Ruhnow
ba003e06ef adressing pr comments 2019-02-19 12:09:39 +01:00
Felix Ruhnow
1d631540ac adressing pr comments 2019-02-19 12:06:50 +01:00
Joshua Boniface
3ed9d32f68 Rename Windows scripts folder 2019-02-18 22:07:53 -05:00
Joshua Boniface
3ecfd1fdd1 Rename framework to portable 2019-02-18 22:07:12 -05:00
Joshua Boniface
24574d4964 Rename MacOS build 2019-02-18 22:06:44 -05:00
Joshua Boniface
512ab8c6aa Remove unneeded Linux builds 2019-02-18 22:06:06 -05:00
Erwin de Haan
029bafdf9c Changed build name template and limited number of parallel jobs. 2019-02-19 03:16:17 +01:00
Erwin de Haan
0849c4a447 Switched to dotnet based execution again because of permissions. 2019-02-19 03:12:53 +01:00
Erwin de Haan
5238ba5d8f Fix tool extraction search pattern. 2019-02-19 03:07:44 +01:00
Erwin de Haan
6b1a64652f Fix path for naming, and add extra CopyFIle Task. 2019-02-19 02:59:56 +01:00
Erwin de Haan
9961c8c459 No full publish of artifacts. 2019-02-19 02:55:10 +01:00
Erwin de Haan
18418b6892 Fixed secondary Artifact paths and Debug config. 2019-02-19 02:50:25 +01:00
Erwin de Haan
d4bc7b5a5a Fix NuGet task name. 2019-02-19 02:42:42 +01:00
Erwin de Haan
e2d0f67077 Fix the conditions. 2019-02-19 02:32:36 +01:00
Erwin de Haan
5ef63e738d Added final stage and removed triggers. 2019-02-19 02:28:16 +01:00
Erwin de Haan
7bbcb455c0 Added compat checking to YAML 2019-02-19 02:17:57 +01:00
Erwin de Haan
2ad54cd09d Fixed the assemblynames from drone since, the namespaces do not line up (yet). 2019-02-19 01:18:49 +01:00
Erwin de Haan
7c9803e135 Update azure-pipelines.yml for Azure Pipelines 2019-02-18 23:47:31 +01:00
Erwin de Haan
480999e8e6 Update azure-pipelines.yml for Azure Pipelines 2019-02-18 23:42:24 +01:00
Erwin de Haan
ef17ec700b Update azure-pipelines.yml 2019-02-18 23:24:39 +01:00
Erwin de Haan
4b34b0cfea Merge branch 'azure-pipelines' of https://github.com/EraYaN/jellyfin into azure-pipelines 2019-02-18 23:03:14 +01:00
Erwin de Haan
60fc53306d Fixed vmImage 2019-02-18 22:53:32 +01:00
Bond-009
77d4fec6eb Merge pull request #933 from cvium/fix_movie_matching_again
Semi-revert to prefer old movie grouping behaviour
2019-02-18 16:48:05 -05:00
Bond-009
c6188e26af Got to start somewhere 2019-02-18 22:47:02 +01:00
Erwin de Haan
18717d103a Update azure-pipelines.yml for Azure Pipelines 2019-02-18 22:36:24 +01:00
Erwin de Haan
6834b64922 Add first Azure Pipeline (Build) 2019-02-18 22:26:40 +01:00
Claus Vium
29ff80d69c Minor style fixes 2019-02-18 22:02:16 +01:00
Claus Vium
4a700778e3 Semi-revert to prefer old movie grouping behaviour 2019-02-18 21:56:08 +01:00
Phallacy
56e3063342 little fixes for JustAMan 2019-02-18 10:56:01 -08:00
Joshua M. Boniface
781cca0c82 Merge pull request #902 from brianjmurrell/copr-autobuild
COPR auto building
2019-02-18 13:53:59 -05:00
Andrew Rabert
eab35890dc Merge pull request #862 from EraYaN/abi-check-drone
Add dotnet-compat ABI testing and Debug configuration building to drone-CI
2019-02-18 13:11:06 -05:00
Felix Ruhnow
967d5deeb7 checking user-permission in GetQueryResult to prevent accessing the library without permission but having a link. (+added myself as contributor. forgot last time bout that) 2019-02-18 18:29:58 +01:00
Bond-009
51ba28bd65 Remove useless check 2019-02-18 17:37:10 +01:00
Bond_009
a94aeb5c87 Simplify code to get data dir 2019-02-18 17:35:09 +01:00
Vasily
13f2783a8e Merge pull request #887 from wtayl0r/replace-primitives-with-iconfiguration
Replace primitive injection with IConfiguration
2019-02-18 19:30:11 +03:00
Bond_009
7554f63551 Remove more self-update code 2019-02-18 16:57:08 +01:00
Bond_009
25253cf961 Fix style issues in changed files 2019-02-18 16:57:08 +01:00
Bond_009
77a5617774 Removed remaining self-update code 2019-02-18 16:57:08 +01:00
Vasily
f274d024ce Merge pull request #924 from cvium/fix_movie_matching
Use the movie name instead of folder name
2019-02-18 15:10:36 +03:00
Vasily
395072239d Merge pull request #913 from Bond-009/log
Reduce log spam
2019-02-18 14:50:53 +03:00
Vasily
e2f6ecaef6 Merge pull request #829 from Bond-009/fields
Removed some unused fields
2019-02-18 14:47:02 +03:00
Phallacy
48e7274d37 added justaman notes, fixed new bug from emty has removals 2019-02-18 01:26:01 -08:00
LogicalPhallacy
9f3aa2cead Apply suggestions from code review
Adding minor stylistic suggestions from Bond-009

Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-02-18 00:31:03 -08:00
bobberb
bb50363812 Translated using Weblate (Hebrew)
Currently translated at 97.8% (92 of 94 strings)

Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2019-02-17 15:59:36 -05:00
Joshua M. Boniface
9a38e4dc8a Merge pull request #925 from Bond-009/newmaser
Merge 10.2.0 release branch back into master
2019-02-17 13:05:12 -05:00
William Taylor
c607c95e64 Removed async from non-async method 2019-02-17 14:33:20 +00:00
William Taylor
18ae107ce4 Removed unnecessary configuration options and reduced primitive dependencies 2019-02-17 14:09:52 +00:00
William Taylor
3f80b16ffa Removed Reference and replaced with package reference 2019-02-17 14:09:52 +00:00
William Taylor
72aa364aa5 Removed extra using 2019-02-17 14:08:52 +00:00
William Taylor
0d5fbcb031 Removed primitives from services in Program.cs
This will make it easier to move dependency registration
to a system without having to new up all the services first.
Moved the primitives to an IConfiguration which is much easier to inject.
2019-02-17 14:08:52 +00:00
Bond-009
a35ea49c99 Merge remote-tracking branch 'upstream/release-10.2.z' into newmaser 2019-02-17 10:38:44 +01:00
Claus Vium
c45b6aa53e Use the movie name instead of folder name 2019-02-17 07:39:36 +01:00
Andrew Rabert
4b4399fba6 Merge pull request #920 from nvllsvm/dockolate_icetainer
Fix cachedir missing from Docker container
2019-02-16 15:54:16 -05:00
Andrew Rabert
c06598635f Fix cachedir missing from Docker container
Adds the /cache volume and set it to writeable by all. This allows for
those using jellyfin to continue using it without modifying their
config. However, retaining cache will require one to mount the /cache
volume.

Also make the /config and /media dirs 777 by default. No permissions on
mounted volumes will be changed.
2019-02-16 15:25:44 -05:00
Bond-009
4811e76860 Merge branch 'master' into perf 2019-02-16 17:05:44 +01:00
Bond-009
64a4f259a2 Merge branch 'master' into async 2019-02-16 17:05:05 +01:00
Bond-009
bdfd042d70 Merge branch 'master' into fields 2019-02-16 17:03:15 +01:00
Bond-009
a993420676 Reduce log spam 2019-02-16 16:42:24 +01:00
Bond-009
fb6a901374 Separate HttpPostedFile 2019-02-16 11:46:58 +01:00
Bond-009
25c2267a89 Merge pull request #907 from cvium/fix_assembly_visibility
Fix assembly visibility
2019-02-16 10:38:10 +01:00
PloughPuff
69ea15f73a Use string interpolation
Two further review comments from JustAMan.
2019-02-16 00:47:38 +00:00
Vasily
b7ae044e65 Merge pull request #885 from Bond-009/warn
More warning fixes
2019-02-16 03:22:12 +03:00
PloughPuff
d8d237f6f2 Review comments
Addressed review comments from JustAMan.  Removed code to determine experimental version.  Store major and minor as two ints.  Allow control of a min and max recommended version.
2019-02-15 23:51:22 +00:00
Bond-009
18e1d03a89 Comments 2019-02-16 00:44:10 +01:00
Vasily
3947f2315d Update Jellyfin.Server/Jellyfin.Server.csproj
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-02-16 00:43:56 +01:00
Bond-009
cb9e50b2ea Reorder elements 2019-02-16 00:43:56 +01:00
Bond-009
e620bb9512 Remove more doc warnings 2019-02-16 00:43:56 +01:00
Bond-009
8b04fe7633 More fixes 2019-02-16 00:43:56 +01:00
Bond-009
2cb747651b Correctly dispose WebSocketSharpListener 2019-02-16 00:43:56 +01:00
Bond-009
46897aab4f More warnings 2019-02-16 00:43:56 +01:00
Bond-009
892787cb1a Disable SA1130 2019-02-16 00:43:56 +01:00
Bond-009
be77e14db9 Warnings for docs 2019-02-16 00:43:56 +01:00
Bond-009
34af7501fa Fix up CoreAppHost.cs 2019-02-16 00:43:56 +01:00
Bond-009
183ef34422 Do not declare visible instance fields 2019-02-16 00:43:56 +01:00
Bond-009
637936cb9f Closing braces should be followed by an empty line 2019-02-16 00:43:56 +01:00
Bond-009
fc59b0ab77 Disable SA1512 2019-02-16 00:43:56 +01:00
Bond-009
d8b312674d No multiple empty lines 2019-02-16 00:43:56 +01:00
Bond-009
ebae7229c1 Single line comments should start with a space 2019-02-16 00:43:56 +01:00
Bond-009
3df8cda110 ConfigureAwait 2019-02-16 00:43:56 +01:00
Bond-009
43cf11aa35 Change discards 2019-02-16 00:42:56 +01:00
Claus Vium
21f0a7e020 Make all class implementing dynamically loaded interfaces public 2019-02-15 23:05:14 +01:00
Claus Vium
cb6d2cbd2d Remove SizeLimit 2019-02-15 22:02:17 +01:00
Claus Vium
ce51025e7c Use DI for TvDbClientManager 2019-02-15 20:11:27 +01:00
Claus Vium
5a054e5150 Remove useless doc 2019-02-15 19:33:10 +01:00
Claus Vium
98f003f71a Review comments 2019-02-15 19:33:10 +01:00
Claus Vium
b9efcace79 Extract imagetype-to-keytype statements into a utility function and move tvdb specific utils to separate class 2019-02-15 19:33:10 +01:00
Claus Vium
1aaa8de1f9 Use Task.WhenAll properly 2019-02-15 19:33:10 +01:00
Claus Vium
5e2e190f3e Add key delimiter to avoid potential clashes 2019-02-15 19:33:10 +01:00
Claus Vium
828434058f Use language supplied as argument instead of reading from TvDbClient 2019-02-15 19:33:10 +01:00
Claus Vium
dfbf5fc9fa Add generic key generation function 2019-02-15 19:33:10 +01:00
Claus Vium
8029cd3ebb Add better language support 2019-02-15 19:33:10 +01:00
Vasily
e970d7a6aa Update MediaBrowser.Providers/TV/MissingEpisodeProvider.cs
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-02-15 19:33:10 +01:00
Claus Vium
350e795640 Fix namespace in tvdbclientmanager 2019-02-15 19:33:10 +01:00
Claus Vium
f5bda652c4 Add support for searching for episodes by premiere date and fixed timezones 2019-02-15 19:33:10 +01:00
Claus Vium
e8189cd0f6 Fix namespaces 2019-02-15 19:33:10 +01:00
Claus Vium
18231fedef Add braces to if's and other minor style changes 2019-02-15 19:33:10 +01:00
Claus Vium
935c7231eb Review comments 2019-02-15 19:33:10 +01:00
Vasily
da2c7db0df Apply suggestions from code review
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-02-15 19:33:10 +01:00
Claus Vium
83d98ac92d Fix episode provider 2019-02-15 19:33:10 +01:00
Claus Vium
b997b12d27 Add names to tuple items and reduce list iterations 2019-02-15 19:33:10 +01:00
Claus Vium
6887e790c8 Minor fixes in MissingEpisodeProvider 2019-02-15 19:33:10 +01:00
Claus Vium
373a1f72bf Fix actor image provider 2019-02-15 19:33:10 +01:00
Claus Vium
0d43b06042 Fix MissingEpisodeProvider (almost) 2019-02-15 19:33:10 +01:00
Claus Vium
ced9868357 Fix a copy paste mistake and add series end date 2019-02-15 19:33:10 +01:00
Claus Vium
23c867f946 Remove TvdbPrescanTask as it looks like it was used for pre-fetching data, which is no longer relevant 2019-02-15 19:33:10 +01:00
Claus Vium
42c233c74e Add much needed exception handling and logging 2019-02-15 19:33:10 +01:00
Claus Vium
1f8e74f3a8 Add caching for all tvdb requests 2019-02-15 19:33:10 +01:00
Claus Vium
d6835f8dd6 Use the locking properly, this is not Python... 2019-02-15 19:33:10 +01:00
Claus Vium
86940e96d5 More MemoryCache PoC 2019-02-15 19:33:10 +01:00
Claus Vium
75d90c8e4c Add caching PoC 2019-02-15 19:33:10 +01:00
Claus Vium
ecbc0538f6 Add some error handling, grab imdb id and other minor fixes 2019-02-15 19:33:10 +01:00
Claus Vium
2a26760911 Episode provider is somewhat broken 2019-02-15 19:33:10 +01:00
Claus Vium
19b6808602 Remove some junk from series provider 2019-02-15 19:33:10 +01:00
Claus Vium
c2202be0f8 Some of it works??? 2019-02-15 19:33:10 +01:00
Claus Vium
9729ae52a3 initial commit 2019-02-15 19:33:10 +01:00
Vasily
7cc69f30c4 Merge pull request #801 from Bond-009/di
Move to Microsoft.Extensions.DependencyInjection
2019-02-15 21:21:58 +03:00
Brian J. Murrell
e33706ab25 Code review updates
Also fix a bug in the tarball creation that existed even prior
to moving it into create_tarball.sh
2019-02-15 10:22:52 -05:00
Brian J. Murrell
4018b7e2d5 COPR auto building
This adds enhancements so that Fedora/EL packages can be automatically
built in COPR when a webhook is received.  A typical webhook could be
for tagging events for example or even a "Release" webhook to only
build releases.
2019-02-15 08:21:55 -05:00
Vasily
8425d76198 Merge pull request #875 from Bond-009/error
Treat warnings as errors for release builds
2019-02-15 13:58:49 +03:00
Vasily
9bf009c4f8 Merge pull request #898 from EraYaN/namingrules-editorconfig
Switch to Roslyn naming rules in EditorConfig
2019-02-15 13:40:10 +03:00
PloughPuff
a6bde0943e Implement proper FFmpeg version checking
Three routes to determine FFmpeg version:
1) Grab the 'ffmpeg version x.y' from from the -version output.  This should work for all pre-built binaries.
2) Compare the library versions against known contents of FFmpeg versions.  This is fallback aimed at custom builds.
3) Compare libavcodec version to determine if newer than latest known release.  This suggests user is running within latest/HEAD/master build.
2019-02-14 22:08:48 +00:00
Erwin de Haan
db1ebe2559 Static fields prefix 's_' -> '_' 2019-02-14 20:14:29 +01:00
Erwin de Haan
dbebc4774f Switched to Roslyn naming rules 2019-02-14 20:06:20 +01:00
Bond-009
0fbc4545d1 Address comments 2019-02-14 17:02:46 +01:00
Vasily
5d4bef5478 Update jellyfin-web submodule to master as of 14.02.2019 2019-02-14 09:14:04 -05:00
Vasily
cac3a3e945 Merge pull request #863 from fruhnow/tvg-chno
Adding support for "tvg-chno"-Tag in M3U Channel Lists
2019-02-14 12:46:31 +03:00
Bond-009
bca569da42 Reduce the amount of db calls during the post scan event 2019-02-13 22:10:37 +01:00
Bond-009
a82303ccd1 Fix uncaught xml error 2019-02-13 21:41:24 +01:00
ploughpuff
a2dd2ddd55 Rewrite rules for determining app paths and use XDG_CONFIG_HOME for configDir (#781)
Re-write rules for determining dataDir, configDir and logDir.  Generally, arguments from command line take precedence, then JELLYFIN env vars, before using XDG names.

Co-Authored-By: ploughpuff <33969763+ploughpuff@users.noreply.github.com>
2019-02-13 16:35:14 +01:00
Bond-009
5835c4b21d Remove comment 2019-02-13 12:58:46 +01:00
Claus Vium
d8e6808d77 Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
fix to styling

Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-02-13 00:44:07 -08:00
Claus Vium
9e58e31de0 Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
fix to styling

Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
2019-02-13 00:43:48 -08:00
Phallacy
77602aff88 Minor fixes re:PR870, added null checks from PR876 2019-02-13 00:33:00 -08:00
Phallacy
1ffd443d5a fixed nul user check to be first per justaman 2019-02-12 22:30:26 -08:00
Phallacy
1dc5a624a7 fixed gitignore fail 2019-02-12 22:24:05 -08:00
Erwin de Haan
3f878d63a5 Added Debug build and seperate the check-abi pipeline. 2019-02-12 22:44:01 +01:00
Bond-009
a5882ae162 Treat warnings as errors for release builds 2019-02-12 22:15:11 +01:00
Bond-009
c74028d08d Address comments 2019-02-12 21:59:56 +01:00
Bond-009
3f13851be5 Address comments 2019-02-12 21:06:47 +01:00
Bond_009
ea446fd4a3 Revert back to netcoreapp2.1 2019-02-12 21:06:47 +01:00
Bond_009
585b5201f1 Last bits 2019-02-12 21:06:47 +01:00
Bond_009
8d98885cda Less string allocations 2019-02-12 21:06:47 +01:00
Bond_009
da9418c1b2 Useless copy 2019-02-12 21:06:47 +01:00
Bond_009
9dba930a85 Warn faster for slow requests 2019-02-12 21:06:47 +01:00
Bond_009
7722cb3ffa Some Lists -> IEnumerable 2019-02-12 21:06:47 +01:00
Bond_009
3e6819c718 Don't clone lists 2019-02-12 21:06:47 +01:00
Bond_009
41fb1e5106 Tuple -> ValueTuple 2019-02-12 21:06:47 +01:00
Bond_009
64d5ec12e2 Use HashSets for increased perf 2019-02-12 21:06:47 +01:00
Bond_009
d409623086 Don't create multiple instances of the same type 2019-02-12 20:52:23 +01:00
Bond_009
9af28607c9 Simplify plugin loading 2019-02-12 20:52:23 +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
Erwin de Haan
8055b70ab1 Fixed full pipeline, runs correctly now with drone exec 2019-02-12 16:21:46 +01:00
Phallacy
05bbf71b6d sha256 with salt auth and sha1 interop 2019-02-12 02:16:03 -08:00
LogicalPhallacy
8bf88f4cb2 Merge pull request #9 from jellyfin/master
Yanking in latest changes
2019-02-11 22:48:50 -08:00
Felix Ruhnow
edf5ee0cc4 combining some of the if's and adressing #820 2019-02-11 10:11:07 +01:00
Felix Ruhnow
86089ec03a Adding support for "tvg-chno"-Tag in M3U Channel Lists 2019-02-10 22:23:47 +01:00
Erwin de Haan
29d6783471 Switched to debian for the compat runners. 2019-02-10 21:10:03 +01:00
Erwin de Haan
236e21efcb Fixed extension of compat checker and added err_ignore flag. 2019-02-10 21:04:39 +01:00
Erwin de Haan
30ec203eff Added first test for dotnet-compat ABI testing to drone. 2019-02-10 20:57:31 +01:00
Bond_009
a6a4cd5667 Removed some unused fields 2019-02-09 15:57:42 +01:00
Bond_009
3a5bbcf2a8 Style fixes 2019-02-09 15:45:36 +01:00
Bond_009
449074e73f Make more things async 2019-02-09 15:39:17 +01:00
Bond_009
2fc97212a7 Make some methods async 2019-02-09 13:41:09 +01:00
Phallacy
4519ce26e2 Upgrade crypto provider, retarget better framework 2019-01-31 00:24:53 -08:00
Phallacy
49d9649b8e added submodule dir to gitignore 2019-01-30 23:35:17 -08:00
2650 changed files with 139828 additions and 132127 deletions

View File

@@ -0,0 +1,94 @@
parameters:
- name: Packages
type: object
default: {}
- name: LinuxImage
type: string
default: "ubuntu-latest"
- name: DotNetSdkVersion
type: string
default: 6.0.x
jobs:
- job: CompatibilityCheck
displayName: Compatibility Check
dependsOn: Build
condition: and(succeeded(), variables['System.PullRequest.PullRequestNumber'])
pool:
vmImage: "${{ parameters.LinuxImage }}"
strategy:
matrix:
${{ each Package in parameters.Packages }}:
${{ Package.key }}:
NugetPackageName: ${{ Package.value.NugetPackageName }}
AssemblyFileName: ${{ Package.value.AssemblyFileName }}
maxParallel: 2
steps:
- checkout: none
- task: UseDotNet@2
displayName: "Update DotNet"
inputs:
packageType: sdk
version: ${{ parameters.DotNetSdkVersion }}
includePreviewVersions: true
- task: DotNetCoreCLI@2
displayName: 'Install ABI CompatibilityChecker Tool'
inputs:
command: custom
custom: tool
arguments: 'update compatibilitychecker -g'
- task: DownloadPipelineArtifact@2
displayName: 'Download New Assembly Build Artifact'
inputs:
source: 'current'
artifact: "$(NugetPackageName)"
path: "$(System.ArtifactsDirectory)/new-artifacts"
runVersion: "latest"
- task: CopyFiles@2
displayName: 'Copy New Assembly Build Artifact'
inputs:
sourceFolder: $(System.ArtifactsDirectory)/new-artifacts
contents: '**/*.dll'
targetFolder: $(System.ArtifactsDirectory)/new-release
cleanTargetFolder: true
overWrite: true
flattenFolders: true
- task: DownloadPipelineArtifact@2
displayName: 'Download Reference Assembly Build Artifact'
enabled: false
inputs:
source: "specific"
artifact: "$(NugetPackageName)"
path: "$(System.ArtifactsDirectory)/current-artifacts"
project: "$(System.TeamProjectId)"
pipeline: "$(System.DefinitionId)"
runVersion: "latestFromBranch"
runBranch: "refs/heads/$(System.PullRequest.TargetBranch)"
- task: CopyFiles@2
displayName: 'Copy Reference Assembly Build Artifact'
enabled: false
inputs:
sourceFolder: $(System.ArtifactsDirectory)/current-artifacts
contents: '**/*.dll'
targetFolder: $(System.ArtifactsDirectory)/current-release
cleanTargetFolder: true
overWrite: true
flattenFolders: true
- task: DotNetCoreCLI@2
displayName: 'Execute ABI Compatibility Check Tool'
enabled: false
inputs:
command: custom
custom: compat
arguments: 'current-release/$(AssemblyFileName) new-release/$(AssemblyFileName) --azure-pipelines --warnings-only'
workingDirectory: $(System.ArtifactsDirectory)

View File

@@ -0,0 +1,101 @@
parameters:
LinuxImage: 'ubuntu-latest'
RestoreBuildProjects: 'Jellyfin.Server/Jellyfin.Server.csproj'
DotNetSdkVersion: 6.0.x
jobs:
- job: Build
displayName: Build
strategy:
matrix:
Release:
BuildConfiguration: Release
Debug:
BuildConfiguration: Debug
pool:
vmImage: '${{ parameters.LinuxImage }}'
steps:
- checkout: self
clean: true
submodules: true
persistCredentials: true
- task: DownloadPipelineArtifact@2
displayName: 'Download Web Branch'
condition: in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'BuildCompletion')
inputs:
path: '$(Agent.TempDirectory)'
artifact: 'jellyfin-web-production'
source: 'specific'
project: 'jellyfin'
pipeline: 'Jellyfin Web'
runBranch: variables['Build.SourceBranch']
- task: DownloadPipelineArtifact@2
displayName: 'Download Web Target'
condition: eq(variables['Build.Reason'], 'PullRequest')
inputs:
path: '$(Agent.TempDirectory)'
artifact: 'jellyfin-web-production'
source: 'specific'
project: 'jellyfin'
pipeline: 'Jellyfin Web'
runBranch: variables['System.PullRequest.TargetBranch']
- task: ExtractFiles@1
displayName: 'Extract Web Client'
inputs:
archiveFilePatterns: '$(Agent.TempDirectory)/*.zip'
destinationFolder: '$(Build.SourcesDirectory)/MediaBrowser.WebDashboard'
cleanDestinationFolder: false
- task: UseDotNet@2
displayName: 'Update DotNet'
inputs:
packageType: sdk
version: ${{ parameters.DotNetSdkVersion }}
includePreviewVersions: true
- task: DotNetCoreCLI@2
displayName: 'Publish Server'
inputs:
command: publish
publishWebProjects: false
projects: '${{ parameters.RestoreBuildProjects }}'
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
zipAfterPublish: false
- task: PublishPipelineArtifact@1
displayName: 'Publish Artifact Naming'
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
inputs:
targetPath: '$(build.ArtifactStagingDirectory)/Jellyfin.Server/Emby.Naming.dll'
artifactName: 'Jellyfin.Naming'
- task: PublishPipelineArtifact@1
displayName: 'Publish Artifact Controller'
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
inputs:
targetPath: '$(build.ArtifactStagingDirectory)/Jellyfin.Server/MediaBrowser.Controller.dll'
artifactName: 'Jellyfin.Controller'
- task: PublishPipelineArtifact@1
displayName: 'Publish Artifact Model'
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
inputs:
targetPath: '$(build.ArtifactStagingDirectory)/Jellyfin.Server/MediaBrowser.Model.dll'
artifactName: 'Jellyfin.Model'
- task: PublishPipelineArtifact@1
displayName: 'Publish Artifact Common'
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
inputs:
targetPath: '$(build.ArtifactStagingDirectory)/Jellyfin.Server/MediaBrowser.Common.dll'
artifactName: 'Jellyfin.Common'
- task: PublishPipelineArtifact@1
displayName: 'Publish Artifact Extensions'
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
inputs:
targetPath: '$(build.ArtifactStagingDirectory)/Jellyfin.Server/Jellyfin.Extensions.dll'
artifactName: 'Jellyfin.Extensions'

View File

@@ -0,0 +1,262 @@
jobs:
- job: BuildPackage
displayName: 'Build Packages'
strategy:
matrix:
CentOS.amd64:
BuildConfiguration: centos.amd64
Fedora.amd64:
BuildConfiguration: fedora.amd64
Debian.amd64:
BuildConfiguration: debian.amd64
Debian.arm64:
BuildConfiguration: debian.arm64
Debian.armhf:
BuildConfiguration: debian.armhf
Ubuntu.amd64:
BuildConfiguration: ubuntu.amd64
Ubuntu.arm64:
BuildConfiguration: ubuntu.arm64
Ubuntu.armhf:
BuildConfiguration: ubuntu.armhf
Linux.amd64:
BuildConfiguration: linux.amd64
Linux.amd64-musl:
BuildConfiguration: linux.amd64-musl
Linux.arm64:
BuildConfiguration: linux.arm64
Linux.armhf:
BuildConfiguration: linux.armhf
Windows.amd64:
BuildConfiguration: windows.amd64
MacOS:
BuildConfiguration: macos
Portable:
BuildConfiguration: portable
pool:
vmImage: 'ubuntu-latest'
steps:
- script: 'docker build -f deployment/Dockerfile.$(BuildConfiguration) -t jellyfin-server-$(BuildConfiguration) deployment'
displayName: 'Build Dockerfile'
- script: 'docker image ls -a && docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e IS_UNSTABLE="yes" -e BUILD_ID=$(Build.BuildNumber) jellyfin-server-$(BuildConfiguration)'
displayName: 'Run Dockerfile (unstable)'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
- script: 'docker image ls -a && docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e IS_UNSTABLE="no" -e BUILD_ID=$(Build.BuildNumber) jellyfin-server-$(BuildConfiguration)'
displayName: 'Run Dockerfile (stable)'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
- task: PublishPipelineArtifact@1
displayName: 'Publish Release'
inputs:
targetPath: '$(Build.SourcesDirectory)/deployment/dist'
artifactName: 'jellyfin-server-$(BuildConfiguration)'
- task: SSH@0
displayName: 'Create target directory on repository server'
inputs:
sshEndpoint: repository
runOptions: 'inline'
inline: 'mkdir -p /srv/repository/incoming/azure/$(Build.BuildNumber)/$(BuildConfiguration)'
- task: CopyFilesOverSSH@0
displayName: 'Upload artifacts to repository server'
inputs:
sshEndpoint: repository
sourceFolder: '$(Build.SourcesDirectory)/deployment/dist'
contents: '**'
targetFolder: '/srv/repository/incoming/azure/$(Build.BuildNumber)/$(BuildConfiguration)'
- job: OpenAPISpec
dependsOn: Test
condition: or(startsWith(variables['Build.SourceBranch'], 'refs/heads/master'),startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
displayName: 'Push OpenAPI Spec to repository'
pool:
vmImage: 'ubuntu-latest'
steps:
- task: DownloadPipelineArtifact@2
displayName: 'Download OpenAPI Spec'
inputs:
source: 'current'
artifact: "OpenAPI Spec"
path: "$(System.ArtifactsDirectory)/openapispec"
runVersion: "latest"
- task: SSH@0
displayName: 'Create target directory on repository server'
inputs:
sshEndpoint: repository
runOptions: 'inline'
inline: 'mkdir -p /srv/repository/incoming/azure/$(Build.BuildNumber)'
- task: CopyFilesOverSSH@0
displayName: 'Upload artifacts to repository server'
inputs:
sshEndpoint: repository
sourceFolder: '$(System.ArtifactsDirectory)/openapispec'
contents: 'openapi.json'
targetFolder: '/srv/repository/incoming/azure/$(Build.BuildNumber)'
- job: BuildDocker
displayName: 'Build Docker'
strategy:
matrix:
amd64:
BuildConfiguration: amd64
arm64:
BuildConfiguration: arm64
armhf:
BuildConfiguration: armhf
pool:
vmImage: 'ubuntu-latest'
variables:
- name: JellyfinVersion
value: 0.0.0
steps:
- script: echo "##vso[task.setvariable variable=JellyfinVersion]$( awk -F '/' '{ print $NF }' <<<'$(Build.SourceBranch)' | sed 's/^v//' )"
displayName: Set release version (stable)
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
- task: Docker@2
displayName: 'Push Unstable Image'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs:
repository: 'jellyfin/jellyfin-server'
command: buildAndPush
buildContext: '.'
Dockerfile: 'deployment/Dockerfile.docker.$(BuildConfiguration)'
containerRegistry: Docker Hub
tags: |
unstable-$(Build.BuildNumber)-$(BuildConfiguration)
unstable-$(BuildConfiguration)
- task: Docker@2
displayName: 'Push Stable Image'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs:
repository: 'jellyfin/jellyfin-server'
command: buildAndPush
buildContext: '.'
Dockerfile: 'deployment/Dockerfile.docker.$(BuildConfiguration)'
containerRegistry: Docker Hub
tags: |
stable-$(Build.BuildNumber)-$(BuildConfiguration)
$(JellyfinVersion)-$(BuildConfiguration)
- job: CollectArtifacts
timeoutInMinutes: 20
displayName: 'Collect Artifacts'
continueOnError: true
dependsOn:
- BuildPackage
- BuildDocker
pool:
vmImage: 'ubuntu-latest'
steps:
- task: SSH@0
displayName: 'Update Unstable Repository'
continueOnError: true
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs:
sshEndpoint: repository
runOptions: 'commands'
commands: nohup sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable &
- task: SSH@0
displayName: 'Update Stable Repository'
continueOnError: true
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs:
sshEndpoint: repository
runOptions: 'commands'
commands: nohup sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) &
- job: PublishNuget
displayName: 'Publish NuGet packages'
pool:
vmImage: 'ubuntu-latest'
variables:
- name: JellyfinVersion
value: $[replace(variables['Build.SourceBranch'],'refs/tags/v','')]
steps:
- task: UseDotNet@2
displayName: 'Use .NET 6.0 sdk'
inputs:
packageType: 'sdk'
version: '6.0.x'
includePreviewVersions: true
- task: DotNetCoreCLI@2
displayName: 'Build Stable Nuget packages'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs:
command: 'custom'
projects: |
Jellyfin.Data/Jellyfin.Data.csproj
MediaBrowser.Common/MediaBrowser.Common.csproj
MediaBrowser.Controller/MediaBrowser.Controller.csproj
MediaBrowser.Model/MediaBrowser.Model.csproj
Emby.Naming/Emby.Naming.csproj
src/Jellyfin.Extensions/Jellyfin.Extensions.csproj
custom: 'pack'
arguments: -o $(Build.ArtifactStagingDirectory) -p:Version=$(JellyfinVersion)
- task: DotNetCoreCLI@2
displayName: 'Build Unstable Nuget packages'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs:
command: 'custom'
projects: |
Jellyfin.Data/Jellyfin.Data.csproj
MediaBrowser.Common/MediaBrowser.Common.csproj
MediaBrowser.Controller/MediaBrowser.Controller.csproj
MediaBrowser.Model/MediaBrowser.Model.csproj
Emby.Naming/Emby.Naming.csproj
src/Jellyfin.Extensions/Jellyfin.Extensions.csproj
custom: 'pack'
arguments: '--version-suffix $(Build.BuildNumber) -o $(Build.ArtifactStagingDirectory) -p:Stability=Unstable'
- task: PublishBuildArtifacts@1
displayName: 'Publish Nuget packages'
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)
artifactName: Jellyfin Nuget Packages
- task: NuGetCommand@2
displayName: 'Push Nuget packages to stable feed'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'NugetOrg'
allowPackageConflicts: true # This ignores an error if the version already exists
- task: NuGetAuthenticate@0
displayName: 'Authenticate to unstable Nuget feed'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
- task: NuGetCommand@2
displayName: 'Push Nuget packages to unstable feed'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' # No symbols since Azure Artifact does not support it
nuGetFeedType: 'internal'
publishVstsFeed: '7cce6c46-d610-45e3-9fb7-65a6bfd1b671/a5746b79-f369-42db-93ff-59cd066f9327'
allowPackageConflicts: true # This ignores an error if the version already exists

View File

@@ -0,0 +1,99 @@
parameters:
- name: ImageNames
type: object
default:
Linux: "ubuntu-latest"
Windows: "windows-latest"
macOS: "macos-latest"
- name: TestProjects
type: string
default: "tests/**/*Tests.csproj"
- name: DotNetSdkVersion
type: string
default: 6.0.x
jobs:
- job: Test
displayName: Test
strategy:
matrix:
${{ each imageName in parameters.ImageNames }}:
${{ imageName.key }}:
ImageName: ${{ imageName.value }}
pool:
vmImage: "$(ImageName)"
steps:
- checkout: self
clean: true
submodules: true
persistCredentials: false
# This is required for the SonarCloud analyzer
- task: UseDotNet@2
displayName: "Install .NET SDK 5.x"
condition: eq(variables['ImageName'], 'ubuntu-latest')
inputs:
packageType: sdk
version: '5.x'
- task: UseDotNet@2
displayName: "Update DotNet"
inputs:
packageType: sdk
version: ${{ parameters.DotNetSdkVersion }}
includePreviewVersions: true
- task: SonarCloudPrepare@1
displayName: 'Prepare analysis on SonarCloud'
condition: eq(variables['ImageName'], 'ubuntu-latest')
enabled: false
inputs:
SonarCloud: 'Sonarcloud for Jellyfin'
organization: 'jellyfin'
projectKey: 'jellyfin_jellyfin'
- task: DotNetCoreCLI@2
displayName: 'Run CLI Tests'
inputs:
command: "test"
projects: ${{ parameters.TestProjects }}
arguments: '--configuration Release --collect:"XPlat Code Coverage" --settings tests/coverletArgs.runsettings --verbosity minimal'
publishTestResults: true
testRunTitle: $(Agent.JobName)
workingDirectory: "$(Build.SourcesDirectory)"
- task: SonarCloudAnalyze@1
displayName: 'Run Code Analysis'
condition: eq(variables['ImageName'], 'ubuntu-latest')
enabled: false
- task: SonarCloudPublish@1
displayName: 'Publish Quality Gate Result'
condition: eq(variables['ImageName'], 'ubuntu-latest')
enabled: false
- task: Palmmedia.reportgenerator.reportgenerator-build-release-task.reportgenerator@4
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux')) # !! THIS is for V1 only V2 will/should support merging
displayName: 'Run ReportGenerator'
inputs:
reports: "$(Agent.TempDirectory)/**/coverage.cobertura.xml"
targetdir: "$(Agent.TempDirectory)/merged/"
reporttypes: "Cobertura"
## V2 is already in the repository but it does not work "wrong number of segments" YAML error.
- task: PublishCodeCoverageResults@1
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux')) # !! THIS is for V1 only V2 will/should support merging
displayName: 'Publish Code Coverage'
inputs:
codeCoverageTool: "cobertura"
#summaryFileLocation: '$(Agent.TempDirectory)/**/coverage.cobertura.xml' # !!THIS IS FOR V2
summaryFileLocation: "$(Agent.TempDirectory)/merged/**.xml"
pathToSources: $(Build.SourcesDirectory)
failIfCoverageEmpty: true
- task: PublishPipelineArtifact@1
displayName: 'Publish OpenAPI Artifact'
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
inputs:
targetPath: "tests/Jellyfin.Server.Integration.Tests/bin/Release/net6.0/openapi.json"
artifactName: 'OpenAPI Spec'

64
.ci/azure-pipelines.yml Normal file
View File

@@ -0,0 +1,64 @@
name: $(Date:yyyyMMdd)$(Rev:.r)
variables:
- name: TestProjects
value: 'tests/**/*Tests.csproj'
- name: RestoreBuildProjects
value: 'Jellyfin.Server/Jellyfin.Server.csproj'
pr:
autoCancel: true
trigger:
batch: true
branches:
include:
- '*'
tags:
include:
- 'v*'
jobs:
- ${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')) }}:
- template: azure-pipelines-main.yml
parameters:
LinuxImage: 'ubuntu-latest'
RestoreBuildProjects: $(RestoreBuildProjects)
- ${{ if not(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master'))) }}:
- template: azure-pipelines-test.yml
parameters:
ImageNames:
Linux: 'ubuntu-latest'
Windows: 'windows-latest'
macOS: 'macos-latest'
- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
- template: azure-pipelines-test.yml
parameters:
ImageNames:
Linux: 'ubuntu-latest'
- ${{ if not(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master'))) }}:
- template: azure-pipelines-abi.yml
parameters:
Packages:
Naming:
NugetPackageName: Jellyfin.Naming
AssemblyFileName: Emby.Naming.dll
Controller:
NugetPackageName: Jellyfin.Controller
AssemblyFileName: MediaBrowser.Controller.dll
Model:
NugetPackageName: Jellyfin.Model
AssemblyFileName: MediaBrowser.Model.dll
Common:
NugetPackageName: Jellyfin.Common
AssemblyFileName: MediaBrowser.Common.dll
Extensions:
NugetPackageName: Jellyfin.Extensions
AssemblyFileName: Jellyfin.Extensions.dll
LinuxImage: 'ubuntu-latest'
- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
- template: azure-pipelines-package.yml

1
.copr/Makefile Symbolic link
View File

@@ -0,0 +1 @@
../fedora/Makefile

View File

@@ -8,3 +8,4 @@ README.md
deployment/*/dist
deployment/*/pkg-dist
deployment/collect-dist/
ci/

View File

@@ -1,12 +0,0 @@
kind: pipeline
name: build
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init --recursive
- name: build
image: microsoft/dotnet:2-sdk
commands:
- dotnet publish --configuration release --output /release Jellyfin.Server

View File

@@ -13,11 +13,16 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = null
max_line_length = off
# YAML indentation
[*.{yml,yaml}]
indent_size = 2
# XML indentation
[*.{csproj,xml}]
indent_size = 2
###############################
# .NET Coding Conventions #
###############################
@@ -47,23 +52,86 @@ dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
dotnet_prefer_inferred_tuple_names = true:suggestion
dotnet_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
###############################
# Naming Conventions #
###############################
# Style Definitions
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const
# Style Definitions (From Roslyn)
# Non-private static fields are PascalCase
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.symbols = non_private_static_fields
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.style = non_private_static_field_style
dotnet_naming_symbols.non_private_static_fields.applicable_kinds = field
dotnet_naming_symbols.non_private_static_fields.applicable_accessibilities = public, protected, internal, protected_internal, private_protected
dotnet_naming_symbols.non_private_static_fields.required_modifiers = static
dotnet_naming_style.non_private_static_field_style.capitalization = pascal_case
# Constants are PascalCase
dotnet_naming_rule.constants_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constants_should_be_pascal_case.symbols = constants
dotnet_naming_rule.constants_should_be_pascal_case.style = constant_style
dotnet_naming_symbols.constants.applicable_kinds = field, local
dotnet_naming_symbols.constants.required_modifiers = const
dotnet_naming_style.constant_style.capitalization = pascal_case
# Static fields are camelCase and start with s_
dotnet_naming_rule.static_fields_should_be_camel_case.severity = suggestion
dotnet_naming_rule.static_fields_should_be_camel_case.symbols = static_fields
dotnet_naming_rule.static_fields_should_be_camel_case.style = static_field_style
dotnet_naming_symbols.static_fields.applicable_kinds = field
dotnet_naming_symbols.static_fields.required_modifiers = static
dotnet_naming_style.static_field_style.capitalization = camel_case
dotnet_naming_style.static_field_style.required_prefix = _
# Instance fields are camelCase and start with _
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style
dotnet_naming_symbols.instance_fields.applicable_kinds = field
dotnet_naming_style.instance_field_style.capitalization = camel_case
dotnet_naming_style.instance_field_style.required_prefix = _
# Locals and parameters are camelCase
dotnet_naming_rule.locals_should_be_camel_case.severity = suggestion
dotnet_naming_rule.locals_should_be_camel_case.symbols = locals_and_parameters
dotnet_naming_rule.locals_should_be_camel_case.style = camel_case_style
dotnet_naming_symbols.locals_and_parameters.applicable_kinds = parameter, local
dotnet_naming_style.camel_case_style.capitalization = camel_case
# Local functions are PascalCase
dotnet_naming_rule.local_functions_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.local_functions_should_be_pascal_case.symbols = local_functions
dotnet_naming_rule.local_functions_should_be_pascal_case.style = local_function_style
dotnet_naming_symbols.local_functions.applicable_kinds = local_function
dotnet_naming_style.local_function_style.capitalization = pascal_case
# By default, name items with PascalCase
dotnet_naming_rule.members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.members_should_be_pascal_case.symbols = all_members
dotnet_naming_rule.members_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.all_members.applicable_kinds = *
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
###############################
# C# Coding Conventions #
###############################
@@ -93,6 +161,7 @@ csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
###############################
# C# Formatting Rules #
###############################
@@ -123,9 +192,3 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true
###############################
# VB Coding Conventions #
###############################
[*.vb]
# Modifier preferences
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion

4
.gitattributes vendored
View File

@@ -1 +1,5 @@
* text=auto eol=lf
*.png binary
*.jpg binary
CONTRIBUTORS.md merge=union

4
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1,4 @@
# Joshua must review all changes to deployment and build.sh
.ci/* @joshuaboniface
deployment/* @joshuaboniface
build.sh @joshuaboniface

View File

@@ -10,6 +10,21 @@ assignees: ''
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**System (please complete the following information):**
- OS: [e.g. Debian, Windows]
- Virtualization: [e.g. Docker, KVM, LXC]
- Clients: [Browser, Android, Fire Stick, etc.]
- Browser: [e.g. Firefox 91, Chrome 93, Safari 13]
- Jellyfin Version: [e.g. 10.7.6, unstable 20191231]
- FFmpeg Version: [e.g. 4.3.2-Jellyfin]
- Playback: [Direct Play, Remux, Direct Stream, Transcode]
- Hardware Acceleration: [e.g. none, VAAPI, NVENC, etc.]
- Installed Plugins: [e.g. none, Fanart, Anime, etc.]
- Reverse Proxy: [e.g. none, nginx, apache, etc.]
- Base URL: [e.g. none, yes: /example]
- Networking: [e.g. Host, Bridge/NAT]
- Storage: [e.g. local, NFS, cloud]
**To Reproduce**
<!-- Steps to reproduce the behavior: -->
1. Go to '...'
@@ -20,16 +35,17 @@ assignees: ''
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Logs**
**Server Logs**
<!-- Please paste any log errors. -->
**FFmpeg Logs**
<!-- Please paste any log errors. -->
**Browser Console Logs**
<!-- Please paste any log errors. -->
**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->
**System (please complete the following information):**
- OS: [e.g. Docker, Debian, Windows]
- Browser: [e.g. Firefox, Chrome, Safari]
- Jellyfin Version: [e.g. 10.0.1]
**Additional context**
<!-- Add any other context about the problem here. -->

View File

@@ -1,20 +0,0 @@
---
name: Enhancement request
about: Suggest an modification to an existing feature
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->
**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->

View File

@@ -1,14 +1,13 @@
---
name: Feature request
about: Suggest a new feature
name: Feature Request
about: Request a new feature
title: ''
labels: feature
labels: feature-request
assignees: ''
---
**Describe the feature you'd like**
<!-- A clear and concise description of what you want to happen. -->
**PLEASE DO NOT OPEN FEATURE REQUEST ISSUES ON GITHUB**
**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->
**Feature requests should be opened on our dedicated [feature request](https://features.jellyfin.org/) hub so they can be appropriately discussed and prioritized.**
However, if you are willing to contribute to the project by adding a new feature yourself, then please ensure that you first review our [documentation](https://docs.jellyfin.org/general/contributing/development.html) on contributing code. Once you have reviewed the documentation, feel free to come back here and open an issue here outlining your proposed approach so that it can be documented, tracked, and discussed by other team members.

View File

@@ -0,0 +1,34 @@
---
name: Media playback issue
about: Create a media playback issue report
title: ''
labels: mediaplayback
assignees: ''
---
**Media Info of the file**
<!-- Use the Media Info tool (set to text format, download here: https://mediaarea.net/en/MediaInfo) or copy the info from the web ui for the file with the playback issue. -->
**Logs**
<!-- Please paste any log messages from during the playback issue. -->
**FFmpeg Logs**
<!-- Please paste any FFmpeg logs if remuxing or transcoding appears to be part of the issue. -->
**Stats for Nerds Screenshots**
<!-- If available, add screenshots of the stats for nerds screen to help show the issue problem. -->
**Server System (please complete the following information):**
- OS: [e.g. Docker on Linux, Docker on Windows, Debian, Windows]
- Jellyfin Version: [e.g. 10.0.1]
- Hardware settings & device: [e.g. NVENC on GTX1060, VAAPI on Intel i7 8700K]
- Reverse proxy: [e.g. no, nginx, apache, etc.]
- Other hardware notes: [e.g. Media mounted in CIFS/SMB share, Media mounted from Google Drive]
**Client System (please complete the following information):**
- Device: [e.g. Apple iPhone XS, Xbox One S, LG OLED55C8, Samsung Galaxy Note9, Custom HTPC]
- OS: [e.g. iOS, Android, Windows, macOS]
- Client: [e.g. Web/Browser, webOS, Android, Android TV, Electron]
- Browser (if Web client): [e.g. Firefox, Chrome, Safari]
- Client and Browser Version: [e.g. 10.3.4 and 68.0]

15
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: weekly
time: '12:00'
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: weekly
time: '12:00'
open-pull-requests-limit: 10

View File

@@ -1,6 +1,6 @@
<!--
Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y).
For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our https://jellyfin.readthedocs.io/en/latest/developer-docs/contributing/ page.
For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation.
-->
**Changes**

29
.github/stale.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 120
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 21
# Issues with these labels will never be considered stale
exemptLabels:
- regression
- security
- dotnet-3.0-future
- roadmap
- future
- feature
- enhancement
- confirmed
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
# Disable automatic closing of pull requests
pulls:
daysUntilClose: false

76
.github/workflows/automation.yml vendored Normal file
View File

@@ -0,0 +1,76 @@
name: Automation
on:
push:
branches:
- master
pull_request_target:
issue_comment:
jobs:
label:
name: Labeling
runs-on: ubuntu-latest
if: ${{ github.repository == 'jellyfin/jellyfin' }}
steps:
- name: Apply label
uses: eps1lon/actions-label-merge-conflict@v2.0.1
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request_target'}}
with:
dirtyLabel: 'merge conflict'
repoToken: ${{ secrets.JF_BOT_TOKEN }}
project:
name: Project board
runs-on: ubuntu-latest
if: ${{ github.repository == 'jellyfin/jellyfin' }}
steps:
- name: Remove from 'Current Release' project
uses: alex-page/github-project-automation-plus@v0.8.1
if: (github.event.pull_request || github.event.issue.pull_request) && !contains(github.event.*.labels.*.name, 'stable backport')
continue-on-error: true
with:
project: Current Release
action: delete
repo-token: ${{ secrets.JF_BOT_TOKEN }}
- name: Add to 'Release Next' project
uses: alex-page/github-project-automation-plus@v0.8.1
if: (github.event.pull_request || github.event.issue.pull_request) && github.event.action == 'opened'
continue-on-error: true
with:
project: Release Next
column: In progress
repo-token: ${{ secrets.JF_BOT_TOKEN }}
- name: Add to 'Current Release' project
uses: alex-page/github-project-automation-plus@v0.8.1
if: (github.event.pull_request || github.event.issue.pull_request) && !contains(github.event.*.labels.*.name, 'stable backport')
continue-on-error: true
with:
project: Current Release
column: In progress
repo-token: ${{ secrets.JF_BOT_TOKEN }}
- name: Check number of comments from the team member
if: github.event.issue.pull_request == '' && github.event.comment.author_association == 'MEMBER'
id: member_comments
run: echo "::set-output name=number::$(curl -s ${{ github.event.issue.comments_url }} | jq '.[] | select(.author_association == "MEMBER") | .author_association' | wc -l)"
- name: Move issue to needs triage
uses: alex-page/github-project-automation-plus@v0.8.1
if: github.event.issue.pull_request == '' && github.event.comment.author_association == 'MEMBER' && steps.member_comments.outputs.number <= 1
continue-on-error: true
with:
project: Issue Triage for Main Repo
column: Needs triage
repo-token: ${{ secrets.JF_BOT_TOKEN }}
- name: Add issue to triage project
uses: alex-page/github-project-automation-plus@v0.8.1
if: github.event.issue.pull_request == '' && github.event.action == 'opened'
continue-on-error: true
with:
project: Issue Triage for Main Repo
column: Pending response
repo-token: ${{ secrets.JF_BOT_TOKEN }}

38
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '24 2 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
queries: +security-extended
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

119
.github/workflows/commands.yml vendored Normal file
View File

@@ -0,0 +1,119 @@
name: Commands
on:
issue_comment:
types:
- created
- edited
pull_request_target:
types:
- labeled
- synchronize
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '@jellyfin-bot rebase') && github.event.comment.author_association == 'MEMBER'
runs-on: ubuntu-latest
steps:
- name: Notify as seen
uses: peter-evans/create-or-update-comment@v1.4.5
with:
token: ${{ secrets.JF_BOT_TOKEN }}
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
- name: Checkout the latest code
uses: actions/checkout@v2
with:
token: ${{ secrets.JF_BOT_TOKEN }}
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.5
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
check-backport:
name: Check Backport
if: ${{ ( github.event.issue.pull_request && contains(github.event.comment.body, '@jellyfin-bot check backport') ) || github.event.label.name == 'stable backport' || contains(github.event.pull_request.labels.*.name, 'stable backport' ) }}
runs-on: ubuntu-latest
steps:
- name: Notify as seen
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.comment != null }}
with:
token: ${{ secrets.JF_BOT_TOKEN }}
comment-id: ${{ github.event.comment.id }}
reactions: eyes
- name: Checkout the latest code
uses: actions/checkout@v2
with:
token: ${{ secrets.JF_BOT_TOKEN }}
fetch-depth: 0
- name: Notify as running
id: comment_running
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.comment != null }}
with:
token: ${{ secrets.JF_BOT_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Running backport tests...
- name: Perform test backport
id: run_tests
run: |
set +o errexit
git config --global user.name "Jellyfin Bot"
git config --global user.email "team@jellyfin.org"
CURRENT_BRANCH="origin/${GITHUB_HEAD_REF}"
git checkout master
git merge --no-ff ${CURRENT_BRANCH}
MERGE_COMMIT_HASH=$( git log -q -1 | head -1 | awk '{ print $2 }' )
git fetch --all
CURRENT_STABLE=$( git branch -r | grep 'origin/release' | sort -rV | head -1 | awk -F '/' '{ print $NF }' )
stable_branch="Current stable release branch: ${CURRENT_STABLE}"
echo ${stable_branch}
echo ::set-output name=branch::${stable_branch}
git checkout -t origin/${CURRENT_STABLE} -b ${CURRENT_STABLE}
git cherry-pick -sx -m1 ${MERGE_COMMIT_HASH} &>output.txt
retcode=$?
cat output.txt | grep -v 'hint:'
output="$( grep -v 'hint:' output.txt )"
output="${output//'%'/'%25'}"
output="${output//$'\n'/'%0A'}"
output="${output//$'\r'/'%0D'}"
echo ::set-output name=output::$output
exit ${retcode}
- name: Notify with result success
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.comment != null && success() }}
with:
token: ${{ secrets.JF_BOT_TOKEN }}
comment-id: ${{ steps.comment_running.outputs.comment-id }}
body: |
${{ steps.run_tests.outputs.branch }}
Output from `git cherry-pick`:
---
${{ steps.run_tests.outputs.output }}
reactions: hooray
- name: Notify with result failure
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.comment != null && failure() }}
with:
token: ${{ secrets.JF_BOT_TOKEN }}
comment-id: ${{ steps.comment_running.outputs.comment-id }}
body: |
${{ steps.run_tests.outputs.branch }}
Output from `git cherry-pick`:
---
${{ steps.run_tests.outputs.output }}
reactions: confused

41
.gitignore vendored
View File

@@ -239,24 +239,19 @@ pip-log.txt
##########
.idea/
##########
# Visual Studio Code
##########
.vscode/
#########################
# Build artifacts
#########################
# Artifacts for debian-x64
deployment/debian-package-x64/pkg-src/.debhelper/
deployment/debian-package-x64/pkg-src/*.debhelper
deployment/debian-package-x64/pkg-src/debhelper-build-stamp
deployment/debian-package-x64/pkg-src/files
deployment/debian-package-x64/pkg-src/jellyfin.substvars
deployment/debian-package-x64/pkg-src/jellyfin/
debian/.debhelper/
debian/*.debhelper
debian/debhelper-build-stamp
debian/files
debian/jellyfin.substvars
debian/jellyfin/
# Don't ignore the debian/bin folder
!deployment/debian-package-x64/pkg-src/bin/
!debian/bin/
deployment/**/dist/
deployment/**/pkg-dist/
@@ -264,3 +259,25 @@ deployment/**/pkg-dist-tmp/
deployment/collect-dist/
jellyfin_version.ini
ci/
# Doxygen
doc/
# Deployment artifacts
dist
*.exe
*.dll
# BenchmarkDotNet artifacts
BenchmarkDotNet.Artifacts
# Ignore web artifacts from native builds
web/
web-src.*
MediaBrowser.WebDashboard/jellyfin-web
apiclient/generated
# Omnisharp crash logs
mono_crash.*.json

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "MediaBrowser.WebDashboard/jellyfin-web"]
path = MediaBrowser.WebDashboard/jellyfin-web
url = https://github.com/jellyfin/jellyfin-web.git

3
.npmrc Normal file
View File

@@ -0,0 +1,3 @@
registry=https://registry.npmjs.org/
@jellyfin:registry=https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable/npm/registry/
always-auth=true

14
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"ms-dotnettools.csharp",
"editorconfig.editorconfig"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
]
}

34
.vscode/launch.json vendored
View File

@@ -1,19 +1,30 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/netcoreapp2.1/jellyfin.dll",
"program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net6.0/jellyfin.dll",
"args": [],
"cwd": "${workspaceFolder}/Jellyfin.Server",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart",
"serverReadyAction": {
"action": "openExternally",
"pattern": "Overriding address\\(es\\) \\'(https?:\\S+)\\'",
}
},
{
"name": ".NET Core Launch (nowebclient)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net6.0/jellyfin.dll",
"args": ["--nowebclient"],
"cwd": "${workspaceFolder}/Jellyfin.Server",
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
@@ -24,5 +35,8 @@
"request": "attach",
"processId": "${command:pickProcess}"
}
,]
}
],
"env": {
"DOTNET_CLI_TELEMETRY_OPTOUT": "1"
}
}

19
.vscode/tasks.json vendored
View File

@@ -10,6 +10,21 @@
"${workspaceFolder}/Jellyfin.Server/Jellyfin.Server.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "api tests",
"command": "dotnet",
"type": "process",
"args": [
"test",
"${workspaceFolder}/tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
],
"options": {
"env": {
"DOTNET_CLI_TELEMETRY_OPTOUT": "1"
}
}
}

View File

@@ -1,16 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<Compile Include="..\SharedVersion.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
</ItemGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
</Project>

View File

@@ -1,33 +0,0 @@
namespace BDInfo
{
class BDInfoSettings
{
public static bool GenerateStreamDiagnostics => true;
public static bool EnableSSIF => true;
public static bool AutosaveReport => false;
public static bool GenerateFrameDataFile => false;
public static bool FilterLoopingPlaylists => true;
public static bool FilterShortPlaylists => false;
public static int FilterShortPlaylistsValue => 0;
public static bool UseImagePrefix => false;
public static string UseImagePrefixValue => null;
/// <summary>
/// Setting this to false throws an IComparer error on some discs.
/// </summary>
public static bool KeepStreamOrder => true;
public static bool GenerateTextSummary => false;
public static string LastPath => string.Empty;
}
}

View File

@@ -1,456 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using MediaBrowser.Model.IO;
namespace BDInfo
{
public class BDROM
{
public FileSystemMetadata DirectoryRoot = null;
public FileSystemMetadata DirectoryBDMV = null;
public FileSystemMetadata DirectoryBDJO = null;
public FileSystemMetadata DirectoryCLIPINF = null;
public FileSystemMetadata DirectoryPLAYLIST = null;
public FileSystemMetadata DirectorySNP = null;
public FileSystemMetadata DirectorySSIF = null;
public FileSystemMetadata DirectorySTREAM = null;
public string VolumeLabel = null;
public ulong Size = 0;
public bool IsBDPlus = false;
public bool IsBDJava = false;
public bool IsDBOX = false;
public bool IsPSP = false;
public bool Is3D = false;
public bool Is50Hz = false;
private readonly IFileSystem _fileSystem;
public Dictionary<string, TSPlaylistFile> PlaylistFiles =
new Dictionary<string, TSPlaylistFile>();
public Dictionary<string, TSStreamClipFile> StreamClipFiles =
new Dictionary<string, TSStreamClipFile>();
public Dictionary<string, TSStreamFile> StreamFiles =
new Dictionary<string, TSStreamFile>();
public Dictionary<string, TSInterleavedFile> InterleavedFiles =
new Dictionary<string, TSInterleavedFile>();
public delegate bool OnStreamClipFileScanError(
TSStreamClipFile streamClipFile, Exception ex);
public event OnStreamClipFileScanError StreamClipFileScanError;
public delegate bool OnStreamFileScanError(
TSStreamFile streamClipFile, Exception ex);
public event OnStreamFileScanError StreamFileScanError;
public delegate bool OnPlaylistFileScanError(
TSPlaylistFile playlistFile, Exception ex);
public event OnPlaylistFileScanError PlaylistFileScanError;
public BDROM(string path, IFileSystem fileSystem)
{
if (string.IsNullOrEmpty(path))
{
throw new ArgumentNullException(nameof(path));
}
_fileSystem = fileSystem;
//
// Locate BDMV directories.
//
DirectoryBDMV =
GetDirectoryBDMV(path);
if (DirectoryBDMV == null)
{
throw new Exception("Unable to locate BD structure.");
}
DirectoryRoot =
_fileSystem.GetDirectoryInfo(Path.GetDirectoryName(DirectoryBDMV.FullName));
DirectoryBDJO =
GetDirectory("BDJO", DirectoryBDMV, 0);
DirectoryCLIPINF =
GetDirectory("CLIPINF", DirectoryBDMV, 0);
DirectoryPLAYLIST =
GetDirectory("PLAYLIST", DirectoryBDMV, 0);
DirectorySNP =
GetDirectory("SNP", DirectoryRoot, 0);
DirectorySTREAM =
GetDirectory("STREAM", DirectoryBDMV, 0);
DirectorySSIF =
GetDirectory("SSIF", DirectorySTREAM, 0);
if (DirectoryCLIPINF == null
|| DirectoryPLAYLIST == null)
{
throw new Exception("Unable to locate BD structure.");
}
//
// Initialize basic disc properties.
//
VolumeLabel = GetVolumeLabel(DirectoryRoot);
Size = (ulong)GetDirectorySize(DirectoryRoot);
if (null != GetDirectory("BDSVM", DirectoryRoot, 0))
{
IsBDPlus = true;
}
if (null != GetDirectory("SLYVM", DirectoryRoot, 0))
{
IsBDPlus = true;
}
if (null != GetDirectory("ANYVM", DirectoryRoot, 0))
{
IsBDPlus = true;
}
if (DirectoryBDJO != null &&
_fileSystem.GetFilePaths(DirectoryBDJO.FullName).Any())
{
IsBDJava = true;
}
if (DirectorySNP != null &&
GetFilePaths(DirectorySNP.FullName, ".mnv").Any())
{
IsPSP = true;
}
if (DirectorySSIF != null &&
_fileSystem.GetFilePaths(DirectorySSIF.FullName).Any())
{
Is3D = true;
}
if (File.Exists(Path.Combine(DirectoryRoot.FullName, "FilmIndex.xml")))
{
IsDBOX = true;
}
//
// Initialize file lists.
//
if (DirectoryPLAYLIST != null)
{
FileSystemMetadata[] files = GetFiles(DirectoryPLAYLIST.FullName, ".mpls").ToArray();
foreach (var file in files)
{
PlaylistFiles.Add(
file.Name.ToUpper(), new TSPlaylistFile(this, file, _fileSystem));
}
}
if (DirectorySTREAM != null)
{
FileSystemMetadata[] files = GetFiles(DirectorySTREAM.FullName, ".m2ts").ToArray();
foreach (var file in files)
{
StreamFiles.Add(
file.Name.ToUpper(), new TSStreamFile(file, _fileSystem));
}
}
if (DirectoryCLIPINF != null)
{
FileSystemMetadata[] files = GetFiles(DirectoryCLIPINF.FullName, ".clpi").ToArray();
foreach (var file in files)
{
StreamClipFiles.Add(
file.Name.ToUpper(), new TSStreamClipFile(file, _fileSystem));
}
}
if (DirectorySSIF != null)
{
FileSystemMetadata[] files = GetFiles(DirectorySSIF.FullName, ".ssif").ToArray();
foreach (var file in files)
{
InterleavedFiles.Add(
file.Name.ToUpper(), new TSInterleavedFile(file));
}
}
}
private IEnumerable<FileSystemMetadata> GetFiles(string path, string extension)
{
return _fileSystem.GetFiles(path, new[] { extension }, false, false);
}
private IEnumerable<string> GetFilePaths(string path, string extension)
{
return _fileSystem.GetFilePaths(path, new[] { extension }, false, false);
}
public void Scan()
{
var errorStreamClipFiles = new List<TSStreamClipFile>();
foreach (var streamClipFile in StreamClipFiles.Values)
{
try
{
streamClipFile.Scan();
}
catch (Exception ex)
{
errorStreamClipFiles.Add(streamClipFile);
if (StreamClipFileScanError != null)
{
if (StreamClipFileScanError(streamClipFile, ex))
{
continue;
}
else
{
break;
}
}
else throw;
}
}
foreach (var streamFile in StreamFiles.Values)
{
string ssifName = Path.GetFileNameWithoutExtension(streamFile.Name) + ".SSIF";
if (InterleavedFiles.ContainsKey(ssifName))
{
streamFile.InterleavedFile = InterleavedFiles[ssifName];
}
}
TSStreamFile[] streamFiles = new TSStreamFile[StreamFiles.Count];
StreamFiles.Values.CopyTo(streamFiles, 0);
Array.Sort(streamFiles, CompareStreamFiles);
var errorPlaylistFiles = new List<TSPlaylistFile>();
foreach (var playlistFile in PlaylistFiles.Values)
{
try
{
playlistFile.Scan(StreamFiles, StreamClipFiles);
}
catch (Exception ex)
{
errorPlaylistFiles.Add(playlistFile);
if (PlaylistFileScanError != null)
{
if (PlaylistFileScanError(playlistFile, ex))
{
continue;
}
else
{
break;
}
}
else throw;
}
}
var errorStreamFiles = new List<TSStreamFile>();
foreach (var streamFile in streamFiles)
{
try
{
var playlists = new List<TSPlaylistFile>();
foreach (var playlist in PlaylistFiles.Values)
{
foreach (var streamClip in playlist.StreamClips)
{
if (streamClip.Name == streamFile.Name)
{
playlists.Add(playlist);
break;
}
}
}
streamFile.Scan(playlists, false);
}
catch (Exception ex)
{
errorStreamFiles.Add(streamFile);
if (StreamFileScanError != null)
{
if (StreamFileScanError(streamFile, ex))
{
continue;
}
else
{
break;
}
}
else throw;
}
}
foreach (var playlistFile in PlaylistFiles.Values)
{
playlistFile.Initialize();
if (!Is50Hz)
{
foreach (var videoStream in playlistFile.VideoStreams)
{
if (videoStream.FrameRate == TSFrameRate.FRAMERATE_25 ||
videoStream.FrameRate == TSFrameRate.FRAMERATE_50)
{
Is50Hz = true;
}
}
}
}
}
private FileSystemMetadata GetDirectoryBDMV(
string path)
{
if (string.IsNullOrEmpty(path))
{
throw new ArgumentNullException(nameof(path));
}
FileSystemMetadata dir = _fileSystem.GetDirectoryInfo(path);
while (dir != null)
{
if (string.Equals(dir.Name, "BDMV", StringComparison.OrdinalIgnoreCase))
{
return dir;
}
var parentFolder = Path.GetDirectoryName(dir.FullName);
if (string.IsNullOrEmpty(parentFolder))
{
dir = null;
}
else
{
dir = _fileSystem.GetDirectoryInfo(parentFolder);
}
}
return GetDirectory("BDMV", _fileSystem.GetDirectoryInfo(path), 0);
}
private FileSystemMetadata GetDirectory(
string name,
FileSystemMetadata dir,
int searchDepth)
{
if (dir != null)
{
FileSystemMetadata[] children = _fileSystem.GetDirectories(dir.FullName).ToArray();
foreach (var child in children)
{
if (string.Equals(child.Name, name, StringComparison.OrdinalIgnoreCase))
{
return child;
}
}
if (searchDepth > 0)
{
foreach (var child in children)
{
GetDirectory(
name, child, searchDepth - 1);
}
}
}
return null;
}
private long GetDirectorySize(FileSystemMetadata directoryInfo)
{
long size = 0;
//if (!ExcludeDirs.Contains(directoryInfo.Name.ToUpper())) // TODO: Keep?
{
FileSystemMetadata[] pathFiles = _fileSystem.GetFiles(directoryInfo.FullName).ToArray();
foreach (var pathFile in pathFiles)
{
if (pathFile.Extension.ToUpper() == ".SSIF")
{
continue;
}
size += pathFile.Length;
}
FileSystemMetadata[] pathChildren = _fileSystem.GetDirectories(directoryInfo.FullName).ToArray();
foreach (var pathChild in pathChildren)
{
size += GetDirectorySize(pathChild);
}
}
return size;
}
private string GetVolumeLabel(FileSystemMetadata dir)
{
return dir.Name;
}
public int CompareStreamFiles(
TSStreamFile x,
TSStreamFile y)
{
// TODO: Use interleaved file sizes
if ((x == null || x.FileInfo == null) && (y == null || y.FileInfo == null))
{
return 0;
}
else if ((x == null || x.FileInfo == null) && (y != null && y.FileInfo != null))
{
return 1;
}
else if ((x != null || x.FileInfo != null) && (y == null || y.FileInfo == null))
{
return -1;
}
else
{
if (x.FileInfo.Length > y.FileInfo.Length)
{
return 1;
}
else if (y.FileInfo.Length > x.FileInfo.Length)
{
return -1;
}
else
{
return 0;
}
}
}
}
}

View File

@@ -1,493 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class LanguageCodes
{
public static string GetName(string code)
{
switch (code)
{
case "abk": return "Abkhazian";
case "ace": return "Achinese";
case "ach": return "Acoli";
case "ada": return "Adangme";
case "aar": return "Afar";
case "afh": return "Afrihili";
case "afr": return "Afrikaans";
case "afa": return "Afro-Asiatic (Other)";
case "aka": return "Akan";
case "akk": return "Akkadian";
case "alb": return "Albanian";
case "sqi": return "Albanian";
case "ale": return "Aleut";
case "alg": return "Algonquian languages";
case "tut": return "Altaic (Other)";
case "amh": return "Amharic";
case "apa": return "Apache languages";
case "ara": return "Arabic";
case "arc": return "Aramaic";
case "arp": return "Arapaho";
case "arn": return "Araucanian";
case "arw": return "Arawak";
case "arm": return "Armenian";
case "hye": return "Armenian";
case "art": return "Artificial (Other)";
case "asm": return "Assamese";
case "ath": return "Athapascan languages";
case "aus": return "Australian languages";
case "map": return "Austronesian (Other)";
case "ava": return "Avaric";
case "ave": return "Avestan";
case "awa": return "Awadhi";
case "aym": return "Aymara";
case "aze": return "Azerbaijani";
case "ban": return "Balinese";
case "bat": return "Baltic (Other)";
case "bal": return "Baluchi";
case "bam": return "Bambara";
case "bai": return "Bamileke languages";
case "bad": return "Banda";
case "bnt": return "Bantu (Other)";
case "bas": return "Basa";
case "bak": return "Bashkir";
case "baq": return "Basque";
case "eus": return "Basque";
case "btk": return "Batak (Indonesia)";
case "bej": return "Beja";
case "bel": return "Belarusian";
case "bem": return "Bemba";
case "ben": return "Bengali";
case "ber": return "Berber (Other)";
case "bho": return "Bhojpuri";
case "bih": return "Bihari";
case "bik": return "Bikol";
case "bin": return "Bini";
case "bis": return "Bislama";
case "bos": return "Bosnian";
case "bra": return "Braj";
case "bre": return "Breton";
case "bug": return "Buginese";
case "bul": return "Bulgarian";
case "bua": return "Buriat";
case "bur": return "Burmese";
case "mya": return "Burmese";
case "cad": return "Caddo";
case "car": return "Carib";
case "cat": return "Catalan";
case "cau": return "Caucasian (Other)";
case "ceb": return "Cebuano";
case "cel": return "Celtic (Other)";
case "cai": return "Central American Indian (Other)";
case "chg": return "Chagatai";
case "cmc": return "Chamic languages";
case "cha": return "Chamorro";
case "che": return "Chechen";
case "chr": return "Cherokee";
case "chy": return "Cheyenne";
case "chb": return "Chibcha";
case "chi": return "Chinese";
case "zho": return "Chinese";
case "chn": return "Chinook jargon";
case "chp": return "Chipewyan";
case "cho": return "Choctaw";
case "chu": return "Church Slavic";
case "chk": return "Chuukese";
case "chv": return "Chuvash";
case "cop": return "Coptic";
case "cor": return "Cornish";
case "cos": return "Corsican";
case "cre": return "Cree";
case "mus": return "Creek";
case "crp": return "Creoles and pidgins (Other)";
case "cpe": return "Creoles and pidgins,";
case "cpf": return "Creoles and pidgins,";
case "cpp": return "Creoles and pidgins,";
case "scr": return "Croatian";
case "hrv": return "Croatian";
case "cus": return "Cushitic (Other)";
case "cze": return "Czech";
case "ces": return "Czech";
case "dak": return "Dakota";
case "dan": return "Danish";
case "day": return "Dayak";
case "del": return "Delaware";
case "din": return "Dinka";
case "div": return "Divehi";
case "doi": return "Dogri";
case "dgr": return "Dogrib";
case "dra": return "Dravidian (Other)";
case "dua": return "Duala";
case "dut": return "Dutch";
case "nld": return "Dutch";
case "dum": return "Dutch, Middle (ca. 1050-1350)";
case "dyu": return "Dyula";
case "dzo": return "Dzongkha";
case "efi": return "Efik";
case "egy": return "Egyptian (Ancient)";
case "eka": return "Ekajuk";
case "elx": return "Elamite";
case "eng": return "English";
case "enm": return "English, Middle (1100-1500)";
case "ang": return "English, Old (ca.450-1100)";
case "epo": return "Esperanto";
case "est": return "Estonian";
case "ewe": return "Ewe";
case "ewo": return "Ewondo";
case "fan": return "Fang";
case "fat": return "Fanti";
case "fao": return "Faroese";
case "fij": return "Fijian";
case "fin": return "Finnish";
case "fiu": return "Finno-Ugrian (Other)";
case "fon": return "Fon";
case "fre": return "French";
case "fra": return "French";
case "frm": return "French, Middle (ca.1400-1600)";
case "fro": return "French, Old (842-ca.1400)";
case "fry": return "Frisian";
case "fur": return "Friulian";
case "ful": return "Fulah";
case "gaa": return "Ga";
case "glg": return "Gallegan";
case "lug": return "Ganda";
case "gay": return "Gayo";
case "gba": return "Gbaya";
case "gez": return "Geez";
case "geo": return "Georgian";
case "kat": return "Georgian";
case "ger": return "German";
case "deu": return "German";
case "nds": return "Saxon";
case "gmh": return "German, Middle High (ca.1050-1500)";
case "goh": return "German, Old High (ca.750-1050)";
case "gem": return "Germanic (Other)";
case "gil": return "Gilbertese";
case "gon": return "Gondi";
case "gor": return "Gorontalo";
case "got": return "Gothic";
case "grb": return "Grebo";
case "grc": return "Greek, Ancient (to 1453)";
case "gre": return "Greek";
case "ell": return "Greek";
case "grn": return "Guarani";
case "guj": return "Gujarati";
case "gwi": return "Gwich´in";
case "hai": return "Haida";
case "hau": return "Hausa";
case "haw": return "Hawaiian";
case "heb": return "Hebrew";
case "her": return "Herero";
case "hil": return "Hiligaynon";
case "him": return "Himachali";
case "hin": return "Hindi";
case "hmo": return "Hiri Motu";
case "hit": return "Hittite";
case "hmn": return "Hmong";
case "hun": return "Hungarian";
case "hup": return "Hupa";
case "iba": return "Iban";
case "ice": return "Icelandic";
case "isl": return "Icelandic";
case "ibo": return "Igbo";
case "ijo": return "Ijo";
case "ilo": return "Iloko";
case "inc": return "Indic (Other)";
case "ine": return "Indo-European (Other)";
case "ind": return "Indonesian";
case "ina": return "Interlingua (International";
case "ile": return "Interlingue";
case "iku": return "Inuktitut";
case "ipk": return "Inupiaq";
case "ira": return "Iranian (Other)";
case "gle": return "Irish";
case "mga": return "Irish, Middle (900-1200)";
case "sga": return "Irish, Old (to 900)";
case "iro": return "Iroquoian languages";
case "ita": return "Italian";
case "jpn": return "Japanese";
case "jav": return "Javanese";
case "jrb": return "Judeo-Arabic";
case "jpr": return "Judeo-Persian";
case "kab": return "Kabyle";
case "kac": return "Kachin";
case "kal": return "Kalaallisut";
case "kam": return "Kamba";
case "kan": return "Kannada";
case "kau": return "Kanuri";
case "kaa": return "Kara-Kalpak";
case "kar": return "Karen";
case "kas": return "Kashmiri";
case "kaw": return "Kawi";
case "kaz": return "Kazakh";
case "kha": return "Khasi";
case "khm": return "Khmer";
case "khi": return "Khoisan (Other)";
case "kho": return "Khotanese";
case "kik": return "Kikuyu";
case "kmb": return "Kimbundu";
case "kin": return "Kinyarwanda";
case "kir": return "Kirghiz";
case "kom": return "Komi";
case "kon": return "Kongo";
case "kok": return "Konkani";
case "kor": return "Korean";
case "kos": return "Kosraean";
case "kpe": return "Kpelle";
case "kro": return "Kru";
case "kua": return "Kuanyama";
case "kum": return "Kumyk";
case "kur": return "Kurdish";
case "kru": return "Kurukh";
case "kut": return "Kutenai";
case "lad": return "Ladino";
case "lah": return "Lahnda";
case "lam": return "Lamba";
case "lao": return "Lao";
case "lat": return "Latin";
case "lav": return "Latvian";
case "ltz": return "Letzeburgesch";
case "lez": return "Lezghian";
case "lin": return "Lingala";
case "lit": return "Lithuanian";
case "loz": return "Lozi";
case "lub": return "Luba-Katanga";
case "lua": return "Luba-Lulua";
case "lui": return "Luiseno";
case "lun": return "Lunda";
case "luo": return "Luo (Kenya and Tanzania)";
case "lus": return "Lushai";
case "mac": return "Macedonian";
case "mkd": return "Macedonian";
case "mad": return "Madurese";
case "mag": return "Magahi";
case "mai": return "Maithili";
case "mak": return "Makasar";
case "mlg": return "Malagasy";
case "may": return "Malay";
case "msa": return "Malay";
case "mal": return "Malayalam";
case "mlt": return "Maltese";
case "mnc": return "Manchu";
case "mdr": return "Mandar";
case "man": return "Mandingo";
case "mni": return "Manipuri";
case "mno": return "Manobo languages";
case "glv": return "Manx";
case "mao": return "Maori";
case "mri": return "Maori";
case "mar": return "Marathi";
case "chm": return "Mari";
case "mah": return "Marshall";
case "mwr": return "Marwari";
case "mas": return "Masai";
case "myn": return "Mayan languages";
case "men": return "Mende";
case "mic": return "Micmac";
case "min": return "Minangkabau";
case "mis": return "Miscellaneous languages";
case "moh": return "Mohawk";
case "mol": return "Moldavian";
case "mkh": return "Mon-Khmer (Other)";
case "lol": return "Mongo";
case "mon": return "Mongolian";
case "mos": return "Mossi";
case "mul": return "Multiple languages";
case "mun": return "Munda languages";
case "nah": return "Nahuatl";
case "nau": return "Nauru";
case "nav": return "Navajo";
case "nde": return "Ndebele, North";
case "nbl": return "Ndebele, South";
case "ndo": return "Ndonga";
case "nep": return "Nepali";
case "new": return "Newari";
case "nia": return "Nias";
case "nic": return "Niger-Kordofanian (Other)";
case "ssa": return "Nilo-Saharan (Other)";
case "niu": return "Niuean";
case "non": return "Norse, Old";
case "nai": return "North American Indian (Other)";
case "sme": return "Northern Sami";
case "nor": return "Norwegian";
case "nob": return "Norwegian Bokmål";
case "nno": return "Norwegian Nynorsk";
case "nub": return "Nubian languages";
case "nym": return "Nyamwezi";
case "nya": return "Nyanja";
case "nyn": return "Nyankole";
case "nyo": return "Nyoro";
case "nzi": return "Nzima";
case "oci": return "Occitan";
case "oji": return "Ojibwa";
case "ori": return "Oriya";
case "orm": return "Oromo";
case "osa": return "Osage";
case "oss": return "Ossetian";
case "oto": return "Otomian languages";
case "pal": return "Pahlavi";
case "pau": return "Palauan";
case "pli": return "Pali";
case "pam": return "Pampanga";
case "pag": return "Pangasinan";
case "pan": return "Panjabi";
case "pap": return "Papiamento";
case "paa": return "Papuan (Other)";
case "per": return "Persian";
case "fas": return "Persian";
case "peo": return "Persian, Old (ca.600-400 B.C.)";
case "phi": return "Philippine (Other)";
case "phn": return "Phoenician";
case "pon": return "Pohnpeian";
case "pol": return "Polish";
case "por": return "Portuguese";
case "pra": return "Prakrit languages";
case "pro": return "Provençal";
case "pus": return "Pushto";
case "que": return "Quechua";
case "roh": return "Raeto-Romance";
case "raj": return "Rajasthani";
case "rap": return "Rapanui";
case "rar": return "Rarotongan";
case "roa": return "Romance (Other)";
case "rum": return "Romanian";
case "ron": return "Romanian";
case "rom": return "Romany";
case "run": return "Rundi";
case "rus": return "Russian";
case "sal": return "Salishan languages";
case "sam": return "Samaritan Aramaic";
case "smi": return "Sami languages (Other)";
case "smo": return "Samoan";
case "sad": return "Sandawe";
case "sag": return "Sango";
case "san": return "Sanskrit";
case "sat": return "Santali";
case "srd": return "Sardinian";
case "sas": return "Sasak";
case "sco": return "Scots";
case "gla": return "Gaelic";
case "sel": return "Selkup";
case "sem": return "Semitic (Other)";
case "scc": return "Serbian";
case "srp": return "Serbian";
case "srr": return "Serer";
case "shn": return "Shan";
case "sna": return "Shona";
case "sid": return "Sidamo";
case "sgn": return "Sign languages";
case "bla": return "Siksika";
case "snd": return "Sindhi";
case "sin": return "Sinhalese";
case "sit": return "Sino-Tibetan (Other)";
case "sio": return "Siouan languages";
case "den": return "Slave (Athapascan)";
case "sla": return "Slavic (Other)";
case "slo": return "Slovak";
case "slk": return "Slovak";
case "slv": return "Slovenian";
case "sog": return "Sogdian";
case "som": return "Somali";
case "son": return "Songhai";
case "snk": return "Soninke";
case "wen": return "Sorbian languages";
case "nso": return "Sotho, Northern";
case "sot": return "Sotho, Southern";
case "sai": return "South American Indian (Other)";
case "spa": return "Spanish";
case "suk": return "Sukuma";
case "sux": return "Sumerian";
case "sun": return "Sundanese";
case "sus": return "Susu";
case "swa": return "Swahili";
case "ssw": return "Swati";
case "swe": return "Swedish";
case "syr": return "Syriac";
case "tgl": return "Tagalog";
case "tah": return "Tahitian";
case "tai": return "Tai (Other)";
case "tgk": return "Tajik";
case "tmh": return "Tamashek";
case "tam": return "Tamil";
case "tat": return "Tatar";
case "tel": return "Telugu";
case "ter": return "Tereno";
case "tet": return "Tetum";
case "tha": return "Thai";
case "tib": return "Tibetan";
case "bod": return "Tibetan";
case "tig": return "Tigre";
case "tir": return "Tigrinya";
case "tem": return "Timne";
case "tiv": return "Tiv";
case "tli": return "Tlingit";
case "tpi": return "Tok Pisin";
case "tkl": return "Tokelau";
case "tog": return "Tonga (Nyasa)";
case "ton": return "Tonga (Tonga Islands)";
case "tsi": return "Tsimshian";
case "tso": return "Tsonga";
case "tsn": return "Tswana";
case "tum": return "Tumbuka";
case "tur": return "Turkish";
case "ota": return "Turkish, Ottoman (1500-1928)";
case "tuk": return "Turkmen";
case "tvl": return "Tuvalu";
case "tyv": return "Tuvinian";
case "twi": return "Twi";
case "uga": return "Ugaritic";
case "uig": return "Uighur";
case "ukr": return "Ukrainian";
case "umb": return "Umbundu";
case "und": return "Undetermined";
case "urd": return "Urdu";
case "uzb": return "Uzbek";
case "vai": return "Vai";
case "ven": return "Venda";
case "vie": return "Vietnamese";
case "vol": return "Volapük";
case "vot": return "Votic";
case "wak": return "Wakashan languages";
case "wal": return "Walamo";
case "war": return "Waray";
case "was": return "Washo";
case "wel": return "Welsh";
case "cym": return "Welsh";
case "wol": return "Wolof";
case "xho": return "Xhosa";
case "sah": return "Yakut";
case "yao": return "Yao";
case "yap": return "Yapese";
case "yid": return "Yiddish";
case "yor": return "Yoruba";
case "ypk": return "Yupik languages";
case "znd": return "Zande";
case "zap": return "Zapotec";
case "zen": return "Zenaga";
case "zha": return "Zhuang";
case "zul": return "Zulu";
case "zun": return "Zuni";
default: return code;
}
}
}
}

View File

@@ -1,21 +0,0 @@
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BDInfo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Jellyfin Project")]
[assembly: AssemblyProduct("Jellyfin: The Free Software Media System")]
[assembly: AssemblyCopyright("Copyright © 2016 CinemaSquid. Copyright © 2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

View File

@@ -1,5 +0,0 @@
The source is taken from the BDRom folder of this project:
http://www.cinemasquid.com/blu-ray/tools/bdinfo
BDInfoSettings was taken from the FormSettings class, and changed so that the settings all return defaults.

View File

@@ -1,309 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
#undef DEBUG
using System.IO;
namespace BDInfo
{
public abstract class TSCodecAC3
{
private static byte[] eac3_blocks = new byte[] { 1, 2, 3, 6 };
public static void Scan(
TSAudioStream stream,
TSStreamBuffer buffer,
ref string tag)
{
if (stream.IsInitialized) return;
byte[] sync = buffer.ReadBytes(2);
if (sync == null ||
sync[0] != 0x0B ||
sync[1] != 0x77)
{
return;
}
int sr_code = 0;
int frame_size = 0;
int frame_size_code = 0;
int channel_mode = 0;
int lfe_on = 0;
int dial_norm = 0;
int num_blocks = 0;
byte[] hdr = buffer.ReadBytes(4);
int bsid = (hdr[3] & 0xF8) >> 3;
buffer.Seek(-4, SeekOrigin.Current);
if (bsid <= 10)
{
byte[] crc = buffer.ReadBytes(2);
sr_code = buffer.ReadBits(2);
frame_size_code = buffer.ReadBits(6);
bsid = buffer.ReadBits(5);
int bsmod = buffer.ReadBits(3);
channel_mode = buffer.ReadBits(3);
int cmixlev = 0;
if (((channel_mode & 0x1) > 0) && (channel_mode != 0x1))
{
cmixlev = buffer.ReadBits(2);
}
int surmixlev = 0;
if ((channel_mode & 0x4) > 0)
{
surmixlev = buffer.ReadBits(2);
}
int dsurmod = 0;
if (channel_mode == 0x2)
{
dsurmod = buffer.ReadBits(2);
if (dsurmod == 0x2)
{
stream.AudioMode = TSAudioMode.Surround;
}
}
lfe_on = buffer.ReadBits(1);
dial_norm = buffer.ReadBits(5);
int compr = 0;
if (1 == buffer.ReadBits(1))
{
compr = buffer.ReadBits(8);
}
int langcod = 0;
if (1 == buffer.ReadBits(1))
{
langcod = buffer.ReadBits(8);
}
int mixlevel = 0;
int roomtyp = 0;
if (1 == buffer.ReadBits(1))
{
mixlevel = buffer.ReadBits(5);
roomtyp = buffer.ReadBits(2);
}
if (channel_mode == 0)
{
int dialnorm2 = buffer.ReadBits(5);
int compr2 = 0;
if (1 == buffer.ReadBits(1))
{
compr2 = buffer.ReadBits(8);
}
int langcod2 = 0;
if (1 == buffer.ReadBits(1))
{
langcod2 = buffer.ReadBits(8);
}
int mixlevel2 = 0;
int roomtyp2 = 0;
if (1 == buffer.ReadBits(1))
{
mixlevel2 = buffer.ReadBits(5);
roomtyp2 = buffer.ReadBits(2);
}
}
int copyrightb = buffer.ReadBits(1);
int origbs = buffer.ReadBits(1);
if (bsid == 6)
{
if (1 == buffer.ReadBits(1))
{
int dmixmod = buffer.ReadBits(2);
int ltrtcmixlev = buffer.ReadBits(3);
int ltrtsurmixlev = buffer.ReadBits(3);
int lorocmixlev = buffer.ReadBits(3);
int lorosurmixlev = buffer.ReadBits(3);
}
if (1 == buffer.ReadBits(1))
{
int dsurexmod = buffer.ReadBits(2);
int dheadphonmod = buffer.ReadBits(2);
if (dheadphonmod == 0x2)
{
// TODO
}
int adconvtyp = buffer.ReadBits(1);
int xbsi2 = buffer.ReadBits(8);
int encinfo = buffer.ReadBits(1);
if (dsurexmod == 2)
{
stream.AudioMode = TSAudioMode.Extended;
}
}
}
}
else
{
int frame_type = buffer.ReadBits(2);
int substreamid = buffer.ReadBits(3);
frame_size = (buffer.ReadBits(11) + 1) << 1;
sr_code = buffer.ReadBits(2);
if (sr_code == 3)
{
sr_code = buffer.ReadBits(2);
}
else
{
num_blocks = buffer.ReadBits(2);
}
channel_mode = buffer.ReadBits(3);
lfe_on = buffer.ReadBits(1);
}
switch (channel_mode)
{
case 0: // 1+1
stream.ChannelCount = 2;
if (stream.AudioMode == TSAudioMode.Unknown)
{
stream.AudioMode = TSAudioMode.DualMono;
}
break;
case 1: // 1/0
stream.ChannelCount = 1;
break;
case 2: // 2/0
stream.ChannelCount = 2;
if (stream.AudioMode == TSAudioMode.Unknown)
{
stream.AudioMode = TSAudioMode.Stereo;
}
break;
case 3: // 3/0
stream.ChannelCount = 3;
break;
case 4: // 2/1
stream.ChannelCount = 3;
break;
case 5: // 3/1
stream.ChannelCount = 4;
break;
case 6: // 2/2
stream.ChannelCount = 4;
break;
case 7: // 3/2
stream.ChannelCount = 5;
break;
default:
stream.ChannelCount = 0;
break;
}
switch (sr_code)
{
case 0:
stream.SampleRate = 48000;
break;
case 1:
stream.SampleRate = 44100;
break;
case 2:
stream.SampleRate = 32000;
break;
default:
stream.SampleRate = 0;
break;
}
if (bsid <= 10)
{
switch (frame_size_code >> 1)
{
case 18:
stream.BitRate = 640000;
break;
case 17:
stream.BitRate = 576000;
break;
case 16:
stream.BitRate = 512000;
break;
case 15:
stream.BitRate = 448000;
break;
case 14:
stream.BitRate = 384000;
break;
case 13:
stream.BitRate = 320000;
break;
case 12:
stream.BitRate = 256000;
break;
case 11:
stream.BitRate = 224000;
break;
case 10:
stream.BitRate = 192000;
break;
case 9:
stream.BitRate = 160000;
break;
case 8:
stream.BitRate = 128000;
break;
case 7:
stream.BitRate = 112000;
break;
case 6:
stream.BitRate = 96000;
break;
case 5:
stream.BitRate = 80000;
break;
case 4:
stream.BitRate = 64000;
break;
case 3:
stream.BitRate = 56000;
break;
case 2:
stream.BitRate = 48000;
break;
case 1:
stream.BitRate = 40000;
break;
case 0:
stream.BitRate = 32000;
break;
default:
stream.BitRate = 0;
break;
}
}
else
{
stream.BitRate = (long)
(4.0 * frame_size * stream.SampleRate / (num_blocks * 256));
}
stream.LFE = lfe_on;
if (stream.StreamType != TSStreamType.AC3_PLUS_AUDIO &&
stream.StreamType != TSStreamType.AC3_PLUS_SECONDARY_AUDIO)
{
stream.DialNorm = dial_norm - 31;
}
stream.IsVBR = false;
stream.IsInitialized = true;
}
}
}

View File

@@ -1,148 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class TSCodecAVC
{
public static void Scan(
TSVideoStream stream,
TSStreamBuffer buffer,
ref string tag)
{
uint parse = 0;
byte accessUnitDelimiterParse = 0;
byte sequenceParameterSetParse = 0;
string profile = null;
string level = null;
byte constraintSet0Flag = 0;
byte constraintSet1Flag = 0;
byte constraintSet2Flag = 0;
byte constraintSet3Flag = 0;
for (int i = 0; i < buffer.Length; i++)
{
parse = (parse << 8) + buffer.ReadByte();
if (parse == 0x00000109)
{
accessUnitDelimiterParse = 1;
}
else if (accessUnitDelimiterParse > 0)
{
--accessUnitDelimiterParse;
if (accessUnitDelimiterParse == 0)
{
switch ((parse & 0xFF) >> 5)
{
case 0: // I
case 3: // SI
case 5: // I, SI
tag = "I";
break;
case 1: // I, P
case 4: // SI, SP
case 6: // I, SI, P, SP
tag = "P";
break;
case 2: // I, P, B
case 7: // I, SI, P, SP, B
tag = "B";
break;
}
if (stream.IsInitialized) return;
}
}
else if (parse == 0x00000127 || parse == 0x00000167)
{
sequenceParameterSetParse = 3;
}
else if (sequenceParameterSetParse > 0)
{
--sequenceParameterSetParse;
switch (sequenceParameterSetParse)
{
case 2:
switch (parse & 0xFF)
{
case 66:
profile = "Baseline Profile";
break;
case 77:
profile = "Main Profile";
break;
case 88:
profile = "Extended Profile";
break;
case 100:
profile = "High Profile";
break;
case 110:
profile = "High 10 Profile";
break;
case 122:
profile = "High 4:2:2 Profile";
break;
case 144:
profile = "High 4:4:4 Profile";
break;
default:
profile = "Unknown Profile";
break;
}
break;
case 1:
constraintSet0Flag = (byte)
((parse & 0x80) >> 7);
constraintSet1Flag = (byte)
((parse & 0x40) >> 6);
constraintSet2Flag = (byte)
((parse & 0x20) >> 5);
constraintSet3Flag = (byte)
((parse & 0x10) >> 4);
break;
case 0:
byte b = (byte)(parse & 0xFF);
if (b == 11 && constraintSet3Flag == 1)
{
level = "1b";
}
else
{
level = string.Format(
"{0:D}.{1:D}",
b / 10, (b - ((b / 10) * 10)));
}
stream.EncodingProfile = string.Format(
"{0} {1}", profile, level);
stream.IsVBR = true;
stream.IsInitialized = true;
break;
}
}
}
return;
}
}
}

View File

@@ -1,159 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class TSCodecDTS
{
private static int[] dca_sample_rates =
{
0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
12000, 24000, 48000, 96000, 192000
};
private static int[] dca_bit_rates =
{
32000, 56000, 64000, 96000, 112000, 128000,
192000, 224000, 256000, 320000, 384000,
448000, 512000, 576000, 640000, 768000,
896000, 1024000, 1152000, 1280000, 1344000,
1408000, 1411200, 1472000, 1509000, 1920000,
2048000, 3072000, 3840000, 1/*open*/, 2/*variable*/, 3/*lossless*/
};
private static int[] dca_channels =
{
1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8
};
private static int[] dca_bits_per_sample =
{
16, 16, 20, 20, 0, 24, 24
};
public static void Scan(
TSAudioStream stream,
TSStreamBuffer buffer,
long bitrate,
ref string tag)
{
if (stream.IsInitialized) return;
bool syncFound = false;
uint sync = 0;
for (int i = 0; i < buffer.Length; i++)
{
sync = (sync << 8) + buffer.ReadByte();
if (sync == 0x7FFE8001)
{
syncFound = true;
break;
}
}
if (!syncFound) return;
int frame_type = buffer.ReadBits(1);
int samples_deficit = buffer.ReadBits(5);
int crc_present = buffer.ReadBits(1);
int sample_blocks = buffer.ReadBits(7);
int frame_size = buffer.ReadBits(14);
if (frame_size < 95)
{
return;
}
int amode = buffer.ReadBits(6);
int sample_rate = buffer.ReadBits(4);
if (sample_rate < 0 || sample_rate >= dca_sample_rates.Length)
{
return;
}
int bit_rate = buffer.ReadBits(5);
if (bit_rate < 0 || bit_rate >= dca_bit_rates.Length)
{
return;
}
int downmix = buffer.ReadBits(1);
int dynrange = buffer.ReadBits(1);
int timestamp = buffer.ReadBits(1);
int aux_data = buffer.ReadBits(1);
int hdcd = buffer.ReadBits(1);
int ext_descr = buffer.ReadBits(3);
int ext_coding = buffer.ReadBits(1);
int aspf = buffer.ReadBits(1);
int lfe = buffer.ReadBits(2);
int predictor_history = buffer.ReadBits(1);
if (crc_present == 1)
{
int crc = buffer.ReadBits(16);
}
int multirate_inter = buffer.ReadBits(1);
int version = buffer.ReadBits(4);
int copy_history = buffer.ReadBits(2);
int source_pcm_res = buffer.ReadBits(3);
int front_sum = buffer.ReadBits(1);
int surround_sum = buffer.ReadBits(1);
int dialog_norm = buffer.ReadBits(4);
if (source_pcm_res < 0 || source_pcm_res >= dca_bits_per_sample.Length)
{
return;
}
int subframes = buffer.ReadBits(4);
int total_channels = buffer.ReadBits(3) + 1 + ext_coding;
stream.SampleRate = dca_sample_rates[sample_rate];
stream.ChannelCount = total_channels;
stream.LFE = (lfe > 0 ? 1 : 0);
stream.BitDepth = dca_bits_per_sample[source_pcm_res];
stream.DialNorm = -dialog_norm;
if ((source_pcm_res & 0x1) == 0x1)
{
stream.AudioMode = TSAudioMode.Extended;
}
stream.BitRate = (uint)dca_bit_rates[bit_rate];
switch (stream.BitRate)
{
case 1:
if (bitrate > 0)
{
stream.BitRate = bitrate;
stream.IsVBR = false;
stream.IsInitialized = true;
}
else
{
stream.BitRate = 0;
}
break;
case 2:
case 3:
stream.IsVBR = true;
stream.IsInitialized = true;
break;
default:
stream.IsVBR = false;
stream.IsInitialized = true;
break;
}
}
}
}

View File

@@ -1,246 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class TSCodecDTSHD
{
private static int[] SampleRates = new int[]
{ 0x1F40, 0x3E80, 0x7D00, 0x0FA00, 0x1F400, 0x5622, 0x0AC44, 0x15888, 0x2B110, 0x56220, 0x2EE0, 0x5DC0, 0x0BB80, 0x17700, 0x2EE00, 0x5DC00 };
public static void Scan(
TSAudioStream stream,
TSStreamBuffer buffer,
long bitrate,
ref string tag)
{
if (stream.IsInitialized &&
(stream.StreamType == TSStreamType.DTS_HD_SECONDARY_AUDIO ||
(stream.CoreStream != null &&
stream.CoreStream.IsInitialized))) return;
bool syncFound = false;
uint sync = 0;
for (int i = 0; i < buffer.Length; i++)
{
sync = (sync << 8) + buffer.ReadByte();
if (sync == 0x64582025)
{
syncFound = true;
break;
}
}
if (!syncFound)
{
tag = "CORE";
if (stream.CoreStream == null)
{
stream.CoreStream = new TSAudioStream();
stream.CoreStream.StreamType = TSStreamType.DTS_AUDIO;
}
if (!stream.CoreStream.IsInitialized)
{
buffer.BeginRead();
TSCodecDTS.Scan(stream.CoreStream, buffer, bitrate, ref tag);
}
return;
}
tag = "HD";
int temp1 = buffer.ReadBits(8);
int nuSubStreamIndex = buffer.ReadBits(2);
int nuExtSSHeaderSize = 0;
int nuExtSSFSize = 0;
int bBlownUpHeader = buffer.ReadBits(1);
if (1 == bBlownUpHeader)
{
nuExtSSHeaderSize = buffer.ReadBits(12) + 1;
nuExtSSFSize = buffer.ReadBits(20) + 1;
}
else
{
nuExtSSHeaderSize = buffer.ReadBits(8) + 1;
nuExtSSFSize = buffer.ReadBits(16) + 1;
}
int nuNumAudioPresent = 1;
int nuNumAssets = 1;
int bStaticFieldsPresent = buffer.ReadBits(1);
if (1 == bStaticFieldsPresent)
{
int nuRefClockCode = buffer.ReadBits(2);
int nuExSSFrameDurationCode = buffer.ReadBits(3) + 1;
long nuTimeStamp = 0;
if (1 == buffer.ReadBits(1))
{
nuTimeStamp = (buffer.ReadBits(18) << 18) + buffer.ReadBits(18);
}
nuNumAudioPresent = buffer.ReadBits(3) + 1;
nuNumAssets = buffer.ReadBits(3) + 1;
int[] nuActiveExSSMask = new int[nuNumAudioPresent];
for (int i = 0; i < nuNumAudioPresent; i++)
{
nuActiveExSSMask[i] = buffer.ReadBits(nuSubStreamIndex + 1); //?
}
for (int i = 0; i < nuNumAudioPresent; i++)
{
for (int j = 0; j < nuSubStreamIndex + 1; j++)
{
if (((j + 1) % 2) == 1)
{
int mask = buffer.ReadBits(8);
}
}
}
if (1 == buffer.ReadBits(1))
{
int nuMixMetadataAdjLevel = buffer.ReadBits(2);
int nuBits4MixOutMask = buffer.ReadBits(2) * 4 + 4;
int nuNumMixOutConfigs = buffer.ReadBits(2) + 1;
int[] nuMixOutChMask = new int[nuNumMixOutConfigs];
for (int i = 0; i < nuNumMixOutConfigs; i++)
{
nuMixOutChMask[i] = buffer.ReadBits(nuBits4MixOutMask);
}
}
}
int[] AssetSizes = new int[nuNumAssets];
for (int i = 0; i < nuNumAssets; i++)
{
if (1 == bBlownUpHeader)
{
AssetSizes[i] = buffer.ReadBits(20) + 1;
}
else
{
AssetSizes[i] = buffer.ReadBits(16) + 1;
}
}
for (int i = 0; i < nuNumAssets; i++)
{
long bufferPosition = buffer.Position;
int nuAssetDescriptorFSIZE = buffer.ReadBits(9) + 1;
int DescriptorDataForAssetIndex = buffer.ReadBits(3);
if (1 == bStaticFieldsPresent)
{
int AssetTypeDescrPresent = buffer.ReadBits(1);
if (1 == AssetTypeDescrPresent)
{
int AssetTypeDescriptor = buffer.ReadBits(4);
}
int LanguageDescrPresent = buffer.ReadBits(1);
if (1 == LanguageDescrPresent)
{
int LanguageDescriptor = buffer.ReadBits(24);
}
int bInfoTextPresent = buffer.ReadBits(1);
if (1 == bInfoTextPresent)
{
int nuInfoTextByteSize = buffer.ReadBits(10) + 1;
int[] InfoText = new int[nuInfoTextByteSize];
for (int j = 0; j < nuInfoTextByteSize; j++)
{
InfoText[j] = buffer.ReadBits(8);
}
}
int nuBitResolution = buffer.ReadBits(5) + 1;
int nuMaxSampleRate = buffer.ReadBits(4);
int nuTotalNumChs = buffer.ReadBits(8) + 1;
int bOne2OneMapChannels2Speakers = buffer.ReadBits(1);
int nuSpkrActivityMask = 0;
if (1 == bOne2OneMapChannels2Speakers)
{
int bEmbeddedStereoFlag = 0;
if (nuTotalNumChs > 2)
{
bEmbeddedStereoFlag = buffer.ReadBits(1);
}
int bEmbeddedSixChFlag = 0;
if (nuTotalNumChs > 6)
{
bEmbeddedSixChFlag = buffer.ReadBits(1);
}
int bSpkrMaskEnabled = buffer.ReadBits(1);
int nuNumBits4SAMask = 0;
if (1 == bSpkrMaskEnabled)
{
nuNumBits4SAMask = buffer.ReadBits(2);
nuNumBits4SAMask = nuNumBits4SAMask * 4 + 4;
nuSpkrActivityMask = buffer.ReadBits(nuNumBits4SAMask);
}
// TODO...
}
stream.SampleRate = SampleRates[nuMaxSampleRate];
stream.BitDepth = nuBitResolution;
stream.LFE = 0;
if ((nuSpkrActivityMask & 0x8) == 0x8)
{
++stream.LFE;
}
if ((nuSpkrActivityMask & 0x1000) == 0x1000)
{
++stream.LFE;
}
stream.ChannelCount = nuTotalNumChs - stream.LFE;
}
if (nuNumAssets > 1)
{
// TODO...
break;
}
}
// TODO
if (stream.CoreStream != null)
{
var coreStream = (TSAudioStream)stream.CoreStream;
if (coreStream.AudioMode == TSAudioMode.Extended &&
stream.ChannelCount == 5)
{
stream.AudioMode = TSAudioMode.Extended;
}
/*
if (coreStream.DialNorm != 0)
{
stream.DialNorm = coreStream.DialNorm;
}
*/
}
if (stream.StreamType == TSStreamType.DTS_HD_MASTER_AUDIO)
{
stream.IsVBR = true;
stream.IsInitialized = true;
}
else if (bitrate > 0)
{
stream.IsVBR = false;
stream.BitRate = bitrate;
if (stream.CoreStream != null)
{
stream.BitRate += stream.CoreStream.BitRate;
stream.IsInitialized = true;
}
stream.IsInitialized = (stream.BitRate > 0 ? true : false);
}
}
}
}

View File

@@ -1,123 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class TSCodecLPCM
{
public static void Scan(
TSAudioStream stream,
TSStreamBuffer buffer,
ref string tag)
{
if (stream.IsInitialized) return;
byte[] header = buffer.ReadBytes(4);
int flags = (header[2] << 8) + header[3];
switch ((flags & 0xF000) >> 12)
{
case 1: // 1/0/0
stream.ChannelCount = 1;
stream.LFE = 0;
break;
case 3: // 2/0/0
stream.ChannelCount = 2;
stream.LFE = 0;
break;
case 4: // 3/0/0
stream.ChannelCount = 3;
stream.LFE = 0;
break;
case 5: // 2/1/0
stream.ChannelCount = 3;
stream.LFE = 0;
break;
case 6: // 3/1/0
stream.ChannelCount = 4;
stream.LFE = 0;
break;
case 7: // 2/2/0
stream.ChannelCount = 4;
stream.LFE = 0;
break;
case 8: // 3/2/0
stream.ChannelCount = 5;
stream.LFE = 0;
break;
case 9: // 3/2/1
stream.ChannelCount = 5;
stream.LFE = 1;
break;
case 10: // 3/4/0
stream.ChannelCount = 7;
stream.LFE = 0;
break;
case 11: // 3/4/1
stream.ChannelCount = 7;
stream.LFE = 1;
break;
default:
stream.ChannelCount = 0;
stream.LFE = 0;
break;
}
switch ((flags & 0xC0) >> 6)
{
case 1:
stream.BitDepth = 16;
break;
case 2:
stream.BitDepth = 20;
break;
case 3:
stream.BitDepth = 24;
break;
default:
stream.BitDepth = 0;
break;
}
switch ((flags & 0xF00) >> 8)
{
case 1:
stream.SampleRate = 48000;
break;
case 4:
stream.SampleRate = 96000;
break;
case 5:
stream.SampleRate = 192000;
break;
default:
stream.SampleRate = 0;
break;
}
stream.BitRate = (uint)
(stream.SampleRate * stream.BitDepth *
(stream.ChannelCount + stream.LFE));
stream.IsVBR = false;
stream.IsInitialized = true;
}
}
}

View File

@@ -1,208 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
#undef DEBUG
namespace BDInfo
{
public abstract class TSCodecMPEG2
{
public static void Scan(
TSVideoStream stream,
TSStreamBuffer buffer,
ref string tag)
{
int parse = 0;
int pictureParse = 0;
int sequenceHeaderParse = 0;
int extensionParse = 0;
int sequenceExtensionParse = 0;
for (int i = 0; i < buffer.Length; i++)
{
parse = (parse << 8) + buffer.ReadByte();
if (parse == 0x00000100)
{
pictureParse = 2;
}
else if (parse == 0x000001B3)
{
sequenceHeaderParse = 7;
}
else if (sequenceHeaderParse > 0)
{
--sequenceHeaderParse;
switch (sequenceHeaderParse)
{
#if DEBUG
case 6:
break;
case 5:
break;
case 4:
stream.Width =
(int)((parse & 0xFFF000) >> 12);
stream.Height =
(int)(parse & 0xFFF);
break;
case 3:
stream.AspectRatio =
(TSAspectRatio)((parse & 0xF0) >> 4);
switch ((parse & 0xF0) >> 4)
{
case 0: // Forbidden
break;
case 1: // Square
break;
case 2: // 4:3
break;
case 3: // 16:9
break;
case 4: // 2.21:1
break;
default: // Reserved
break;
}
switch (parse & 0xF)
{
case 0: // Forbidden
break;
case 1: // 23.976
stream.FrameRateEnumerator = 24000;
stream.FrameRateDenominator = 1001;
break;
case 2: // 24
stream.FrameRateEnumerator = 24000;
stream.FrameRateDenominator = 1000;
break;
case 3: // 25
stream.FrameRateEnumerator = 25000;
stream.FrameRateDenominator = 1000;
break;
case 4: // 29.97
stream.FrameRateEnumerator = 30000;
stream.FrameRateDenominator = 1001;
break;
case 5: // 30
stream.FrameRateEnumerator = 30000;
stream.FrameRateDenominator = 1000;
break;
case 6: // 50
stream.FrameRateEnumerator = 50000;
stream.FrameRateDenominator = 1000;
break;
case 7: // 59.94
stream.FrameRateEnumerator = 60000;
stream.FrameRateDenominator = 1001;
break;
case 8: // 60
stream.FrameRateEnumerator = 60000;
stream.FrameRateDenominator = 1000;
break;
default: // Reserved
stream.FrameRateEnumerator = 0;
stream.FrameRateDenominator = 0;
break;
}
break;
case 2:
break;
case 1:
break;
#endif
case 0:
#if DEBUG
stream.BitRate =
(((parse & 0xFFFFC0) >> 6) * 200);
#endif
stream.IsVBR = true;
stream.IsInitialized = true;
break;
}
}
else if (pictureParse > 0)
{
--pictureParse;
if (pictureParse == 0)
{
switch ((parse & 0x38) >> 3)
{
case 1:
tag = "I";
break;
case 2:
tag = "P";
break;
case 3:
tag = "B";
break;
default:
break;
}
if (stream.IsInitialized) return;
}
}
else if (parse == 0x000001B5)
{
extensionParse = 1;
}
else if (extensionParse > 0)
{
--extensionParse;
if (extensionParse == 0)
{
if ((parse & 0xF0) == 0x10)
{
sequenceExtensionParse = 1;
}
}
}
else if (sequenceExtensionParse > 0)
{
--sequenceExtensionParse;
#if DEBUG
if (sequenceExtensionParse == 0)
{
uint sequenceExtension =
((parse & 0x8) >> 3);
if (sequenceExtension == 0)
{
stream.IsInterlaced = true;
}
else
{
stream.IsInterlaced = false;
}
}
#endif
}
}
}
}
}

View File

@@ -1,36 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
// TODO: Do something more interesting here...
public abstract class TSCodecMVC
{
public static void Scan(
TSVideoStream stream,
TSStreamBuffer buffer,
ref string tag)
{
stream.IsVBR = true;
stream.IsInitialized = true;
}
}
}

View File

@@ -1,186 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class TSCodecTrueHD
{
public static void Scan(
TSAudioStream stream,
TSStreamBuffer buffer,
ref string tag)
{
if (stream.IsInitialized &&
stream.CoreStream != null &&
stream.CoreStream.IsInitialized) return;
bool syncFound = false;
uint sync = 0;
for (int i = 0; i < buffer.Length; i++)
{
sync = (sync << 8) + buffer.ReadByte();
if (sync == 0xF8726FBA)
{
syncFound = true;
break;
}
}
if (!syncFound)
{
tag = "CORE";
if (stream.CoreStream == null)
{
stream.CoreStream = new TSAudioStream();
stream.CoreStream.StreamType = TSStreamType.AC3_AUDIO;
}
if (!stream.CoreStream.IsInitialized)
{
buffer.BeginRead();
TSCodecAC3.Scan(stream.CoreStream, buffer, ref tag);
}
return;
}
tag = "HD";
int ratebits = buffer.ReadBits(4);
if (ratebits != 0xF)
{
stream.SampleRate =
(((ratebits & 8) > 0 ? 44100 : 48000) << (ratebits & 7));
}
int temp1 = buffer.ReadBits(8);
int channels_thd_stream1 = buffer.ReadBits(5);
int temp2 = buffer.ReadBits(2);
stream.ChannelCount = 0;
stream.LFE = 0;
int c_LFE2 = buffer.ReadBits(1);
if (c_LFE2 == 1)
{
stream.LFE += 1;
}
int c_Cvh = buffer.ReadBits(1);
if (c_Cvh == 1)
{
stream.ChannelCount += 1;
}
int c_LRw = buffer.ReadBits(1);
if (c_LRw == 1)
{
stream.ChannelCount += 2;
}
int c_LRsd = buffer.ReadBits(1);
if (c_LRsd == 1)
{
stream.ChannelCount += 2;
}
int c_Ts = buffer.ReadBits(1);
if (c_Ts == 1)
{
stream.ChannelCount += 1;
}
int c_Cs = buffer.ReadBits(1);
if (c_Cs == 1)
{
stream.ChannelCount += 1;
}
int c_LRrs = buffer.ReadBits(1);
if (c_LRrs == 1)
{
stream.ChannelCount += 2;
}
int c_LRc = buffer.ReadBits(1);
if (c_LRc == 1)
{
stream.ChannelCount += 2;
}
int c_LRvh = buffer.ReadBits(1);
if (c_LRvh == 1)
{
stream.ChannelCount += 2;
}
int c_LRs = buffer.ReadBits(1);
if (c_LRs == 1)
{
stream.ChannelCount += 2;
}
int c_LFE = buffer.ReadBits(1);
if (c_LFE == 1)
{
stream.LFE += 1;
}
int c_C = buffer.ReadBits(1);
if (c_C == 1)
{
stream.ChannelCount += 1;
}
int c_LR = buffer.ReadBits(1);
if (c_LR == 1)
{
stream.ChannelCount += 2;
}
int access_unit_size = 40 << (ratebits & 7);
int access_unit_size_pow2 = 64 << (ratebits & 7);
int a1 = buffer.ReadBits(16);
int a2 = buffer.ReadBits(16);
int a3 = buffer.ReadBits(16);
int is_vbr = buffer.ReadBits(1);
int peak_bitrate = buffer.ReadBits(15);
peak_bitrate = (peak_bitrate * stream.SampleRate) >> 4;
double peak_bitdepth =
(double)peak_bitrate /
(stream.ChannelCount + stream.LFE) /
stream.SampleRate;
if (peak_bitdepth > 14)
{
stream.BitDepth = 24;
}
else
{
stream.BitDepth = 16;
}
#if DEBUG
System.Diagnostics.Debug.WriteLine(string.Format(
"{0}\t{1}\t{2:F2}",
stream.PID, peak_bitrate, peak_bitdepth));
#endif
/*
// TODO: Get THD dialnorm from metadata
if (stream.CoreStream != null)
{
TSAudioStream coreStream = (TSAudioStream)stream.CoreStream;
if (coreStream.DialNorm != 0)
{
stream.DialNorm = coreStream.DialNorm;
}
}
*/
stream.IsVBR = true;
stream.IsInitialized = true;
}
}
}

View File

@@ -1,131 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
namespace BDInfo
{
public abstract class TSCodecVC1
{
public static void Scan(
TSVideoStream stream,
TSStreamBuffer buffer,
ref string tag)
{
int parse = 0;
byte frameHeaderParse = 0;
byte sequenceHeaderParse = 0;
bool isInterlaced = false;
for (int i = 0; i < buffer.Length; i++)
{
parse = (parse << 8) + buffer.ReadByte();
if (parse == 0x0000010D)
{
frameHeaderParse = 4;
}
else if (frameHeaderParse > 0)
{
--frameHeaderParse;
if (frameHeaderParse == 0)
{
uint pictureType = 0;
if (isInterlaced)
{
if ((parse & 0x80000000) == 0)
{
pictureType =
(uint)((parse & 0x78000000) >> 13);
}
else
{
pictureType =
(uint)((parse & 0x3c000000) >> 12);
}
}
else
{
pictureType =
(uint)((parse & 0xf0000000) >> 14);
}
if ((pictureType & 0x20000) == 0)
{
tag = "P";
}
else if ((pictureType & 0x10000) == 0)
{
tag = "B";
}
else if ((pictureType & 0x8000) == 0)
{
tag = "I";
}
else if ((pictureType & 0x4000) == 0)
{
tag = "BI";
}
else
{
tag = null;
}
if (stream.IsInitialized) return;
}
}
else if (parse == 0x0000010F)
{
sequenceHeaderParse = 6;
}
else if (sequenceHeaderParse > 0)
{
--sequenceHeaderParse;
switch (sequenceHeaderParse)
{
case 5:
int profileLevel = ((parse & 0x38) >> 3);
if (((parse & 0xC0) >> 6) == 3)
{
stream.EncodingProfile = string.Format(
"Advanced Profile {0}", profileLevel);
}
else
{
stream.EncodingProfile = string.Format(
"Main Profile {0}", profileLevel);
}
break;
case 0:
if (((parse & 0x40) >> 6) > 0)
{
isInterlaced = true;
}
else
{
isInterlaced = false;
}
break;
}
stream.IsVBR = true;
stream.IsInitialized = true;
}
}
}
}
}

View File

@@ -1,37 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
using MediaBrowser.Model.IO;
// TODO: Do more interesting things here...
namespace BDInfo
{
public class TSInterleavedFile
{
public FileSystemMetadata FileInfo = null;
public string Name = null;
public TSInterleavedFile(FileSystemMetadata fileInfo)
{
FileInfo = fileInfo;
Name = fileInfo.Name.ToUpper();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,780 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
using System;
using System.Collections.Generic;
namespace BDInfo
{
public enum TSStreamType : byte
{
Unknown = 0,
MPEG1_VIDEO = 0x01,
MPEG2_VIDEO = 0x02,
AVC_VIDEO = 0x1b,
MVC_VIDEO = 0x20,
VC1_VIDEO = 0xea,
MPEG1_AUDIO = 0x03,
MPEG2_AUDIO = 0x04,
LPCM_AUDIO = 0x80,
AC3_AUDIO = 0x81,
AC3_PLUS_AUDIO = 0x84,
AC3_PLUS_SECONDARY_AUDIO = 0xA1,
AC3_TRUE_HD_AUDIO = 0x83,
DTS_AUDIO = 0x82,
DTS_HD_AUDIO = 0x85,
DTS_HD_SECONDARY_AUDIO = 0xA2,
DTS_HD_MASTER_AUDIO = 0x86,
PRESENTATION_GRAPHICS = 0x90,
INTERACTIVE_GRAPHICS = 0x91,
SUBTITLE = 0x92
}
public enum TSVideoFormat : byte
{
Unknown = 0,
VIDEOFORMAT_480i = 1,
VIDEOFORMAT_576i = 2,
VIDEOFORMAT_480p = 3,
VIDEOFORMAT_1080i = 4,
VIDEOFORMAT_720p = 5,
VIDEOFORMAT_1080p = 6,
VIDEOFORMAT_576p = 7,
}
public enum TSFrameRate : byte
{
Unknown = 0,
FRAMERATE_23_976 = 1,
FRAMERATE_24 = 2,
FRAMERATE_25 = 3,
FRAMERATE_29_97 = 4,
FRAMERATE_50 = 6,
FRAMERATE_59_94 = 7
}
public enum TSChannelLayout : byte
{
Unknown = 0,
CHANNELLAYOUT_MONO = 1,
CHANNELLAYOUT_STEREO = 3,
CHANNELLAYOUT_MULTI = 6,
CHANNELLAYOUT_COMBO = 12
}
public enum TSSampleRate : byte
{
Unknown = 0,
SAMPLERATE_48 = 1,
SAMPLERATE_96 = 4,
SAMPLERATE_192 = 5,
SAMPLERATE_48_192 = 12,
SAMPLERATE_48_96 = 14
}
public enum TSAspectRatio
{
Unknown = 0,
ASPECT_4_3 = 2,
ASPECT_16_9 = 3,
ASPECT_2_21 = 4
}
public class TSDescriptor
{
public byte Name;
public byte[] Value;
public TSDescriptor(byte name, byte length)
{
Name = name;
Value = new byte[length];
}
public TSDescriptor Clone()
{
var descriptor =
new TSDescriptor(Name, (byte)Value.Length);
Value.CopyTo(descriptor.Value, 0);
return descriptor;
}
}
public abstract class TSStream
{
public TSStream()
{
}
public override string ToString()
{
return string.Format("{0} ({1})", CodecShortName, PID);
}
public ushort PID;
public TSStreamType StreamType;
public List<TSDescriptor> Descriptors = null;
public long BitRate = 0;
public long ActiveBitRate = 0;
public bool IsVBR = false;
public bool IsInitialized = false;
public string LanguageName;
public bool IsHidden = false;
public ulong PayloadBytes = 0;
public ulong PacketCount = 0;
public double PacketSeconds = 0;
public int AngleIndex = 0;
public ulong PacketSize => PacketCount * 192;
private string _LanguageCode;
public string LanguageCode
{
get => _LanguageCode;
set
{
_LanguageCode = value;
LanguageName = LanguageCodes.GetName(value);
}
}
public bool IsVideoStream
{
get
{
switch (StreamType)
{
case TSStreamType.MPEG1_VIDEO:
case TSStreamType.MPEG2_VIDEO:
case TSStreamType.AVC_VIDEO:
case TSStreamType.MVC_VIDEO:
case TSStreamType.VC1_VIDEO:
return true;
default:
return false;
}
}
}
public bool IsAudioStream
{
get
{
switch (StreamType)
{
case TSStreamType.MPEG1_AUDIO:
case TSStreamType.MPEG2_AUDIO:
case TSStreamType.LPCM_AUDIO:
case TSStreamType.AC3_AUDIO:
case TSStreamType.AC3_PLUS_AUDIO:
case TSStreamType.AC3_PLUS_SECONDARY_AUDIO:
case TSStreamType.AC3_TRUE_HD_AUDIO:
case TSStreamType.DTS_AUDIO:
case TSStreamType.DTS_HD_AUDIO:
case TSStreamType.DTS_HD_SECONDARY_AUDIO:
case TSStreamType.DTS_HD_MASTER_AUDIO:
return true;
default:
return false;
}
}
}
public bool IsGraphicsStream
{
get
{
switch (StreamType)
{
case TSStreamType.PRESENTATION_GRAPHICS:
case TSStreamType.INTERACTIVE_GRAPHICS:
return true;
default:
return false;
}
}
}
public bool IsTextStream
{
get
{
switch (StreamType)
{
case TSStreamType.SUBTITLE:
return true;
default:
return false;
}
}
}
public string CodecName
{
get
{
switch (StreamType)
{
case TSStreamType.MPEG1_VIDEO:
return "MPEG-1 Video";
case TSStreamType.MPEG2_VIDEO:
return "MPEG-2 Video";
case TSStreamType.AVC_VIDEO:
return "MPEG-4 AVC Video";
case TSStreamType.MVC_VIDEO:
return "MPEG-4 MVC Video";
case TSStreamType.VC1_VIDEO:
return "VC-1 Video";
case TSStreamType.MPEG1_AUDIO:
return "MP1 Audio";
case TSStreamType.MPEG2_AUDIO:
return "MP2 Audio";
case TSStreamType.LPCM_AUDIO:
return "LPCM Audio";
case TSStreamType.AC3_AUDIO:
if (((TSAudioStream)this).AudioMode == TSAudioMode.Extended)
return "Dolby Digital EX Audio";
else
return "Dolby Digital Audio";
case TSStreamType.AC3_PLUS_AUDIO:
case TSStreamType.AC3_PLUS_SECONDARY_AUDIO:
return "Dolby Digital Plus Audio";
case TSStreamType.AC3_TRUE_HD_AUDIO:
return "Dolby TrueHD Audio";
case TSStreamType.DTS_AUDIO:
if (((TSAudioStream)this).AudioMode == TSAudioMode.Extended)
return "DTS-ES Audio";
else
return "DTS Audio";
case TSStreamType.DTS_HD_AUDIO:
return "DTS-HD High-Res Audio";
case TSStreamType.DTS_HD_SECONDARY_AUDIO:
return "DTS Express";
case TSStreamType.DTS_HD_MASTER_AUDIO:
return "DTS-HD Master Audio";
case TSStreamType.PRESENTATION_GRAPHICS:
return "Presentation Graphics";
case TSStreamType.INTERACTIVE_GRAPHICS:
return "Interactive Graphics";
case TSStreamType.SUBTITLE:
return "Subtitle";
default:
return "UNKNOWN";
}
}
}
public string CodecAltName
{
get
{
switch (StreamType)
{
case TSStreamType.MPEG1_VIDEO:
return "MPEG-1";
case TSStreamType.MPEG2_VIDEO:
return "MPEG-2";
case TSStreamType.AVC_VIDEO:
return "AVC";
case TSStreamType.MVC_VIDEO:
return "MVC";
case TSStreamType.VC1_VIDEO:
return "VC-1";
case TSStreamType.MPEG1_AUDIO:
return "MP1";
case TSStreamType.MPEG2_AUDIO:
return "MP2";
case TSStreamType.LPCM_AUDIO:
return "LPCM";
case TSStreamType.AC3_AUDIO:
return "DD AC3";
case TSStreamType.AC3_PLUS_AUDIO:
case TSStreamType.AC3_PLUS_SECONDARY_AUDIO:
return "DD AC3+";
case TSStreamType.AC3_TRUE_HD_AUDIO:
return "Dolby TrueHD";
case TSStreamType.DTS_AUDIO:
return "DTS";
case TSStreamType.DTS_HD_AUDIO:
return "DTS-HD Hi-Res";
case TSStreamType.DTS_HD_SECONDARY_AUDIO:
return "DTS Express";
case TSStreamType.DTS_HD_MASTER_AUDIO:
return "DTS-HD Master";
case TSStreamType.PRESENTATION_GRAPHICS:
return "PGS";
case TSStreamType.INTERACTIVE_GRAPHICS:
return "IGS";
case TSStreamType.SUBTITLE:
return "SUB";
default:
return "UNKNOWN";
}
}
}
public string CodecShortName
{
get
{
switch (StreamType)
{
case TSStreamType.MPEG1_VIDEO:
return "MPEG-1";
case TSStreamType.MPEG2_VIDEO:
return "MPEG-2";
case TSStreamType.AVC_VIDEO:
return "AVC";
case TSStreamType.MVC_VIDEO:
return "MVC";
case TSStreamType.VC1_VIDEO:
return "VC-1";
case TSStreamType.MPEG1_AUDIO:
return "MP1";
case TSStreamType.MPEG2_AUDIO:
return "MP2";
case TSStreamType.LPCM_AUDIO:
return "LPCM";
case TSStreamType.AC3_AUDIO:
if (((TSAudioStream)this).AudioMode == TSAudioMode.Extended)
return "AC3-EX";
else
return "AC3";
case TSStreamType.AC3_PLUS_AUDIO:
case TSStreamType.AC3_PLUS_SECONDARY_AUDIO:
return "AC3+";
case TSStreamType.AC3_TRUE_HD_AUDIO:
return "TrueHD";
case TSStreamType.DTS_AUDIO:
if (((TSAudioStream)this).AudioMode == TSAudioMode.Extended)
return "DTS-ES";
else
return "DTS";
case TSStreamType.DTS_HD_AUDIO:
return "DTS-HD HR";
case TSStreamType.DTS_HD_SECONDARY_AUDIO:
return "DTS Express";
case TSStreamType.DTS_HD_MASTER_AUDIO:
return "DTS-HD MA";
case TSStreamType.PRESENTATION_GRAPHICS:
return "PGS";
case TSStreamType.INTERACTIVE_GRAPHICS:
return "IGS";
case TSStreamType.SUBTITLE:
return "SUB";
default:
return "UNKNOWN";
}
}
}
public virtual string Description => "";
public abstract TSStream Clone();
protected void CopyTo(TSStream stream)
{
stream.PID = PID;
stream.StreamType = StreamType;
stream.IsVBR = IsVBR;
stream.BitRate = BitRate;
stream.IsInitialized = IsInitialized;
stream.LanguageCode = _LanguageCode;
if (Descriptors != null)
{
stream.Descriptors = new List<TSDescriptor>();
foreach (var descriptor in Descriptors)
{
stream.Descriptors.Add(descriptor.Clone());
}
}
}
}
public class TSVideoStream : TSStream
{
public TSVideoStream()
{
}
public int Width;
public int Height;
public bool IsInterlaced;
public int FrameRateEnumerator;
public int FrameRateDenominator;
public TSAspectRatio AspectRatio;
public string EncodingProfile;
private TSVideoFormat _VideoFormat;
public TSVideoFormat VideoFormat
{
get => _VideoFormat;
set
{
_VideoFormat = value;
switch (value)
{
case TSVideoFormat.VIDEOFORMAT_480i:
Height = 480;
IsInterlaced = true;
break;
case TSVideoFormat.VIDEOFORMAT_480p:
Height = 480;
IsInterlaced = false;
break;
case TSVideoFormat.VIDEOFORMAT_576i:
Height = 576;
IsInterlaced = true;
break;
case TSVideoFormat.VIDEOFORMAT_576p:
Height = 576;
IsInterlaced = false;
break;
case TSVideoFormat.VIDEOFORMAT_720p:
Height = 720;
IsInterlaced = false;
break;
case TSVideoFormat.VIDEOFORMAT_1080i:
Height = 1080;
IsInterlaced = true;
break;
case TSVideoFormat.VIDEOFORMAT_1080p:
Height = 1080;
IsInterlaced = false;
break;
}
}
}
private TSFrameRate _FrameRate;
public TSFrameRate FrameRate
{
get => _FrameRate;
set
{
_FrameRate = value;
switch (value)
{
case TSFrameRate.FRAMERATE_23_976:
FrameRateEnumerator = 24000;
FrameRateDenominator = 1001;
break;
case TSFrameRate.FRAMERATE_24:
FrameRateEnumerator = 24000;
FrameRateDenominator = 1000;
break;
case TSFrameRate.FRAMERATE_25:
FrameRateEnumerator = 25000;
FrameRateDenominator = 1000;
break;
case TSFrameRate.FRAMERATE_29_97:
FrameRateEnumerator = 30000;
FrameRateDenominator = 1001;
break;
case TSFrameRate.FRAMERATE_50:
FrameRateEnumerator = 50000;
FrameRateDenominator = 1000;
break;
case TSFrameRate.FRAMERATE_59_94:
FrameRateEnumerator = 60000;
FrameRateDenominator = 1001;
break;
}
}
}
public override string Description
{
get
{
string description = "";
if (Height > 0)
{
description += string.Format("{0:D}{1} / ",
Height,
IsInterlaced ? "i" : "p");
}
if (FrameRateEnumerator > 0 &&
FrameRateDenominator > 0)
{
if (FrameRateEnumerator % FrameRateDenominator == 0)
{
description += string.Format("{0:D} fps / ",
FrameRateEnumerator / FrameRateDenominator);
}
else
{
description += string.Format("{0:F3} fps / ",
(double)FrameRateEnumerator / FrameRateDenominator);
}
}
if (AspectRatio == TSAspectRatio.ASPECT_4_3)
{
description += "4:3 / ";
}
else if (AspectRatio == TSAspectRatio.ASPECT_16_9)
{
description += "16:9 / ";
}
if (EncodingProfile != null)
{
description += EncodingProfile + " / ";
}
if (description.EndsWith(" / "))
{
description = description.Substring(0, description.Length - 3);
}
return description;
}
}
public override TSStream Clone()
{
var stream = new TSVideoStream();
CopyTo(stream);
stream.VideoFormat = _VideoFormat;
stream.FrameRate = _FrameRate;
stream.Width = Width;
stream.Height = Height;
stream.IsInterlaced = IsInterlaced;
stream.FrameRateEnumerator = FrameRateEnumerator;
stream.FrameRateDenominator = FrameRateDenominator;
stream.AspectRatio = AspectRatio;
stream.EncodingProfile = EncodingProfile;
return stream;
}
}
public enum TSAudioMode
{
Unknown,
DualMono,
Stereo,
Surround,
Extended
}
public class TSAudioStream : TSStream
{
public TSAudioStream()
{
}
public int SampleRate;
public int ChannelCount;
public int BitDepth;
public int LFE;
public int DialNorm;
public TSAudioMode AudioMode;
public TSAudioStream CoreStream;
public TSChannelLayout ChannelLayout;
public static int ConvertSampleRate(
TSSampleRate sampleRate)
{
switch (sampleRate)
{
case TSSampleRate.SAMPLERATE_48:
return 48000;
case TSSampleRate.SAMPLERATE_96:
case TSSampleRate.SAMPLERATE_48_96:
return 96000;
case TSSampleRate.SAMPLERATE_192:
case TSSampleRate.SAMPLERATE_48_192:
return 192000;
}
return 0;
}
public string ChannelDescription
{
get
{
if (ChannelLayout == TSChannelLayout.CHANNELLAYOUT_MONO &&
ChannelCount == 2)
{
}
string description = "";
if (ChannelCount > 0)
{
description += string.Format(
"{0:D}.{1:D}",
ChannelCount, LFE);
}
else
{
switch (ChannelLayout)
{
case TSChannelLayout.CHANNELLAYOUT_MONO:
description += "1.0";
break;
case TSChannelLayout.CHANNELLAYOUT_STEREO:
description += "2.0";
break;
case TSChannelLayout.CHANNELLAYOUT_MULTI:
description += "5.1";
break;
}
}
if (AudioMode == TSAudioMode.Extended)
{
if (StreamType == TSStreamType.AC3_AUDIO)
{
description += "-EX";
}
if (StreamType == TSStreamType.DTS_AUDIO ||
StreamType == TSStreamType.DTS_HD_AUDIO ||
StreamType == TSStreamType.DTS_HD_MASTER_AUDIO)
{
description += "-ES";
}
}
return description;
}
}
public override string Description
{
get
{
string description = ChannelDescription;
if (SampleRate > 0)
{
description += string.Format(
" / {0:D} kHz", SampleRate / 1000);
}
if (BitRate > 0)
{
description += string.Format(
" / {0:D} kbps", (uint)Math.Round((double)BitRate / 1000));
}
if (BitDepth > 0)
{
description += string.Format(
" / {0:D}-bit", BitDepth);
}
if (DialNorm != 0)
{
description += string.Format(
" / DN {0}dB", DialNorm);
}
if (ChannelCount == 2)
{
switch (AudioMode)
{
case TSAudioMode.DualMono:
description += " / Dual Mono";
break;
case TSAudioMode.Surround:
description += " / Dolby Surround";
break;
}
}
if (description.EndsWith(" / "))
{
description = description.Substring(0, description.Length - 3);
}
if (CoreStream != null)
{
string codec = "";
switch (CoreStream.StreamType)
{
case TSStreamType.AC3_AUDIO:
codec = "AC3 Embedded";
break;
case TSStreamType.DTS_AUDIO:
codec = "DTS Core";
break;
}
description += string.Format(
" ({0}: {1})",
codec,
CoreStream.Description);
}
return description;
}
}
public override TSStream Clone()
{
var stream = new TSAudioStream();
CopyTo(stream);
stream.SampleRate = SampleRate;
stream.ChannelLayout = ChannelLayout;
stream.ChannelCount = ChannelCount;
stream.BitDepth = BitDepth;
stream.LFE = LFE;
stream.DialNorm = DialNorm;
stream.AudioMode = AudioMode;
if (CoreStream != null)
{
stream.CoreStream = (TSAudioStream)CoreStream.Clone();
}
return stream;
}
}
public class TSGraphicsStream : TSStream
{
public TSGraphicsStream()
{
IsVBR = true;
IsInitialized = true;
}
public override TSStream Clone()
{
var stream = new TSGraphicsStream();
CopyTo(stream);
return stream;
}
}
public class TSTextStream : TSStream
{
public TSTextStream()
{
IsVBR = true;
IsInitialized = true;
}
public override TSStream Clone()
{
var stream = new TSTextStream();
CopyTo(stream);
return stream;
}
}
}

View File

@@ -1,130 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
using System;
using System.Collections.Specialized;
using System.IO;
namespace BDInfo
{
public class TSStreamBuffer
{
private MemoryStream Stream = new MemoryStream();
private int SkipBits = 0;
private byte[] Buffer;
private int BufferLength = 0;
public int TransferLength = 0;
public TSStreamBuffer()
{
Buffer = new byte[4096];
Stream = new MemoryStream(Buffer);
}
public long Length => (long)BufferLength;
public long Position => Stream.Position;
public void Add(
byte[] buffer,
int offset,
int length)
{
TransferLength += length;
if (BufferLength + length >= Buffer.Length)
{
length = Buffer.Length - BufferLength;
}
if (length > 0)
{
Array.Copy(buffer, offset, Buffer, BufferLength, length);
BufferLength += length;
}
}
public void Seek(
long offset,
SeekOrigin loc)
{
Stream.Seek(offset, loc);
}
public void Reset()
{
BufferLength = 0;
TransferLength = 0;
}
public void BeginRead()
{
SkipBits = 0;
Stream.Seek(0, SeekOrigin.Begin);
}
public void EndRead()
{
}
public byte[] ReadBytes(int bytes)
{
if (Stream.Position + bytes >= BufferLength)
{
return null;
}
byte[] value = new byte[bytes];
Stream.Read(value, 0, bytes);
return value;
}
public byte ReadByte()
{
return (byte)Stream.ReadByte();
}
public int ReadBits(int bits)
{
long pos = Stream.Position;
int shift = 24;
int data = 0;
for (int i = 0; i < 4; i++)
{
if (pos + i >= BufferLength) break;
data += (Stream.ReadByte() << shift);
shift -= 8;
}
var vector = new BitVector32(data);
int value = 0;
for (int i = SkipBits; i < SkipBits + bits; i++)
{
value <<= 1;
value += (vector[1 << (32 - i - 1)] ? 1 : 0);
}
SkipBits += bits;
Stream.Seek(pos + (SkipBits >> 3), SeekOrigin.Begin);
SkipBits = SkipBits % 8;
return value;
}
}
}

View File

@@ -1,107 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
using System;
using System.Collections.Generic;
namespace BDInfo
{
public class TSStreamClip
{
public int AngleIndex = 0;
public string Name;
public double TimeIn;
public double TimeOut;
public double RelativeTimeIn;
public double RelativeTimeOut;
public double Length;
public ulong FileSize = 0;
public ulong InterleavedFileSize = 0;
public ulong PayloadBytes = 0;
public ulong PacketCount = 0;
public double PacketSeconds = 0;
public List<double> Chapters = new List<double>();
public TSStreamFile StreamFile = null;
public TSStreamClipFile StreamClipFile = null;
public TSStreamClip(
TSStreamFile streamFile,
TSStreamClipFile streamClipFile)
{
if (streamFile != null)
{
Name = streamFile.Name;
StreamFile = streamFile;
FileSize = (ulong)StreamFile.FileInfo.Length;
if (StreamFile.InterleavedFile != null)
{
InterleavedFileSize = (ulong)StreamFile.InterleavedFile.FileInfo.Length;
}
}
StreamClipFile = streamClipFile;
}
public string DisplayName
{
get
{
if (StreamFile != null &&
StreamFile.InterleavedFile != null &&
BDInfoSettings.EnableSSIF)
{
return StreamFile.InterleavedFile.Name;
}
return Name;
}
}
public ulong PacketSize => PacketCount * 192;
public ulong PacketBitRate
{
get
{
if (PacketSeconds > 0)
{
return (ulong)Math.Round(((PacketSize * 8.0) / PacketSeconds));
}
return 0;
}
}
public bool IsCompatible(TSStreamClip clip)
{
foreach (var stream1 in StreamFile.Streams.Values)
{
if (clip.StreamFile.Streams.ContainsKey(stream1.PID))
{
var stream2 = clip.StreamFile.Streams[stream1.PID];
if (stream1.StreamType != stream2.StreamType)
{
return false;
}
}
}
return true;
}
}
}

View File

@@ -1,246 +0,0 @@
//============================================================================
// BDInfo - Blu-ray Video and Audio Analysis Tool
// Copyright © 2010 Cinema Squid
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//=============================================================================
#undef DEBUG
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using MediaBrowser.Model.IO;
namespace BDInfo
{
public class TSStreamClipFile
{
private readonly IFileSystem _fileSystem;
public FileSystemMetadata FileInfo = null;
public string FileType = null;
public bool IsValid = false;
public string Name = null;
public Dictionary<ushort, TSStream> Streams =
new Dictionary<ushort, TSStream>();
public TSStreamClipFile(FileSystemMetadata fileInfo, IFileSystem fileSystem)
{
FileInfo = fileInfo;
_fileSystem = fileSystem;
Name = fileInfo.Name.ToUpper();
}
public void Scan()
{
Stream fileStream = null;
BinaryReader fileReader = null;
try
{
#if DEBUG
Debug.WriteLine(string.Format(
"Scanning {0}...", Name));
#endif
Streams.Clear();
fileStream = File.OpenRead(FileInfo.FullName);
fileReader = new BinaryReader(fileStream);
byte[] data = new byte[fileStream.Length];
fileReader.Read(data, 0, data.Length);
byte[] fileType = new byte[8];
Array.Copy(data, 0, fileType, 0, fileType.Length);
FileType = Encoding.ASCII.GetString(fileType, 0, fileType.Length);
if (FileType != "HDMV0100" &&
FileType != "HDMV0200")
{
throw new Exception(string.Format(
"Clip info file {0} has an unknown file type {1}.",
FileInfo.Name, FileType));
}
#if DEBUG
Debug.WriteLine(string.Format(
"\tFileType: {0}", FileType));
#endif
int clipIndex =
((int)data[12] << 24) +
((int)data[13] << 16) +
((int)data[14] << 8) +
((int)data[15]);
int clipLength =
((int)data[clipIndex] << 24) +
((int)data[clipIndex + 1] << 16) +
((int)data[clipIndex + 2] << 8) +
((int)data[clipIndex + 3]);
byte[] clipData = new byte[clipLength];
Array.Copy(data, clipIndex + 4, clipData, 0, clipData.Length);
int streamCount = clipData[8];
#if DEBUG
Debug.WriteLine(string.Format(
"\tStreamCount: {0}", streamCount));
#endif
int streamOffset = 10;
for (int streamIndex = 0;
streamIndex < streamCount;
streamIndex++)
{
TSStream stream = null;
ushort PID = (ushort)
((clipData[streamOffset] << 8) +
clipData[streamOffset + 1]);
streamOffset += 2;
var streamType = (TSStreamType)
clipData[streamOffset + 1];
switch (streamType)
{
case TSStreamType.MVC_VIDEO:
// TODO
break;
case TSStreamType.AVC_VIDEO:
case TSStreamType.MPEG1_VIDEO:
case TSStreamType.MPEG2_VIDEO:
case TSStreamType.VC1_VIDEO:
{
var videoFormat = (TSVideoFormat)
(clipData[streamOffset + 2] >> 4);
var frameRate = (TSFrameRate)
(clipData[streamOffset + 2] & 0xF);
var aspectRatio = (TSAspectRatio)
(clipData[streamOffset + 3] >> 4);
stream = new TSVideoStream();
((TSVideoStream)stream).VideoFormat = videoFormat;
((TSVideoStream)stream).AspectRatio = aspectRatio;
((TSVideoStream)stream).FrameRate = frameRate;
#if DEBUG
Debug.WriteLine(string.Format(
"\t{0} {1} {2} {3} {4}",
PID,
streamType,
videoFormat,
frameRate,
aspectRatio));
#endif
}
break;
case TSStreamType.AC3_AUDIO:
case TSStreamType.AC3_PLUS_AUDIO:
case TSStreamType.AC3_PLUS_SECONDARY_AUDIO:
case TSStreamType.AC3_TRUE_HD_AUDIO:
case TSStreamType.DTS_AUDIO:
case TSStreamType.DTS_HD_AUDIO:
case TSStreamType.DTS_HD_MASTER_AUDIO:
case TSStreamType.DTS_HD_SECONDARY_AUDIO:
case TSStreamType.LPCM_AUDIO:
case TSStreamType.MPEG1_AUDIO:
case TSStreamType.MPEG2_AUDIO:
{
byte[] languageBytes = new byte[3];
Array.Copy(clipData, streamOffset + 3,
languageBytes, 0, languageBytes.Length);
string languageCode = Encoding.ASCII.GetString(languageBytes, 0, languageBytes.Length);
var channelLayout = (TSChannelLayout)
(clipData[streamOffset + 2] >> 4);
var sampleRate = (TSSampleRate)
(clipData[streamOffset + 2] & 0xF);
stream = new TSAudioStream();
((TSAudioStream)stream).LanguageCode = languageCode;
((TSAudioStream)stream).ChannelLayout = channelLayout;
((TSAudioStream)stream).SampleRate = TSAudioStream.ConvertSampleRate(sampleRate);
((TSAudioStream)stream).LanguageCode = languageCode;
#if DEBUG
Debug.WriteLine(string.Format(
"\t{0} {1} {2} {3} {4}",
PID,
streamType,
languageCode,
channelLayout,
sampleRate));
#endif
}
break;
case TSStreamType.INTERACTIVE_GRAPHICS:
case TSStreamType.PRESENTATION_GRAPHICS:
{
byte[] languageBytes = new byte[3];
Array.Copy(clipData, streamOffset + 2,
languageBytes, 0, languageBytes.Length);
string languageCode = Encoding.ASCII.GetString(languageBytes, 0, languageBytes.Length);
stream = new TSGraphicsStream();
stream.LanguageCode = languageCode;
#if DEBUG
Debug.WriteLine(string.Format(
"\t{0} {1} {2}",
PID,
streamType,
languageCode));
#endif
}
break;
case TSStreamType.SUBTITLE:
{
byte[] languageBytes = new byte[3];
Array.Copy(clipData, streamOffset + 3,
languageBytes, 0, languageBytes.Length);
string languageCode = Encoding.ASCII.GetString(languageBytes, 0, languageBytes.Length);
#if DEBUG
Debug.WriteLine(string.Format(
"\t{0} {1} {2}",
PID,
streamType,
languageCode));
#endif
stream = new TSTextStream();
stream.LanguageCode = languageCode;
}
break;
}
if (stream != null)
{
stream.PID = PID;
stream.StreamType = streamType;
Streams.Add(PID, stream);
}
streamOffset += clipData[streamOffset] + 1;
}
IsValid = true;
}
finally
{
if (fileReader != null) fileReader.Dispose();
if (fileStream != null) fileStream.Dispose();
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +1,155 @@
# Jellyfin Contributors
- [JoshuaBoniface](https://github.com/joshuaboniface)
- [nvllsvm](https://github.com/nvllsvm)
- [JustAMan](https://github.com/JustAMan)
- [dcrdev](https://github.com/dcrdev)
- [EraYaN](https://github.com/EraYaN)
- [flemse](https://github.com/flemse)
- [97carmine](https://github.com/97carmine)
- [Abbe98](https://github.com/Abbe98)
- [agrenott](https://github.com/agrenott)
- [AndreCarvalho](https://github.com/AndreCarvalho)
- [anthonylavado](https://github.com/anthonylavado)
- [Artiume](https://github.com/Artiume)
- [AThomsen](https://github.com/AThomsen)
- [barongreenback](https://github.com/BaronGreenback)
- [barronpm](https://github.com/barronpm)
- [bilde2910](https://github.com/bilde2910)
- [bfayers](https://github.com/bfayers)
- [Bond_009](https://github.com/Bond-009)
- [AnthonyLavado](https://github.com/anthonylavado)
- [sparky8251](https://github.com/sparky8251)
- [LeoVerto](https://github.com/LeoVerto)
- [grafixeyehero](https://github.com/grafixeyehero)
- [BnMcG](https://github.com/BnMcG)
- [Bond-009](https://github.com/Bond-009)
- [brianjmurrell](https://github.com/brianjmurrell)
- [bugfixin](https://github.com/bugfixin)
- [chaosinnovator](https://github.com/chaosinnovator)
- [ckcr4lyf](https://github.com/ckcr4lyf)
- [cocool97](https://github.com/cocool97)
- [ConfusedPolarBear](https://github.com/ConfusedPolarBear)
- [crankdoofus](https://github.com/crankdoofus)
- [crobibero](https://github.com/crobibero)
- [cromefire](https://github.com/cromefire)
- [cryptobank](https://github.com/cryptobank)
- [cvium](https://github.com/cvium)
- [wtayl0r](https://github.com/wtayl0r)
- [TtheCreator](https://github.com/Tthecreator)
- [dannymichel](https://github.com/dannymichel)
- [DaveChild](https://github.com/DaveChild)
- [Delgan](https://github.com/Delgan)
- [dcrdev](https://github.com/dcrdev)
- [dhartung](https://github.com/dhartung)
- [dinki](https://github.com/dinki)
- [dkanada](https://github.com/dkanada)
- [LogicalPhallacy](https://github.com/LogicalPhallacy/)
- [dlahoti](https://github.com/dlahoti)
- [dmitrylyzo](https://github.com/dmitrylyzo)
- [DMouse10462](https://github.com/DMouse10462)
- [DrPandemic](https://github.com/DrPandemic)
- [EraYaN](https://github.com/EraYaN)
- [escabe](https://github.com/escabe)
- [excelite](https://github.com/excelite)
- [fasheng](https://github.com/fasheng)
- [ferferga](https://github.com/ferferga)
- [fhriley](https://github.com/fhriley)
- [flemse](https://github.com/flemse)
- [Froghut](https://github.com/Froghut)
- [fruhnow](https://github.com/fruhnow)
- [geilername](https://github.com/geilername)
- [gnattu](https://github.com/gnattu)
- [GodTamIt](https://github.com/GodTamIt)
- [grafixeyehero](https://github.com/grafixeyehero)
- [h1nk](https://github.com/h1nk)
- [hawken93](https://github.com/hawken93)
- [HelloWorld017](https://github.com/HelloWorld017)
- [ikomhoog](https://github.com/ikomhoog)
- [jftuga](https://github.com/jftuga)
- [joern-h](https://github.com/joern-h)
- [joshuaboniface](https://github.com/joshuaboniface)
- [JustAMan](https://github.com/JustAMan)
- [justinfenn](https://github.com/justinfenn)
- [KerryRJ](https://github.com/KerryRJ)
- [Larvitar](https://github.com/Larvitar)
- [LeoVerto](https://github.com/LeoVerto)
- [Liggy](https://github.com/Liggy)
- [lmaonator](https://github.com/lmaonator)
- [LogicalPhallacy](https://github.com/LogicalPhallacy)
- [loli10K](https://github.com/loli10K)
- [lostmypillow](https://github.com/lostmypillow)
- [Lynxy](https://github.com/Lynxy)
- [ManfredRichthofen](https://github.com/ManfredRichthofen)
- [Marenz](https://github.com/Marenz)
- [marius-luca-87](https://github.com/marius-luca-87)
- [mark-monteiro](https://github.com/mark-monteiro)
- [Matt07211](https://github.com/Matt07211)
- [Maxr1998](https://github.com/Maxr1998)
- [mcarlton00](https://github.com/mcarlton00)
- [mitchfizz05](https://github.com/mitchfizz05)
- [MrTimscampi](https://github.com/MrTimscampi)
- [n8225](https://github.com/n8225)
- [Narfinger](https://github.com/Narfinger)
- [NathanPickard](https://github.com/NathanPickard)
- [neilsb](https://github.com/neilsb)
- [nevado](https://github.com/nevado)
- [Nickbert7](https://github.com/Nickbert7)
- [nvllsvm](https://github.com/nvllsvm)
- [nyanmisaka](https://github.com/nyanmisaka)
- [OancaAndrei](https://github.com/OancaAndrei)
- [obradovichv](https://github.com/obradovichv)
- [oddstr13](https://github.com/oddstr13)
- [orryverducci](https://github.com/orryverducci)
- [petermcneil](https://github.com/petermcneil)
- [Phlogi](https://github.com/Phlogi)
- [pjeanjean](https://github.com/pjeanjean)
- [ploughpuff](https://github.com/ploughpuff)
- [pR0Ps](https://github.com/pR0Ps)
- [PrplHaz4](https://github.com/PrplHaz4)
- [RazeLighter777](https://github.com/RazeLighter777)
- [redSpoutnik](https://github.com/redSpoutnik)
- [ringmatter](https://github.com/ringmatter)
- [ryan-hartzell](https://github.com/ryan-hartzell)
- [s0urcelab](https://github.com/s0urcelab)
- [sachk](https://github.com/sachk)
- [sammyrc34](https://github.com/sammyrc34)
- [samuel9554](https://github.com/samuel9554)
- [scheidleon](https://github.com/scheidleon)
- [sebPomme](https://github.com/sebPomme)
- [SegiH](https://github.com/SegiH)
- [SenorSmartyPants](https://github.com/SenorSmartyPants)
- [shemanaev](https://github.com/shemanaev)
- [skaro13](https://github.com/skaro13)
- [sl1288](https://github.com/sl1288)
- [Smith00101010](https://github.com/Smith00101010)
- [sorinyo2004](https://github.com/sorinyo2004)
- [sparky8251](https://github.com/sparky8251)
- [spookbits](https://github.com/spookbits)
- [ssenart](https://github.com/ssenart)
- [stanionascu](https://github.com/stanionascu)
- [stevehayles](https://github.com/stevehayles)
- [SuperSandro2000](https://github.com/SuperSandro2000)
- [tbraeutigam](https://github.com/tbraeutigam)
- [teacupx](https://github.com/teacupx)
- [Terror-Gene](https://github.com/Terror-Gene)
- [ThatNerdyPikachu](https://github.com/ThatNerdyPikachu)
- [ThibaultNocchi](https://github.com/ThibaultNocchi)
- [thornbill](https://github.com/thornbill)
- [ThreeFive-O](https://github.com/ThreeFive-O)
- [TrisMcC](https://github.com/TrisMcC)
- [trumblejoe](https://github.com/trumblejoe)
- [TtheCreator](https://github.com/TtheCreator)
- [twinkybot](https://github.com/twinkybot)
- [Ullmie02](https://github.com/Ullmie02)
- [Unhelpful](https://github.com/Unhelpful)
- [viaregio](https://github.com/viaregio)
- [vitorsemeano](https://github.com/vitorsemeano)
- [voodoos](https://github.com/voodoos)
- [whooo](https://github.com/whooo)
- [WiiPlayer2](https://github.com/WiiPlayer2)
- [WillWill56](https://github.com/WillWill56)
- [wtayl0r](https://github.com/wtayl0r)
- [Wuerfelbecher](https://github.com/Wuerfelbecher)
- [Wunax](https://github.com/Wunax)
- [WWWesten](https://github.com/WWWesten)
- [WX9yMOXWId](https://github.com/WX9yMOXWId)
- [xosdy](https://github.com/xosdy)
- [XVicarious](https://github.com/XVicarious)
- [YouKnowBlom](https://github.com/YouKnowBlom)
- [KristupasSavickas](https://github.com/KristupasSavickas)
- [Pusta](https://github.com/pusta)
- [nielsvanvelzen](https://github.com/nielsvanvelzen)
- [skyfrk](https://github.com/skyfrk)
- [ianjazz246](https://github.com/ianjazz246)
- [peterspenler](https://github.com/peterspenler)
- [MBR-0001](https://github.com/MBR-0001)
# Emby Contributors
@@ -82,3 +213,6 @@
- [tikuf](https://github.com/tikuf/)
- [Tim Hobbs](https://github.com/timhobbs)
- [SvenVandenbrande](https://github.com/SvenVandenbrande)
- [olsh](https://github.com/olsh)
- [lbenini](https://github.com/lbenini)
- [gnuyent](https://github.com/gnuyent)

14
Directory.Build.props Normal file
View File

@@ -0,0 +1,14 @@
<Project>
<!-- Sets defaults for all projects in the repo -->
<PropertyGroup>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/jellyfin.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
</PropertyGroup>
</Project>

View File

@@ -1,25 +1,93 @@
ARG DOTNET_VERSION=2
# DESIGNED FOR BUILDING ON AMD64 ONLY
#####################################
# Requires binfm_misc registration
# https://github.com/multiarch/qemu-user-static#binfmt_misc-register
ARG DOTNET_VERSION=6.0
FROM microsoft/dotnet:${DOTNET_VERSION}-sdk as builder
FROM node:lts-alpine as web-builder
ARG JELLYFIN_WEB_VERSION=master
RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python3 \
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
&& cd jellyfin-web-* \
&& npm ci --no-audit --unsafe-perm \
&& mv dist /dist
FROM debian:stable-slim as app
# https://askubuntu.com/questions/972516/debian-frontend-environment-variable
ARG DEBIAN_FRONTEND="noninteractive"
# http://stackoverflow.com/questions/48162574/ddg#49462622
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
# https://github.com/NVIDIA/nvidia-docker/wiki/Installation-(Native-GPU-Support)
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
# https://github.com/intel/compute-runtime/releases
ARG GMMLIB_VERSION=21.2.1
ARG IGC_VERSION=1.0.8517
ARG NEO_VERSION=21.35.20826
ARG LEVEL_ZERO_VERSION=1.2.20826
# Install dependencies:
# mesa-va-drivers: needed for AMD VAAPI. Mesa >= 20.1 is required for HEVC transcoding.
# curl: healthcheck
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg wget apt-transport-https curl \
&& wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add - \
&& echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | tee /etc/apt/sources.list.d/jellyfin.list \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
mesa-va-drivers \
jellyfin-ffmpeg \
openssl \
locales \
# Intel VAAPI Tone mapping dependencies:
# Prefer NEO to Beignet since the latter one doesn't support Comet Lake or newer for now.
# Do not use the intel-opencl-icd package from repo since they will not build with RELEASE_WITH_REGKEYS enabled.
&& mkdir intel-compute-runtime \
&& cd intel-compute-runtime \
&& wget https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/intel-gmmlib_${GMMLIB_VERSION}_amd64.deb \
&& wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-core_${IGC_VERSION}_amd64.deb \
&& wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-opencl_${IGC_VERSION}_amd64.deb \
&& wget https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/intel-opencl_${NEO_VERSION}_amd64.deb \
&& wget https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/intel-ocloc_${NEO_VERSION}_amd64.deb \
&& wget https://github.com/intel/compute-runtime/releases/download/${NEO_VERSION}/intel-level-zero-gpu_${LEVEL_ZERO_VERSION}_amd64.deb \
&& dpkg -i *.deb \
&& cd .. \
&& rm -rf intel-compute-runtime \
&& apt-get remove gnupg wget apt-transport-https -y \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /cache /config /media \
&& chmod 777 /cache /config /media \
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
# ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} as builder
WORKDIR /repo
COPY . .
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN dotnet publish \
--configuration release \
--output /jellyfin \
Jellyfin.Server
# because of changes in docker and systemd we need to not build in parallel at the moment
# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting
RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="/jellyfin" --self-contained --runtime linux-x64 "-p:DebugSymbols=false;DebugType=none"
FROM app
ENV HEALTHCHECK_URL=http://localhost:8096/health
FROM jrottenberg/ffmpeg:4.0-vaapi as ffmpeg
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime
# libfontconfig1 is required for Skia
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
libfontconfig1 \
&& apt-get clean autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/{apt,dpkg,cache,log}
COPY --from=ffmpeg / /
COPY --from=builder /jellyfin /jellyfin
COPY --from=web-builder /dist /jellyfin/jellyfin-web
EXPOSE 8096
VOLUME /config /media
ENTRYPOINT dotnet /jellyfin/jellyfin.dll --datadir /config
VOLUME /cache /config /media
ENTRYPOINT ["./jellyfin/jellyfin", \
"--datadir", "/config", \
"--cachedir", "/cache", \
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1

View File

@@ -1,34 +1,84 @@
# DESIGNED FOR BUILDING ON ARM ONLY
#####################################
# Requires binfm_misc registration
# https://github.com/multiarch/qemu-user-static#binfmt_misc-register
ARG DOTNET_VERSION=3.0
ARG DOTNET_VERSION=6.0
FROM node:lts-alpine as web-builder
ARG JELLYFIN_WEB_VERSION=master
RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python3 \
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
&& cd jellyfin-web-* \
&& npm ci --no-audit --unsafe-perm \
&& mv dist /dist
FROM multiarch/qemu-user-static:x86_64-arm as qemu
FROM alpine as qemu_extract
COPY --from=qemu /usr/bin qemu-arm-static.tar.gz
RUN tar -xzvf qemu-arm-static.tar.gz
FROM arm32v7/debian:stable-slim as app
FROM microsoft/dotnet:${DOTNET_VERSION}-sdk-stretch as builder
# https://askubuntu.com/questions/972516/debian-frontend-environment-variable
ARG DEBIAN_FRONTEND="noninteractive"
# http://stackoverflow.com/questions/48162574/ddg#49462622
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
# https://github.com/NVIDIA/nvidia-docker/wiki/Installation-(Native-GPU-Support)
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin
# curl: setup & healthcheck
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl && \
curl -ks https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add - && \
curl -ks https://keyserver.ubuntu.com/pks/lookup?op=get\&search=0x6587ffd6536b8826e88a62547876ae518cbcf2f2 | apt-key add - && \
echo 'deb [arch=armhf] https://repo.jellyfin.org/debian buster main' > /etc/apt/sources.list.d/jellyfin.list && \
echo "deb http://ppa.launchpad.net/ubuntu-raspi2/ppa/ubuntu bionic main">> /etc/apt/sources.list.d/raspbins.list && \
apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y \
jellyfin-ffmpeg \
libssl-dev \
libfontconfig1 \
libfreetype6 \
libomxil-bellagio0 \
libomxil-bellagio-bin \
libraspberrypi0 \
vainfo \
libva2 \
locales \
&& apt-get remove gnupg -y \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /cache /config /media \
&& chmod 777 /cache /config /media \
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
# ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} as builder
WORKDIR /repo
COPY . .
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
# TODO Remove or update the sed line when we update dotnet version.
RUN find . -type f -exec sed -i 's/netcoreapp2.1/netcoreapp3.0/g' {} \;
# Discard objs - may cause failures if exists
RUN find . -type d -name obj | xargs -r rm -r
# Build
RUN dotnet publish \
-r linux-arm \
--configuration release \
--output /jellyfin \
Jellyfin.Server
RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm "-p:DebugSymbols=false;DebugType=none"
FROM app
ENV HEALTHCHECK_URL=http://localhost:8096/health
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime-stretch-slim-arm32v7
COPY --from=qemu_extract qemu-arm-static /usr/bin
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y ffmpeg
COPY --from=builder /jellyfin /jellyfin
COPY --from=web-builder /dist /jellyfin/jellyfin-web
EXPOSE 8096
VOLUME /config /media
ENTRYPOINT dotnet /jellyfin/jellyfin.dll --datadir /config
VOLUME /cache /config /media
ENTRYPOINT ["./jellyfin/jellyfin", \
"--datadir", "/config", \
"--cachedir", "/cache", \
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1

View File

@@ -1,35 +1,75 @@
# DESIGNED FOR BUILDING ON ARM64 ONLY
#####################################
# Requires binfm_misc registration
# https://github.com/multiarch/qemu-user-static#binfmt_misc-register
ARG DOTNET_VERSION=3.0
ARG DOTNET_VERSION=6.0
FROM node:lts-alpine as web-builder
ARG JELLYFIN_WEB_VERSION=master
RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python3 \
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
&& cd jellyfin-web-* \
&& npm ci --no-audit --unsafe-perm \
&& mv dist /dist
FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
FROM alpine as qemu_extract
COPY --from=qemu /usr/bin qemu-aarch64-static.tar.gz
RUN tar -xzvf qemu-aarch64-static.tar.gz
FROM arm64v8/debian:stable-slim as app
# https://askubuntu.com/questions/972516/debian-frontend-environment-variable
ARG DEBIAN_FRONTEND="noninteractive"
# http://stackoverflow.com/questions/48162574/ddg#49462622
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
# https://github.com/NVIDIA/nvidia-docker/wiki/Installation-(Native-GPU-Support)
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
FROM microsoft/dotnet:${DOTNET_VERSION}-sdk-stretch as builder
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin
# curl: healcheck
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
ffmpeg \
libssl-dev \
ca-certificates \
libfontconfig1 \
libfreetype6 \
libomxil-bellagio0 \
libomxil-bellagio-bin \
locales \
curl \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /cache /config /media \
&& chmod 777 /cache /config /media \
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
# ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} as builder
WORKDIR /repo
COPY . .
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
# TODO Remove or update the sed line when we update dotnet version.
RUN find . -type f -exec sed -i 's/netcoreapp2.1/netcoreapp3.0/g' {} \;
# Discard objs - may cause failures if exists
RUN find . -type d -name obj | xargs -r rm -r
# Build
RUN dotnet publish \
-r linux-arm64 \
--configuration release \
--output /jellyfin \
Jellyfin.Server
RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm64 "-p:DebugSymbols=false;DebugType=none"
FROM app
ENV HEALTHCHECK_URL=http://localhost:8096/health
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime-stretch-slim-arm64v8
COPY --from=qemu_extract qemu-aarch64-static /usr/bin
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y ffmpeg
COPY --from=builder /jellyfin /jellyfin
COPY --from=web-builder /dist /jellyfin/jellyfin-web
EXPOSE 8096
VOLUME /config /media
ENTRYPOINT dotnet /jellyfin/jellyfin.dll --datadir /config
VOLUME /cache /config /media
ENTRYPOINT ["./jellyfin/jellyfin", \
"--datadir", "/config", \
"--cachedir", "/cache", \
"--ffmpeg", "/usr/bin/ffmpeg"]
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
CMD curl -Lk "${HEALTHCHECK_URL}" || exit 1

View File

@@ -1,4 +1,6 @@
using System;
#pragma warning disable CS1591
using System.Buffers.Binary;
using System.IO;
namespace DvdLib
@@ -12,19 +14,12 @@ namespace DvdLib
public override ushort ReadUInt16()
{
return BitConverter.ToUInt16(ReadAndReverseBytes(2), 0);
return BinaryPrimitives.ReadUInt16BigEndian(base.ReadBytes(2));
}
public override uint ReadUInt32()
{
return BitConverter.ToUInt32(ReadAndReverseBytes(4), 0);
}
private byte[] ReadAndReverseBytes(int count)
{
byte[] val = base.ReadBytes(count);
Array.Reverse(val, 0, count);
return val;
return BinaryPrimitives.ReadUInt32BigEndian(base.ReadBytes(4));
}
}
}

View File

@@ -1,16 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
<PropertyGroup>
<ProjectGuid>{713F42B5-878E-499D-A878-E4C652B1D5E8}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SharedVersion.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
</ItemGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AnalysisMode>AllDisabledByDefault</AnalysisMode>
<Nullable>disable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -1,36 +0,0 @@
namespace DvdLib.Ifo
{
public enum AudioCodec
{
AC3 = 0,
MPEG1 = 2,
MPEG2ext = 3,
LPCM = 4,
DTS = 6,
}
public enum ApplicationMode
{
Unspecified = 0,
Karaoke = 1,
Surround = 2,
}
public class AudioAttributes
{
public readonly AudioCodec Codec;
public readonly bool MultichannelExtensionPresent;
public readonly ApplicationMode Mode;
public readonly byte QuantDRC;
public readonly byte SampleRate;
public readonly byte Channels;
public readonly ushort LanguageCode;
public readonly byte LanguageExtension;
public readonly byte CodeExtension;
}
public class MultiChannelExtension
{
}
}

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System.IO;
namespace DvdLib.Ifo
@@ -5,6 +7,7 @@ namespace DvdLib.Ifo
public class Cell
{
public CellPlaybackInfo PlaybackInfo { get; private set; }
public CellPositionInfo PositionInfo { get; private set; }
internal void ParsePlayback(BinaryReader br)

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System.IO;
namespace DvdLib.Ifo

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System.IO;
namespace DvdLib.Ifo

View File

@@ -1,9 +1,13 @@
#pragma warning disable CS1591
namespace DvdLib.Ifo
{
public class Chapter
{
public ushort ProgramChainNumber { get; private set; }
public ushort ProgramNumber { get; private set; }
public uint ChapterNumber { get; private set; }
public Chapter(ushort pgcNum, ushort programNum, uint chapterNum)

View File

@@ -1,8 +1,10 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using MediaBrowser.Model.IO;
namespace DvdLib.Ifo
{
@@ -13,36 +15,33 @@ namespace DvdLib.Ifo
private ushort _titleCount;
public readonly Dictionary<ushort, string> VTSPaths = new Dictionary<ushort, string>();
private readonly IFileSystem _fileSystem;
public Dvd(string path, IFileSystem fileSystem)
public Dvd(string path)
{
_fileSystem = fileSystem;
Titles = new List<Title>();
var allFiles = _fileSystem.GetFiles(path, true).ToList();
var allFiles = new DirectoryInfo(path).GetFiles(path, SearchOption.AllDirectories);
var vmgPath = allFiles.FirstOrDefault(i => string.Equals(i.Name, "VIDEO_TS.IFO", StringComparison.OrdinalIgnoreCase)) ??
allFiles.FirstOrDefault(i => string.Equals(i.Name, "VIDEO_TS.BUP", StringComparison.OrdinalIgnoreCase));
if (vmgPath == null)
{
var allIfos = allFiles.Where(i => string.Equals(i.Extension, ".ifo", StringComparison.OrdinalIgnoreCase));
foreach (var ifo in allIfos)
foreach (var ifo in allFiles)
{
var num = ifo.Name.Split('_').ElementAtOrDefault(1);
var numbersRead = new List<ushort>();
if (!string.Equals(ifo.Extension, ".ifo", StringComparison.OrdinalIgnoreCase))
{
continue;
}
if (!string.IsNullOrEmpty(num) && ushort.TryParse(num, out var ifoNumber) && !numbersRead.Contains(ifoNumber))
var nums = ifo.Name.Split('_', StringSplitOptions.RemoveEmptyEntries);
if (nums.Length >= 2 && ushort.TryParse(nums[1], out var ifoNumber))
{
ReadVTS(ifoNumber, ifo.FullName);
numbersRead.Add(ifoNumber);
}
}
}
else
{
using (var vmgFs = _fileSystem.GetFileStream(vmgPath.FullName, FileOpenMode.Open, FileAccessMode.Read, FileShareMode.Read))
using (var vmgFs = new FileStream(vmgPath.FullName, FileMode.Open, FileAccess.Read, FileShare.Read))
{
using (var vmgRead = new BigEndianBinaryReader(vmgFs))
{
@@ -76,9 +75,9 @@ namespace DvdLib.Ifo
}
}
private void ReadVTS(ushort vtsNum, List<FileSystemMetadata> allFiles)
private void ReadVTS(ushort vtsNum, IReadOnlyList<FileInfo> allFiles)
{
var filename = string.Format("VTS_{0:00}_0.IFO", vtsNum);
var filename = string.Format(CultureInfo.InvariantCulture, "VTS_{0:00}_0.IFO", vtsNum);
var vtsPath = allFiles.FirstOrDefault(i => string.Equals(i.Name, filename, StringComparison.OrdinalIgnoreCase)) ??
allFiles.FirstOrDefault(i => string.Equals(i.Name, Path.ChangeExtension(filename, ".bup"), StringComparison.OrdinalIgnoreCase));
@@ -95,7 +94,7 @@ namespace DvdLib.Ifo
{
VTSPaths[vtsNum] = vtsPath;
using (var vtsFs = _fileSystem.GetFileStream(vtsPath, FileOpenMode.Open, FileAccessMode.Read, FileShareMode.Read))
using (var vtsFs = new FileStream(vtsPath, FileMode.Open, FileAccess.Read, FileShare.Read))
{
using (var vtsRead = new BigEndianBinaryReader(vtsFs))
{
@@ -119,12 +118,19 @@ namespace DvdLib.Ifo
uint chapNum = 1;
vtsFs.Seek(baseAddr + offsets[titleNum], SeekOrigin.Begin);
var t = Titles.FirstOrDefault(vtst => vtst.IsVTSTitle(vtsNum, titleNum + 1));
if (t == null) continue;
if (t == null)
{
continue;
}
do
{
t.Chapters.Add(new Chapter(vtsRead.ReadUInt16(), vtsRead.ReadUInt16(), chapNum));
if (titleNum + 1 < numTitles && vtsFs.Position == (baseAddr + offsets[titleNum + 1])) break;
if (titleNum + 1 < numTitles && vtsFs.Position == (baseAddr + offsets[titleNum + 1]))
{
break;
}
chapNum++;
}
while (vtsFs.Position < (baseAddr + endaddr));
@@ -149,7 +155,10 @@ namespace DvdLib.Ifo
uint vtsPgcOffset = vtsRead.ReadUInt32();
var t = Titles.FirstOrDefault(vtst => vtst.IsVTSTitle(vtsNum, titleNum));
if (t != null) t.AddPgc(vtsRead, startByte + vtsPgcOffset, entryPgc, pgcNum);
if (t != null)
{
t.AddPgc(vtsRead, startByte + vtsPgcOffset, entryPgc, pgcNum);
}
}
}
}

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System;
namespace DvdLib.Ifo
@@ -13,8 +15,14 @@ namespace DvdLib.Ifo
Second = GetBCDValue(data[2]);
Frames = GetBCDValue((byte)(data[3] & 0x3F));
if ((data[3] & 0x80) != 0) FrameRate = 30;
else if ((data[3] & 0x40) != 0) FrameRate = 25;
if ((data[3] & 0x80) != 0)
{
FrameRate = 30;
}
else if ((data[3] & 0x40) != 0)
{
FrameRate = 25;
}
}
private static byte GetBCDValue(byte data)

View File

@@ -1,17 +0,0 @@
using System.Collections.Generic;
namespace DvdLib.Ifo
{
public class ProgramChainCommandTable
{
public readonly ushort LastByteAddress;
public readonly List<VirtualMachineCommand> PreCommands;
public readonly List<VirtualMachineCommand> PostCommands;
public readonly List<VirtualMachineCommand> CellCommands;
}
public class VirtualMachineCommand
{
public readonly byte[] Command;
}
}

View File

@@ -1,10 +1,12 @@
#pragma warning disable CS1591
using System.Collections.Generic;
namespace DvdLib.Ifo
{
public class Program
{
public readonly List<Cell> Cells;
public IReadOnlyList<Cell> Cells { get; }
public Program(List<Cell> cells)
{

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -20,27 +22,27 @@ namespace DvdLib.Ifo
public readonly List<Cell> Cells;
public DvdTime PlaybackTime { get; private set; }
public UserOperation ProhibitedUserOperations { get; private set; }
public byte[] AudioStreamControl { get; private set; } // 8*2 entries
public byte[] SubpictureStreamControl { get; private set; } // 32*4 entries
private ushort _nextProgramNumber;
public readonly ProgramChain Next;
private ushort _prevProgramNumber;
public readonly ProgramChain Previous;
private ushort _goupProgramNumber;
public readonly ProgramChain Goup; // ?? maybe Group
public ProgramPlaybackMode PlaybackMode { get; private set; }
public uint ProgramCount { get; private set; }
public byte StillTime { get; private set; }
public byte[] Palette { get; private set; } // 16*4 entries
private ushort _commandTableOffset;
public readonly ProgramChainCommandTable CommandTable;
private ushort _programMapOffset;
private ushort _cellPlaybackOffset;
@@ -73,8 +75,15 @@ namespace DvdLib.Ifo
StillTime = br.ReadByte();
byte pbMode = br.ReadByte();
if (pbMode == 0) PlaybackMode = ProgramPlaybackMode.Sequential;
else PlaybackMode = ((pbMode & 0x80) == 0) ? ProgramPlaybackMode.Random : ProgramPlaybackMode.Shuffle;
if (pbMode == 0)
{
PlaybackMode = ProgramPlaybackMode.Sequential;
}
else
{
PlaybackMode = ((pbMode & 0x80) == 0) ? ProgramPlaybackMode.Random : ProgramPlaybackMode.Shuffle;
}
ProgramCount = (uint)(pbMode & 0x7F);
Palette = br.ReadBytes(64);

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System.Collections.Generic;
using System.IO;
@@ -6,8 +8,11 @@ namespace DvdLib.Ifo
public class Title
{
public uint TitleNumber { get; private set; }
public uint AngleCount { get; private set; }
public ushort ChapterCount { get; private set; }
public byte VideoTitleSetNumber { get; private set; }
private ushort _parentalManagementMask;
@@ -15,6 +20,7 @@ namespace DvdLib.Ifo
private uint _vtsStartSector; // relative to start of entire disk
public ProgramChain EntryProgramChain { get; private set; }
public readonly List<ProgramChain> ProgramChains;
public readonly List<Chapter> Chapters;
@@ -53,7 +59,10 @@ namespace DvdLib.Ifo
var pgc = new ProgramChain(pgcNum);
pgc.ParseHeader(br);
ProgramChains.Add(pgc);
if (entryPgc) EntryProgramChain = pgc;
if (entryPgc)
{
EntryProgramChain = pgc;
}
br.BaseStream.Seek(curPos, SeekOrigin.Begin);
}

View File

@@ -1,3 +1,5 @@
#pragma warning disable CS1591
using System;
namespace DvdLib.Ifo

View File

@@ -1,46 +0,0 @@
namespace DvdLib.Ifo
{
public enum VideoCodec
{
MPEG1 = 0,
MPEG2 = 1,
}
public enum VideoFormat
{
NTSC = 0,
PAL = 1,
}
public enum AspectRatio
{
ar4to3 = 0,
ar16to9 = 3
}
public enum FilmMode
{
None = -1,
Camera = 0,
Film = 1,
}
public class VideoAttributes
{
public readonly VideoCodec Codec;
public readonly VideoFormat Format;
public readonly AspectRatio Aspect;
public readonly bool AutomaticPanScan;
public readonly bool AutomaticLetterBox;
public readonly bool Line21CCField1;
public readonly bool Line21CCField2;
public readonly int Width;
public readonly int Height;
public readonly bool Letterboxed;
public readonly FilmMode FilmMode;
public VideoAttributes()
{
}
}
}

View File

@@ -9,8 +9,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Jellyfin Project")]
[assembly: AssemblyProduct("Jellyfin: The Free Software Media System")]
[assembly: AssemblyCopyright("Copyright © 2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
[assembly: AssemblyProduct("Jellyfin Server")]
[assembly: AssemblyCopyright("Copyright © 2019 Jellyfin Contributors. Code released under the GNU General Public License")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]

View File

@@ -1,306 +0,0 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Emby.Dlna.Main;
using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller.Dlna;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.Services;
namespace Emby.Dlna.Api
{
[Route("/Dlna/{UuId}/description.xml", "GET", Summary = "Gets dlna server info")]
[Route("/Dlna/{UuId}/description", "GET", Summary = "Gets dlna server info")]
public class GetDescriptionXml
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/contentdirectory/contentdirectory.xml", "GET", Summary = "Gets dlna content directory xml")]
[Route("/Dlna/{UuId}/contentdirectory/contentdirectory", "GET", Summary = "Gets dlna content directory xml")]
public class GetContentDirectory
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/connectionmanager/connectionmanager.xml", "GET", Summary = "Gets dlna connection manager xml")]
[Route("/Dlna/{UuId}/connectionmanager/connectionmanager", "GET", Summary = "Gets dlna connection manager xml")]
public class GetConnnectionManager
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/mediareceiverregistrar/mediareceiverregistrar.xml", "GET", Summary = "Gets dlna mediareceiverregistrar xml")]
[Route("/Dlna/{UuId}/mediareceiverregistrar/mediareceiverregistrar", "GET", Summary = "Gets dlna mediareceiverregistrar xml")]
public class GetMediaReceiverRegistrar
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/contentdirectory/control", "POST", Summary = "Processes a control request")]
public class ProcessContentDirectoryControlRequest : IRequiresRequestStream
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
public Stream RequestStream { get; set; }
}
[Route("/Dlna/{UuId}/connectionmanager/control", "POST", Summary = "Processes a control request")]
public class ProcessConnectionManagerControlRequest : IRequiresRequestStream
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
public Stream RequestStream { get; set; }
}
[Route("/Dlna/{UuId}/mediareceiverregistrar/control", "POST", Summary = "Processes a control request")]
public class ProcessMediaReceiverRegistrarControlRequest : IRequiresRequestStream
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "GET")]
public string UuId { get; set; }
public Stream RequestStream { get; set; }
}
[Route("/Dlna/{UuId}/mediareceiverregistrar/events", "SUBSCRIBE", Summary = "Processes an event subscription request")]
[Route("/Dlna/{UuId}/mediareceiverregistrar/events", "UNSUBSCRIBE", Summary = "Processes an event subscription request")]
public class ProcessMediaReceiverRegistrarEventRequest
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "SUBSCRIBE,UNSUBSCRIBE")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/contentdirectory/events", "SUBSCRIBE", Summary = "Processes an event subscription request")]
[Route("/Dlna/{UuId}/contentdirectory/events", "UNSUBSCRIBE", Summary = "Processes an event subscription request")]
public class ProcessContentDirectoryEventRequest
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "SUBSCRIBE,UNSUBSCRIBE")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/connectionmanager/events", "SUBSCRIBE", Summary = "Processes an event subscription request")]
[Route("/Dlna/{UuId}/connectionmanager/events", "UNSUBSCRIBE", Summary = "Processes an event subscription request")]
public class ProcessConnectionManagerEventRequest
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "SUBSCRIBE,UNSUBSCRIBE")]
public string UuId { get; set; }
}
[Route("/Dlna/{UuId}/icons/{Filename}", "GET", Summary = "Gets a server icon")]
[Route("/Dlna/icons/{Filename}", "GET", Summary = "Gets a server icon")]
public class GetIcon
{
[ApiMember(Name = "UuId", Description = "Server UuId", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
public string UuId { get; set; }
[ApiMember(Name = "Filename", Description = "The icon filename", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
public string Filename { get; set; }
}
public class DlnaServerService : IService, IRequiresRequest
{
private readonly IDlnaManager _dlnaManager;
private const string XMLContentType = "text/xml; charset=UTF-8";
public IRequest Request { get; set; }
private IHttpResultFactory _resultFactory;
private IContentDirectory ContentDirectory => DlnaEntryPoint.Current.ContentDirectory;
private IConnectionManager ConnectionManager => DlnaEntryPoint.Current.ConnectionManager;
private IMediaReceiverRegistrar MediaReceiverRegistrar => DlnaEntryPoint.Current.MediaReceiverRegistrar;
public DlnaServerService(IDlnaManager dlnaManager, IHttpResultFactory httpResultFactory)
{
_dlnaManager = dlnaManager;
_resultFactory = httpResultFactory;
}
private string GetHeader(string name)
{
return Request.Headers[name];
}
public object Get(GetDescriptionXml request)
{
var url = Request.AbsoluteUri;
var serverAddress = url.Substring(0, url.IndexOf("/dlna/", StringComparison.OrdinalIgnoreCase));
var xml = _dlnaManager.GetServerDescriptionXml(Request.Headers.ToDictionary(), request.UuId, serverAddress);
var cacheLength = TimeSpan.FromDays(1);
var cacheKey = Request.RawUrl.GetMD5();
var bytes = Encoding.UTF8.GetBytes(xml);
return _resultFactory.GetStaticResult(Request, cacheKey, null, cacheLength, XMLContentType, () => Task.FromResult<Stream>(new MemoryStream(bytes)));
}
public object Get(GetContentDirectory request)
{
var xml = ContentDirectory.GetServiceXml(Request.Headers.ToDictionary());
return _resultFactory.GetResult(Request, xml, XMLContentType);
}
public object Get(GetMediaReceiverRegistrar request)
{
var xml = MediaReceiverRegistrar.GetServiceXml(Request.Headers.ToDictionary());
return _resultFactory.GetResult(Request, xml, XMLContentType);
}
public object Get(GetConnnectionManager request)
{
var xml = ConnectionManager.GetServiceXml(Request.Headers.ToDictionary());
return _resultFactory.GetResult(Request, xml, XMLContentType);
}
public object Post(ProcessMediaReceiverRegistrarControlRequest request)
{
var response = PostAsync(request.RequestStream, MediaReceiverRegistrar);
return _resultFactory.GetResult(Request, response.Xml, XMLContentType);
}
public object Post(ProcessContentDirectoryControlRequest request)
{
var response = PostAsync(request.RequestStream, ContentDirectory);
return _resultFactory.GetResult(Request, response.Xml, XMLContentType);
}
public object Post(ProcessConnectionManagerControlRequest request)
{
var response = PostAsync(request.RequestStream, ConnectionManager);
return _resultFactory.GetResult(Request, response.Xml, XMLContentType);
}
private ControlResponse PostAsync(Stream requestStream, IUpnpService service)
{
var id = GetPathValue(2);
return service.ProcessControlRequest(new ControlRequest
{
Headers = Request.Headers.ToDictionary(),
InputXml = requestStream,
TargetServerUuId = id,
RequestedUrl = Request.AbsoluteUri
});
}
protected string GetPathValue(int index)
{
var pathInfo = Parse(Request.PathInfo);
var first = pathInfo[0];
// backwards compatibility
// TODO: Work out what this is doing.
if (string.Equals(first, "mediabrowser", StringComparison.OrdinalIgnoreCase) ||
string.Equals(first, "emby", StringComparison.OrdinalIgnoreCase) ||
string.Equals(first, "jellyfin", StringComparison.OrdinalIgnoreCase))
{
index++;
}
return pathInfo[index];
}
private List<string> Parse(string pathUri)
{
var actionParts = pathUri.Split(new[] { "://" }, StringSplitOptions.None);
var pathInfo = actionParts[actionParts.Length - 1];
var optionsPos = pathInfo.LastIndexOf('?');
if (optionsPos != -1)
{
pathInfo = pathInfo.Substring(0, optionsPos);
}
var args = pathInfo.Split('/');
return args.Skip(1).ToList();
}
public object Get(GetIcon request)
{
var contentType = "image/" + Path.GetExtension(request.Filename)
.TrimStart('.')
.ToLowerInvariant();
var cacheLength = TimeSpan.FromDays(365);
var cacheKey = Request.RawUrl.GetMD5();
return _resultFactory.GetStaticResult(Request, cacheKey, null, cacheLength, contentType, () => Task.FromResult(_dlnaManager.GetIcon(request.Filename).Stream));
}
public object Subscribe(ProcessContentDirectoryEventRequest request)
{
return ProcessEventRequest(ContentDirectory);
}
public object Subscribe(ProcessConnectionManagerEventRequest request)
{
return ProcessEventRequest(ConnectionManager);
}
public object Subscribe(ProcessMediaReceiverRegistrarEventRequest request)
{
return ProcessEventRequest(MediaReceiverRegistrar);
}
public object Unsubscribe(ProcessContentDirectoryEventRequest request)
{
return ProcessEventRequest(ContentDirectory);
}
public object Unsubscribe(ProcessConnectionManagerEventRequest request)
{
return ProcessEventRequest(ConnectionManager);
}
public object Unsubscribe(ProcessMediaReceiverRegistrarEventRequest request)
{
return ProcessEventRequest(MediaReceiverRegistrar);
}
private object ProcessEventRequest(IEventManager eventManager)
{
var subscriptionId = GetHeader("SID");
if (string.Equals(Request.Verb, "SUBSCRIBE", StringComparison.OrdinalIgnoreCase))
{
var notificationType = GetHeader("NT");
var callback = GetHeader("CALLBACK");
var timeoutString = GetHeader("TIMEOUT");
if (string.IsNullOrEmpty(notificationType))
{
return GetSubscriptionResponse(eventManager.RenewEventSubscription(subscriptionId, notificationType, timeoutString, callback));
}
return GetSubscriptionResponse(eventManager.CreateEventSubscription(notificationType, timeoutString, callback));
}
return GetSubscriptionResponse(eventManager.CancelEventSubscription(subscriptionId));
}
private object GetSubscriptionResponse(EventSubscriptionResponse response)
{
return _resultFactory.GetResult(Request, response.Content, response.ContentType, response.Headers);
}
}
}

View File

@@ -1,83 +0,0 @@
using System.Linq;
using MediaBrowser.Controller.Dlna;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Services;
namespace Emby.Dlna.Api
{
[Route("/Dlna/ProfileInfos", "GET", Summary = "Gets a list of profiles")]
public class GetProfileInfos : IReturn<DeviceProfileInfo[]>
{
}
[Route("/Dlna/Profiles/{Id}", "DELETE", Summary = "Deletes a profile")]
public class DeleteProfile : IReturnVoid
{
[ApiMember(Name = "Id", Description = "Profile Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "DELETE")]
public string Id { get; set; }
}
[Route("/Dlna/Profiles/Default", "GET", Summary = "Gets the default profile")]
public class GetDefaultProfile : IReturn<DeviceProfile>
{
}
[Route("/Dlna/Profiles/{Id}", "GET", Summary = "Gets a single profile")]
public class GetProfile : IReturn<DeviceProfile>
{
[ApiMember(Name = "Id", Description = "Profile Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
public string Id { get; set; }
}
[Route("/Dlna/Profiles/{Id}", "POST", Summary = "Updates a profile")]
public class UpdateProfile : DeviceProfile, IReturnVoid
{
}
[Route("/Dlna/Profiles", "POST", Summary = "Creates a profile")]
public class CreateProfile : DeviceProfile, IReturnVoid
{
}
[Authenticated(Roles = "Admin")]
public class DlnaService : IService
{
private readonly IDlnaManager _dlnaManager;
public DlnaService(IDlnaManager dlnaManager)
{
_dlnaManager = dlnaManager;
}
public object Get(GetProfileInfos request)
{
return _dlnaManager.GetProfileInfos().ToArray();
}
public object Get(GetProfile request)
{
return _dlnaManager.GetProfile(request.Id);
}
public object Get(GetDefaultProfile request)
{
return _dlnaManager.GetDefaultProfile();
}
public void Delete(DeleteProfile request)
{
_dlnaManager.DeleteProfile(request.Id);
}
public void Post(UpdateProfile request)
{
_dlnaManager.UpdateProfile(request);
}
public void Post(CreateProfile request)
{
_dlnaManager.CreateProfile(request);
}
}
}

View File

@@ -1,12 +1,23 @@
namespace Emby.Dlna.Common
{
/// <summary>
/// DLNA Query parameter type, used when querying DLNA devices via SOAP.
/// </summary>
public class Argument
{
public string Name { get; set; }
/// <summary>
/// Gets or sets name of the DLNA argument.
/// </summary>
public string Name { get; set; } = string.Empty;
public string Direction { get; set; }
/// <summary>
/// Gets or sets the direction of the parameter.
/// </summary>
public string Direction { get; set; } = string.Empty;
public string RelatedStateVariable { get; set; }
/// <summary>
/// Gets or sets the related DLNA state variable for this argument.
/// </summary>
public string RelatedStateVariable { get; set; } = string.Empty;
}
}

View File

@@ -1,21 +1,41 @@
using System.Globalization;
namespace Emby.Dlna.Common
{
/// <summary>
/// Defines the <see cref="DeviceIcon" />.
/// </summary>
public class DeviceIcon
{
public string Url { get; set; }
/// <summary>
/// Gets or sets the Url.
/// </summary>
public string Url { get; set; } = string.Empty;
public string MimeType { get; set; }
/// <summary>
/// Gets or sets the MimeType.
/// </summary>
public string MimeType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the Width.
/// </summary>
public int Width { get; set; }
/// <summary>
/// Gets or sets the Height.
/// </summary>
public int Height { get; set; }
public string Depth { get; set; }
/// <summary>
/// Gets or sets the Depth.
/// </summary>
public string Depth { get; set; } = string.Empty;
/// <inheritdoc />
public override string ToString()
{
return string.Format("{0}x{1}", Height, Width);
return string.Format(CultureInfo.InvariantCulture, "{0}x{1}", Height, Width);
}
}
}

View File

@@ -1,21 +1,36 @@
namespace Emby.Dlna.Common
{
/// <summary>
/// Defines the <see cref="DeviceService" />.
/// </summary>
public class DeviceService
{
public string ServiceType { get; set; }
/// <summary>
/// Gets or sets the Service Type.
/// </summary>
public string ServiceType { get; set; } = string.Empty;
public string ServiceId { get; set; }
/// <summary>
/// Gets or sets the Service Id.
/// </summary>
public string ServiceId { get; set; } = string.Empty;
public string ScpdUrl { get; set; }
/// <summary>
/// Gets or sets the Scpd Url.
/// </summary>
public string ScpdUrl { get; set; } = string.Empty;
public string ControlUrl { get; set; }
/// <summary>
/// Gets or sets the Control Url.
/// </summary>
public string ControlUrl { get; set; } = string.Empty;
public string EventSubUrl { get; set; }
/// <summary>
/// Gets or sets the EventSubUrl.
/// </summary>
public string EventSubUrl { get; set; } = string.Empty;
public override string ToString()
{
return string.Format("{0}", ServiceId);
}
/// <inheritdoc />
public override string ToString() => ServiceId;
}
}

View File

@@ -2,20 +2,30 @@ using System.Collections.Generic;
namespace Emby.Dlna.Common
{
/// <summary>
/// Defines the <see cref="ServiceAction" />.
/// </summary>
public class ServiceAction
{
public string Name { get; set; }
public List<Argument> ArgumentList { get; set; }
public override string ToString()
{
return Name;
}
/// <summary>
/// Initializes a new instance of the <see cref="ServiceAction"/> class.
/// </summary>
public ServiceAction()
{
ArgumentList = new List<Argument>();
}
/// <summary>
/// Gets or sets the name of the action.
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Gets the ArgumentList.
/// </summary>
public List<Argument> ArgumentList { get; }
/// <inheritdoc />
public override string ToString() => Name;
}
}

View File

@@ -1,25 +1,34 @@
using System;
using System.Collections.Generic;
namespace Emby.Dlna.Common
{
/// <summary>
/// Defines the <see cref="StateVariable" />.
/// </summary>
public class StateVariable
{
public string Name { get; set; }
/// <summary>
/// Gets or sets the name of the state variable.
/// </summary>
public string Name { get; set; } = string.Empty;
public string DataType { get; set; }
/// <summary>
/// Gets or sets the data type of the state variable.
/// </summary>
public string DataType { get; set; } = string.Empty;
/// <summary>
/// Gets or sets a value indicating whether it sends events.
/// </summary>
public bool SendsEvents { get; set; }
public string[] AllowedValues { get; set; }
/// <summary>
/// Gets or sets the allowed values range.
/// </summary>
public IReadOnlyList<string> AllowedValues { get; set; } = Array.Empty<string>();
public override string ToString()
{
return Name;
}
public StateVariable()
{
AllowedValues = Array.Empty<string>();
}
/// <inheritdoc />
public override string ToString() => Name;
}
}

View File

@@ -1,23 +1,92 @@
#pragma warning disable CS1591
namespace Emby.Dlna.Configuration
{
/// <summary>
/// The DlnaOptions class contains the user definable parameters for the dlna subsystems.
/// </summary>
public class DlnaOptions
{
public bool EnablePlayTo { get; set; }
public bool EnableServer { get; set; }
public bool EnableDebugLog { get; set; }
public bool BlastAliveMessages { get; set; }
public int ClientDiscoveryIntervalSeconds { get; set; }
public int BlastAliveMessageIntervalSeconds { get; set; }
public string DefaultUserId { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="DlnaOptions"/> class.
/// </summary>
public DlnaOptions()
{
EnablePlayTo = true;
EnableServer = true;
BlastAliveMessages = true;
SendOnlyMatchedHost = true;
ClientDiscoveryIntervalSeconds = 60;
BlastAliveMessageIntervalSeconds = 1800;
AliveMessageIntervalSeconds = 1800;
}
/// <summary>
/// Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna playTo subsystem.
/// </summary>
public bool EnablePlayTo { get; set; }
/// <summary>
/// Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna server subsystem.
/// </summary>
public bool EnableServer { get; set; }
/// <summary>
/// Gets or sets a value indicating whether detailed dlna server logs are sent to the console/log.
/// If the setting "Emby.Dlna": "Debug" msut be set in logging.default.json for this property to work.
/// </summary>
public bool EnableDebugLog { get; set; }
/// <summary>
/// Gets or sets a value indicating whether whether detailed playTo debug logs are sent to the console/log.
/// If the setting "Emby.Dlna.PlayTo": "Debug" msut be set in logging.default.json for this property to work.
/// </summary>
public bool EnablePlayToTracing { get; set; }
/// <summary>
/// Gets or sets the ssdp client discovery interval time (in seconds).
/// This is the time after which the server will send a ssdp search request.
/// </summary>
public int ClientDiscoveryIntervalSeconds { get; set; }
/// <summary>
/// Gets or sets the frequency at which ssdp alive notifications are transmitted.
/// </summary>
public int AliveMessageIntervalSeconds { get; set; }
/// <summary>
/// Gets or sets the frequency at which ssdp alive notifications are transmitted. MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED.
/// </summary>
public int BlastAliveMessageIntervalSeconds
{
get
{
return AliveMessageIntervalSeconds;
}
set
{
AliveMessageIntervalSeconds = value;
}
}
/// <summary>
/// Gets or sets the default user account that the dlna server uses.
/// </summary>
public string? DefaultUserId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether playTo device profiles should be created.
/// </summary>
public bool AutoCreatePlayToProfiles { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to blast alive messages.
/// </summary>
public bool BlastAliveMessages { get; set; } = true;
/// <summary>
/// gets or sets a value indicating whether to send only matched host.
/// </summary>
public bool SendOnlyMatchedHost { get; set; } = true;
}
}

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
#pragma warning disable CS1591
using Emby.Dlna.Configuration;
using MediaBrowser.Common.Configuration;
@@ -11,19 +12,4 @@ namespace Emby.Dlna
return manager.GetConfiguration<DlnaOptions>("dlna");
}
}
public class DlnaConfigurationFactory : IConfigurationFactory
{
public IEnumerable<ConfigurationStore> GetConfigurations()
{
return new ConfigurationStore[]
{
new ConfigurationStore
{
Key = "dlna",
ConfigurationType = typeof (DlnaOptions)
}
};
}
}
}

View File

@@ -1,40 +0,0 @@
using System.Collections.Generic;
using Emby.Dlna.Service;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Dlna;
using MediaBrowser.Model.Xml;
using Microsoft.Extensions.Logging;
namespace Emby.Dlna.ConnectionManager
{
public class ConnectionManager : BaseService, IConnectionManager
{
private readonly IDlnaManager _dlna;
private readonly ILogger _logger;
private readonly IServerConfigurationManager _config;
protected readonly IXmlReaderSettingsFactory XmlReaderSettingsFactory;
public ConnectionManager(IDlnaManager dlna, IServerConfigurationManager config, ILogger logger, IHttpClient httpClient, IXmlReaderSettingsFactory xmlReaderSettingsFactory)
: base(logger, httpClient)
{
_dlna = dlna;
_config = config;
_logger = logger;
XmlReaderSettingsFactory = xmlReaderSettingsFactory;
}
public string GetServiceXml(IDictionary<string, string> headers)
{
return new ConnectionManagerXmlBuilder().GetXml();
}
public ControlResponse ProcessControlRequest(ControlRequest request)
{
var profile = _dlna.GetProfile(request.Headers) ??
_dlna.GetDefaultProfile();
return new ControlHandler(_config, _logger, XmlReaderSettingsFactory, profile).ProcessControlRequest(request);
}
}
}

View File

@@ -0,0 +1,53 @@
#pragma warning disable CS1591
using System.Net.Http;
using System.Threading.Tasks;
using Emby.Dlna.Service;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Dlna;
using Microsoft.Extensions.Logging;
namespace Emby.Dlna.ConnectionManager
{
/// <summary>
/// Defines the <see cref="ConnectionManagerService" />.
/// </summary>
public class ConnectionManagerService : BaseService, IConnectionManager
{
private readonly IDlnaManager _dlna;
private readonly IServerConfigurationManager _config;
/// <summary>
/// Initializes a new instance of the <see cref="ConnectionManagerService"/> class.
/// </summary>
/// <param name="dlna">The <see cref="IDlnaManager"/> for use with the <see cref="ConnectionManagerService"/> instance.</param>
/// <param name="config">The <see cref="IServerConfigurationManager"/> for use with the <see cref="ConnectionManagerService"/> instance.</param>
/// <param name="logger">The <see cref="ILogger{ConnectionManagerService}"/> for use with the <see cref="ConnectionManagerService"/> instance..</param>
/// <param name="httpClientFactory">The <see cref="IHttpClientFactory"/> for use with the <see cref="ConnectionManagerService"/> instance..</param>
public ConnectionManagerService(
IDlnaManager dlna,
IServerConfigurationManager config,
ILogger<ConnectionManagerService> logger,
IHttpClientFactory httpClientFactory)
: base(logger, httpClientFactory)
{
_dlna = dlna;
_config = config;
}
/// <inheritdoc />
public string GetServiceXml()
{
return ConnectionManagerXmlBuilder.GetXml();
}
/// <inheritdoc />
public Task<ControlResponse> ProcessControlRequestAsync(ControlRequest request)
{
var profile = _dlna.GetProfile(request.Headers) ??
_dlna.GetDefaultProfile();
return new ControlHandler(_config, Logger, profile).ProcessControlRequestAsync(request);
}
}
}

View File

@@ -1,48 +1,62 @@
#pragma warning disable CS1591
using System.Collections.Generic;
using Emby.Dlna.Common;
using Emby.Dlna.Service;
namespace Emby.Dlna.ConnectionManager
{
public class ConnectionManagerXmlBuilder
/// <summary>
/// Defines the <see cref="ConnectionManagerXmlBuilder" />.
/// </summary>
public static class ConnectionManagerXmlBuilder
{
public string GetXml()
/// <summary>
/// Gets the ConnectionManager:1 service template.
/// See http://upnp.org/specs/av/UPnP-av-ConnectionManager-v1-Service.pdf.
/// </summary>
/// <returns>An XML description of this service.</returns>
public static string GetXml()
{
return new ServiceXmlBuilder().GetXml(new ServiceActionListBuilder().GetActions(), GetStateVariables());
return new ServiceXmlBuilder().GetXml(ServiceActionListBuilder.GetActions(), GetStateVariables());
}
/// <summary>
/// Get the list of state variables for this invocation.
/// </summary>
/// <returns>The <see cref="IEnumerable{StateVariable}"/>.</returns>
private static IEnumerable<StateVariable> GetStateVariables()
{
var list = new List<StateVariable>();
list.Add(new StateVariable
var list = new List<StateVariable>
{
Name = "SourceProtocolInfo",
DataType = "string",
SendsEvents = true
});
new StateVariable
{
Name = "SourceProtocolInfo",
DataType = "string",
SendsEvents = true
},
list.Add(new StateVariable
{
Name = "SinkProtocolInfo",
DataType = "string",
SendsEvents = true
});
new StateVariable
{
Name = "SinkProtocolInfo",
DataType = "string",
SendsEvents = true
},
list.Add(new StateVariable
{
Name = "CurrentConnectionIDs",
DataType = "string",
SendsEvents = true
});
new StateVariable
{
Name = "CurrentConnectionIDs",
DataType = "string",
SendsEvents = true
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_ConnectionStatus",
DataType = "string",
SendsEvents = false,
new StateVariable
{
Name = "A_ARG_TYPE_ConnectionStatus",
DataType = "string",
SendsEvents = false,
AllowedValues = new string[]
AllowedValues = new[]
{
"OK",
"ContentFormatMismatch",
@@ -50,55 +64,56 @@ namespace Emby.Dlna.ConnectionManager
"UnreliableChannel",
"Unknown"
}
});
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_ConnectionManager",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_ConnectionManager",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_Direction",
DataType = "string",
SendsEvents = false,
new StateVariable
{
Name = "A_ARG_TYPE_Direction",
DataType = "string",
SendsEvents = false,
AllowedValues = new string[]
AllowedValues = new[]
{
"Output",
"Input"
}
});
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_ProtocolInfo",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_ProtocolInfo",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_ConnectionID",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_ConnectionID",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_AVTransportID",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_AVTransportID",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_RcsID",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_RcsID",
DataType = "ui4",
SendsEvents = false
}
};
return list;
}

View File

@@ -1,40 +1,55 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.Xml;
using Emby.Dlna.Service;
using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Xml;
using Microsoft.Extensions.Logging;
namespace Emby.Dlna.ConnectionManager
{
/// <summary>
/// Defines the <see cref="ControlHandler" />.
/// </summary>
public class ControlHandler : BaseControlHandler
{
private readonly DeviceProfile _profile;
protected override IEnumerable<KeyValuePair<string, string>> GetResult(string methodName, IDictionary<string, string> methodParams)
/// <summary>
/// Initializes a new instance of the <see cref="ControlHandler"/> class.
/// </summary>
/// <param name="config">The <see cref="IServerConfigurationManager"/> for use with the <see cref="ControlHandler"/> instance.</param>
/// <param name="logger">The <see cref="ILogger"/> for use with the <see cref="ControlHandler"/> instance.</param>
/// <param name="profile">The <see cref="DeviceProfile"/> for use with the <see cref="ControlHandler"/> instance.</param>
public ControlHandler(IServerConfigurationManager config, ILogger logger, DeviceProfile profile)
: base(config, logger)
{
_profile = profile;
}
/// <inheritdoc />
protected override void WriteResult(string methodName, IReadOnlyDictionary<string, string> methodParams, XmlWriter xmlWriter)
{
if (string.Equals(methodName, "GetProtocolInfo", StringComparison.OrdinalIgnoreCase))
{
return HandleGetProtocolInfo();
HandleGetProtocolInfo(xmlWriter);
return;
}
throw new ResourceNotFoundException("Unexpected control request name: " + methodName);
}
private IEnumerable<KeyValuePair<string, string>> HandleGetProtocolInfo()
/// <summary>
/// Builds the response to the GetProtocolInfo request.
/// </summary>
/// <param name="xmlWriter">The <see cref="XmlWriter"/>.</param>
private void HandleGetProtocolInfo(XmlWriter xmlWriter)
{
return new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
{ "Source", _profile.ProtocolInfo },
{ "Sink", "" }
};
}
public ControlHandler(IServerConfigurationManager config, ILogger logger, IXmlReaderSettingsFactory xmlReaderSettingsFactory, DeviceProfile profile) : base(config, logger, xmlReaderSettingsFactory)
{
_profile = profile;
xmlWriter.WriteElementString("Source", _profile.ProtocolInfo);
xmlWriter.WriteElementString("Sink", string.Empty);
}
}
}

View File

@@ -1,11 +1,20 @@
#pragma warning disable CS1591
using System.Collections.Generic;
using Emby.Dlna.Common;
namespace Emby.Dlna.ConnectionManager
{
public class ServiceActionListBuilder
/// <summary>
/// Defines the <see cref="ServiceActionListBuilder" />.
/// </summary>
public static class ServiceActionListBuilder
{
public IEnumerable<ServiceAction> GetActions()
/// <summary>
/// Returns an enumerable of the ConnectionManagar:1 DLNA actions.
/// </summary>
/// <returns>An <see cref="IEnumerable{ServiceAction}"/>.</returns>
public static IEnumerable<ServiceAction> GetActions()
{
var list = new List<ServiceAction>
{
@@ -19,6 +28,10 @@ namespace Emby.Dlna.ConnectionManager
return list;
}
/// <summary>
/// Returns the action details for "PrepareForConnection".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction PrepareForConnection()
{
var action = new ServiceAction
@@ -78,6 +91,10 @@ namespace Emby.Dlna.ConnectionManager
return action;
}
/// <summary>
/// Returns the action details for "GetCurrentConnectionInfo".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetCurrentConnectionInfo()
{
var action = new ServiceAction
@@ -144,7 +161,11 @@ namespace Emby.Dlna.ConnectionManager
return action;
}
private ServiceAction GetProtocolInfo()
/// <summary>
/// Returns the action details for "GetProtocolInfo".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetProtocolInfo()
{
var action = new ServiceAction
{
@@ -168,7 +189,11 @@ namespace Emby.Dlna.ConnectionManager
return action;
}
private ServiceAction GetCurrentConnectionIDs()
/// <summary>
/// Returns the action details for "GetCurrentConnectionIDs".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetCurrentConnectionIDs()
{
var action = new ServiceAction
{
@@ -185,7 +210,11 @@ namespace Emby.Dlna.ConnectionManager
return action;
}
private ServiceAction ConnectionComplete()
/// <summary>
/// Returns the action details for "ConnectionComplete".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction ConnectionComplete()
{
var action = new ServiceAction
{

View File

@@ -1,142 +0,0 @@
using System;
using System.Collections.Generic;
using Emby.Dlna.Service;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Dlna;
using MediaBrowser.Controller.Drawing;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.MediaEncoding;
using MediaBrowser.Controller.TV;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Globalization;
using MediaBrowser.Model.Xml;
using Microsoft.Extensions.Logging;
namespace Emby.Dlna.ContentDirectory
{
public class ContentDirectory : BaseService, IContentDirectory
{
private readonly ILibraryManager _libraryManager;
private readonly IImageProcessor _imageProcessor;
private readonly IUserDataManager _userDataManager;
private readonly IDlnaManager _dlna;
private readonly IServerConfigurationManager _config;
private readonly IUserManager _userManager;
private readonly ILocalizationManager _localization;
private readonly IMediaSourceManager _mediaSourceManager;
private readonly IUserViewManager _userViewManager;
private readonly IMediaEncoder _mediaEncoder;
protected readonly IXmlReaderSettingsFactory XmlReaderSettingsFactory;
private readonly ITVSeriesManager _tvSeriesManager;
public ContentDirectory(IDlnaManager dlna,
IUserDataManager userDataManager,
IImageProcessor imageProcessor,
ILibraryManager libraryManager,
IServerConfigurationManager config,
IUserManager userManager,
ILogger logger,
IHttpClient httpClient, ILocalizationManager localization, IMediaSourceManager mediaSourceManager, IUserViewManager userViewManager, IMediaEncoder mediaEncoder, IXmlReaderSettingsFactory xmlReaderSettingsFactory, ITVSeriesManager tvSeriesManager)
: base(logger, httpClient)
{
_dlna = dlna;
_userDataManager = userDataManager;
_imageProcessor = imageProcessor;
_libraryManager = libraryManager;
_config = config;
_userManager = userManager;
_localization = localization;
_mediaSourceManager = mediaSourceManager;
_userViewManager = userViewManager;
_mediaEncoder = mediaEncoder;
XmlReaderSettingsFactory = xmlReaderSettingsFactory;
_tvSeriesManager = tvSeriesManager;
}
private int SystemUpdateId
{
get
{
var now = DateTime.UtcNow;
return now.Year + now.DayOfYear + now.Hour;
}
}
public string GetServiceXml(IDictionary<string, string> headers)
{
return new ContentDirectoryXmlBuilder().GetXml();
}
public ControlResponse ProcessControlRequest(ControlRequest request)
{
var profile = _dlna.GetProfile(request.Headers) ??
_dlna.GetDefaultProfile();
var serverAddress = request.RequestedUrl.Substring(0, request.RequestedUrl.IndexOf("/dlna", StringComparison.OrdinalIgnoreCase));
var user = GetUser(profile);
return new ControlHandler(
Logger,
_libraryManager,
profile,
serverAddress,
null,
_imageProcessor,
_userDataManager,
user,
SystemUpdateId,
_config,
_localization,
_mediaSourceManager,
_userViewManager,
_mediaEncoder,
XmlReaderSettingsFactory,
_tvSeriesManager)
.ProcessControlRequest(request);
}
private User GetUser(DeviceProfile profile)
{
if (!string.IsNullOrEmpty(profile.UserId))
{
var user = _userManager.GetUserById(profile.UserId);
if (user != null)
{
return user;
}
}
var userId = _config.GetDlnaConfiguration().DefaultUserId;
if (!string.IsNullOrEmpty(userId))
{
var user = _userManager.GetUserById(userId);
if (user != null)
{
return user;
}
}
foreach (var user in _userManager.Users)
{
if (user.Policy.IsAdministrator)
{
return user;
}
}
foreach (var user in _userManager.Users)
{
return user;
}
return null;
}
}
}

View File

@@ -0,0 +1,176 @@
#pragma warning disable CS1591
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Emby.Dlna.Service;
using Jellyfin.Data.Entities;
using Jellyfin.Data.Enums;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Dlna;
using MediaBrowser.Controller.Drawing;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.MediaEncoding;
using MediaBrowser.Controller.TV;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Globalization;
using Microsoft.Extensions.Logging;
namespace Emby.Dlna.ContentDirectory
{
/// <summary>
/// Defines the <see cref="ContentDirectoryService" />.
/// </summary>
public class ContentDirectoryService : BaseService, IContentDirectory
{
private readonly ILibraryManager _libraryManager;
private readonly IImageProcessor _imageProcessor;
private readonly IUserDataManager _userDataManager;
private readonly IDlnaManager _dlna;
private readonly IServerConfigurationManager _config;
private readonly IUserManager _userManager;
private readonly ILocalizationManager _localization;
private readonly IMediaSourceManager _mediaSourceManager;
private readonly IUserViewManager _userViewManager;
private readonly IMediaEncoder _mediaEncoder;
private readonly ITVSeriesManager _tvSeriesManager;
/// <summary>
/// Initializes a new instance of the <see cref="ContentDirectoryService"/> class.
/// </summary>
/// <param name="dlna">The <see cref="IDlnaManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="userDataManager">The <see cref="IUserDataManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="imageProcessor">The <see cref="IImageProcessor"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="libraryManager">The <see cref="ILibraryManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="config">The <see cref="IServerConfigurationManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="userManager">The <see cref="IUserManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="logger">The <see cref="ILogger{ContentDirectoryService}"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="httpClient">The <see cref="IHttpClientFactory"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="localization">The <see cref="ILocalizationManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="mediaSourceManager">The <see cref="IMediaSourceManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="userViewManager">The <see cref="IUserViewManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="mediaEncoder">The <see cref="IMediaEncoder"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
/// <param name="tvSeriesManager">The <see cref="ITVSeriesManager"/> to use in the <see cref="ContentDirectoryService"/> instance.</param>
public ContentDirectoryService(
IDlnaManager dlna,
IUserDataManager userDataManager,
IImageProcessor imageProcessor,
ILibraryManager libraryManager,
IServerConfigurationManager config,
IUserManager userManager,
ILogger<ContentDirectoryService> logger,
IHttpClientFactory httpClient,
ILocalizationManager localization,
IMediaSourceManager mediaSourceManager,
IUserViewManager userViewManager,
IMediaEncoder mediaEncoder,
ITVSeriesManager tvSeriesManager)
: base(logger, httpClient)
{
_dlna = dlna;
_userDataManager = userDataManager;
_imageProcessor = imageProcessor;
_libraryManager = libraryManager;
_config = config;
_userManager = userManager;
_localization = localization;
_mediaSourceManager = mediaSourceManager;
_userViewManager = userViewManager;
_mediaEncoder = mediaEncoder;
_tvSeriesManager = tvSeriesManager;
}
/// <summary>
/// Gets the system id. (A unique id which changes on when our definition changes.)
/// </summary>
private static int SystemUpdateId
{
get
{
var now = DateTime.UtcNow;
return now.Year + now.DayOfYear + now.Hour;
}
}
/// <inheritdoc />
public string GetServiceXml()
{
return ContentDirectoryXmlBuilder.GetXml();
}
/// <inheritdoc />
public Task<ControlResponse> ProcessControlRequestAsync(ControlRequest request)
{
if (request == null)
{
throw new ArgumentNullException(nameof(request));
}
var profile = _dlna.GetProfile(request.Headers) ?? _dlna.GetDefaultProfile();
var serverAddress = request.RequestedUrl.Substring(0, request.RequestedUrl.IndexOf("/dlna", StringComparison.OrdinalIgnoreCase));
var user = GetUser(profile);
return new ControlHandler(
Logger,
_libraryManager,
profile,
serverAddress,
null,
_imageProcessor,
_userDataManager,
user,
SystemUpdateId,
_config,
_localization,
_mediaSourceManager,
_userViewManager,
_mediaEncoder,
_tvSeriesManager)
.ProcessControlRequestAsync(request);
}
/// <summary>
/// Get the user stored in the device profile.
/// </summary>
/// <param name="profile">The <see cref="DeviceProfile"/>.</param>
/// <returns>The <see cref="User"/>.</returns>
private User? GetUser(DeviceProfile profile)
{
if (!string.IsNullOrEmpty(profile.UserId))
{
var user = _userManager.GetUserById(Guid.Parse(profile.UserId));
if (user != null)
{
return user;
}
}
var userId = _config.GetDlnaConfiguration().DefaultUserId;
if (!string.IsNullOrEmpty(userId))
{
var user = _userManager.GetUserById(Guid.Parse(userId));
if (user != null)
{
return user;
}
}
foreach (var user in _userManager.Users)
{
if (user.HasPermission(PermissionKind.IsAdministrator))
{
return user;
}
}
return _userManager.Users.FirstOrDefault();
}
}
}

View File

@@ -1,145 +1,159 @@
#pragma warning disable CS1591
using System.Collections.Generic;
using Emby.Dlna.Common;
using Emby.Dlna.Service;
namespace Emby.Dlna.ContentDirectory
{
public class ContentDirectoryXmlBuilder
/// <summary>
/// Defines the <see cref="ContentDirectoryXmlBuilder" />.
/// </summary>
public static class ContentDirectoryXmlBuilder
{
public string GetXml()
/// <summary>
/// Gets the ContentDirectory:1 service template.
/// See http://upnp.org/specs/av/UPnP-av-ContentDirectory-v1-Service.pdf.
/// </summary>
/// <returns>An XML description of this service.</returns>
public static string GetXml()
{
return new ServiceXmlBuilder().GetXml(new ServiceActionListBuilder().GetActions(),
GetStateVariables());
return new ServiceXmlBuilder().GetXml(ServiceActionListBuilder.GetActions(), GetStateVariables());
}
/// <summary>
/// Get the list of state variables for this invocation.
/// </summary>
/// <returns>The <see cref="IEnumerable{StateVariable}"/>.</returns>
private static IEnumerable<StateVariable> GetStateVariables()
{
var list = new List<StateVariable>();
list.Add(new StateVariable
var list = new List<StateVariable>
{
Name = "A_ARG_TYPE_Filter",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_Filter",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_SortCriteria",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_SortCriteria",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_Index",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_Index",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_Count",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_Count",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_UpdateID",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_UpdateID",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "SearchCapabilities",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "SearchCapabilities",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "SortCapabilities",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "SortCapabilities",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "SystemUpdateID",
DataType = "ui4",
SendsEvents = true
});
new StateVariable
{
Name = "SystemUpdateID",
DataType = "ui4",
SendsEvents = true
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_SearchCriteria",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_SearchCriteria",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_Result",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_Result",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_ObjectID",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_ObjectID",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_BrowseFlag",
DataType = "string",
SendsEvents = false,
new StateVariable
{
Name = "A_ARG_TYPE_BrowseFlag",
DataType = "string",
SendsEvents = false,
AllowedValues = new string[]
AllowedValues = new[]
{
"BrowseMetadata",
"BrowseDirectChildren"
}
});
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_BrowseLetter",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_BrowseLetter",
DataType = "string",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_CategoryType",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_CategoryType",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_RID",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_RID",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_PosSec",
DataType = "ui4",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_PosSec",
DataType = "ui4",
SendsEvents = false
},
list.Add(new StateVariable
{
Name = "A_ARG_TYPE_Featurelist",
DataType = "string",
SendsEvents = false
});
new StateVariable
{
Name = "A_ARG_TYPE_Featurelist",
DataType = "string",
SendsEvents = false
}
};
return list;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,36 @@
#pragma warning disable CS1591
using MediaBrowser.Controller.Entities;
namespace Emby.Dlna.ContentDirectory
{
/// <summary>
/// Defines the <see cref="ServerItem" />.
/// </summary>
internal class ServerItem
{
/// <summary>
/// Initializes a new instance of the <see cref="ServerItem"/> class.
/// </summary>
/// <param name="item">The <see cref="BaseItem"/>.</param>
public ServerItem(BaseItem item)
{
Item = item;
if (item is IItemByName && item is not Folder)
{
StubType = Dlna.ContentDirectory.StubType.Folder;
}
}
/// <summary>
/// Gets or sets the underlying base item.
/// </summary>
public BaseItem Item { get; set; }
/// <summary>
/// Gets or sets the DLNA item type.
/// </summary>
public StubType? StubType { get; set; }
}
}

View File

@@ -3,9 +3,16 @@ using Emby.Dlna.Common;
namespace Emby.Dlna.ContentDirectory
{
public class ServiceActionListBuilder
/// <summary>
/// Defines the <see cref="ServiceActionListBuilder" />.
/// </summary>
public static class ServiceActionListBuilder
{
public IEnumerable<ServiceAction> GetActions()
/// <summary>
/// Returns a list of services that this instance provides.
/// </summary>
/// <returns>An <see cref="IEnumerable{ServiceAction}"/>.</returns>
public static IEnumerable<ServiceAction> GetActions()
{
return new[]
{
@@ -20,6 +27,10 @@ namespace Emby.Dlna.ContentDirectory
};
}
/// <summary>
/// Returns the action details for "GetSystemUpdateID".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetGetSystemUpdateIDAction()
{
var action = new ServiceAction
@@ -37,6 +48,10 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
/// <summary>
/// Returns the action details for "GetSearchCapabilities".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetSearchCapabilitiesAction()
{
var action = new ServiceAction
@@ -54,6 +69,10 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
/// <summary>
/// Returns the action details for "GetSortCapabilities".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetSortCapabilitiesAction()
{
var action = new ServiceAction
@@ -71,6 +90,10 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
/// <summary>
/// Returns the action details for "X_GetFeatureList".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetX_GetFeatureListAction()
{
var action = new ServiceAction
@@ -88,6 +111,10 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
/// <summary>
/// Returns the action details for "Search".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetSearchAction()
{
var action = new ServiceAction
@@ -168,7 +195,11 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
private ServiceAction GetBrowseAction()
/// <summary>
/// Returns the action details for "Browse".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetBrowseAction()
{
var action = new ServiceAction
{
@@ -248,7 +279,11 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
private ServiceAction GetBrowseByLetterAction()
/// <summary>
/// Returns the action details for "X_BrowseByLetter".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetBrowseByLetterAction()
{
var action = new ServiceAction
{
@@ -335,7 +370,11 @@ namespace Emby.Dlna.ContentDirectory
return action;
}
private ServiceAction GetXSetBookmarkAction()
/// <summary>
/// Returns the action details for "X_SetBookmark".
/// </summary>
/// <returns>The <see cref="ServiceAction"/>.</returns>
private static ServiceAction GetXSetBookmarkAction()
{
var action = new ServiceAction
{

View File

@@ -0,0 +1,30 @@
#pragma warning disable CS1591
namespace Emby.Dlna.ContentDirectory
{
/// <summary>
/// Defines the DLNA item types.
/// </summary>
public enum StubType
{
Folder = 0,
Latest = 2,
Playlists = 3,
Albums = 4,
AlbumArtists = 5,
Artists = 6,
Songs = 7,
Genres = 8,
FavoriteSongs = 9,
FavoriteArtists = 10,
FavoriteAlbums = 11,
ContinueWatching = 12,
Movies = 13,
Collections = 14,
Favorites = 15,
NextUp = 16,
Series = 17,
FavoriteSeries = 18,
FavoriteEpisodes = 19
}
}

View File

@@ -1,21 +1,25 @@
using System.Collections.Generic;
#nullable disable
#pragma warning disable CS1591
using System.IO;
using Microsoft.AspNetCore.Http;
namespace Emby.Dlna
{
public class ControlRequest
{
public IDictionary<string, string> Headers { get; set; }
public ControlRequest(IHeaderDictionary headers)
{
Headers = headers;
}
public IHeaderDictionary Headers { get; }
public Stream InputXml { get; set; }
public string TargetServerUuId { get; set; }
public string RequestedUrl { get; set; }
public ControlRequest()
{
Headers = new Dictionary<string, string>();
}
}
}

View File

@@ -1,18 +1,28 @@
#pragma warning disable CS1591
using System.Collections.Generic;
namespace Emby.Dlna
{
public class ControlResponse
{
public IDictionary<string, string> Headers { get; set; }
public ControlResponse(string xml, bool isSuccessful)
{
Headers = new Dictionary<string, string>();
Xml = xml;
IsSuccessful = isSuccessful;
}
public IDictionary<string, string> Headers { get; }
public string Xml { get; set; }
public bool IsSuccessful { get; set; }
public ControlResponse()
/// <inheritdoc />
public override string ToString()
{
Headers = new Dictionary<string, string>();
return Xml;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,6 @@
#pragma warning disable CS1591
using System;
using MediaBrowser.Model.Extensions;
namespace Emby.Dlna.Didl
{
@@ -11,21 +12,18 @@ namespace Emby.Dlna.Didl
public Filter()
: this("*")
{
}
public Filter(string filter)
{
_all = StringHelper.EqualsIgnoreCase(filter, "*");
_all = string.Equals(filter, "*", StringComparison.OrdinalIgnoreCase);
_fields = (filter ?? string.Empty).Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
_fields = (filter ?? string.Empty).Split(',', StringSplitOptions.RemoveEmptyEntries);
}
public bool Contains(string field)
{
// Don't bother with this. Some clients (media monkey) use the filter and then don't display very well when very little data comes back.
return true;
//return _all || ListHelper.ContainsIgnoreCase(_fields, field);
return _all || Array.Exists(_fields, x => x.Equals(field, StringComparison.OrdinalIgnoreCase));
}
}
}

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable CA1305
using System;
using System.IO;
using System.Text;
@@ -6,7 +9,7 @@ namespace Emby.Dlna.Didl
{
public class StringWriterWithEncoding : StringWriter
{
private readonly Encoding _encoding;
private readonly Encoding? _encoding;
public StringWriterWithEncoding()
{
@@ -27,7 +30,6 @@ namespace Emby.Dlna.Didl
{
}
public StringWriterWithEncoding(Encoding encoding)
{
_encoding = encoding;
@@ -51,6 +53,6 @@ namespace Emby.Dlna.Didl
_encoding = encoding;
}
public override Encoding Encoding => (null == _encoding) ? base.Encoding : _encoding;
public override Encoding Encoding => _encoding ?? base.Encoding;
}
}

View File

@@ -0,0 +1,23 @@
#pragma warning disable CS1591
using System.Collections.Generic;
using Emby.Dlna.Configuration;
using MediaBrowser.Common.Configuration;
namespace Emby.Dlna
{
public class DlnaConfigurationFactory : IConfigurationFactory
{
public IEnumerable<ConfigurationStore> GetConfigurations()
{
return new[]
{
new ConfigurationStore
{
Key = "dlna",
ConfigurationType = typeof(DlnaOptions)
}
};
}
}
}

View File

@@ -1,12 +1,17 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Emby.Dlna.Profiles;
using Emby.Dlna.Server;
using Jellyfin.Extensions.Json;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller;
@@ -15,9 +20,10 @@ using MediaBrowser.Controller.Drawing;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Drawing;
using MediaBrowser.Model.IO;
using MediaBrowser.Model.Reflection;
using MediaBrowser.Model.Serialization;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
namespace Emby.Dlna
{
@@ -26,10 +32,10 @@ namespace Emby.Dlna
private readonly IApplicationPaths _appPaths;
private readonly IXmlSerializer _xmlSerializer;
private readonly IFileSystem _fileSystem;
private readonly ILogger _logger;
private readonly IJsonSerializer _jsonSerializer;
private readonly ILogger<DlnaManager> _logger;
private readonly IServerApplicationHost _appHost;
private readonly IAssemblyInfo _assemblyInfo;
private static readonly Assembly _assembly = typeof(DlnaManager).Assembly;
private readonly JsonSerializerOptions _jsonOptions = JsonDefaults.Options;
private readonly Dictionary<string, Tuple<InternalProfileInfo, DeviceProfile>> _profiles = new Dictionary<string, Tuple<InternalProfileInfo, DeviceProfile>>(StringComparer.Ordinal);
@@ -38,22 +44,24 @@ namespace Emby.Dlna
IFileSystem fileSystem,
IApplicationPaths appPaths,
ILoggerFactory loggerFactory,
IJsonSerializer jsonSerializer, IServerApplicationHost appHost, IAssemblyInfo assemblyInfo)
IServerApplicationHost appHost)
{
_xmlSerializer = xmlSerializer;
_fileSystem = fileSystem;
_appPaths = appPaths;
_logger = loggerFactory.CreateLogger("Dlna");
_jsonSerializer = jsonSerializer;
_logger = loggerFactory.CreateLogger<DlnaManager>();
_appHost = appHost;
_assemblyInfo = assemblyInfo;
}
private string UserProfilesPath => Path.Combine(_appPaths.ConfigurationDirectoryPath, "dlna", "user");
private string SystemProfilesPath => Path.Combine(_appPaths.ConfigurationDirectoryPath, "dlna", "system");
public async Task InitProfilesAsync()
{
try
{
await ExtractSystemProfilesAsync();
await ExtractSystemProfilesAsync().ConfigureAwait(false);
LoadProfiles();
}
catch (Exception ex)
@@ -83,15 +91,16 @@ namespace Emby.Dlna
.Select(i => i.Item2)
.ToList();
}
}
/// <inheritdoc />
public DeviceProfile GetDefaultProfile()
{
return new DefaultProfile();
}
public DeviceProfile GetProfile(DeviceIdentification deviceInfo)
/// <inheritdoc />
public DeviceProfile? GetProfile(DeviceIdentification deviceInfo)
{
if (deviceInfo == null)
{
@@ -101,13 +110,13 @@ namespace Emby.Dlna
var profile = GetProfiles()
.FirstOrDefault(i => i.Identification != null && IsMatch(deviceInfo, i.Identification));
if (profile != null)
if (profile == null)
{
_logger.LogDebug("Found matching device profile: {0}", profile.Name);
LogUnmatchedProfile(deviceInfo);
}
else
{
LogUnmatchedProfile(deviceInfo);
_logger.LogDebug("Found matching device profile: {ProfileName}", profile.Name);
}
return profile;
@@ -118,83 +127,57 @@ namespace Emby.Dlna
var builder = new StringBuilder();
builder.AppendLine("No matching device profile found. The default will need to be used.");
builder.AppendLine(string.Format("DeviceDescription:{0}", profile.DeviceDescription ?? string.Empty));
builder.AppendLine(string.Format("FriendlyName:{0}", profile.FriendlyName ?? string.Empty));
builder.AppendLine(string.Format("Manufacturer:{0}", profile.Manufacturer ?? string.Empty));
builder.AppendLine(string.Format("ManufacturerUrl:{0}", profile.ManufacturerUrl ?? string.Empty));
builder.AppendLine(string.Format("ModelDescription:{0}", profile.ModelDescription ?? string.Empty));
builder.AppendLine(string.Format("ModelName:{0}", profile.ModelName ?? string.Empty));
builder.AppendLine(string.Format("ModelNumber:{0}", profile.ModelNumber ?? string.Empty));
builder.AppendLine(string.Format("ModelUrl:{0}", profile.ModelUrl ?? string.Empty));
builder.AppendLine(string.Format("SerialNumber:{0}", profile.SerialNumber ?? string.Empty));
builder.Append("FriendlyName: ").AppendLine(profile.FriendlyName);
builder.Append("Manufacturer: ").AppendLine(profile.Manufacturer);
builder.Append("ManufacturerUrl: ").AppendLine(profile.ManufacturerUrl);
builder.Append("ModelDescription: ").AppendLine(profile.ModelDescription);
builder.Append("ModelName: ").AppendLine(profile.ModelName);
builder.Append("ModelNumber: ").AppendLine(profile.ModelNumber);
builder.Append("ModelUrl: ").AppendLine(profile.ModelUrl);
builder.Append("SerialNumber: ").AppendLine(profile.SerialNumber);
_logger.LogInformation(builder.ToString());
}
private bool IsMatch(DeviceIdentification deviceInfo, DeviceIdentification profileInfo)
/// <summary>
/// Attempts to match a device with a profile.
/// Rules:
/// - If the profile field has no value, the field matches irregardless of its contents.
/// - the profile field can be an exact match, or a reg exp.
/// </summary>
/// <param name="deviceInfo">The <see cref="DeviceIdentification"/> of the device.</param>
/// <param name="profileInfo">The <see cref="DeviceIdentification"/> of the profile.</param>
/// <returns><b>True</b> if they match.</returns>
public bool IsMatch(DeviceIdentification deviceInfo, DeviceIdentification profileInfo)
{
if (!string.IsNullOrEmpty(profileInfo.DeviceDescription))
{
if (deviceInfo.DeviceDescription == null || !IsRegexMatch(deviceInfo.DeviceDescription, profileInfo.DeviceDescription))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.FriendlyName))
{
if (deviceInfo.FriendlyName == null || !IsRegexMatch(deviceInfo.FriendlyName, profileInfo.FriendlyName))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.Manufacturer))
{
if (deviceInfo.Manufacturer == null || !IsRegexMatch(deviceInfo.Manufacturer, profileInfo.Manufacturer))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.ManufacturerUrl))
{
if (deviceInfo.ManufacturerUrl == null || !IsRegexMatch(deviceInfo.ManufacturerUrl, profileInfo.ManufacturerUrl))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.ModelDescription))
{
if (deviceInfo.ModelDescription == null || !IsRegexMatch(deviceInfo.ModelDescription, profileInfo.ModelDescription))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.ModelName))
{
if (deviceInfo.ModelName == null || !IsRegexMatch(deviceInfo.ModelName, profileInfo.ModelName))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.ModelNumber))
{
if (deviceInfo.ModelNumber == null || !IsRegexMatch(deviceInfo.ModelNumber, profileInfo.ModelNumber))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.ModelUrl))
{
if (deviceInfo.ModelUrl == null || !IsRegexMatch(deviceInfo.ModelUrl, profileInfo.ModelUrl))
return false;
}
if (!string.IsNullOrEmpty(profileInfo.SerialNumber))
{
if (deviceInfo.SerialNumber == null || !IsRegexMatch(deviceInfo.SerialNumber, profileInfo.SerialNumber))
return false;
}
return true;
return IsRegexOrSubstringMatch(deviceInfo.FriendlyName, profileInfo.FriendlyName)
&& IsRegexOrSubstringMatch(deviceInfo.Manufacturer, profileInfo.Manufacturer)
&& IsRegexOrSubstringMatch(deviceInfo.ManufacturerUrl, profileInfo.ManufacturerUrl)
&& IsRegexOrSubstringMatch(deviceInfo.ModelDescription, profileInfo.ModelDescription)
&& IsRegexOrSubstringMatch(deviceInfo.ModelName, profileInfo.ModelName)
&& IsRegexOrSubstringMatch(deviceInfo.ModelNumber, profileInfo.ModelNumber)
&& IsRegexOrSubstringMatch(deviceInfo.ModelUrl, profileInfo.ModelUrl)
&& IsRegexOrSubstringMatch(deviceInfo.SerialNumber, profileInfo.SerialNumber);
}
private bool IsRegexMatch(string input, string pattern)
private bool IsRegexOrSubstringMatch(string input, string pattern)
{
if (string.IsNullOrEmpty(pattern))
{
// In profile identification: An empty pattern matches anything.
return true;
}
if (string.IsNullOrEmpty(input))
{
// The profile contains a value, and the device doesn't.
return false;
}
try
{
return Regex.IsMatch(input, pattern);
return input.Equals(pattern, StringComparison.OrdinalIgnoreCase)
|| Regex.IsMatch(input, pattern, RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
}
catch (ArgumentException ex)
{
@@ -203,37 +186,33 @@ namespace Emby.Dlna
}
}
public DeviceProfile GetProfile(IDictionary<string, string> headers)
/// <inheritdoc />
public DeviceProfile? GetProfile(IHeaderDictionary headers)
{
if (headers == null)
{
throw new ArgumentNullException(nameof(headers));
}
// Convert to case insensitive
headers = new Dictionary<string, string>(headers, StringComparer.OrdinalIgnoreCase);
var profile = GetProfiles().FirstOrDefault(i => i.Identification != null && IsMatch(headers, i.Identification));
if (profile != null)
if (profile == null)
{
_logger.LogDebug("Found matching device profile: {0}", profile.Name);
_logger.LogDebug("No matching device profile found. {@Headers}", headers);
}
else
{
var headerString = string.Join(", ", headers.Select(i => string.Format("{0}={1}", i.Key, i.Value)).ToArray());
_logger.LogDebug("No matching device profile found. {0}", headerString);
_logger.LogDebug("Found matching device profile: {0}", profile.Name);
}
return profile;
}
private bool IsMatch(IDictionary<string, string> headers, DeviceIdentification profileInfo)
private bool IsMatch(IHeaderDictionary headers, DeviceIdentification profileInfo)
{
return profileInfo.Headers.Any(i => IsMatch(headers, i));
}
private bool IsMatch(IDictionary<string, string> headers, HttpHeaderInfo header)
private bool IsMatch(IHeaderDictionary headers, HttpHeaderInfo header)
{
// Handle invalid user setup
if (string.IsNullOrEmpty(header.Name))
@@ -241,15 +220,15 @@ namespace Emby.Dlna
return false;
}
if (headers.TryGetValue(header.Name, out string value))
if (headers.TryGetValue(header.Name, out StringValues value))
{
switch (header.Match)
{
case HeaderMatchType.Equals:
return string.Equals(value, header.Value, StringComparison.OrdinalIgnoreCase);
case HeaderMatchType.Substring:
var isMatch = value.IndexOf(header.Value, StringComparison.OrdinalIgnoreCase) != -1;
//_logger.LogDebug("IsMatch-Substring value: {0} testValue: {1} isMatch: {2}", value, header.Value, isMatch);
var isMatch = value.ToString().IndexOf(header.Value, StringComparison.OrdinalIgnoreCase) != -1;
// _logger.LogDebug("IsMatch-Substring value: {0} testValue: {1} isMatch: {2}", value, header.Value, isMatch);
return isMatch;
case HeaderMatchType.Regex:
return Regex.IsMatch(value, header.Value, RegexOptions.IgnoreCase);
@@ -261,10 +240,6 @@ namespace Emby.Dlna
return false;
}
private string UserProfilesPath => Path.Combine(_appPaths.ConfigurationDirectoryPath, "dlna", "user");
private string SystemProfilesPath => Path.Combine(_appPaths.ConfigurationDirectoryPath, "dlna", "system");
private IEnumerable<DeviceProfile> GetProfiles(string path, DeviceProfileType type)
{
try
@@ -276,19 +251,19 @@ namespace Emby.Dlna
return xmlFies
.Select(i => ParseProfileFile(i, type))
.Where(i => i != null)
.ToList();
.ToList()!; // We just filtered out all the nulls
}
catch (IOException)
{
return new List<DeviceProfile>();
return Array.Empty<DeviceProfile>();
}
}
private DeviceProfile ParseProfileFile(string path, DeviceProfileType type)
private DeviceProfile? ParseProfileFile(string path, DeviceProfileType type)
{
lock (_profiles)
{
if (_profiles.TryGetValue(path, out Tuple<InternalProfileInfo, DeviceProfile> profileTuple))
if (_profiles.TryGetValue(path, out Tuple<InternalProfileInfo, DeviceProfile>? profileTuple))
{
return profileTuple.Item2;
}
@@ -301,7 +276,7 @@ namespace Emby.Dlna
profile = ReserializeProfile(tempProfile);
profile.Id = path.ToLowerInvariant().GetMD5().ToString("N");
profile.Id = path.ToLowerInvariant().GetMD5().ToString("N", CultureInfo.InvariantCulture);
_profiles[path] = new Tuple<InternalProfileInfo, DeviceProfile>(GetInternalProfileInfo(_fileSystem.GetFileInfo(path), type), profile);
@@ -316,14 +291,20 @@ namespace Emby.Dlna
}
}
public DeviceProfile GetProfile(string id)
/// <inheritdoc />
public DeviceProfile? GetProfile(string id)
{
if (string.IsNullOrEmpty(id))
{
throw new ArgumentNullException(nameof(id));
}
var info = GetProfileInfosInternal().First(i => string.Equals(i.Info.Id, id, StringComparison.OrdinalIgnoreCase));
var info = GetProfileInfosInternal().FirstOrDefault(i => string.Equals(i.Info.Id, id, StringComparison.OrdinalIgnoreCase));
if (info == null)
{
return null;
}
return ParseProfileFile(info.Path, info.Info.Type);
}
@@ -340,6 +321,7 @@ namespace Emby.Dlna
}
}
/// <inheritdoc />
public IEnumerable<DeviceProfileInfo> GetProfileInfos()
{
return GetProfileInfosInternal().Select(i => i.Info);
@@ -347,17 +329,14 @@ namespace Emby.Dlna
private InternalProfileInfo GetInternalProfileInfo(FileSystemMetadata file, DeviceProfileType type)
{
return new InternalProfileInfo
{
Path = file.FullName,
Info = new DeviceProfileInfo
return new InternalProfileInfo(
new DeviceProfileInfo
{
Id = file.FullName.ToLowerInvariant().GetMD5().ToString("N"),
Id = file.FullName.ToLowerInvariant().GetMD5().ToString("N", CultureInfo.InvariantCulture),
Name = _fileSystem.GetFileNameWithoutExtension(file),
Type = type
}
};
},
file.FullName);
}
private async Task ExtractSystemProfilesAsync()
@@ -366,25 +345,33 @@ namespace Emby.Dlna
var systemProfilesPath = SystemProfilesPath;
foreach (var name in _assemblyInfo.GetManifestResourceNames(GetType())
.Where(i => i.StartsWith(namespaceName))
.ToList())
foreach (var name in _assembly.GetManifestResourceNames())
{
var filename = Path.GetFileName(name).Substring(namespaceName.Length);
var path = Path.Combine(systemProfilesPath, filename);
using (var stream = _assemblyInfo.GetManifestResourceStream(GetType(), name))
if (!name.StartsWith(namespaceName, StringComparison.Ordinal))
{
continue;
}
var path = Path.Join(
systemProfilesPath,
Path.GetFileName(name.AsSpan()).Slice(namespaceName.Length));
// The stream should exist as we just got its name from GetManifestResourceNames
using (var stream = _assembly.GetManifestResourceStream(name)!)
{
var length = stream.Length;
var fileInfo = _fileSystem.GetFileInfo(path);
if (!fileInfo.Exists || fileInfo.Length != stream.Length)
if (!fileInfo.Exists || fileInfo.Length != length)
{
Directory.CreateDirectory(systemProfilesPath);
using (var fileStream = _fileSystem.GetFileStream(path, FileOpenMode.Create, FileAccessMode.Write, FileShareMode.Read))
var fileOptions = AsyncFile.WriteOptions;
fileOptions.Mode = FileMode.CreateNew;
fileOptions.PreallocationSize = length;
using (var fileStream = new FileStream(path, fileOptions))
{
await stream.CopyToAsync(fileStream);
await stream.CopyToAsync(fileStream).ConfigureAwait(false);
}
}
}
@@ -394,6 +381,7 @@ namespace Emby.Dlna
Directory.CreateDirectory(UserProfilesPath);
}
/// <inheritdoc />
public void DeleteProfile(string id)
{
var info = GetProfileInfosInternal().First(i => string.Equals(id, i.Info.Id, StringComparison.OrdinalIgnoreCase));
@@ -411,6 +399,7 @@ namespace Emby.Dlna
}
}
/// <inheritdoc />
public void CreateProfile(DeviceProfile profile)
{
profile = ReserializeProfile(profile);
@@ -426,6 +415,7 @@ namespace Emby.Dlna
SaveProfile(profile, path, DeviceProfileType.User);
}
/// <inheritdoc />
public void UpdateProfile(DeviceProfile profile)
{
profile = ReserializeProfile(profile);
@@ -434,6 +424,7 @@ namespace Emby.Dlna
{
throw new ArgumentException("Profile is missing Id");
}
if (string.IsNullOrEmpty(profile.Name))
{
throw new ArgumentException("Profile is missing Name");
@@ -459,6 +450,7 @@ namespace Emby.Dlna
{
_profiles[path] = new Tuple<InternalProfileInfo, DeviceProfile>(GetInternalProfileInfo(_fileSystem.GetFileInfo(path), type), profile);
}
SerializeToXml(profile, path);
}
@@ -469,10 +461,10 @@ namespace Emby.Dlna
/// <summary>
/// Recreates the object using serialization, to ensure it's not a subclass.
/// If it's a subclass it may not serlialize properly to xml (different root element tag name)
/// If it's a subclass it may not serialize properly to xml (different root element tag name).
/// </summary>
/// <param name="profile"></param>
/// <returns></returns>
/// <param name="profile">The device profile.</param>
/// <returns>The re-serialized device profile.</returns>
private DeviceProfile ReserializeProfile(DeviceProfile profile)
{
if (profile.GetType() == typeof(DeviceProfile))
@@ -480,42 +472,56 @@ namespace Emby.Dlna
return profile;
}
var json = _jsonSerializer.SerializeToString(profile);
var json = JsonSerializer.Serialize(profile, _jsonOptions);
return _jsonSerializer.DeserializeFromString<DeviceProfile>(json);
// Output can't be null if the input isn't null
return JsonSerializer.Deserialize<DeviceProfile>(json, _jsonOptions)!;
}
class InternalProfileInfo
/// <inheritdoc />
public string GetServerDescriptionXml(IHeaderDictionary headers, string serverUuId, string serverAddress)
{
internal DeviceProfileInfo Info { get; set; }
internal string Path { get; set; }
}
public string GetServerDescriptionXml(IDictionary<string, string> headers, string serverUuId, string serverAddress)
{
var profile = GetProfile(headers) ??
GetDefaultProfile();
var profile = GetDefaultProfile();
var serverId = _appHost.SystemId;
return new DescriptionXmlBuilder(profile, serverUuId, serverAddress, _appHost.FriendlyName, serverId).GetXml();
}
public ImageStream GetIcon(string filename)
/// <inheritdoc />
public ImageStream? GetIcon(string filename)
{
var format = filename.EndsWith(".png", StringComparison.OrdinalIgnoreCase)
? ImageFormat.Png
: ImageFormat.Jpg;
var resource = GetType().Namespace + ".Images." + filename.ToLowerInvariant();
return new ImageStream
var stream = _assembly.GetManifestResourceStream(resource);
if (stream == null)
{
Format = format,
Stream = _assemblyInfo.GetManifestResourceStream(GetType(), resource)
return null;
}
return new ImageStream(stream)
{
Format = format
};
}
private class InternalProfileInfo
{
internal InternalProfileInfo(DeviceProfileInfo info, string path)
{
Info = info;
Path = path;
}
internal DeviceProfileInfo Info { get; }
internal string Path { get; }
}
}
/*
class DlnaProfileEntryPoint : IServerEntryPoint
{
@@ -537,7 +543,7 @@ namespace Emby.Dlna
private void DumpProfiles()
{
DeviceProfile[] list = new []
DeviceProfile[] list = new[]
{
new SamsungSmartTvProfile(),
new XboxOneProfile(),
@@ -561,9 +567,9 @@ namespace Emby.Dlna
new Foobar2000Profile(),
new SharpSmartTvProfile(),
new MediaMonkeyProfile(),
//new Windows81Profile(),
//new WindowsMediaCenterProfile(),
//new WindowsPhoneProfile(),
// new Windows81Profile(),
// new WindowsMediaCenterProfile(),
// new WindowsPhoneProfile(),
new DirectTvProfile(),
new DishHopperJoeyProfile(),
new DefaultProfile(),

View File

@@ -1,5 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
<PropertyGroup>
<ProjectGuid>{805844AB-E92F-45E6-9D99-4F6D48D129A5}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\SharedVersion.cs" />
</ItemGroup>
@@ -12,10 +17,18 @@
</ItemGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!-- Code Analyzers-->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Images\logo120.jpg" />
<EmbeddedResource Include="Images\logo120.png" />
@@ -58,4 +71,8 @@
<EmbeddedResource Include="Profiles\Xml\Xbox One.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0-rc.2*" />
</ItemGroup>
</Project>

View File

@@ -1,17 +1,22 @@
#pragma warning disable CS1591
using System.Collections.Generic;
namespace Emby.Dlna
{
public class EventSubscriptionResponse
{
public string Content { get; set; }
public string ContentType { get; set; }
public Dictionary<string, string> Headers { get; set; }
public EventSubscriptionResponse()
public EventSubscriptionResponse(string content, string contentType)
{
Content = content;
ContentType = contentType;
Headers = new Dictionary<string, string>();
}
public string Content { get; set; }
public string ContentType { get; set; }
public Dictionary<string, string> Headers { get; }
}
}

Some files were not shown because too many files have changed in this diff Show More