Commit Graph

1581 Commits

Author SHA1 Message Date
Niels van Velzen
cc2f91b331
Merge pull request #12547 from Bond-009/userdatamanager
Clean up UserDataManager
2024-09-06 21:56:42 +02:00
Bond_009
97a02f5803 Remove BOM from UTF-8 files
I think some people need to change their IDE configuration ;)
2024-08-30 15:29:48 +02:00
Bond_009
277830855d Clean up UserDataManager
* enable nullable
* remove unused methods
* fix warnings and docs
2024-08-30 15:08:56 +02:00
Cody Robibero
8c3f3c503b
Merge pull request #11665 from Bond-009/getuserbyid 2024-08-28 12:39:48 -06:00
Bond-009
7691b11f33
Merge pull request #12454 from theguymadmax/local-svg
Allow svg for local images
2024-08-24 00:03:50 +02:00
Bond-009
549c01c736
Merge pull request #12457 from lostb1t/feature/boxset-sort
Add support for ItemSortBy values in BoxSet
2024-08-24 00:00:48 +02:00
LJQ
bfec336549 Pass Series Display Order information to SeasonInfo 2024-08-22 17:50:13 +08:00
lostb1t
4344b951a6 make Sort private and use Enum parse 2024-08-19 11:47:34 +02:00
lostb1t
0b7dc7ff64 use default enum for unordered 2024-08-17 09:14:45 +02:00
lostb1t
e59eac6a07 filter in special display order 2024-08-16 18:31:40 +02:00
lostb1t
f737fad43a Rework get children functions to support ItemSortBy values 2024-08-16 17:01:53 +02:00
theguymadmax
065ec7ec0b Allow svg for local images 2024-08-15 23:18:40 -04:00
Bond_009
a90316b4d9 Replace UserId with User in NextUpQuery 2024-08-05 17:17:57 +02:00
Bond_009
09f4477510 Replace UserId with User in UserViewQuery 2024-08-05 17:17:57 +02: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
Bond_009
d3f0346f04 Enable nullable for UserItemData
MetadataResult.GetOrAddUserData doesn't ever get used and is probably broken since the migration to .NET Core as it still expects a Guid for userId
2024-07-29 21:05:23 +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
nielsvanvelzen
a8ac58fd5b Backport pull request #12240 from jellyfin/release-10.9.z
Fix season handling ("Season Unknown" / unneccesary empty seasons)

Original-merge: c1f7ccbca4

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-07-21 00:58:04 -04:00
Cody Robibero
b026772764
Move external url listing to provider for plugin use (#12279) 2024-07-17 09:48:31 -04:00
Shadowghost
9eab2bfe41 Backport pull request #12050 from jellyfin/release-10.9.z
Fix season handling

Original-merge: 4601097d3e

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-24 20:29:00 -04:00
Shadowghost
6734450d40 Backport pull request #12025 from jellyfin/release-10.9.z
Fix empty image folder removal for legacy locations

Original-merge: 476dc01f4d

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
81e38e772b Backport pull request #12134 from jellyfin/release-10.9.z
Only cleanup children on specific exceptions

Original-merge: 6cf98d4930

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23 11:40:58 -04:00
Bond-009
7b40c6fef1
Merge pull request #11971 from jellyfin/revert-11615-patch-1
Revert "Allow collection sort by Release Date Descending"
2024-06-06 20:42:28 +02:00
Shadowghost
bb0c234984 Backport pull request #11959 from jellyfin/release-10.9.z
Do not stop validation if folder was removed

Original-merge: cf59140276

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06 14:30:32 -04:00
Bond-009
5975a0c5c8
Revert "Allow collection sort by Release Date Descending" 2024-06-05 12:02:25 +02:00
Bond-009
727f176542
Merge pull request #11615 from cptn-x/patch-1
Allow collection sort by Release Date Descending
2024-06-05 11:52:07 +02:00
Shadowghost
c1032967c2 Backport pull request #11882 from jellyfin/release-10.9.z
Fix missing episodes query for seasons

Original-merge: 8e979bdb4b

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:41:11 -04:00
Shadowghost
1a94976752 Backport pull request #11806 from jellyfin/release-10.9.z
Return missing episodes for series when no user defined

Original-merge: ae584beaac

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:59 -04:00
Shadowghost
407dc9272c Backport pull request #11762 from jellyfin/release-10.9.z
Mark Audio as RequiresDeserialization and backfill data

Original-merge: e2c909f50f

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:57 -04:00
Shadowghost
5d4880c497 Backport pull request #11743 from jellyfin/release-10.9.z
Fix replace logic

Original-merge: 2ddb15c784

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:56 -04:00
Shadowghost
c0364fc766 Backport pull request #11719 from jellyfin/release-10.9.z
Move NFO series season name parsing to own local provider

Original-merge: a53ea029fa

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:55 -04:00
Shadowghost
8b938e2696 Backport pull request #11673 from jellyfin/release-10.9.z
Fix local playlist scanning

Original-merge: 26714e2c62

Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:50 -04:00
Shadowghost
29a293f9e7 Backport pull request #11647 from jellyfin/release-10.9.z
Fix season names

Original-merge: 2da06bc0b1

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:40 -04:00
cptn
fe07b4bbc5
Allow collection sort by Release Date Descending
- default sort is still Release Date Ascending
- choosing sort by Release Date will change it to sort by Release Date Descending

This is because most people go to collections to browse new movies to watch, and recently released movies should be on top.
2024-05-13 22:59:41 -04:00
crobibero
3564b00fc0 Backport pull request #11569 from jellyfin/release-10.9.z
Default to processor count concurrent scan instead of 2 * processor count

Original-merge: f77a5d0c5c

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-13 12:47:34 -04:00
Joshua M. Boniface
47b79df136
Update MediaBrowser.Controller/Entities/Folder.cs 2024-05-11 10:56:14 -04:00
gnattu
588fb9e82b Don't assume library change only on item count
The library will also be updated when the number of children remains the same before and after scanning. For example, if one video file is removed and replaced with another version, we still need to remove the old one in this case.

Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-11 03:57:22 +08:00
gnattu
3ae0fb90cb
Validate Collection Folders on adding and removal (#11444) 2024-05-05 08:21:40 -06: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
gnattu
1b567efeb5 fix: correctly pass parameters in overrides
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-17 21:32:21 +08:00
gnattu
e4d66f35fd chore: use proper way to override remove root
This is an alternate approach which is more proper, but changes all parts that uses/overrides the original ValidateChildren method

Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-17 14:41:19 +08:00
Cody Robibero
31e0756c0c
Only update if actively refreshing (#11341) 2024-04-12 17:45:15 -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