Mark Monteiro
d276e0f8f4
Use Distinct() to filter out duplicates when adding items to playlist
5 years ago
Mark Monteiro
487aa376b4
Merge remote-tracking branch 'upstream/master' into 1914-prevent-duplicates-in-playlists
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
Mark Monteiro
3cb98fba55
Use ToList() instead of ToArray() on sequences of unknown size
5 years ago
Mark Monteiro
6438771212
Exit method early if there are no unique playlist items to add
5 years ago
Mark Monteiro
4d32b59a0b
Performance improvements
...
Use arrays instead of lists; use Array.CopyTo to concat playlist items; only count number of duplicates once
5 years ago
Mark Monteiro
77533fd433
Revert unnecessary style change
5 years ago
Mark Monteiro
dde0277050
Check for duplicates when adding items to a playlist
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
dkanada
1b2453b4e9
fix playlist deletion
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond-009
b477b3874e
Fix some warnings
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
5edb8159a7
Fix Json serialization error
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
6 years ago
Bond_009
1385d89df6
Remove MoreLINQ
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
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
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
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
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
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
Bond_009
b7ebb67cbb
Remove the need for NullLogger
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
a5b82cd2ec
remove unneeded async signatures
7 years ago
Luke Pulverenti
cdd79ec7e2
update owned items
7 years ago
Luke Pulverenti
39c4542cf6
update query objects
7 years ago
Luke Pulverenti
e287e3a50d
remove async when there's nothing to await
7 years ago
Luke Pulverenti
1ad990ad72
update live tv data transfer
7 years ago
Luke Pulverenti
a57c887f7f
update components
7 years ago
Luke Pulverenti
e7425e6205
revert servicestack.text update
7 years ago
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
7 years ago
Luke Pulverenti
52aeb3c40b
consolidate interfaces
7 years ago
Luke Pulverenti
d8ec7109ab
add FindByPath error handling
8 years ago
Luke Pulverenti
33014f77aa
update GetItems method
8 years ago
Luke Pulverenti
da77b05817
update data queries
8 years ago
Luke Pulverenti
a9b041a7e6
rework refresh queue
8 years ago
Luke Pulverenti
8931b949f8
generate genre images
8 years ago
Luke Pulverenti
82c65f3788
update playlist creation
8 years ago
Luke Pulverenti
06afe47ee9
update server core project
8 years ago
Luke Pulverenti
ec63e13bbe
more portable restructuring
8 years ago
Luke Pulverenti
8492225dee
update portable projects
8 years ago