Bond_009
b176beb88e
Reduce string allocations
...
Some simple changes to reduce the number of allocated strings
1 year ago
Bond_009
cf67381e31
Fix release build
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Claus Vium
14027f962c
Merge pull request #6751 from Bond-009/tests12
...
Fix DLNA UpdateProfile test
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
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
InvoxiPlayGames
dc8fdb154a
get DLNA profile in XML request, correctly format UUID
3 years ago
Bond_009
09e897d372
Clean up DLNA profile code
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
ignacio laborde
8952819494
remove unnecessary ToList in DlnaManager
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
5b7e8a27fb
Fix creating DLNA profiles
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Cody Robibero
2f6437a987
Use correct id when finding existing dlna profile
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Bond_009
f31224fa8f
Remove sync FileStream hack
3 years ago
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Bond_009
4e9fbabef2
Enable nullable for DlnaManager
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
06caee28b7
Enable nullable reference types for Emby.Dlna
4 years ago
BaronGreenback
53e1b302cc
Changes as requested
4 years ago
BaronGreenback
522d5a7158
Fixed indent
4 years ago
BaronGreenback
41246909dc
fixed merge
4 years ago
BaronGreenback
f8b717e7c5
Merge branch 'master' into ProfileMatch
4 years ago
BaronGreenback
7848ea1484
missed one.
4 years ago
BaronGreenback
a99caa0daa
Changed testing
4 years ago
BaronGreenback
092c610fbf
Update Emby.Dlna/DlnaManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
4449217f8f
simplified isMatch
4 years ago
BaronGreenback
95b733ad4c
reworked code
4 years ago
BaronGreenback
c68f616377
Flip fields
4 years ago
Bond_009
117736aac9
Fix LogUnmatchedProfile formatting
4 years ago
Claus Vium
109f24514f
Merge pull request #5510 from BaronGreenback/DlnaFirstFix
...
Fix: Streaming crashing due to no deviceProfileId match.
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
BaronGreenback
1d5b7b61fb
Change First to FirstOrDefault
4 years ago
David
60ffa6f514
Use FileShare.None when creating files
4 years ago
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
4 years ago
David
043d045448
Put json serializer options in private field
4 years ago
David
bc0976ceac
Remove custom Json serializer from Dlna
4 years ago
Greenback
e51ddd326c
Fixes spelling.
4 years ago
Bond_009
b21919c7f4
Minor perf improvements
4 years ago
Bond_009
2dbf73b989
Minor improvements
4 years ago
Bond-009
c750632cfc
Merge pull request #4065 from BaronGreenback/dlna_serverfix
...
Bug Fix : DLNA Server advertising
4 years ago
BaronGreenback
a2687fac5e
Merge branch 'master' into simplified_dlnamanager
4 years ago
BaronGreenback
03d8f6f43b
Update DlnaManager.cs
...
removed space.
4 years ago
BaronGreenback
b673f5bcde
Update DlnaManager.cs
4 years ago
BaronGreenback
eedb520af1
Removed code that wasn't used.
4 years ago