gnattu
4a4fef830e
Explicitly set default value for enums used in API models ( #13821 )
...
Enums in response model with no nullability or default value will make the API very fragile as each extension to the enum will break the API for some clients, but a lot of enums actually do have an unknown value which should be used as a default. This set all model properties that are non-nullable using an enum that has an Unknown member in 10.10, except MediaStream.VideoRangeType which is refactored in #13277
2025-03-31 17:43:31 -06:00
Cody Robibero
89be3aa37f
Convert Person.Type to use PersonKind enum ( #9487 )
2023-03-25 11:52:02 -06:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Niels van Velzen
e86f778c05
Use Guid for BaseItemPerson.Id
2022-01-22 15:46:12 +01:00
crobibero
0651d7512b
Enable BlurHash for People
2020-06-16 15:12:48 -06:00
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
2020-04-05 18:10:56 +02:00
Bond_009
f47ad85011
Fix warnings MediaBrowser.Model
2020-02-04 01:49:27 +01:00
Bond_009
5edb8159a7
Fix Json serialization error
2019-10-15 17:49:49 +02:00
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
2019-01-13 21:31:14 +01:00
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
2019-01-13 21:02:23 +01:00
Andrew Rabert
a86b71899e
Add GPL modules
2018-12-27 18:27:57 -05:00
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
c7f559f8ce
make model project portable
2016-10-21 22:08:34 -04:00
Sven Van den brande
219cba7506
Removed redundant Collection Initializers
...
Removed Using directives that are not required
2016-07-29 21:18:03 +02:00
Luke Pulverenti
78e6c638bc
remove fody from build
2016-07-15 15:53:28 -04:00
Luke Pulverenti
2b7a80cfb5
improve direct play of live streams
2015-04-04 15:35:29 -04:00
Luke Pulverenti
1a5a75854b
update translations
2014-06-29 15:59:52 -04:00
Luke Pulverenti
0d605b8672
update subtitle interface
2014-05-11 18:38:10 -04:00
Luke Pulverenti
f02c326027
Removed guids from the model project
2014-05-08 16:09:53 -04:00
ScottIsAFool
4058f8dc0a
Added DebuggerDisplay to some DTO objects
2014-01-12 09:31:24 +00:00
Luke Pulverenti
8329710cf5
rename case
2013-06-09 23:16:15 -04:00