Patrick Barron
e46e3be667
Remove DLNA socket code
1 year ago
Bond_009
635d67d458
Revert "Use System.Net.IPNetwork"
...
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
1 year ago
Bond_009
99e0d46ad9
Use System.Net.IPNetwork
1 year ago
Tim Eisele
dc27d8f9cd
Refactor URI overrides ( #10051 )
1 year ago
Shadowghost
32499f0e98
Merge branch 'master' into network-rewrite
1 year ago
Cody Robibero
9a0dfc00f1
Add all websocket messages to generated openapi spec ( #9682 )
...
* Add all websocket messages to generated openapi spec
* Use oneOf
* JsonIgnore ServerId
* Oops
* Add discriminators
* Add WebSocketMessage container for Inbound and Outbound messages
1 year ago
Shadowghost
a5f16136eb
Apply review suggestions
2 years ago
Shadowghost
c5a363a007
Merge branch 'master' into network-rewrite
2 years ago
Shadowghost
42498194d9
Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discovery
2 years ago
Bond_009
60f41b80f6
Verify ContentType of uploaded images
2 years ago
Shadowghost
2c86bd1875
Merge branch 'master' into network-rewrite
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Shadowghost
59a86568d9
Cleanup and fixes
2 years ago
Shadowghost
f6e41269d9
Enforce interface bindings on SSDP, add Loopback to LAN if no LAN defined
2 years ago
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