jellyfin/MediaBrowser.Model
Ahmed Rafiq 6193fdea69 Use MimeTypes package to determine MIME type
This simplifies the code since we don't have to keep large mappings of extensions and MIME types.

We still keep the ability to override the mappings for:
- filling in entries not present in the package, for e.g. ".azw3"
- picking preferred extensions, for e.g. MimeTypes provides ".conf" as a possible extionsion for "text/plain", and while that is correct, ".txt" would be preferrable
- compatibility reasons
2021-12-04 20:08:16 +06:00
..
Activity Enable nullable in more files 2021-07-26 23:02:32 +02:00
ApiClient Enable nullability for ServerDiscoveryInfo (#5804) 2021-04-15 15:39:59 +02:00
Branding Enable nullable in more files 2021-07-26 23:02:32 +02:00
Channels Enable nullable for more files 2021-10-26 13:56:30 +02:00
ClientLog Suggestions from review 2021-10-27 19:20:14 -06:00
Collections Fix some warnings 2020-02-23 12:11:43 +01:00
Configuration Use JsonContent where possible 2021-12-01 15:40:06 +01:00
Cryptography Replace PBKDF2-SHA1 with PBKDF2-SHA512 2021-11-10 22:34:54 +01:00
Devices Migrate authentication db to EF Core 2021-05-20 23:56:59 -04:00
Dlna - enable seek function when direct streaming over DLNA 2021-11-26 18:09:34 +02:00
Drawing Apply suggestions from code review 2021-04-11 08:21:23 +02:00
Dto Add setter for CustomPrefs 2021-11-15 22:03:19 +01:00
Entities Remove Obsolete attribute on enum 2021-11-12 06:58:18 -07:00
Extensions Fix images "not loading" after manual identification 2021-09-09 19:16:15 -04:00
Globalization Fix warning: Using directive is not required by the code and can be safely removed (#2149) 2021-10-03 10:49:41 +07:00
IO Remove workaround for dotnet/runtime#42790 2021-10-03 19:52:38 +02:00
Library Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
LiveTv Remove unused using directives 2021-04-17 11:37:55 +01:00
MediaInfo Remove some dead code 2021-11-09 16:28:39 +01:00
Net Use MimeTypes package to determine MIME type 2021-12-04 20:08:16 +06:00
Notifications Fix notification disabled users list 2021-04-19 11:38:27 +02:00
Playlists Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
Plugins Remove useless nullable directives 2021-06-11 23:36:10 +02:00
Properties Add tests for GetResolutionText 2021-07-20 23:04:49 +02:00
Providers Enable nullable for MediaBrowser.Providers 2021-10-26 15:49:01 +02:00
Querying Remove ImageType.Screenshot and ItemFields.Screenshot 2021-11-06 20:43:20 +01:00
QuickConnect Fix issues with QuickConnect and AuthenticationDb 2021-06-23 21:07:08 -06:00
Search Enable TreatWarningsAsErrors for MediaBrowser.Model 2021-02-20 23:29:33 +01:00
Serialization Remove custom Json serializer 2020-12-23 13:24:34 +01:00
Session Add int values to HardwareEncodingType enum 2021-07-11 11:59:52 -07:00
Subtitles fix lint 2020-08-20 15:17:42 +08:00
SyncPlay Send playing item status in SyncPlay group update 2021-03-29 11:29:48 +02:00
System Simplify the way we choose our ffmpeg 2021-08-30 15:40:52 +02:00
Tasks Fix some warnings 2021-05-28 14:33:54 +02:00
Updates Remove useless nullable directives 2021-06-11 23:36:10 +02:00
Users Enable nullable for more files 2021-10-26 13:56:30 +02:00
MediaBrowser.Model.csproj Use MimeTypes package to determine MIME type 2021-12-04 20:08:16 +06:00