Cody Robibero
906f701fa8
Convert CollectionType, SpecialFolderType to enum ( #9764 )
...
* Convert CollectionType, SpecialFolderType to enum
* Hide internal enum CollectionType values
* Apply suggestions from code review
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Fix recent change
* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs
Co-authored-by: Patrick Barron <barronpm@gmail.com>
---------
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
1 year ago
Cody Robibero
c7a94d48ae
Convert ItemSortBy to enum ( #9765 )
...
* Convert ItemSortBy to enum
* Rename Unknown to Default
1 year ago
tallbl0nde
b8e5afbc10
Enable recursive query in BaseFolderImageProvider
...
Fixes album art not being extracted for multi-disc albums
1 year ago
Bond-009
92f6e19a25
Enable nullable for more files ( #9310 )
2 years ago
Bond_009
6481376b81
Use DistinctBy introduced in .NET 6
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Jan Sommer
0b8faf5db4
Fix minor warnings in Emby.Server.Implementations ( #2149 )
2 years ago
Cody Robibero
fe99800bde
Merge pull request #7221 from SenorSmartyPants/UserViewThumb
3 years ago
Bond_009
5732e6188c
Fix some warnings
3 years ago
SenorSmartyPants
5d9e1bfcea
Shuffle items with images
...
They were always returning in the same order so thumb would never change.
3 years ago
SenorSmartyPants
b15ab397c7
User Backdrop for UserView, like CollectionFolder
3 years ago
SenorSmartyPants
5c3119cf02
Generate cover image for music video type libraries.
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Bond_009
03f933aaa0
Fix the last few warnings
...
Enables TreatWarningsAsErrors for all projects
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Cody Robibero
e3f55a0c54
Reduce warnings in MediaBrowser.Controller ( #6006 )
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
f2c10471bf
Code Clean up: Use Pattern Matching ( #5838 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
Anthony Lavado
6205fb4b6a
Merge pull request #4341 from Bond-009/minor6
...
Minor improvements
4 years ago
Bond_009
49569ca0a0
Use nameof where possible
4 years ago
David
a3020f2917
Use backdrop with library name as library thumbnail
4 years ago
Bond-009
b7421db5fe
Merge pull request #3578 from barronpm/displaypreferences-efcore
...
Migrate Display Preferences to EF Core
4 years ago
Patrick Barron
0aa349fe40
Remove unused dependencies.
4 years ago
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
dkanada
2e7d7abe8e
disable rule that requires comments in two image providers for now
4 years ago
dkanada
feda2947b7
add missing comments for a few image providers
4 years ago
dkanada
6022f9f1da
disable specific rule for playlist image provider
4 years ago
dkanada
17031fb38d
disable artist image provider until configurable
4 years ago
dkanada
3f3bb668a3
fix namespace for providers that were moved
4 years ago
dkanada
c9c6fe02ab
move most of the image providers to a single directory
4 years ago
dkanada
aa66444264
add image provider for artists
4 years ago
dkanada
8d7e9ab515
minor refactoring
4 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond_009
c5995af493
Some style fixes
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
58b582bdcb
Visual Studio Reformat: Emby.Server.Implementations Part I-Lib
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