aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Sorting
AgeCommit message (Collapse)Author
2025-02-05Moved Trimmed to Jellyfin.Extensions.StringExtensionsMarc Brooks
2025-02-03Merge branch 'master' into sort-nfo-dataMarc Brooks
2025-01-25chore: fix spellingJosh Soref
* a * acceleration * addition * altogether * api clients * artist * associated * bandwidth * cannot * capabilities * case-insensitive * case-sensitive * configuration * delimiter * dependent * diacritics * directors * enable * explicitly * filters * finish * have * hierarchy * implicit * include * information * into * its * keepalive * localization * macos * manual * matching * metadata * nonexistent * options * overridden * parsed * parser * playback * preferring * processes * processing * provider * ratings * retrieval * running * segments * separate * should * station * subdirectories * superseded * supported * system * than * the * throws * transpose * valid * was link: forum or chat rooms Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
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
2023-11-09Convert ItemSortBy to enum (#9765)Cody Robibero
* Convert ItemSortBy to enum * Rename Unknown to Default
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-06-06Remove warninigs from MediaBrowser.Controller (Part 3) (#6078)Cody Robibero
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2021-05-07Enable nullable reference types for MediaBrowser.ControllerBond_009
2020-08-22Enable TreatWarningsAsErrors for MediaBrowser.Controller in ReleaseBond_009
2020-06-16Add full stop at end of comments (SA1629)telans
2020-05-26Make SonarCloud less angryPatrick Barron
2020-05-12Initial migration codePatrick Barron
2020-03-24Remove unused usingsBond_009
2020-03-05Add speed for alpha numeric sortingBond_009
2020-03-02Apply code review suggestionVasily
2020-02-27Apply suggestions from code reviewVasily
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2020-02-27Simplify AlphanumericComparer, reduce code duplicationVasily
2019-01-13ReSharper conform to 'var' settingsErwin de Haan
2019-01-13Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.ControllerErwin de Haan
2019-01-13Visual Studio Reformat: MediaBrowser.ControllerErwin de Haan
2018-12-27Add GPL modulesAndrew Rabert
2018-09-12Update to 3.5.2 and .net core 2.1stefan
2016-03-27Remove unused code...Sven Van den brande
2016-03-24update name sortingLuke Pulverenti
2014-01-13save web client view selectionLuke Pulverenti
2013-10-02added user data manager, updated nugetLuke Pulverenti
2013-04-13removed excess hashing in providers and made user data key-basedLuke Pulverenti
2013-04-02Moved userdata to user manager to resolve concurrency issues. must delete ↵Luke Pulverenti
userdata and displaypreferences db files.
2013-03-09unified the two sorting api'sLukePulverenti
2013-02-21isolated bdinfo dependancyLukePulverenti
2013-02-20Pushing missing changesLukePulverenti