Patrick Barron
8373d6297c
Fix MemoryCache usage
4 years ago
Patrick Barron
5c65abcd94
Clean up TunerHost classes
4 years ago
Bond-009
b7421db5fe
Merge pull request #3578 from barronpm/displaypreferences-efcore
...
Migrate Display Preferences to EF Core
4 years ago
Joshua M. Boniface
d7287a05ad
Merge pull request #3684 from Bond-009/warn22
...
Fix warnings
4 years ago
Bond_009
01e781035f
Fix warnings
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
Patrick Barron
7adac7561a
Use System.Text.Json in LiveTvManager
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
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
afe09612e8
fix SA1119
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
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
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
4 years ago
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
4 years ago
aled
22a860a806
Fix a small number of compile warnings
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
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
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
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
5 years ago
Patrick Barron
eef7cfd912
Make SonarCloud less angry
5 years ago
Patrick Barron
01ce56016a
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
# MediaBrowser.Api/UserService.cs
# MediaBrowser.Controller/Library/IUserManager.cs
5 years ago
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
dkanada
668a7b97c7
Merge pull request #3072 from JustAMan/fix-dead-livetv
...
Re-raise the exception that caused LiveTV stream to not open
5 years ago
Vasily
c70e38288c
Apply suggestions from code review
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
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
Vasily
f08830ea00
Merge pull request #2774 from mark-monteiro/simplify-https-config
...
Simplify HTTPS Properties
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Patrick Barron
62420a6eb1
Remove support for injecting ILogger directly
5 years ago
Mark Monteiro
43c22a5822
Add GetLoopbackHttpApiUrl() helper method to replace forceHttps functionality
...
Also refactor to use return a Uri instead of a string and use UriBuilder under the hood
5 years ago
Vasily
3401d55f41
Fixed yet another case of hanging on a bad stream
5 years ago
Vasily
a517bd2e52
Re-raise the exception that caused LiveTV stream to not open
5 years ago
Joshua M. Boniface
f502c89331
Merge pull request #2798 from JustAMan/fix-livetv-again
...
Make localhost LiveTV restreams always use plain HTTP port
5 years ago
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
dkanada
eda208e258
Merge pull request #2829 from Bond-009/warn19
...
Fix some warnings
5 years ago
Bond_009
fc049caba2
Merge branch 'master' into nullable3
5 years ago
Mark Monteiro
9728aa8b0a
Merge branch 'master' into register-services-correctly
5 years ago
Mark Monteiro
4113288278
Fix style issues
5 years ago
Mark Monteiro
7152b55747
Use a separate line for each property initializer
5 years ago
Bond_009
49fe5e0a21
Fix some warnings
5 years ago
Vasily
e85f9f5613
Make localhost LiveTV restreams always use plain HTTP port
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Mark Monteiro
658e963e93
replace 'try-finally' with 'using' where appropriate
5 years ago
Mark Monteiro
cb2d99e831
Construct LiveTvDtoService and LiveTvManager correctly
5 years ago
Mark Monteiro
3d5b4f869c
Register ILiveTvManager and IPlaylistManager correctly
5 years ago
Mark Monteiro
e0f40f57d8
Merge remote-tracking branch 'upstream/master' into remove-common-process
5 years ago
Bond_009
2be394089e
Enable Microsoft.CodeAnalysis.FxCopAnalyzers for Jellyfin.Common
5 years ago
Bond-009
f31efce52d
Merge branch 'master' into usings
5 years ago
Bond_009
3ab50f5a3f
Address comments
5 years ago
Mark Monteiro
7447ea8960
Make sure Process objects are all disposed correctly
5 years ago
Mark Monteiro
b947d98266
Delete unnecessary ProcessFactory abstraction
5 years ago
Mark Monteiro
ee2f911a2b
Remove unnecessary CommonProcess abstraction
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
Bond_009
184ad29f3f
Address comments
5 years ago
Bond_009
7060934792
Fix some warnings in Emby.Server.Implementations
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
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
Bond_009
e714b9930e
Merge branch 'master' into embytv
5 years ago
Bond-009
fdbb329118
Remove StringHelper functions
5 years ago
dkanada
fb61a1f882
Merge pull request #2150 from Bond-009/releaseerror
...
Enable TreatWarningsAsErrors for some projects
5 years ago
Bond-009
c824c564cd
Move Emby.XmlTv to a NuGet package ( #2042 )
...
* Move Emby.XmlTv to a NuGet package
* Update Emby.Server.Implementations/Emby.Server.Implementations.csproj
Co-Authored-By: Anthony Lavado <anthonylavado@me.com>
5 years ago
Bond_009
5a8e972952
Enable TreatWarningsAsErrors for some projects
...
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
5 years ago
Bond-009
a4ca259a64
Add improved error error for #2141
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond_009
5cab79c839
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
5 years ago
Joshua M. Boniface
48120d01dc
Merge pull request #1991 from Bond-009/transtemp
...
Don't append transcodes to transcoding temp path
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
5 years ago
dkanada
f3ca37e523
minor changes to transcode cleanup scheduled task
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
5 years ago
Bond_009
d9a03c9bb1
Fix more warnings
5 years ago
Bond_009
bbc0875387
Don't shuffle some types by default
5 years ago
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
5 years ago
Bond_009
8fe7b6551f
Rewrite `ItemDataProvider` to be more robust
...
* Stop locking 2+ times per operation
* Don't clone the list multiple times
* Keep the lock for the duration of the operation
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
Anthony Lavado
cb393c215a
Merge pull request #1686 from Bond-009/warn7
...
More warning fixes
5 years ago
Bond_009
e4f893a0eb
More warning fixes
5 years ago
Bond_009
0aaaaab7a0
Fix invalid arg for
5 years ago
Bond_009
dc194015c2
Remove unused args
5 years ago
Bond_009
5dd332b63d
Attempt to fix #1391
5 years ago
Bond_009
1bc9b42c57
More fixes
5 years ago
Bond-009
4b37caa63a
Update SharedHttpStream.cs
5 years ago
Bond_009
237db8ae92
Clean up livestreaming code
5 years ago
dkanada
8f8d8e3d0b
Merge pull request #1581 from Bond-009/socket1
...
Use System.Net abstractions instead of raw socket
5 years ago
dkanada
5c366e4697
Merge pull request #1612 from Bond-009/warn4
...
Fix warnings
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
2a58c643d2
Fix more warnings
5 years ago
Bond-009
a5cb069f26
Update HdHomerunManager.cs
5 years ago
Bond_009
1cad93c276
Use System.Net abstractions instead of raw socket
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
Bond_009
5d9fa06675
Cleanup
5 years ago
Bond_009
b294b802a8
Try to fix XmlTvListingsProvider
5 years ago
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
5 years ago
Bond_009
d405a400aa
Fixes issues with HttpClientManager
5 years ago
Bond-009
0a5550b13d
Remove more unused stuff
5 years ago
Bond-009
d0fbd260d5
Merge branch 'master' into httpclient
6 years ago
Bond-009
b44a70ff36
Simplify/remove/clean code
...
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant
And ofc fix some warnings ;)
6 years ago
Bond-009
e64aaebbac
Improvements around streams
...
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
6 years ago
Vasily
1fef8bf266
Merge pull request #1060 from Bond-009/assinfo
...
Remove redundant class AssemblyInfo
6 years ago
Bond-009
7f42dcc60f
Remove more unused stuff
6 years ago
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
6 years ago
Bond-009
e91dd14b31
Remove redundent class AssemblyInfo
6 years ago
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
6 years ago
PloughPuff
73c1cdb32a
Avoid exceptions due to folder and file not found
...
1) Use function to return path to temp transcode path which has benefit of creating temp folder if not exists, thereby avoiding the exception when GetFilePaths is used.
2) Check json files exists before attempting to read from it. Avoids having to mask FileNotFound exceptions when debugging.
6 years ago
Joshua M. Boniface
89d4ce309d
Merge pull request #848 from Bond-009/perf
...
Minor changes to reduce allocations
6 years ago
Bond-009
4811e76860
Merge branch 'master' into perf
6 years ago
Bond-009
bdfd042d70
Merge branch 'master' into fields
6 years ago
Bond-009
43cf11aa35
Change discards
6 years ago
Bond_009
8d98885cda
Less string allocations
6 years ago
Felix Ruhnow
edf5ee0cc4
combining some of the if's and adressing #820
6 years ago
Felix Ruhnow
86089ec03a
Adding support for "tvg-chno"-Tag in M3U Channel Lists
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Erwin de Haan
f1ef0b0b4c
Fix namespacing so it lines up properly with file names and paths ( #715 )
...
* Fix stupid namespacing so it lines up properly with file names and paths.
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Vasily
0b3e6548db
Merge pull request #797 from Bond-009/warnings
...
Fix all warnings
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Bond-009
78e4e2ed92
Fix all warnings
6 years ago
Andrew Rabert
42d5a48491
Merge pull request #788 from Bond-009/warnings
...
Fix more warnings
6 years ago
Bond_009
1385d89df6
Remove MoreLINQ
6 years ago
Bond_009
8b073e2ba5
Remove unused field
6 years ago
Bond_009
5ac6d0ae59
Fix more warnings
6 years ago
Bond-009
1ea219bf3f
Merge branch 'master' into culture
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Bond_009
fd7f420af2
Remove remnants of system events
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
d7da475aad
Fix User-Agent
6 years ago
Andrew Rabert
8de4eb7d19
Rename ApplicationSemanticVersion to ApplicationVersion
6 years ago
Andrew Rabert
469590c9c5
Merge pull request #508 from EraYaN/api-version-reporting
...
Update internal versioning and user agents.
6 years ago
Erwin de Haan
924ec0c191
Revert Jellyfin.Versioning, Update all versions and user agents.
6 years ago
Erwin de Haan
949393043d
Fixed missing out keyword.
6 years ago
Erwin de Haan
e63b18f17d
Reformat JustAMan review second pass changes.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
a358631040
Extra formatting on the merged code.
6 years ago
Erwin de Haan
49b61f238e
Merge branch 'dev' into reformat
...
# Conflicts:
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
# Emby.Server.Implementations/LiveTv/LiveTvManager.cs
# Emby.Server.Implementations/Security/MBLicenseFile.cs
# Emby.Server.Implementations/Security/PluginSecurityManager.cs
# Emby.Server.Implementations/Security/RegRecord.cs
# MediaBrowser.Api/PluginService.cs
# MediaBrowser.Api/System/SystemService.cs
# MediaBrowser.Common/Security/IRequiresRegistration.cs
# MediaBrowser.Common/Security/ISecurityManager.cs
# MediaBrowser.Common/Security/PaymentRequiredException.cs
# MediaBrowser.Model/Entities/MBRegistrationRecord.cs
# MediaBrowser.Model/Entities/PluginSecurityInfo.cs
# deployment/win-generic/build-jellyfin.ps1
6 years ago
cvium
22a64f37f5
More cleaning
6 years ago
cvium
0e422a33d6
Some code style clean up
6 years ago
Claus Vium
eca3c099d9
removed a bunch of validation, security, registration, premiere, whatever bs
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
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
5b3d8a6d76
EditorConfig reformat: Emby.IsoMounting, Emby.Server.Implementations
6 years ago
Erwin de Haan
39ef1106d7
Visual Studio Reformat: Emby.Server.Implementations Part Liv-P
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
Joshua M. Boniface
15c89d281e
Merge pull request #506 from hawken93/linting
...
Removing tabs and trailing whitespace
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
hawken
82a801c9ae
Some less obvious ones that I was told were there
6 years ago
Bond_009
c07d5a6963
Remove unused PowerManagement
...
It isn't up to the application to prevent the system from going to sleep
6 years ago
Bond_009
a997bb609f
Remove unnecessary using statements
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago
Bond_009
a1b96a3135
Clean up HttpClientManager, LiveTvManager and InstallationManager
6 years ago
Bond_009
a445233192
Fix warning and improve performance
6 years ago
Bond_009
4c95aee52e
Fix logging in XmlTvListingsProvider
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
bf01918659
Clean up
6 years ago
Bond_009
b7ebb67cbb
Remove the need for NullLogger
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
f31457a457
Final cleanup
6 years ago
Bond_009
9ff45cf969
Some voodoo magic to stop a crash
6 years ago
Bond_009
589aa2416a
Clean up XmlTvListeningProvider
6 years ago
Bond_009
baa2afb61e
Restore latest version
...
Source: 30baa15839/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
6 years ago
Bond_009
6ebb00549b
Add missing XmlTvListingsProvider
...
Added from e679ac4224/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
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
Anthony Lavado
71b8602a3d
Updates all other emby.media links to repo page
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
85815adcd2
update live tv queries
7 years ago
Luke Pulverenti
175c085d90
Stub out new filtering api
7 years ago
Luke Pulverenti
70b0dd968f
Improve support for embedded metadata; support external subtitles with strm files
7 years ago
Luke Pulverenti
c4ceeae889
improve xmltv gz support
7 years ago
Luke Pulverenti
5207067811
fix live tv over dlna
7 years ago
Luke Pulverenti
58a7829ecd
update library changed notifier
7 years ago
Luke Pulverenti
4f09c1e06d
reduce dlna chatter
7 years ago
Luke Pulverenti
77695f8abe
3.2.40.1
7 years ago
Luke Pulverenti
46be272ec8
fixes #2992 - Dashboard Active Recordings not showing thumbnail
7 years ago
Luke Pulverenti
39418b4172
3.2.36.15
7 years ago