Cody Robibero
43221fc26b
Merge branch 'master' into SSDP
4 years ago
telans
7f307f9082
brace multiline if statements
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8e3d874802
remove regions
4 years ago
dkanada
215ab39e00
Merge pull request #3342 from BaronGreenback/BugFix2
...
Fix for [DLNA] Many log messages from Media Renderers trying to see old events
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
BaronGreenback
6d6793151a
Null pointer check added for subscription as 2nd param is false.
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
telans
726e116d5b
fix SA1510
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
BaronGreenback
4d9171f691
Update DlnaEntryPoint.cs
...
Left a _config behind.
5 years ago
BaronGreenback
5cf44e7736
Removed spaces
5 years ago
BaronGreenback
93568be3e7
Updates
5 years ago
crobibero
57d1dbfe7b
undo erroneous changes
5 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
5 years ago
Vasily
668e10ceb7
Merge pull request #2767 from Bond-009/nullable3
...
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
5 years ago
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Bond_009
15634a1913
Merge branch 'master' into websocket
5 years ago
BaronGreenback
8a69300bf5
Changes styles as suggested by @barronpm
...
Added addtional comments & source type as per intellisense suggestion
change code as per sonacloud
5 years ago
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
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
Claus Vium
333bd2107a
Remove HttpUtility
6 years ago
Xu Fasheng
0c49079c16
Update comments for DLNA IPv6
6 years ago
Xu Fasheng
1eb26bdf08
Ignore IPv6 DLNA devices
...
DLNA is not ready for IPv6 now, uncomment the code will be fine.
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
2db1826ed8
Enable DLNA multi socket binding for linux
...
If not, DLNA on multiple interfaces not works for linux, for
example ZerotierOne VPN.
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
Joshua M. Boniface
6c6e9ca9f2
Merge pull request #889 from Bond-009/xmlex
...
Fix uncaught xml error
6 years ago
Bond-009
a35ea49c99
Merge remote-tracking branch 'upstream/release-10.2.z' into newmaser
6 years ago
Anders Thomsen
7bb8985f11
Fix race condition in adding dlna devices to session when the device is discovered repeatedly
6 years ago
Bond-009
a82303ccd1
Fix uncaught xml error
6 years ago
Bond_009
81a8ebde22
Move to Microsoft.Extensions.DependencyInjection
...
This PR replaces SimpleInjector with
Microsoft.Extensions.DependencyInjection.
6 years ago
Bond-009
be89a5e719
Don't rename method
6 years ago
Bond_009
84d56976ba
Some small changes in Device.cs and DidlBuilder.cs
...
Device.cs:
* Improve dispose function
* Style fixes
* Remove unused field
DidlBuilder.cs:
* Remove unused field
* Replace giant if chain with a switch statement
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Joshua M. Boniface
c713824bf9
Merge pull request #734 from Bond-009/culture
...
Fix more analyzer warnings
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Bond-009
1ea219bf3f
Merge branch 'master' into culture
6 years ago
Vasily
ffcf6bdd3a
Merge pull request #713 from EraYaN/fix-emtpy-statement
...
Fix empty statement in DidlBuilder.cs
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago