aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
AgeCommit message (Collapse)Author
2021-05-02Add tests for SqliteItemRepository.(De)SerializeProviderIdsBond_009
2021-05-02Add tests for SqliteItemRepository.(De)SerializeImagesBond_009
2021-05-01Update LiveTvMediaSourceProvider.csBaronGreenback
2021-05-01Update ApplicationHost.csBaronGreenback
Renamed method
2021-05-01Fix scanningBond_009
2021-04-30remove span based setprovideridcvium
2021-04-30Merge pull request #5890 from Bond-009/filesystemBond-009
Reduce string allocations/fs lookups in resolve code
2021-04-30prevent cancellationtoken leakagecvium
2021-04-30revert the last bits of the getcount experimentcvium
2021-04-30Reduce some allocations with the magic of spans etc.cvium
2021-04-30Update Emby.Server.Implementations/ApplicationHost.csBaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-29Merge pull request #5842 from BaronGreenback/optimizationBond-009
Code Clean up: Group Methods
2021-04-29Merge pull request #5891 from Bond-009/filesystem2Bond-009
2021-04-29Merge pull request #5893 from Bond-009/dbBond-009
SqliteItemRepository: remove redundant operations
2021-04-29SqliteItemRepository: Parse ChannelId directly from utf-8 dataBond_009
2021-04-29Merge pull request #5903 from iwalton3/auto-leave-syncplayBond-009
Leave SyncPlay group on session disconnect.
2021-04-28Add ability to sort on Genre, MusicGenre, Artistcrobibero
2021-04-26Changed other method to match for consistency.BaronGreenback
2021-04-26updated commentBaronGreenback
2021-04-26Fix url for LiveTVBaronGreenback
2021-04-26Bump prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0dependabot[bot]
Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 3.4.1 to 4.0.0. - [Release notes](https://github.com/djluck/prometheus-net.DotNetRuntime/releases) - [Commits](https://github.com/djluck/prometheus-net.DotNetRuntime/compare/3.4.1...4.0.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26Add endpoint to log client eventscrobibero
2021-04-26Bump sharpcompress from 0.28.1 to 0.28.2dependabot[bot]
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.28.1 to 0.28.2. - [Release notes](https://github.com/adamhathcock/sharpcompress/releases) - [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.28.1...0.28.2) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-24add UpdatePeopleAsync and add people to both tablescvium
2021-04-24Leave SyncPlay group on session disconnect.Ian Walton
2021-04-23Merge pull request #5892 from crobibero/password-obsoleteBond-009
2021-04-22SqliteItemRepository: remove redundant operationsBond_009
removed: * nameof -> FullName lookup * IndexOf before Replace * Enum.GetNames -> Enum.Parse roundtrip
2021-04-22Mark PasswordSha1 as obsoletecrobibero
2021-04-22Improve fast path of ManagedFileSystem.GetValidFilenameBond_009
| Method | Data | Mean | Error | StdDev | Median | Gen 0 | Gen 1 | Gen 2 | Allocated | |---------------------------- |-------------- |------------:|----------:|----------:|------------:|-------:|------:|------:|----------:| | GetValidFilenameBench | AC/DCKD/A | 52.29 ns | 0.537 ns | 0.448 ns | 52.35 ns | 0.0255 | - | - | 80 B | | GetValidFilenameOldBench | AC/DCKD/A | 86.68 ns | 1.205 ns | 1.127 ns | 86.33 ns | 0.0587 | - | - | 184 B | | GetValidFilenameWinBench | AC/DCKD/A | 448.55 ns | 1.228 ns | 1.088 ns | 448.33 ns | 0.0505 | - | - | 160 B | | GetValidFilenameOldWinBench | AC/DCKD/A | 865.21 ns | 5.734 ns | 5.083 ns | 866.60 ns | 0.0839 | - | - | 264 B | | GetValidFilenameBench | ValidFileName | 16.00 ns | 0.234 ns | 0.207 ns | 16.02 ns | 0.0102 | - | - | 32 B | | GetValidFilenameOldBench | ValidFileName | 100.66 ns | 1.255 ns | 1.174 ns | 101.21 ns | 0.0587 | - | - | 184 B | | GetValidFilenameWinBench | ValidFileName | 116.60 ns | 1.624 ns | 1.519 ns | 116.88 ns | 0.0356 | - | - | 112 B | | GetValidFilenameOldWinBench | ValidFileName | 1,052.66 ns | 18.077 ns | 33.056 ns | 1,037.25 ns | 0.0839 | - | - | 264 B |
2021-04-22ManagedFileSystem: Rewrite GetValidFilename and more improvementsBond_009
2021-04-22Reduce string allocations/fs lookups in resolve codeBond_009
2021-04-22Remove unused/duplicate servicesBond_009
2021-04-21Merge pull request #5878 from Artiume/patch-2Bond-009
2021-04-21Merge pull request #5877 from Bond-009/circ1Bond-009
EncodingHelper: Fix circular dependency
2021-04-21Merge pull request #5808 from cvium/semi-fix-collection-perfBond-009
2021-04-21Update var namesartiume
2021-04-20Fix Audiobook Resumeartiume
https://github.com/jellyfin/jellyfin/issues/5703
2021-04-20EncodingHelper: Fix circular dependencyBond_009
2021-04-19Respect user settings for transcode and remuxcvium
2021-04-17Fix ArgumentOutOfRangeException scanning AudioBooksStephen Moore
AudioResolver.ResolveMultipleAudio method can attempt to access the first item in a List without checking if the list is empty which throws an ArgumentOutOfRangeException and stops the 'Scan Library' process.
2021-04-17Remove unused using directivesBaronGreenback
2021-04-17Group MethodsBaronGreenback
2021-04-17Cleaned up "value assigned is not used in any execution path"BaronGreenback
2021-04-16Some code cleanup. Allow NextUpDateCutoff to be nullJack
2021-04-15Add NextUpCutoffDate to NextUpQueryJack
2021-04-15Enable nullability for ServerDiscoveryInfo (#5804)Cody Robibero
2021-04-13Don't use database for QuickConnectPatrick Barron
2021-04-13fixescvium
2021-04-13Optimize the way items are grouped into collectionscvium
2021-04-12Fix possible ArgumentNullExceptionBond_009
``` Error Message: System.ArgumentNullException : Value cannot be null. (Parameter 'source') Stack Trace: at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at Emby.Server.Implementations.Library.LibraryManager.ResolveItem(ItemResolveArgs args, IItemResolver[] resolvers) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 475 at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, String collectionType, LibraryOptions libraryOptions) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 618 at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, Folder parent) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 536 at Emby.Server.Implementations.Library.LibraryManager.GetUserRootFolder() in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 812 at Emby.Server.Implementations.Library.LibraryManager.GetCollectionFolders(BaseItem item) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 2080 at Emby.Server.Implementations.Library.LibraryManager.GetLibraryOptions(BaseItem item) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 2116 at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IEnumerable`1 savers) in /home/vsts/work/1/s/MediaBrowser.Providers/Manager/ProviderManager.cs:line 672 at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType) in /home/vsts/work/1/s/MediaBrowser.Providers/Manager/ProviderManager.cs:line 655 at Emby.Server.Implementations.Library.LibraryManager.RunMetadataSavers(BaseItem item, ItemUpdateType updateReason) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 2017 at Emby.Server.Implementations.Library.LibraryManager.UpdateItemsAsync(IReadOnlyList`1 items, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken) in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 1975 at Emby.Server.Implementations.Library.LibraryManager.CreateRootFolder() in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 775 at Emby.Server.Implementations.Library.LibraryManager.get_RootFolder() in /home/vsts/work/1/s/Emby.Server.Implementations/Library/LibraryManager.cs:line 180 at Emby.Server.Implementations.IO.LibraryMonitor.Start() in /home/vsts/work/1/s/Emby.Server.Implementations/IO/LibraryMonitor.cs:line 135 at Emby.Server.Implementations.IO.LibraryMonitorStartup.RunAsync() in /home/vsts/work/1/s/Emby.Server.Implementations/IO/LibraryMonitorStartup.cs:line 26 at Emby.Server.Implementations.ApplicationHost.StartEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)+MoveNext() in /home/vsts/work/1/s/Emby.Server.Implementations/ApplicationHost.cs:line 518 at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks) at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/Emby.Server.Implementations/ApplicationHost.cs:line 502 at Jellyfin.Server.Integration.Tests.JellyfinApplicationFactory.CreateServer(IWebHostBuilder builder) in /home/vsts/work/1/s/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs:line 101 at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer() at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers) at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers) at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options) at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient() at Jellyfin.Server.Integration.Tests.Controllers.ActivityLogControllerTests.ActivityLog_GetEntries_Ok() in /home/vsts/work/1/s/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs:line 21 --- End of stack trace from previous location --- ```