Commit Graph

4315 Commits

Author SHA1 Message Date
photonconvergence 09e8a7e62c Fix extra type differentiation
Change rules for Featurettes and Shorts so they don't both get classed as ExtraType.Clip.

Fix test that these changes break
2022-10-27 18:01:04 -07:00
jgriff6 c2c286be6e Remove unnecessary IsPathLocked function 2022-10-25 02:27:22 +01:00
Joshua M. Boniface 74eae1e789 Merge pull request #7708 from nyanmisaka/amd-vaapi-vulkan 2022-10-18 12:13:02 -04:00
nyanmisaka 560d0838c7 Add Vulkan filtering support for AMD VAAPI (Vega/gfx9+)
This requires:
- VK_EXT_image_drm_format_modifier extension
- Linux kernel version >= 5.15
- jellyfin-ffmpeg5 >= 5.0.1-2

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2022-10-16 23:08:59 +08:00
Bond_009 224bb355dd Rewrite BaseItem.ModifySortChunks 2022-10-12 17:43:01 +02:00
Bond_009 f6af28cf96 Fix some things that slipped through the cracks 2022-10-11 23:37:29 +02:00
Claus Vium 05c20001c8 Merge pull request #8381 from 1hitsong/lyric-lrc-file-support 2022-10-07 15:21:42 +02:00
Claus Vium b137d0cc2b Merge pull request #7514 from Shadowghost/music-extend 2022-10-07 15:21:00 +02:00
Claus Vium 81b04ddbb5 Merge branch 'master' into providermanager-cleanup 2022-10-07 09:57:16 +02:00
Shadowghost 7b90fcd053 Merge branch 'master' into network-rewrite 2022-10-07 09:16:02 +02:00
Claus Vium 719e5eae16 Merge pull request #8503 from Bond-009/ThrowIfNull 2022-10-07 07:50:39 +02:00
Bond_009 f5613add1a Remove extra argument 2022-10-06 20:39:22 +02:00
Bond_009 a9a5fcde81 Use ArgumentNullException.ThrowIfNull helper method
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)

```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```

```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
cvium 5dc30c6a6d fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext 2022-10-06 13:57:47 +02:00
Shadowghost 4fc52a840c Merge branch 'master' into network-rewrite 2022-10-01 19:59:00 +02:00
Hannes Braun 4edeccc5e0 Remove redundant using directives 2022-09-28 16:26:03 +02:00
1hitsong 5efa138c22 Update MediaBrowser.Controller/Lyrics/LyricInfo.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2022-09-26 16:24:21 -04:00
Bill Thornton e8c12e5078 Backport pull request #8280 from jellyfin/release-10.8.z
Fix ffmpeg analyze duration env var taking priority over media source

Original-merge: 632fb05f46

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:36 -04:00
nyanmisaka 0309c5622e Backport pull request #8213 from jellyfin/release-10.8.z
Fix high single thread usage in throttler

Original-merge: ba026716c1

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:35 -04:00
Luke F e579b4d42d Backport pull request #8189 from jellyfin/release-10.8.z
Fix GetItems IndexOutOfRangeException when IDs do not exist

Original-merge: 527ed0607d

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:34 -04:00
1hitsong a50bdb4770 Use async functions 2022-09-22 08:13:53 -04:00
1hitsong 35399ce8fe Update summaries, Use spans 2022-09-21 17:49:28 -04:00
1hitsong b1771f07e9 Use Span in SupportedMediaTypes comparison 2022-09-20 13:34:46 -04:00
1hitsong 0d5bd85d6d Resolve Azure build error 2022-09-20 08:48:08 -04:00
1hitsong 6f0d33b1ca Use Directory GetFiles to find lyric files 2022-09-20 08:36:54 -04:00
1hitsong 5d2364f064 Move AcceptedTimeFormats to class level variable 2022-09-19 16:59:16 -04:00
1hitsong 28d017865b Code Cleanup 2022-09-18 21:17:53 -04:00
1hitsong 552b6aceae Add default values to LyricResponse 2022-09-18 16:17:26 -04:00
1hitsong 7e923e2688 Use numeric values for metadata values 2022-09-18 16:05:50 -04:00
1hitsong dddebec794 Update MediaBrowser.Controller/Lyrics/LyricResponse.cs
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
2022-09-18 14:53:36 -04:00
1hitsong dce81d8818 Update MediaBrowser.Controller/Lyrics/LyricResponse.cs
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
2022-09-18 14:53:25 -04:00
1hitsong f737581d49 Use providers in order of priority 2022-09-18 13:13:01 -04:00
1hitsong a52d108af6 Remove automapper tool 2022-09-18 11:47:57 -04:00
1hitsong 0b86630be7 Use model properties for LRC metadata 2022-09-17 19:47:29 -04:00
1hitsong 64b013b121 Resolve Azure build issues 2022-09-17 17:48:27 -04:00
1hitsong c65819221d Code cleanups. Remove pragma commands 2022-09-17 17:37:38 -04:00
1hitsong 7d886116fd Var type refinements 2022-09-17 10:42:48 -04:00
1hitsong 823e2ec029 Removing unused lines 2022-09-17 09:22:07 -04:00
1hitsong f740d1b9f0 Remove use of AddParts. Cleanup use of Lyric vs Lyrics. 2022-09-16 20:52:40 -04:00
1hitsong f4fd908f8d Create ILyricManager 2022-09-15 20:49:25 -04:00
1hitsong d9be3874ba Auto stash before merge of "lyric-lrc-file-support" and "origin/lyric-lrc-file-support" 2022-09-15 19:45:26 -04:00
Bond-009 0b47b03423 Merge pull request #8401 from ZachPhelan/sort-special-features 2022-09-14 19:49:56 +02:00
Bond-009 43ec8e9743 Merge pull request #8144 from joseph39/ffmpeg-referer 2022-09-14 19:49:04 +02:00
Zach Phelan 8857edb66c Add function back for compatibility, add sorting 2022-09-13 17:13:02 -06:00
Zach Phelan c71d6f2358 Sort special features same as other spots, removing unnecssary function
Added to contributors
2022-09-13 16:56:23 -06:00
Shadowghost 42fc02cab6 Add xmldocs 2022-09-13 17:20:22 +02:00
Shadowghost 61fa325ef0 Extend music parsing 2022-09-13 17:20:22 +02:00
Claus Vium 1cbf5431aa Merge pull request #8250 from Bond-009/minor18
Minor cleanup
2022-09-09 13:27:52 +02:00
Bond_009 5036afd691 Minor cleanup 2022-08-18 13:56:23 +02:00
luz paz 9ec2870b10 Fix various typos
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00