BaronGreenback
eedb520af1
Removed code that wasn't used.
4 years ago
BaronGreenback
6a5df73151
Update DlnaManager.cs
...
Changed function name to IsRegexOrSubstringMatch
4 years ago
BaronGreenback
12d0f29dea
Update Emby.Dlna/DlnaManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
Bond_009
343fc8c668
Fix ObjectDisposedException
...
```
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Http.StringContent'.
at System.Net.Http.HttpContent.CheckDisposed()
at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.SendRequestContentAsync(HttpRequestMessage request, HttpContentWriteStream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync(HttpConnection connection, HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/SsdpHttpClient.cs:line 41
at Emby.Dlna.PlayTo.Device.GetTransportInfo(TransportCommands avCommands, CancellationToken cancellationToken) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 629
at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender) in /home/loma/dev/jellyfin/Emby.Dlna/PlayTo/Device.cs:line 445
```
4 years ago
BaronGreenback
babdd30a46
Renamed IsRegExMatch to IsPropertyMatch
4 years ago
BaronGreenback
ebad504f3b
Fixed profile
4 years ago
BaronGreenback
e3fdea2ec9
Update DlnaManager.cs
...
Fix for #4060
4 years ago
crobibero
2a8653b309
Merge remote-tracking branch 'upstream/master' into http-client-migrate
4 years ago
crobibero
d8a0edc511
Revert "Remove ResponseHeadersRead where applicable"
...
This reverts commit 85844a84b6
.
4 years ago
crobibero
85844a84b6
Remove ResponseHeadersRead where applicable
4 years ago
crobibero
b398c35068
use UserAgent.ParseAdd where possible
4 years ago
crobibero
4038d15c83
Properly migrate all HttpCompletionOption
4 years ago
Bond_009
e653eef44f
Fix some warnings
4 years ago
crobibero
c02d0ceb57
Add missing using
4 years ago
crobibero
8215f15c45
migrate to IHttpClientFactory in Emby.Dlna
4 years ago
Patrick Barron
9fa4fff15d
Merge branch 'master' into event-rewrite-1
...
# Conflicts:
# Emby.Dlna/Emby.Dlna.csproj
# Emby.Dlna/Eventing/DlnaEventManager.cs
# Emby.Dlna/Service/BaseService.cs
# Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
# MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
4 years ago
Bond_009
170e434f92
Fix all warnings in Emby.Dlna
4 years ago
Bond-009
6292a9e4e9
Merge branch 'master' into warn24
4 years ago
David
1337a0dcec
Code review
4 years ago
David
ca2b36bdb0
Reduce warnings in Emby.Dlna
4 years ago
Bond_009
6123e2e848
Fix build
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Patrick Barron
98ed90c4a2
Merge branch 'master' into event-rewrite-1
4 years ago
Bond_009
2b400c99ef
Fix warnings
4 years ago
crobibero
09c8597461
inheritdoc
4 years ago
crobibero
7d2ad3e0fc
Fix DlnaControlResponse string return
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
Patrick Barron
da9bcc5fb3
Rename IEventManager to IDlnaEventManager
4 years ago
crobibero
f915c3e5d9
Merge remote-tracking branch 'upstream/master' into api-migration
4 years ago
Patrick Barron
3a0bccb941
Merge pull request #2957 from crobibero/api-dlna-server
...
Migrate DlnaServerController to Jellyfin.Api
4 years ago
Bond-009
b7421db5fe
Merge pull request #3578 from barronpm/displaypreferences-efcore
...
Migrate Display Preferences to EF Core
4 years ago
crobibero
3d5f89ebf9
Merge remote-tracking branch 'upstream/api-migration' into api-dlna-server
4 years ago
crobibero
f516cf9c4c
Merge remote-tracking branch 'upstream/api-migration' into api-dlna
4 years ago
Bond_009
d4092846e4
Optimize Substring and StringBuilder usage
4 years ago
Bond-009
3ff110984a
Merge branch 'master' into readonlyspan
4 years ago
Patrick Barron
3d69cea1c9
Merge branch 'master' into displaypreferences-efcore
4 years ago
Joshua M. Boniface
8960d6256f
Merge pull request #3659 from Bond-009/stringbuilder
...
Optimize StringBuilder.Append calls
4 years ago
Joshua M. Boniface
fd82ecd18e
Merge pull request #3595 from Bond-009/xml
...
Improve DescriptionXmlBuilder
4 years ago
Bond-009
89ff865d40
Merge pull request #3508 from BaronGreenback/nullable
...
Part 1: nullable Emby.DLNA
4 years ago
Bond_009
4d681e3cad
Optimize StringBuilder.Append calls
4 years ago
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
4 years ago
Bond_009
65453c0a84
Fix build and more Append calls
4 years ago
Bond_009
39be99504f
Improve DescriptionXmlBuilder
...
* Replace XML escape code with SecurityElement.Escape
* Optimize StringBuilder.Append calls
4 years ago
BaronGreenback
672a35db94
Update DlnaServerService.cs
4 years ago
BaronGreenback
f9b0816b80
Changes a suggested.
4 years ago
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
BaronGreenback
0f696104ac
using missing.
4 years ago
BaronGreenback
c7c28db17b
Update DlnaServerService.cs
4 years ago
BaronGreenback
d9f9412955
Update DlnaServerService.cs
4 years ago
Patrick Barron
6d1b00da64
Use Array.Empty
4 years ago
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.
4 years ago
BaronGreenback
5cf44e7736
Removed spaces
4 years ago
BaronGreenback
93568be3e7
Updates
4 years ago
crobibero
57d1dbfe7b
undo erroneous changes
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 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
4 years ago
Vasily
668e10ceb7
Merge pull request #2767 from Bond-009/nullable3
...
Enable nullabe reference types for MediaBrowser.Model
4 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
4 years ago
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
4 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
4 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
4 years ago
Patrick Barron
9ad839c776
Initial migration code
4 years ago
Bond_009
15634a1913
Merge branch 'master' into websocket
4 years ago
BaronGreenback
8a69300bf5
Changes styles as suggested by @barronpm
...
Added addtional comments & source type as per intellisense suggestion
change code as per sonacloud
4 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
4 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
.
4 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
4 years ago
Joshua M. Boniface
4fa6d1ccee
Merge pull request #2940 from balu92/master
...
Fix missing colons
4 years ago
Joshua M. Boniface
ca4b6836c1
Merge pull request #2906 from randrey/dlna-nullref-fix
...
Fix InvalidOperationException while browsing via DLNA client.
4 years ago
Bond_009
118f30059c
Merge branch 'master' into nullable4
4 years ago
crobibero
461b298be7
Migrate DlnaServerController to Jellyfin.Api
4 years ago
crobibero
f5385e4735
Move Emby.Dlna DlnaService.cs to Jellyfin.Api
4 years ago
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
4 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
4 years ago
Unknown
80f5dd1e59
Fixed missing colons
...
some colons were missing from the default ProtocolInfo string
4 years ago
randrey
0bef4eef87
Fix InvalidOperationException while browsing via DLNA client.
4 years ago
a1
eba781eac5
Fix DLNA clients displaying wrong album art.
4 years ago
Bond_009
2fcbc2a5b8
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
4 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
4 years ago
Vasily
d5cc10d7e1
Merge pull request #2741 from Bond-009/dlnawarnings2
...
Fix some warnings
4 years ago
Bond-009
64692af1a2
Update Device.cs
4 years ago
Bond-009
91b17e7289
Update Device.cs
4 years ago
Bond-009
4cacfd5997
Update DidlBuilder.cs
4 years ago
Bond-009
ad0e2e42e6
Update Device.cs
4 years ago
Bond_009
3161e85f76
Address comments
4 years ago
Bond-009
f6c9a44703
Update Device.cs
4 years ago
Bond-009
231c1e519f
Update Emby.Dlna.csproj
4 years ago
Vasily
a37b69a493
Merge pull request #2559 from whooo/295-fix
...
Add descriptive TV episode titles for DLNA browsing
4 years ago
Bond_009
8a566dfe73
Fix build
4 years ago
Bond_009
be8ba96183
Fix some warnings
4 years ago
Bond-009
62a18af17a
Update Emby.Dlna/Main/DlnaEntryPoint.cs
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
4 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.
4 years ago
Bond_009
e9d1eabd53
Remove unused usings
4 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
4 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
5 years ago
Andrew Rabert
608fd873de
Optimize images with image_optim
5 years ago
Bond-009
d623f616fa
Improved dispose method
5 years ago
Bond-009
fc8de8aead
Check if disposed first
5 years ago
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
5 years ago
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
5 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
Andrew Rabert
05fd76c0fa
Merge pull request #723 from Bond-009/dbperf
...
Minor improvements to db code
6 years ago
Andrew Rabert
7165868509
Merge pull request #709 from Bond-009/null
...
Fix always null expressions
6 years ago
Bond_009
07f163a4c3
Minor improvements to db code
6 years ago
Bond_009
883575893b
Change image dimentions from double to int
...
Rename ImageSize -> ImageDimensions
6 years ago
Erwin de Haan
e8f6a61131
Fix empty statement in DidlBuilder.cs
6 years ago
Bond_009
8af256f9c2
Fix always null expressions
6 years ago
Bond_009
722120af74
Remove conditions that are always true/false
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Andrew Rabert
8de4eb7d19
Rename ApplicationSemanticVersion to ApplicationVersion
6 years ago
Erwin de Haan
924ec0c191
Revert Jellyfin.Versioning, Update all versions and user agents.
6 years ago
Erwin de Haan
bb8df8dfa0
Updates reported version in `System/Info*` set of endpoints.
...
Added ProductName and ServerVersion to API.
Added build version and build step. Addressed issues wtih indentation.
Made the BuildVersion an actual object. This lets up link to the github page of that commit.
Fixed class method type and styled link.
Fixed languages and split out the information in the UI.
Moved update-version script and gave it executable permissions. Windows correctly finds the .bat file. And linux takes the one without extension.
Removed tempfiles from replace sessions from csproj.
Updated version generation scripts. Will also work with pre existing version files. (Source tarballs etc.)
Added simple replace for ssh github links.
Add execute rights to update-version.
Wrapped long line in ApplicationHost.cs
Fixed some small issues.
Fixed some small issues, and flipped some if's around.
Converted parameter names to camelBack casing.
Sealed the attribute class.
Removed MPLv2 license.
Fixed file headers.
Added newline.
Moved links in *.csproj files as well.
Fix issues caused by rebase auto merging.
Removed default constructor and added init values to properties, also hid the Remote value form API.
6 years ago
Erwin de Haan
c5430f86b0
Fixed csproj and xml identation.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
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
089ad8e7c2
Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
742bef5b5f
EditorConfig reformat: Non-CS files.
6 years ago
Erwin de Haan
cc719fd77c
EditorConfig reformat: BDInfo, DvdLib, Emby.Dlna
6 years ago
Erwin de Haan
8bfb54a41b
Visual Studio Reformat: Emby.Dlna
6 years ago
Erwin de Haan
846456b41e
Reformatted the files with notes.
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Sparky
d6d8c40450
Change UI accents, update artwork
...
Replaced "Emby Green" with blue taken from artwork.
Replaced artwork.
Kept old "Emby Green" themes for future reuse and renamed them "classic".
Removed CSS element that was making the Jellyfin banner too small.
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago
Bond_009
79d18cf5a5
Clean up some catch statements
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
b7ebb67cbb
Remove the need for NullLogger
6 years ago
Bond_009
3d3ec3588b
Mark where ILogger is being set to null
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
76d3f60f06
Fix NullRefException
6 years ago
Bond_009
69cf9e8fc4
Give more info on error
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
Ben Magee
c58b3a0c47
Rebranded XML profiles
6 years ago
Ben Magee
051c67a537
Updated strings to "Jellyfin Server"
6 years ago
Ben Magee
f7061e353e
Remove Emby branding from DLNA server
6 years ago
Bond_009
b4edb24ec3
Change libraries from netcoreapp to netstandard
...
Ref: https://dotnetcoretutorials.com/2017/01/13/net-standard-vs-net-core-whats-difference/
6 years ago
Bond_009
0a3c8b04f1
Change name to EmbyServer.dll jellyfin.dll
...
Update and remove deps
6 years ago
Anthony Lavado
643201278f
Update the DLNA profile links
...
- updates ManufacturerUrl and ModelUrl to jellyfin repo
6 years ago
Andrew Rabert
af71366bb5
Optimize images
6 years ago
Andrew Rabert
8f98fb068c
Replace Emby logo with placeholder
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
dec3b1bbb0
improve image processing performance
7 years ago
Luke Pulverenti
39f20fdb4e
update dlna profiles
7 years ago
Luke Pulverenti
4f09c1e06d
reduce dlna chatter
7 years ago
Luke Pulverenti
77695f8abe
3.2.40.1
7 years ago
Luke Pulverenti
d52b0de146
3.2.40.0
7 years ago
Luke Pulverenti
901d7b509c
update play media source feature
7 years ago
Luke Pulverenti
50d322cbb7
3.2.36.4
7 years ago
Luke Pulverenti
5cb7469028
support track selection before playback
7 years ago
Luke Pulverenti
902101355a
add dc:creator
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
7e5036a587
update image aspect ratio detection
7 years ago
Luke Pulverenti
060215143f
improve httpclient resource disposal
7 years ago
Luke Pulverenti
7adb3e4a23
fix dlna photos
7 years ago
Luke Pulverenti
66ad10348f
update translations
7 years ago
Luke Pulverenti
983b51e083
reduce socket activity
7 years ago
Luke Pulverenti
085470394e
update home screen sections
7 years ago
Luke Pulverenti
0b73c25aa4
update lg dlna profile
7 years ago
Luke Pulverenti
f1371b17d8
improve dlna device status reporting
7 years ago
Luke Pulverenti
978eedbcb7
improve support for compressed xmltv
7 years ago
Luke Pulverenti
31b01cbb56
add fixes for dng images
7 years ago
Luke Pulverenti
3a1efe9edc
add xbox one workaround
7 years ago
Luke Pulverenti
95084d6f7d
update dlna play to device timeout
7 years ago
Luke Pulverenti
49b799adbe
3.2.30.8
7 years ago
Luke Pulverenti
39c4542cf6
update query objects
7 years ago
Luke Pulverenti
780b761456
3.2.29.2
7 years ago
Luke Pulverenti
ed81591175
update dto methods
7 years ago
Luke Pulverenti
6bc2a79792
fix folder rip probe
7 years ago
Luke Pulverenti
e441e2f53d
update active recordings
7 years ago
Luke Pulverenti
82ab91f209
add property to indicate support for on the fly subtitle extraction
7 years ago
Luke Pulverenti
5ced09d169
removed dead code
7 years ago
Luke Pulverenti
1ad990ad72
update live tv data transfer
7 years ago
Luke Pulverenti
bfcd1b520f
merge common implementations and server implementations
7 years ago
Luke Pulverenti
6b28eee2db
rework episode queries
7 years ago
Luke Pulverenti
900714c866
consolidate fields
7 years ago
Luke Pulverenti
c147b64de8
3.2.26.19
7 years ago
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
7 years ago
Luke Pulverenti
db315c4e32
update media source methods
7 years ago
Luke Pulverenti
0ba267f8e2
Enable hardware acceleration for image extraction
7 years ago
Luke Pulverenti
0ebd233c41
update dlna music folders
7 years ago
Luke Pulverenti
d826b98449
3.2.25.10
7 years ago
Luke Pulverenti
a0e7cdd2dc
support all inclusive direct play profile
7 years ago
Luke Pulverenti
bd32c8ba49
update lg dlna profile
7 years ago
Luke Pulverenti
eece9d77a5
update dlna profiles
7 years ago
Luke Pulverenti
a759b09577
support max audio bit depth
7 years ago
Luke Pulverenti
c2c1451beb
update dlna profiles
7 years ago
Luke Pulverenti
42d0b070b4
update project files
7 years ago
Luke Pulverenti
f12131299b
update dlna profiles
7 years ago
Luke Pulverenti
5b6356e779
remove ImageMagick from Windows
7 years ago
Luke Pulverenti
5bfcbd4e9e
update dlna profiles
7 years ago
Luke Pulverenti
3e15b28b18
add IsInterlaced param
7 years ago
Luke Pulverenti
33014f77aa
update GetItems method
7 years ago
Luke Pulverenti
da77b05817
update data queries
7 years ago
Luke Pulverenti
0beb803aed
add sample rate condition
7 years ago
Luke Pulverenti
2e3d1780e4
update dlna profiles
7 years ago
Luke Pulverenti
eb9b63c7a7
update playback progress reporting
7 years ago
Luke Pulverenti
958b32b714
update dlna profiles
7 years ago
Luke Pulverenti
04b6f23473
3.2.9.1
7 years ago
Luke Pulverenti
ce1ed2bea7
update hls to support mpeg2video
8 years ago
Luke Pulverenti
9fa6868af3
update legacy hd homerun support
8 years ago
Luke Pulverenti
5fa3817a76
update components
8 years ago
Luke Pulverenti
fbb1bb319c
update wdtv live dlna profile
8 years ago
Luke Pulverenti
e0d5f7d158
reduce device discovery traffic
8 years ago
Luke Pulverenti
d218dbd2a1
add cancellation to socket methods
8 years ago
Luke Pulverenti
8649cbc0cb
resolve play to regression
8 years ago
Luke Pulverenti
3ff216f05a
update ShortOverview
8 years ago
Luke Pulverenti
cf470529b1
update video osd
8 years ago
Luke Pulverenti
b9f758e14d
reduce traffic from play to feature
8 years ago
Luke Pulverenti
0bf95da493
update dlna profiles
8 years ago
Luke Pulverenti
fe1630aec4
update default dlna profile
8 years ago
Luke Pulverenti
da5f64e424
update now playing screen
8 years ago
Luke Pulverenti
16bd1df08a
update sharp profile
8 years ago
Luke Pulverenti
75ad2af0b3
add sharp dlna profile
8 years ago
Luke Pulverenti
4ad2f54193
samsung dlna fixes
8 years ago
Luke Pulverenti
3edf91ce56
update music artists
8 years ago
Luke Pulverenti
96d00fe21d
update video osd
8 years ago
Luke Pulverenti
14af8211eb
ps4 dlna fixes
8 years ago
Luke Pulverenti
5372c0bf23
remove unused property
8 years ago
Luke Pulverenti
5765b51680
support samsung dlna bookmarks
8 years ago
Luke Pulverenti
d9b0438591
direct play dts over lg dlna
8 years ago
Luke Pulverenti
2040db7afd
update dishhopper profile
8 years ago
Luke Pulverenti
ac2c45dd6a
update dlna genre views
8 years ago
Luke Pulverenti
74ec6e5a06
update dlna music genres
8 years ago
Luke Pulverenti
ef490818d7
update dlna default user
8 years ago
Luke Pulverenti
7708d96b8b
improve Play To device detection
8 years ago
Luke Pulverenti
de9cd28a79
remove tvos dts hack no longer needed
8 years ago
Luke Pulverenti
afabbfa22b
add ios dts workaround
8 years ago
Luke Pulverenti
c7d520555b
update dlna profiles
8 years ago
Luke Pulverenti
56fb08eeed
added delete helper
8 years ago
Luke Pulverenti
9accc3b025
update recording fields
8 years ago
Luke Pulverenti
401a6b8f4a
add request logging
8 years ago
Luke Pulverenti
7ed6c67db0
update xml parsing
8 years ago
Luke Pulverenti
83ad945015
update xml readers
8 years ago
Luke Pulverenti
3f68882fa8
add setting to control import of missing episodes
8 years ago
Luke Pulverenti
827602711e
update sqlite dependencies
8 years ago
Luke Pulverenti
039487740b
handle bad profile value
8 years ago
Luke Pulverenti
c0491fb563
rework genre views
8 years ago
Luke Pulverenti
44336488f3
update udp sockets
8 years ago
Luke Pulverenti
fe34021535
update .net core solution
8 years ago
Luke Pulverenti
a8b340cbb2
update portable projects
8 years ago
Luke Pulverenti
1539836ca1
update didl xml
8 years ago
Luke Pulverenti
3c1447804b
move localization classes
8 years ago
Luke Pulverenti
25312d7d03
add udp error handling
8 years ago
Luke Pulverenti
67ad1db6b7
add environment info
8 years ago
Luke Pulverenti
6d250c4050
make dlna project portable
8 years ago
Luke Pulverenti
8ef442c2e8
move classes
8 years ago