Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Patrick Barron
876a902356
Fix warnings in Library
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Claus Vium
9f2e8063ec
Merge pull request #5997 from JKI12/master
...
Fixes for Book Progress
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Jake King
bc017737e6
Changed condition for readbility
...
- Refactored check if item is not audio book or book to be more readable
4 years ago
Jake King
3cd57cb287
Fixes for Book Progress
...
- Ignore Books when checking for minium progress
4 years ago
artiume
005ae80b31
Update var names
4 years ago
artiume
dcd96909cd
Fix Audiobook Resume
...
https://github.com/jellyfin/jellyfin/issues/5703
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
artiume
f411353c8c
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
artiume
c7cb177260
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
artiume
77b478c726
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
artiume
99adbf0497
Split resume function for Audiobooks
4 years ago
Patrick Barron
0aa349fe40
Remove unused dependencies.
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
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
fc02157b42
Fix build errors
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
Daniyar Itegulov
613748b45d
Make books resumable and have duration of 1 second
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Mark Monteiro
615717e562
Register and construct IUserDataManager and IUserDataRepository correctly
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
7f5a174dff
Merge branch 'master' into warn12
5 years ago
dkanada
02928128b9
track progress for any item that supports the feature
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
dkanada
67922dff50
Merge pull request #2041 from Bond-009/warn11
...
Fix more warnings
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond_009
3221e837f9
* Add support for multi segment base urls
...
* Make baseurl case-insensitive
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 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
58b582bdcb
Visual Studio Reformat: Emby.Server.Implementations Part I-Lib
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
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
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 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
33014f77aa
update GetItems method
8 years ago
Luke Pulverenti
e1b880a5a0
update series queries
8 years ago
Luke Pulverenti
1aff48b93b
move book support into the core
8 years ago
Luke Pulverenti
b76a1abda5
move classes to portable server lib
8 years ago