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
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
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
Bond_009
e653eef44f
Fix some warnings
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
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Bond_009
be8ba96183
Fix some warnings
5 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
d69870680b
Close xmlwriter first
5 years ago
Bond_009
6ee04855cd
Style
5 years ago
Bond-009
36d62c3093
Fix?
5 years ago
Bond_009
6b68521bae
Try again
5 years ago
Bond-009
3a338c1899
Address comments
5 years ago
Bond_009
82112b6788
Improvements to dlna server
...
* Improve response writer
* Add analyzers
* Error on warnings in release mode
* Disable doc warnings
5 years ago
dkanada
1dd4abebbd
Merge pull request #2297 from Bond-009/asyncio
...
Kestrel doesn't like sync IO operations
5 years ago
Bond-009
ac3b958c67
Use async methods
5 years ago
Carey Metcalfe
f2eea89ff0
Fix pagination for DLNA root folder list
...
Previously, when responding to a DLNA "Browse" request, the
`StartingIndex` was not respected and all of the root items were
returned each time. This caused infinite loops with in DLNA clients that
ignored the `TotalMatches` data in the response and just continued
asking for the next page until they got an empty response.
This fix makes the root folder list respect the `StartingIndex` and
`RequestedCount` parameters like all other responses.
Fixes issue #2303
5 years ago