Cody Robibero
892973a9e3
Merge branch 'master' into media-type
1 year ago
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
Cody Robibero
2920611ffc
Convert string MediaType to enum MediaType
1 year ago
Bond_009
4b01aaa0f7
Allocate less Lists
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
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);
```
2 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Bond_009
05836c8cd3
Fix warning SA1414 and CA1849
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Marius Luca
a774d1fa10
- flush the XmlWriter before calling the StringBuilder ToString() method
3 years ago
cvium
efa76c0b63
Remove unused field
3 years ago
cvium
3f09fb8d70
length
3 years ago
cvium
a90735bc5a
Last small fixes
3 years ago
cvium
37a04d5dbf
Reduce indentation
3 years ago
cvium
e1f7f1405e
Use GetOrderBy in GetChildrenSorted
3 years ago
cvium
6985a4f255
Fix SortCriteria and refactor SetSorting
3 years ago
cvium
53c16c2342
Build an array instead of using LINQ
3 years ago
cvium
c1c77c8762
comments
3 years ago
cvium
996500b2f8
review stuff
3 years ago
Claus Vium
66912deb84
Apply suggestions from code review
3 years ago
Claus Vium
ac06022e0f
Update Emby.Dlna/ContentDirectory/ControlHandler.cs
3 years ago
cvium
a236f52c31
Simplify and reduce LOC in ControlHandler
3 years ago
LinFor
5c69d110cc
Samsung DLNA fixes
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond-009
e5a29824e5
Merge branch 'master' into minor15
3 years ago
Bond_009
501de7b6dc
Enable nullable in more files
3 years ago
Bond_009
1f99c9b90c
Minor fixes
3 years ago
Bond_009
06caee28b7
Enable nullable reference types for Emby.Dlna
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
Bond_009
aa76957338
Remove useless code
4 years ago
Bond_009
40b9e7592f
Fix build
4 years ago
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
4 years ago
Bond_009
e4fd61411f
Minor improvements
4 years ago
Greenback
e51ddd326c
Fixes spelling.
4 years ago
Joshua M. Boniface
355c0c802f
Merge pull request #4138 from BaronGreenback/Comment3
...
DLNA ContentManager - static and commented.
4 years ago
Bond_009
b21919c7f4
Minor perf improvements
4 years ago
Bond_009
5a9c218324
Fix build
4 years ago
Bond_009
49569ca0a0
Use nameof where possible
4 years ago
Jim Cartlidge
c1b3f2c136
ContentDirectory
4 years ago
crobibero
2a8653b309
Merge remote-tracking branch 'upstream/master' into http-client-migrate
4 years ago
Bond_009
e653eef44f
Fix some warnings
4 years ago
crobibero
8215f15c45
migrate to IHttpClientFactory in Emby.Dlna
4 years ago
Bond_009
170e434f92
Fix all warnings in Emby.Dlna
4 years ago
David
ca2b36bdb0
Reduce warnings in Emby.Dlna
4 years ago
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
acd4389653
fix SA1005
4 years ago