crobibero
b670937c3d
Use typed UserManager GetPreference
4 years ago
cvium
15a3d8d626
Forgot to revert some other changes, dunno if needed
4 years ago
Joshua M. Boniface
bf54b5579c
Merge branch 'master' into defer_image_fetching
4 years ago
Joshua M. Boniface
212c5318ae
Merge pull request #4507 from BaronGreenback/Spelling
...
Corrects spelling in comments
4 years ago
Claus Vium
15b9f993c6
Merge pull request #4342 from crobibero/base-item-manager
...
Add BaseItemManager
4 years ago
Greenback
9a323f6df0
More spelling corrections.
4 years ago
Kayila
d0cf60e145
Fixes #4465 by adding the missing extras folders.
4 years ago
crobibero
64b32d3290
Use BaseItemManager
4 years ago
cvium
763862cbd8
Defer image pre-fetching until the end of a refresh/scan
4 years ago
Matt Montgomery
53d5f64e03
Fix SA1513, SA1514, SA1507, and SA1508
4 years ago
Bond-009
5e76d5fd56
Merge pull request #3879 from cvium/fix_theme_songs
...
Populate ThemeVideoIds and ThemeSongIds
4 years ago
Claus Vium
abc527329d
Sort by SortName after scanning
4 years ago
Erwin de Haan
208b00fbb1
Add the item path to the ItemLookupInfo class.
...
This is important for the Shoko Anime Meatdata provider plugin.
4 years ago
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
4 years ago
Bond_009
119f64f5e7
Make some methods async
4 years ago
cvium
e10693cbe0
Remove some LINQ queries
4 years ago
cvium
1ae3dc202c
Populate ThemeVideoIds and ThemeSongIds
4 years ago
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
4 years ago
Patrick Barron
6d1b00da64
Use Array.Empty
4 years ago
crobibero
1398c2117c
Revert ILoggerFactory usage in BaseItem.cs
4 years ago
telans
6556bec646
brace multiline if statements (cont.)
4 years ago
telans
7f307f9082
brace multiline if statements
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8de6452967
fix some documentation periods
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
afc9224ede
fix SA1111
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
4 years ago
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
4 years ago
aled
299e49f39d
Fix a small number of compile warnings
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
4 years ago
Vasily
9208acd5ae
Convert non-local image to local before computing blurhash
5 years ago
Patrick Barron
31f725fdbf
Fix a bug in Emby.Notifications and clean up
5 years ago
Patrick Barron
eef7cfd912
Make SonarCloud less angry
5 years ago
Vasily
1f83a21288
Rename Hash to BlurHash in all properties and methods for clarity
5 years ago
Vasily
3fb4c1356c
Make blurhash be computed during regular scans if it was not already computed
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Jesús Higueras
b9fc0d2628
Add BlurHash support to backend
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Anthony Lavado
ed1dc5c922
Remove JsonIgnore from the DateLastSaved property of BaseItem
5 years ago
Bond_009
a73e1f18b6
Minor improvements
5 years ago
Vasily
5b59cd2eb2
Merge pull request #2696 from mark-monteiro/fix-extras
...
Display Extras With Unknown Types
5 years ago
Mark Monteiro
1a4d9d4c53
Code review suggestions
5 years ago
Mark Monteiro
cc8294842a
Add ExtraType.Unknown enum value and use it instead of null
5 years ago
Mark Monteiro
e266ad51c5
Simplify logic; remove unnecessary methods
5 years ago
Mark Monteiro
ea306e8f6d
Do not assign an invalid value of zero to ExtraType
5 years ago
Mark Monteiro
5fcbedc194
Display extras with an unknown type
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Mark Monteiro
6897a19051
Add missing null check when retrieving extras
5 years ago
dkanada
a96c0a72b8
Merge pull request #2549 from dkanada/refactor
...
Refactor some provider classes
5 years ago
Bond-009
008a76cf4d
Merge pull request #2502 from JustAMan/baseitem-equals
...
Adds BaseItem.Equals method that compares items by their Id
5 years ago
dkanada
52fde64f10
remove unused files and fix some future warnings
5 years ago
Vasily
f4ccee5801
Add inheritdoc comment and squash simple method bodies
5 years ago
Vasily
456f571343
Follow code review suggestions
5 years ago
Vasily
007c5b9f67
Implement BaseItem.GetHashCode override
5 years ago
Vasily
f21cd30039
Lower log level for BaseItem.Equals to debug
5 years ago
Vasily
11abe31e0d
Speed up equality comparison of BaseItem
5 years ago
Vasily
d1670f8180
Apply suggestions from code review
...
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
5 years ago
Vasily
8e20d2e931
Simplify AlphanumericComparer, reduce code duplication
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
5 years ago
Bond_009
d9a03c9bb1
Fix more warnings
5 years ago
Andrew Mahone
f22ca6dd9e
Retrieve media attachments in BaseItem.
5 years ago
Bond_009
5edb8159a7
Fix Json serialization error
5 years ago
Anthony Lavado
bae5e3795e
Fix SetImage to avoid out of range exception ( #1798 )
...
* Fix SetImage to avoid out of range exception
* Actually use the new images we've retrieved
5 years ago
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
5 years ago
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
SL1288
fdc24ec2ee
Fix LocalTrailers playback.
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Claus Vium
0ef52c739e
Review changes
...
Untested
6 years ago
Claus Vium
b8a09339cd
Enforce extras folder structure according to Emby's wiki
6 years ago
Claus Vium
c1daea0ec7
Change owner and parent id of extras to the main media item
6 years ago
Bond-009
80fb3dc2cb
Fix error
6 years ago
Bond-009
4625592a83
Quick nullref fix
6 years ago
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
6 years ago
Torsten
2690ac299b
Only refresh metadata if extras changed
6 years ago
Torsten
9753a76905
Populate video extras again
6 years ago
Bond-009
1ea219bf3f
Merge branch 'master' into culture
6 years ago
Vasily
8487319374
Merge pull request #726 from EraYaN/remove-wrappers-for-system-io
...
Clean up IFileSystem wrappers around stdlib.
6 years ago
Erwin de Haan
450f246f95
Unwrapped `GetFileNameWithoutExtension`
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Claus Vium
dc68d61491
Fix default aspect ratio
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Claus Vium
0e617933f6
Change default aspect ratio to 2/3 from 0
6 years ago
Bond_009
883575893b
Change image dimentions from double to int
...
Rename ImageSize -> ImageDimensions
6 years ago
hawken
3701ce4037
Eliminate some compile warnings ( #600 )
...
* Remove some unused variables
* remove duplicate "using .." by sorting and deduping the list
* Remove things that already exist in the parent class (in one case I moved some documentation to the parent)
* EntityBodyData and and NextSearch were never set (only read), removed
* _timeout was never read, subsequently _timer became unused. part of a TODO timeout functionality that was not implemented yet
6 years ago
Bond_009
35d97dc949
Minor improvements to library scan code
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
ba610b5094
Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller
6 years ago
Erwin de Haan
26ca4b607b
Visual Studio Reformat: MediaBrowser.Controller
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago