Commit Graph

24811 Commits

Author SHA1 Message Date
Stepan Goremykin
47254d6a22 Remove conditional access when it is known to be not null 2023-10-08 00:46:15 +02:00
Stepan Goremykin
526f9a825c Make files readonly 2023-10-08 00:40:58 +02:00
Stepan Goremykin
2360d28cbb Fix possible double dispose 2023-10-08 00:31:46 +02:00
Stepan Goremykin
8ea812b65d Reduce string literal length by using verbatim string 2023-10-08 00:26:12 +02:00
Stepan Goremykin
3f9ee316d5 Use non nullable property type when possible 2023-10-08 00:22:36 +02:00
Stepan Goremykin
a37dc3da96 Use async overload 2023-10-08 00:17:48 +02:00
Stepan Goremykin
0870af330d Remove redundant verbatim string prefixes 2023-10-08 00:15:38 +02:00
Stepan Goremykin
508c48a8ba Inline out variables 2023-10-07 23:58:48 +02:00
Stepan Goremykin
d6b557d9ee Move declaration closer to usage 2023-10-07 23:56:07 +02:00
Stepan Goremykin
72faeed1db Remove redundant semicolon 2023-10-07 23:52:13 +02:00
Stepan Goremykin
73309f2649 Pass cancellation token 2023-10-07 23:50:45 +02:00
Stepan Goremykin
8925390ad4 Remove redundant cast 2023-10-07 23:42:15 +02:00
Stepan Goremykin
a3d3ec7e0b Remove redundant SuppressFinalize call 2023-10-07 23:41:45 +02:00
Bond-009
1141883f77
Merge pull request #10321 from feilongfl/master 2023-10-07 00:15:01 +02:00
Patrick Barron
c38fbece03 Remove unnecessary Trim() from GetPersonFromXmlNode 2023-10-06 16:57:36 -04:00
Patrick Barron
40e1c5f4c6 Remove logger parameter from XmlReaderExtensions.TryReadDateTime 2023-10-06 16:56:50 -04:00
Patrick Barron
1dd6442e89 Use extension methods in GetPersonFromXmlNode 2023-10-06 16:43:50 -04:00
Patrick Barron
1d0ecd3188 More miscellaneous cleanup 2023-10-06 16:18:33 -04:00
Patrick Barron
0e51ffa169 Add TryReadInt to XmlReaderExtensions 2023-10-06 15:35:26 -04:00
Patrick Barron
8a7a1cc723 Add ReadNormalizedString to XmlReaderExtensions 2023-10-06 15:12:49 -04:00
Patrick Barron
99832642ce Add TryParseDateTime and TryParseDateTimeExact to XmlReaderExtensions 2023-10-06 14:18:56 -04:00
Patrick Barron
1a6ec2c740 Add GetStringArray and GetPersonArray to XmlReaderExtensions 2023-10-06 13:40:08 -04:00
Patrick Barron
bdca4ed322 Add XmlReader.GetPersonFromXmlNode 2023-10-06 12:46:35 -04:00
renovate[bot]
ffb3df9e77
Update github/codeql-action action to v2.22.0 (#10351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 08:50:50 -06:00
Claus Vium
0d2202de4f
Merge pull request #10255 from thomasjohansen/fix/probesize
Fix/probesize
2023-10-06 11:38:45 +02:00
Claus Vium
6593aa1255
Merge pull request #10135 from 0x25CBFC4F/fix/ffmpeg-probesize
Fixed probesize argument passing to FFmpeg
2023-10-06 11:38:31 +02:00
Claus Vium
a18b3fbe70
simplify the if 2023-10-06 10:49:20 +02:00
[ ]
e9e1fd214b Translated using Weblate (Pirate (pr))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pr/
2023-10-06 03:31:35 -04:00
Bond_009
b176beb88e Reduce string allocations
Some simple changes to reduce the number of allocated strings
2023-10-06 01:04:25 +02:00
fei long
33b3331c72
change Substring to AsSpan
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-10-06 06:26:52 +08:00
Bond_009
efc4c305a9 Use CryptoStream to convert stream from base64
Should be way more efficient
2023-10-05 23:36:37 +02:00
Bond_009
852f1dc0c1 Don't create non existent persons in LibraryManager.GetPerson
return null instead.

GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one
when the requested one doesn't exist

Fixes #3901
2023-10-05 23:16:17 +02:00
Bond-009
b87765bace
Update Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-10-05 18:21:43 +02:00
Bond-009
40f7eb4e8c
Merge pull request #10340 from jellyfin/renovate/pin-dependencies 2023-10-05 14:57:20 +02:00
renovate[bot]
7dd4c12231
Pin actions/stale action to 1160a22 2023-10-05 12:02:38 +00:00
Jacob Slusser
130c035d4f
#10333 Updates issue stale action to fix issues with not running (#10334) 2023-10-05 08:02:10 -04:00
Leo
cb8a8c3ef4
fix: use movie.nfo first when <filename>.nfo also exists (jellyfin/jellyfin#1558) 2023-10-05 11:19:52 +08:00
Bond-009
86c96c8e26
Merge pull request #10330 from nyanmisaka/fix-ffmpeg-opt-fedora 2023-10-05 00:13:24 +02:00
Patrick Barron
6f7413812f Add SystemManager service 2023-10-04 14:40:00 -04:00
Artnal
c9ce246c17 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2023-10-04 11:31:33 -04:00
Piranha
35e09cf203 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2023-10-04 11:31:33 -04:00
Bond_009
76c64516a7 Simplify some stuff in AuthorizationContext 2023-10-04 16:18:14 +02:00
Bond_009
6f2c165cc3 Use Authorization header in integration tests
instead of X-Emby-Authorization

And ensure the response has a successful status code
2023-10-04 16:06:26 +02:00
Bond-009
c124d02501
Merge pull request #10331 from barronpm/minor-cleanup 2023-10-04 15:02:21 +02:00
Pithaya
487d79f8ac
Add book related values to PersonKind (#10325) 2023-10-03 21:16:16 -06:00
Claus Vium
467aa40d21
Merge pull request #10222 from Bond-009/photos 2023-10-03 19:23:35 +02:00
Patrick Barron
12b51cf2ba Reduce nesting in SessionManager.OnPlaybackStopped 2023-10-03 10:31:55 -04:00
Patrick Barron
78e00578c2 Use DI for IFileSystem 2023-10-03 10:25:14 -04:00
Patrick Barron
fa26bcde3a Remove unnecessary ToString in RobotsRedirectionMiddleware 2023-10-03 09:29:06 -04:00
Patrick Barron
1ca9f8b04b Remove unused fields and parameters 2023-10-03 09:26:20 -04:00