aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities
AgeCommit message (Collapse)Author
2024-10-09WIP porting new Repository structureJPVenson
2024-10-09Naming refactoring and WIP porting of new interface repositoriesJPVenson
2024-09-22Allow Playlists access for users with allowed tags configured (#12686)elfalem
2024-09-18Sort embedded collections in Nfo filesMarc Brooks
Because the Nfo files emit the collections as they are in-memory, the files are not stable in format, genres, tags, albums, people, etc. are emitted in random orders. Add ordering of the collections when emitting the Nfo files so the file remains stable (unchanged) when underlying media information doesn't change. In the process of this, it became clear that most of the providers and probes don't trim the strings like people's names, genre names, etc. so did a pass of Trim cleanup too. Specific ordering: (alphabetical/numeric ascending after trimming blanks and defaulting to zero for missing numbers) BaseItem: Directors, Writers, Trailers (by Url), Production Locations, Genres, Studios, Tags, Custom Provider Data (by key), Linked Children (by Path>LibraryItemId), Backdrop Images (by path), Actors (by SortOrder>Name) AlbumNfo: Artists, Album Artists, Tracks (by ParentIndexNumber>IndexNumber>Name) ArtistNfo: Albums (by Production Year>SortName>Name) MovieNfo: Artists Fix Debug build lint Fix CI debug build lint issue. Fix review issues Fixed debug-build lint issues. Emits the `disc` number to NFO for tracks with a non-zero ParentIndexNumber and only emit `position` if non-zero. Removed the exception filtering I put in for testing. Don't emit actors for MusicAlbums or MusicArtists Swap from String.Trimmed() to ?.Trim() Addressing PR feedback Can't use ReadOnlySpan in an async method Removed now-unused namespace
2024-09-18Only sort item by width when they have the same path (#12626)gnattu
2024-09-07Backport pull request #12558 from jellyfin/release-10.9.zBond-009
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-07Backport pull request #12550 from jellyfin/release-10.9.zBond-009
Create and use FormattingStreamWriter Original-merge: cd2f2ca17800f71c8d94a6e043b49b7c4200e254 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-09-06Merge pull request #12547 from Bond-009/userdatamanagerNiels van Velzen
Clean up UserDataManager
2024-08-30Remove BOM from UTF-8 filesBond_009
I think some people need to change their IDE configuration ;)
2024-08-30Clean up UserDataManagerBond_009
* enable nullable * remove unused methods * fix warnings and docs
2024-08-28Merge pull request #11665 from Bond-009/getuserbyidCody Robibero
2024-08-24Merge pull request #12454 from theguymadmax/local-svgBond-009
Allow svg for local images
2024-08-24Merge pull request #12457 from lostb1t/feature/boxset-sortBond-009
Add support for ItemSortBy values in BoxSet
2024-08-22Pass Series Display Order information to SeasonInfoLJQ
2024-08-19make Sort private and use Enum parselostb1t
2024-08-17use default enum for unorderedlostb1t
2024-08-16filter in special display orderlostb1t
2024-08-16Rework get children functions to support ItemSortBy valueslostb1t
2024-08-15Allow svg for local imagestheguymadmax
2024-08-05Replace UserId with User in NextUpQueryBond_009
2024-08-05Replace UserId with User in UserViewQueryBond_009
2024-08-05Use User overload of UserDataManager.SaveUserData when possibleBond_009
2024-08-05Add media segments API (#12345)JPVenson
* 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-07-29Enable nullable for UserItemDataBond_009
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-21Changed `GetThemeMedia` to support SortBy/Order options (#12167)ItsAllAboutTheCode
* 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-21Backport pull request #12240 from jellyfin/release-10.9.znielsvanvelzen
Fix season handling ("Season Unknown" / unneccesary empty seasons) Original-merge: c1f7ccbca458546d826fb1cbb5dfcb092ad90d99 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-07-17Move external url listing to provider for plugin use (#12279)Cody Robibero
2024-06-24Backport pull request #12050 from jellyfin/release-10.9.zShadowghost
Fix season handling Original-merge: 4601097d3e30bb166f18672de82a13e3ca525343 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-24Backport pull request #12025 from jellyfin/release-10.9.zShadowghost
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-23Backport pull request #12134 from jellyfin/release-10.9.zShadowghost
Only cleanup children on specific exceptions Original-merge: 6cf98d49300459b7795b994733ba05837e22cf1e Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06Merge pull request #11971 from jellyfin/revert-11615-patch-1Bond-009
Revert "Allow collection sort by Release Date Descending"
2024-06-06Backport pull request #11959 from jellyfin/release-10.9.zShadowghost
Do not stop validation if folder was removed Original-merge: cf591402761a7dda3fd251cb865eeba9b6533bfa Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-05Revert "Allow collection sort by Release Date Descending"Bond-009
2024-06-05Merge pull request #11615 from cptn-x/patch-1Bond-009
Allow collection sort by Release Date Descending
2024-06-01Backport pull request #11882 from jellyfin/release-10.9.zShadowghost
Fix missing episodes query for seasons Original-merge: 8e979bdb4bd33fb152a351c4f42d5d0542bad98c Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11806 from jellyfin/release-10.9.zShadowghost
Return missing episodes for series when no user defined Original-merge: ae584beaac0123f6a722f341a4e12b8f8fbcaf34 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11762 from jellyfin/release-10.9.zShadowghost
Mark Audio as RequiresDeserialization and backfill data Original-merge: e2c909f50f34cc06fcd39a02407d1f5b7bb37a1e Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11743 from jellyfin/release-10.9.zShadowghost
Fix replace logic Original-merge: 2ddb15c7845a944d980364209c2304f03cebf025 Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11719 from jellyfin/release-10.9.zShadowghost
Move NFO series season name parsing to own local provider Original-merge: a53ea029fade01a18e8e525543b5cda14e16533a Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17Backport pull request #11673 from jellyfin/release-10.9.zShadowghost
Fix local playlist scanning Original-merge: 26714e2c62fb0fe1138bcb731ad7ad4d62bc7637 Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17Backport pull request #11647 from jellyfin/release-10.9.zShadowghost
Fix season names Original-merge: 2da06bc0b10edcdb43618684396828afa4100b44 Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-13Allow collection sort by Release Date Descendingcptn
- 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-13Backport pull request #11569 from jellyfin/release-10.9.zcrobibero
Default to processor count concurrent scan instead of 2 * processor count Original-merge: f77a5d0c5c11741e16e7c2411e8f9df04d5f0b26 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-11Update MediaBrowser.Controller/Entities/Folder.csJoshua M. Boniface
2024-05-11Don't assume library change only on item countgnattu
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-05Validate Collection Folders on adding and removal (#11444)gnattu
2024-04-30More efficient array creation (#11468)Bond-009
2024-04-30Fix incomplete tag query for whitelist tags (#11416)gnattu
2024-04-28Address commentsBond_009
2024-04-28Improve audio normalizationBond_009
* 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