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
Joshua M. Boniface
4fa6d1ccee
Merge pull request #2940 from balu92/master
...
Fix missing colons
5 years ago
Joshua M. Boniface
ca4b6836c1
Merge pull request #2906 from randrey/dlna-nullref-fix
...
Fix InvalidOperationException while browsing via DLNA client.
5 years ago
Bond_009
118f30059c
Merge branch 'master' into nullable4
5 years ago
crobibero
461b298be7
Migrate DlnaServerController to Jellyfin.Api
5 years ago
crobibero
f5385e4735
Move Emby.Dlna DlnaService.cs to Jellyfin.Api
5 years ago
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
5 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
5 years ago
Unknown
80f5dd1e59
Fixed missing colons
...
some colons were missing from the default ProtocolInfo string
5 years ago
randrey
0bef4eef87
Fix InvalidOperationException while browsing via DLNA client.
5 years ago
a1
eba781eac5
Fix DLNA clients displaying wrong album art.
5 years ago
Bond_009
2fcbc2a5b8
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Vasily
d5cc10d7e1
Merge pull request #2741 from Bond-009/dlnawarnings2
...
Fix some warnings
5 years ago
Bond-009
64692af1a2
Update Device.cs
5 years ago
Bond-009
91b17e7289
Update Device.cs
5 years ago
Bond-009
4cacfd5997
Update DidlBuilder.cs
5 years ago
Bond-009
ad0e2e42e6
Update Device.cs
5 years ago
Bond_009
3161e85f76
Address comments
5 years ago
Bond-009
f6c9a44703
Update Device.cs
5 years ago
Bond-009
231c1e519f
Update Emby.Dlna.csproj
5 years ago
Vasily
a37b69a493
Merge pull request #2559 from whooo/295-fix
...
Add descriptive TV episode titles for DLNA browsing
5 years ago
Bond_009
8a566dfe73
Fix build
5 years ago
Bond_009
be8ba96183
Fix some warnings
5 years ago
Bond-009
62a18af17a
Update Emby.Dlna/Main/DlnaEntryPoint.cs
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
5 years ago
Erik Larsson
b63ed35238
Add descriptive TV episode titles for DLNA browsing
...
When browsing TV episodes in Next Up, etc via DLNA a more descriptive
title should be used to easier identify the right episode.
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Mark Monteiro
b67e9cde8c
Replace ILogger with ILogger<T> wherever possible
...
Log entries will contain additional class context when using this interface
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
Claus Vium
241e351a61
Merge branch 'master' into dlnawarnings
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
d69870680b
Close xmlwriter first
5 years ago
Bond_009
6ee04855cd
Style
5 years ago
Bond-009
ae9c1e29e7
My bad
5 years ago
Bond-009
36d62c3093
Fix?
5 years ago
Bond_009
6b68521bae
Try again
5 years ago
Bond_009
fc578de3b3
Try possible solutions
5 years ago
Bond-009
bade35958a
Fix
5 years ago
Bond-009
3a338c1899
Address comments
5 years ago
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
Bond_009
82112b6788
Improvements to dlna server
...
* Improve response writer
* Add analyzers
* Error on warnings in release mode
* Disable doc warnings
5 years ago
dkanada
1dd4abebbd
Merge pull request #2297 from Bond-009/asyncio
...
Kestrel doesn't like sync IO operations
5 years ago
Bond-009
5340eb9363
Update Emby.Dlna/Service/BaseControlHandler.cs
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Bond-009
ac3b958c67
Use async methods
5 years ago
Carey Metcalfe
f2eea89ff0
Fix pagination for DLNA root folder list
...
Previously, when responding to a DLNA "Browse" request, the
`StartingIndex` was not respected and all of the root items were
returned each time. This caused infinite loops with in DLNA clients that
ignored the `TotalMatches` data in the response and just continued
asking for the next page until they got an empty response.
This fix makes the root folder list respect the `StartingIndex` and
`RequestedCount` parameters like all other responses.
Fixes issue #2303
5 years ago
Bond_009
2610f377c0
Kestrel doesn't like sync IO operations
5 years ago
Bond_009
976459d3e8
Rewrite WebSocket handling code
5 years ago
Bond-009
fdbb329118
Remove StringHelper functions
5 years ago
Bond-009
49330e3082
Fix a couple of TODOs
5 years ago
dkanada
dee3076eaf
Merge pull request #1923 from Bond-009/random
...
Don't shuffle some types by default
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond-009
94edb5b9f9
Add else
5 years ago
Bond-009
a6f883345f
Reduce #lines
5 years ago
Bond_009
3221e837f9
* Add support for multi segment base urls
...
* Make baseurl case-insensitive
5 years ago
Bond-009
69d76af054
dlna GetPathValue
...
Forgot to update this last time, just copied the code from `MediaBrowser.Api/BaseApiService.cs`
5 years ago
Bond_009
5ee070eb29
Remove leading / from baseurl
5 years ago
Bond-009
d161b9cbfc
Fix GetPathValue function for DLNA service
5 years ago
dkanada
0b02c77691
Merge pull request #1864 from Bond-009/installationmanager
...
Improve IInstallationManager interface
5 years ago
Bond-009
983d38a43b
Merge branch 'master' into installationmanager
5 years ago
Bond_009
b0a25c4237
Use Mono.Nat Nuget package
5 years ago
Bond_009
d529f81cd9
Improve IInstallationManager interface
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
5 years ago
Bond_009
bbc0875387
Don't shuffle some types by default
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
marius
3deeca43a1
- use streamInfo.StartPositionTicks if provided over userdata.PlaybackPositionTicks when creating the Samsung Bookmark Info
5 years ago
Bond_009
237db8ae92
Clean up livestreaming code
5 years ago
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
5 years ago
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
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
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond-009
8b1bd7ac6b
Use a dictionary to look up mimetypes
5 years ago
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
5 years ago
Bond_009
b1bd062709
Properly set content type
5 years ago
Bond_009
d405a400aa
Fixes issues with HttpClientManager
5 years ago
bugfixin
87c8f19f19
Move DLNA thumbnail element to after larger image elements
6 years ago
Andrew Rabert
608fd873de
Optimize images with image_optim
6 years ago
Bond-009
d623f616fa
Improved dispose method
6 years ago
Bond-009
fc8de8aead
Check if disposed first
6 years ago
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
6 years ago
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
6 years ago
Vasily
297f25cfc2
Merge pull request #1059 from Bond-009/os
...
Remove EnvironmentInfo
6 years ago
Bond-009
3ddbda9aca
Merge branch 'master' into xml
6 years ago
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
6 years ago
Vasily
e04a152ed0
Merge pull request #996 from Bond-009/libscan
...
Reduce the amount of exceptions thrown
6 years ago
Vasily
75996476a7
Merge pull request #1061 from Bond-009/dead
...
Remove dead code
6 years ago
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
6 years ago
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
6 years ago
Bond-009
65c0b486aa
Remove dead code
...
What it says on the tin
6 years ago
Claus Vium
8c609bc9ce
Reduce aspnet imports
6 years ago
Bond_009
ffd6dac03a
Remove useless comments
6 years ago
Bond_009
a9302b8b53
Remove useless abstraction around XmlReaderSettings
...
This removes the amount of stuff that needs to be passed around
Also removes some unneeded `ManagedFileSystem` usage
6 years ago
Claus Vium
318e0d4a24
Add GetValueOrDefault dictionary extension
6 years ago
Claus Vium
040871459b
Remove some unused references
6 years ago
Bond-009
9993dafe54
Don't mix LINQ and roreach loops for readability
6 years ago
Claus Vium
27e7e792b3
Replace some usage of QueryParamCollection
6 years ago
Claus Vium
91afaaf8fe
Cleanup in QueryParamCollection
6 years ago