BaronGreenback
ebd589aa86
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
5 years ago
BaronGreenback
a3140f83c6
Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored."
...
This reverts commit 2aaecb8e14
.
5 years ago
BaronGreenback
2aaecb8e14
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
5 years ago
Bond_009
2be394089e
Enable Microsoft.CodeAnalysis.FxCopAnalyzers for Jellyfin.Common
5 years ago
Bond_009
4419587c2a
Minor improvements
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
2ef4ffd698
More warnings (removed)
5 years ago
Bond-009
6f45d95951
Minor improvements to network code
5 years ago
Bond_009
9d4ce82ab9
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
...
Adds `#pragma warning disable CS1591` to all files in
MediaBrowser.Common containing undocumented members.
5 years ago
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
Bond_009
5eaf5465a5
Check checksum for plugin downloads
...
* Compare the MD5 checksum when downloading plugins
* Reduced log spam due to http requests
* Removed 'GetTempFileResponse' function from HttpClientManager
* Fixed caching for HttpClientManager
5 years ago
Bond_009
2a58c643d2
Fix more warnings
5 years ago
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
5 years ago
Bond-009
e8028de4d7
Merge pull request #1560 from jellyfin/release-10.3.z
...
Backmerge for 10.3.7
5 years ago
Joshua M. Boniface
cf2f5b2026
Merge pull request #1538 from joshuaboniface/epg
...
Try to fix XmlTvListingsProvider
5 years ago
Bond_009
b294b802a8
Try to fix XmlTvListingsProvider
5 years ago
Bond_009
b1bd062709
Properly set content type
5 years ago
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
5 years ago
Bond_009
5fc4ad6c4e
Address comments
5 years ago
Bond_009
3603c64fa6
Use HttpResponseHeaders instead of a dictionary
5 years ago
Bond_009
d405a400aa
Fixes issues with HttpClientManager
5 years ago
Claus Vium
7eb94e9674
Update MediaBrowser.Common/Net/IHttpClient.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Bond-009
0a5550b13d
Remove more unused stuff
5 years ago
Bond-009
067200be83
Remove usage of depricated 'WebRequest'
...
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
5 years ago
Anthony Lavado
d4a42a1680
Merge pull request #1080 from Bond-009/httpclient
...
Remove usage of deprecated 'WebRequest'
5 years ago
VooDooS
ba12d96d23
Removed wrapping of HeaderNames fields
6 years ago
VooDooS
5f6ab836de
Extend Microsoft.Net.Http.Headers.HeaderNames
6 years ago
Claus Vium
be86ea2982
Update MediaBrowser.Common/Net/IHttpClient.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
6 years ago
Bond-009
7f42dcc60f
Remove more unused stuff
6 years ago
Bond-009
369785c184
Remove usage of depricated 'WebRequest'
...
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
6 years ago
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
6 years ago
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
6 years ago
Xu Fasheng
cbd0e71c07
Send DLNA devices message to only the matched interface
...
This will be the right way for multiple interfaces, or the client will
receive all devices message with different IP addresses and could not
detect which one could access.
And provide one option DlnaOptions.SendOnlyMatchedHost to fallback to old
behaviour if this commit missed something.
6 years ago
Xu Fasheng
cf4e64f430
Add option to toggle if ignore virtual interfaces
...
Some VPN like ZerotierOne owns IP address but no gateway, and there is no
good idea in NetworkManager.GetIPsDefault() to filter such virtual interfaces,
so just provide one option to let user decide it.
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
ba610b5094
Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller
6 years ago
Erwin de Haan
51ed47f4c4
EditorConfig reformat: Emby.XmlTv, Jellyfin.Server. MediaBrowser.Api, MediaBrowser.Common
6 years ago
Erwin de Haan
106d1d18ed
Visual Studio Reformat: MediaBrowser.Common
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Bond_009
a1b96a3135
Clean up HttpClientManager, LiveTvManager and InstallationManager
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
5207067811
fix live tv over dlna
7 years ago
Luke Pulverenti
2f758676d0
support sharing m3u tuner streams
7 years ago
Luke Pulverenti
ca2e7a4195
deprecate localized guids config switch
7 years ago
Luke Pulverenti
b54046a6de
adjust header values
7 years ago
Luke Pulverenti
c2361db772
separate encoding from content type values
7 years ago
Luke Pulverenti
060215143f
improve httpclient resource disposal
7 years ago
Luke Pulverenti
49b799adbe
3.2.30.8
7 years ago
Luke Pulverenti
b9c12ca4a7
update legacy stream
8 years ago
Luke Pulverenti
8deb423883
restore config settings for now
8 years ago
Luke Pulverenti
8c8f2aaba5
first pass at binding to multiple network addresses
8 years ago
Luke Pulverenti
00cbadea2c
update core project
8 years ago
Luke Pulverenti
a8b340cbb2
update portable projects
8 years ago
Luke Pulverenti
72aaecb279
move classes to new server project
8 years ago
Luke Pulverenti
8fd3bf4217
change pcl's to .netstandard
8 years ago
Luke Pulverenti
345ad10665
don't buffer responses by default
8 years ago
Luke Pulverenti
c7f559f8ce
make model project portable
8 years ago
Luke Pulverenti
37d7db4bc4
support xmltv gzip
9 years ago
Luke Pulverenti
22730746eb
ipv6 update
9 years ago
Luke
0ffc5ebace
update ulna interface binding
9 years ago
Luke Pulverenti
d27cd521b5
rework dialog
9 years ago
Luke Pulverenti
b1859d41e8
update collection menus
9 years ago
Luke Pulverenti
ee00f8bf72
added HasSyncJob
10 years ago
Mike
f6d6d57983
Create self signed cert if one does not exist
10 years ago
Luke Pulverenti
0840bb9ba2
move web socket classes to server project
10 years ago
Luke Pulverenti
2e53ff1fd0
move files out of common
10 years ago
Luke Pulverenti
0ec3d217e7
sync updates
10 years ago
Luke Pulverenti
576768de59
update translations
10 years ago
Luke Pulverenti
9f3891d418
render movies as folders with dlna
10 years ago
Luke Pulverenti
ab3c26c564
update connect
10 years ago
Luke Pulverenti
cce120d8d3
refresh connect authorizations
10 years ago
Luke Pulverenti
314a51dff3
add more device options
10 years ago
Luke Pulverenti
f3539686bd
add device upload options
10 years ago
Luke Pulverenti
0690b4f2e0
Add user cinema mode setting
10 years ago
Luke Pulverenti
c05cb1dcb1
fix mac ffmpeg build
10 years ago
Luke Pulverenti
b314199319
resolve wtv transcoding
10 years ago
Luke Pulverenti
a3d553a7fb
set connect access token
10 years ago
Luke Pulverenti
21d88faa18
added json subtitle output
10 years ago
Luke Pulverenti
e3c8694471
3.0.5340.20849
10 years ago
Luke Pulverenti
e3c52b6f73
support srt in didl
10 years ago
Luke Pulverenti
51e964dae3
support channels with dlna
10 years ago
Luke Pulverenti
ce20066bc0
update translations
10 years ago
Luke Pulverenti
bc657237aa
consolidate web socket onto one port
10 years ago
Luke Pulverenti
ea559a6e27
create http listener abstraction
10 years ago
Luke Pulverenti
06118307dd
disable chunked encoding for images
10 years ago
Luke Pulverenti
e2052c771d
added new device profiles
10 years ago
Luke Pulverenti
7fa9b14f56
fixes #762 - Marking unwatched doesn't update display
11 years ago
Luke Pulverenti
933443c2b9
added modular configuration
11 years ago
Luke Pulverenti
77ad0fc336
fixes #674 - Support converting subtitles to webvtt
11 years ago
Luke Pulverenti
3640f62086
create collections from movies page
11 years ago
Luke Pulverenti
858c37b860
add channel downloading settings
11 years ago
Luke Pulverenti
715119b525
updated nuget
11 years ago
Luke Pulverenti
92cadc4323
update translations
11 years ago
Luke Pulverenti
4e81655239
updated mono build
11 years ago
Luke Pulverenti
dce9093ba1
split files into separate classes
11 years ago
Luke Pulverenti
0d025f7fb6
beginning remote subtitle downloading
11 years ago
Luke Pulverenti
ac69327f1f
check in open subtitles stub
11 years ago
Luke Pulverenti
4331700747
support sending upnp events
11 years ago
Luke Pulverenti
2c6a9892f2
update translations
11 years ago
Luke Pulverenti
501dedb13c
stub out dlna server
11 years ago
Luke Pulverenti
30496c1168
made dlna logging optional
11 years ago
Luke Pulverenti
13563b6047
Add upnp configuration
11 years ago
Luke Pulverenti
aef805efb9
fix directory not found error in episode organization
11 years ago
Luke Pulverenti
a4b40ad9d9
handle year in name when searching
11 years ago
Luke Pulverenti
be1ce0f802
convert static remote streaming to use internal interfaces
11 years ago
MrSmoke
6657ce2145
Added missing method to IHttpClient
11 years ago
Luke Pulverenti
ec4000404d
rework text subtitles
11 years ago
Luke Pulverenti
247a40fa61
add console logging during startup
11 years ago
Luke Pulverenti
b9d17c9bc7
add more methods to file system interface
11 years ago
Luke Pulverenti
74f0d8bdbe
minor dashboard cleanup
11 years ago
Luke Pulverenti
cb9b570a2a
live tv updates
11 years ago
Luke Pulverenti
f32212d160
update to service stack v4
11 years ago
Luke Pulverenti
0bdc8a49d5
switch from httpclient to plain httpwebrequest
11 years ago
Luke Pulverenti
05378c82cb
fixes #582 - support tbn image files.
11 years ago
Luke Pulverenti
478be44dd6
create platform-specific network manager implementation
11 years ago
Luke Pulverenti
eb72c2db51
updated nuget
11 years ago
Luke Pulverenti
755d98edc0
improved messages with startup failures
11 years ago
Luke Pulverenti
60780399c5
allow request header overrides
11 years ago
Luke Pulverenti
ebec1e159c
update default theme endpoints
11 years ago
Luke Pulverenti
0d59941539
restored network browser
11 years ago
Luke Pulverenti
98e7eeeff9
reduce byte conversions with alchemy web socket
11 years ago
Luke Pulverenti
7b6bf545da
removed network option from directory picker due to unreliability
11 years ago
Mark Linton
64f06c2a1b
One last mime type
11 years ago
Mark Linton
bceac2ff26
Add document mime types.
11 years ago
Luke Pulverenti
7e5bdc837a
added GetTempFileResponse
11 years ago
Luke Pulverenti
8a1b12b7d8
tightened up image saving to reduce knowledge of file names
12 years ago
Luke Pulverenti
847d6f6ba3
removed unused methods
12 years ago
Luke Pulverenti
085e597a2e
improve accuracy of local ip address discovery
12 years ago
Luke Pulverenti
390f165332
#280 - avoid an extra request to last fm by taking data from the MusicArtist entity
12 years ago
Luke Pulverenti
3a587a5d08
updated browse to command
12 years ago
Luke Pulverenti
a3ecf6c2b7
localize library changed messages per user
12 years ago
Luke Pulverenti
c11c8bfdb4
re-enable http compression for all providers except for last fm
12 years ago
Luke Pulverenti
c568f352eb
replaced http client cache with longer lived cache
12 years ago
Luke Pulverenti
87598ca6d0
add customizable accept header to http client interface
12 years ago
Luke Pulverenti
58c77529d2
removed superfluous GetMemoryStream
12 years ago
Luke Pulverenti
9f06eb781f
fixes #97 and creates a library dictionary cache to avoid FindById recursion
12 years ago
Luke Pulverenti
31bb5b5cb3
removed udp server layer
12 years ago
Luke Pulverenti
62521eabc2
update to latest js api client
12 years ago
Luke Pulverenti
a6c9fdd0f2
Moved some web socket classes to the model
12 years ago
Luke Pulverenti
e2dcddc5ac
made compression and caching available to plugin api endpoints
12 years ago
LukePulverenti
bae89ee824
fix duplicate connections on the dashboard
12 years ago
LukePulverenti
fe1834e6be
Add resume capability to GetTempFile
12 years ago
LukePulverenti
f9e760cd90
removed object disposed catch
12 years ago
LukePulverenti
fe91772f18
fixed semaphore dispose issue
12 years ago
LukePulverenti
332f635939
Added IHttpResultFactory
12 years ago
LukePulverenti
4f67fc4aef
removed base kernel and ikernel
12 years ago
LukePulverenti
2ca4b7d03a
Created IConfigurationManager
12 years ago