aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/MediaSourceManager.cs
AgeCommit message (Collapse)Author
2025-07-30Further refinement of BCP 47 language labeling supportdyphire
2025-05-04Cleanup file related code (#14023)Bond-009
2025-04-08Only reselect audio streams when user preference is respected (#13832)gnattu
2025-03-25Fixed namespacesJPVenson
2025-03-25WIP fixed namespacesJPVenson
2025-03-25Merge branch 'master' into feature/DatabaseRefactorJPVenson
2025-03-20Fix OnPlaybackStopped task erroring out (#13226)timminator
2025-02-02Merge remote-tracking branch 'jellyfinorigin/master' into feature/pgsql_providerJPVenson
2025-01-26Prepared Seperation of Database components for future multi provider supportJPVenson
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-11-17Applied coding styleJPVenson
2024-10-28Updated all instances of ImmutableList to ImmutableArrayJPVenson
2024-10-09Ported new Item Repository architectureJPVenson
2024-10-09WIP porting new Repository structureJPVenson
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-15Allow streaming of raw PGS subtitles without transcoding (#12056)David Schulte
2024-04-25Fix multiple intro providers and remove unneeded ToLists (#11431)Bond-009
2024-04-03Fix some spelling mistakesShadowghost
2024-02-03Merge changesMark Cilia Vincenti
2024-01-17Use helper function to compare guid (#10825)Cody Robibero
2024-01-14Updated contributors, upgraded to AsyncKeyedLocker 6.3.0 which now supports ↵Mark Cilia Vincenti
non-keyed locking using a similar interface and changed SemaphoreSlim-based locks to using AsyncNonKeyedLocker.
2024-01-09Move GetRecordingStreamMediaSources to IMediaSourceManagerPatrick Barron
2023-11-09Merge branch 'master' into media-typeCody Robibero
2023-10-11Multiple Stream changesBond_009
* Remove useless MemoryStream in DlnaHttpClient * Use HttpContent.ReadFromJsonAsync extension * Call ConfigureAwait for IAsyncDisposable * Use HttpContent.CopyToAsync where possible
2023-10-10Convert string MediaType to enum MediaTypeCody Robibero
2023-04-06Simplify linq expressions (use All)Stepan Goremykin
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
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-05-20Merge pull request #7529 from Shadowghost/strm-ffprobe-external-fixCody Robibero
(cherry picked from commit 60affd096595d68728506149d0ffce6e84b6b015) Signed-off-by: crobibero <cody@robibe.ro>
2022-03-17Fix supportsTranscoding not reflecting user permissions sometimesjakobkukla
2022-02-21Optimize Guid comparisonsBond_009
* Use Guid.Equals(Guid) instead of the == override * Ban the usage of Guid.Equals(Object) to prevent accidental boxing * Compare to default(Guid) instead of Guid.Empty
2022-02-14Fix some warningsBond_009
2021-12-27Remove more warningsCody Robibero
2021-11-07Add some docs and testsBond_009
2021-10-03Fix warnings in LibraryPatrick Barron
2021-09-10Replace GetDirectStreamProviderByUniqueId with GetLiveStreamInfoByUniqueIdcvium
2021-09-10Don't throw when livestream file isn't foundcvium
2021-09-10Kill ProgressiveFileCopier and seek to end for ongoing livetvcvium
2021-09-07Fix it for real(tm) this timeBond-009
2021-09-07Fix log messageBond-009
2021-09-02Use async FileStreams where it makes senseBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-05-24Remove some unnecessary allocationscvium
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2021-04-30Reduce some allocations with the magic of spans etc.cvium
2021-04-19Respect user settings for transcode and remuxcvium
2021-03-13FxCop -> Net Analyzers (part 2)Bond_009
2021-01-12Use JsonSerializer.SerializeToUtf8Bytes when doing a round tripBond_009
This test uses a very small object (CountryInfo), using a bigger object would increase the difference in allocated memory. ``` BenchmarkDotNet=v0.12.1, OS=fedora 32 Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores .NET Core SDK=5.0.100 [Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT | Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated | |---------------- |-----------:|---------:|---------:|-------:|------:|------:|----------:| | RoundTripBytes | 932.0 ns | 5.09 ns | 4.25 ns | 0.1173 | - | - | 368 B | | RoundTripString | 1,114.8 ns | 22.19 ns | 23.74 ns | 0.1469 | - | - | 464 B | ```