Bond_009
d2db700402
Always await instead of directly returning Task
...
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#prefer-asyncawait-over-directly-returning-task
The performance impact is negligible (and it's me saying that!)
2024-10-31 17:02:06 +01:00
elfalem
9ec85a0f18
Allow Playlists access for users with allowed tags configured ( #12686 )
2024-09-22 18:50:29 -06:00
gnattu
97d2f778f8
Only sort item by width when they have the same path ( #12626 )
2024-09-18 07:22:53 -06:00
Bond-009
e10b986ea0
Backport pull request #12558 from jellyfin/release-10.9.z
...
Fix alt version name generation
Original-merge: 70f4f2e8c2378f9a219c840ac23d0bcd2638c966
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-09-07 18:09:53 -04:00
Cody Robibero
8c3f3c503b
Merge pull request #11665 from Bond-009/getuserbyid
2024-08-28 12:39:48 -06:00
theguymadmax
065ec7ec0b
Allow svg for local images
2024-08-15 23:18:40 -04:00
Bond_009
c680dbb53e
Use User overload of UserDataManager.SaveUserData when possible
2024-08-05 17:17:57 +02:00
JPVenson
00eb6c0d6f
Add media segments API ( #12345 )
...
* Added Media segment manager
* Added "HasSegments" to MediaSourceInfo when requesting though baseitem
* Fixed ordering of Media Segements
* Added media segment API controller
* Added .ConfigureAwait(false) on media segments manager
* renamed MediaSegmentsController
removed empty route
* Added Model layer for Media Segments
Fixed review comments Media segments
* Updated media segment naming
refactored api and manager usage
* Added mediaSegment type filter
* Fixed codesmell
* Fixed naming and typos
* Added EF Migration
* Added Identity Generation for MediaSegments
Made mediasegment filter optional
* Fixed optional filter parameter
* refactored segment namespace
* Added SegmentProviderId to MediaSegment
* Media segment comment indentation
* Added MediaSegmentManager query notracking
2024-08-05 14:20:27 +02:00
ItsAllAboutTheCode
24f355a779
Changed GetThemeMedia
to support SortBy/Order options ( #12167 )
...
* Changed `GetThemeMedia` to support SortBy/Order options
The `GetThemeMedia, `GetThemeVideos` and `GetThemeSongs` functions can optionally sort the results based based on passing an ItemSortBy type and a SortOrder.
This is intended to be used by jellyfin-web in order to allow users to control the order of theme playback.
See PR: https://github.com/jellyfin/jellyfin-web/pull/5714
* Update MediaBrowser.Controller/Entities/BaseItem.cs
Fix the `GetThemeVideos` two argument overload having both parameters defaulted.
For the two argument overload, both parameters are required.
2024-07-21 16:16:31 +02:00
Cody Robibero
b026772764
Move external url listing to provider for plugin use ( #12279 )
2024-07-17 09:48:31 -04:00
Shadowghost
6734450d40
Backport pull request #12025 from jellyfin/release-10.9.z
...
Fix empty image folder removal for legacy locations
Original-merge: 476dc01f4d5bf0fdf391935ef0759b0583bf7026
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-24 20:28:58 -04:00
Shadowghost
5d4880c497
Backport pull request #11743 from jellyfin/release-10.9.z
...
Fix replace logic
Original-merge: 2ddb15c7845a944d980364209c2304f03cebf025
Merged-by: joshuaboniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:56 -04:00
Bond-009
3feb3f81bf
More efficient array creation ( #11468 )
2024-04-30 13:32:59 -06:00
gnattu
5dc6bb4910
Fix incomplete tag query for whitelist tags ( #11416 )
2024-04-30 13:32:49 -06:00
Bond_009
2ad872001d
Address comments
2024-04-28 17:16:33 +02:00
Bond_009
88a38a61b5
Improve audio normalization
...
* Move calculation of LUFS to a scheduled task as it's pretty slow
* Correctly calculate album LUFS
* Don't try to convert replaygain tags to LUFS values
2024-04-28 15:18:53 +02:00
Bond-009
428283f787
Always scan ReplayGain tag ( #11418 )
2024-04-24 08:09:01 -06:00
gnattu
601c88c704
fix: don't apply whitelist tags to libraries ( #11377 )
2024-04-21 10:57:35 -06:00
Shadowghost
ddda30fe23
Only allow owner and admin to delete playlists
2024-04-05 21:11:09 +02:00
Cody Robibero
5437936bb9
Check all tags for allow/block ( #11206 )
2024-03-25 07:15:24 -06:00
Gary Wang
c16135800c
feat(i18n): transliterate item name before sorting ( #11172 )
2024-03-22 20:59:59 -06:00
robert-hamilton36
2234b5bec6
add lyric files to supportedExtensions
2024-03-16 12:14:29 +13:00
Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
2024-01-17 08:51:39 -07:00
Niels van Velzen
55916a09eb
Remove some unused client capabilities and sync code ( #10812 )
2024-01-06 13:33:48 -07:00
Cody Robibero
033cfa59c4
Convert CollectionType to use lowercase enum names
2023-12-08 15:45:36 -07:00
Cody Robibero
892973a9e3
Merge branch 'master' into media-type
2023-11-09 22:03:55 -07:00
Cody Robibero
906f701fa8
Convert CollectionType, SpecialFolderType to enum ( #9764 )
...
* Convert CollectionType, SpecialFolderType to enum
* Hide internal enum CollectionType values
* Apply suggestions from code review
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Fix recent change
* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs
Co-authored-by: Patrick Barron <barronpm@gmail.com>
---------
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-11-09 14:00:29 -07:00
Cody Robibero
2920611ffc
Convert string MediaType to enum MediaType
2023-10-10 15:57:15 -06:00
Bond_009
18a311d32f
== null -> is null
2023-08-22 21:14:54 +02:00
Bond-009
3982b0e057
Reduce bottlenecks scan code ( #9863 )
2023-06-21 21:01:47 -06:00
TelepathicWalrus
603fce59df
Audio normalization ( #9222 )
...
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-05-15 13:12:24 +02:00
Stepan Goremykin
910617bbc3
Remove redundant 'else' keywords
2023-04-06 19:38:34 +02:00
Bond_009
2e4905ff05
Fix #9378
...
Remove sort words before replacing dots with spaces
2023-03-16 17:33:43 +01:00
Bond_009
761b9ed6a1
Allow webp for local images
2023-03-08 15:19:40 +01:00
Shadowghost
07dc163844
Fix playlist parental control and no parental control skipping forbidden unrated items
2023-02-20 11:53:20 +01:00
Shadowghost
c8d80450e0
Recursively update rating
2023-02-20 11:53:20 +01:00
Jpuc1143
cb61a57e82
Reduced number of calls to GetPreference()
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-02-09 20:45:40 -03:00
Jpuc1143
7fa6d4c81e
Add "Allowed Tags" to Parental Controls
2023-01-20 16:43:59 -03:00
Cody Robibero
9a740344be
Add support for .sup subtitle ( #8808 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/8628
2022-12-30 08:24:06 -07:00
Joe Rogers
e4040ab812
Allow video extras to use owner library options
2022-12-08 01:00:27 -05:00
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2022-12-07 16:43:59 +01:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
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
Bond_009
224bb355dd
Rewrite BaseItem.ModifySortChunks
2022-10-12 17:43:01 +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
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
Bond-009
2b1a915ead
Merge pull request #7604 from Jellifi007/fixes-diactritics
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
(cherry picked from commit 8d1d9734381472b301deb0118bbb8da2a769a65e)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-20 18:30:56 -04:00
Bond_009
7fdc0e3c3d
BaseItem: remove unused function
2022-03-11 16:21:32 +01:00