Bond_009
1d018c5575
SocketFactory: Remove redundant code
...
ExclusiveAddressUse should be false by default afaik
3 years ago
Bond_009
dc222b75c5
Remove incorrect mime type image/jpg
3 years ago
Cody Robibero
6804624c15
Add image/jpg to extension lookup
3 years ago
Bond_009
7ee96a59d3
Use correct jpeg MIME type
...
image/jpg isn't a valid MIME type
3 years ago
Ahmed Rafiq
0e491025ae
Refactor MimeTypes.ToExtension()
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Ahmed Rafiq
40e05a7993
Update documentation
3 years ago
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
3 years ago
Bond_009
257e1be95f
Fix some warnings
3 years ago
Bond_009
994101fcf4
Remove some dead code
3 years ago
Bond_009
5fd315b17c
Address comments
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
4 years ago
crobibero
95a2de757f
remove custom HttpException
4 years ago
crobibero
d5e2369dd6
Fix nullability errors in MediaBrowser.Model
4 years ago
crobibero
01355e0498
Fix nullability errors in Jellyfin.Api (part 1)
4 years ago
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
4 years ago
Bill Thornton
b065f5db1d
Fix aac mime-type
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
5 years ago
artiume
ae4c407b6d
Add .edl Mimetype
5 years ago
artiume
a765272c17
Update MimeTypes.cs
5 years ago
artiume
9ed8c6cb11
Add opf mimetype
5 years ago
Mark Monteiro
2e09311a93
Merge branch 'master' into websocket
5 years ago
artiume
3e14b1b50f
Remove ogg video mimetype
5 years ago
artiume
1388464329
Update MimeTypes.cs
5 years ago
artiume
1058c80a41
Update MediaBrowser.Model/Net/MimeTypes.cs
5 years ago
artiume
0aff46631f
Update MediaBrowser.Model/Net/MimeTypes.cs
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
5 years ago
Mark Monteiro
432aae0fcc
Add missing comma
5 years ago
artiume
183514ebe2
add azw3
5 years ago
artiume
25651362bf
Update MimeTypes.cs
5 years ago
artiume
675cbd8a16
Update MimeTypes.cs
5 years ago
Bond_009
15634a1913
Merge branch 'master' into websocket
5 years ago
randrey
2e10d385f0
Add mime type for .mpegts files.
5 years ago
randrey
156998dd83
Add mime types for ape and wv files.
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Shawmon
8630d18372
add wasm mimetype
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
f47ad85011
Fix warnings MediaBrowser.Model
5 years ago
dkanada
b7a9900556
Merge pull request #2357 from Bond-009/warn13
...
Fix warnings
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
dkanada
cd13f718fb
Merge pull request #2247 from Bond-009/stringhelper
...
Remove StringHelper functions
5 years ago
Bond_009
976459d3e8
Rewrite WebSocket handling code
5 years ago
Bond-009
ded9857f45
Clean up server discovery code
5 years ago
Bond-009
fdbb329118
Remove StringHelper functions
5 years ago
Erwin de Haan
387051c409
Fix the last docs warnings.
5 years ago
Bill Thornton
3a600687ea
Restore flac mime type
5 years ago
Bond_009
1cad93c276
Use System.Net abstractions instead of raw socket
5 years ago
Bond-009
8b1bd7ac6b
Use a dictionary to look up mimetypes
5 years ago