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