Bond_009
277830855d
Clean up UserDataManager
...
* enable nullable
* remove unused methods
* fix warnings and docs
2024-08-30 15:08:56 +02:00
ArabCoders
c4013d2e10
Updated the summary and the Dto name.
2023-11-15 13:55:14 +03:00
ArabCoders
07db2025a1
Refactored the code to not use reflection.
2023-11-13 17:32:24 +03:00
ArabCoders
2a25c5a2e3
Refactored api call logic handling.
2023-11-13 15:51:06 +03:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
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);
```
2022-10-06 20:21:23 +02:00
Bond_009
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
Patrick Barron
876a902356
Fix warnings in Library
2021-10-03 21:41:22 -04:00
Bond_009
637e86478f
Fix some warnings
2021-09-03 19:32:11 +02:00
Claus Vium
9f2e8063ec
Merge pull request #5997 from JKI12/master
...
Fixes for Book Progress
2021-05-24 08:52:38 +02:00
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
2021-05-20 22:48:53 +02:00
Jake King
bc017737e6
Changed condition for readbility
...
- Refactored check if item is not audio book or book to be more readable
2021-05-07 10:35:03 +01:00
Jake King
3cd57cb287
Fixes for Book Progress
...
- Ignore Books when checking for minium progress
2021-05-06 19:50:00 +01:00
artiume
005ae80b31
Update var names
2021-04-21 07:11:14 -04:00
artiume
dcd96909cd
Fix Audiobook Resume
...
https://github.com/jellyfin/jellyfin/issues/5703
2021-04-20 19:28:18 -04:00
BaronGreenback
bc1cc2d04a
Remove unused using directives
2021-04-17 11:37:55 +01:00
artiume
f411353c8c
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:30:02 -05:00
artiume
c7cb177260
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:12:36 -05:00
artiume
77b478c726
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:12:13 -05:00
artiume
99adbf0497
Split resume function for Audiobooks
2020-12-30 08:48:33 -05:00
Patrick Barron
0aa349fe40
Remove unused dependencies.
2020-07-23 21:42:36 -04:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
2020-06-13 19:41:05 -04:00
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
2020-06-13 00:29:43 +09:00
Patrick Barron
fc02157b42
Fix build errors
2020-06-11 18:28:49 -04:00
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
2020-06-11 18:23:12 -04:00
Daniyar Itegulov
613748b45d
Make books resumable and have duration of 1 second
2020-06-06 18:50:28 +10:00
crobibero
44957c5a9a
Use typed logger where possible
2020-06-05 18:15:56 -06:00
Patrick Barron
c464f700db
Remove redundant qualifiers
2020-05-20 13:07:53 -04:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
Mark Monteiro
615717e562
Register and construct IUserDataManager and IUserDataRepository correctly
2020-04-04 19:57:26 -04:00
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
2020-02-23 12:11:43 +01:00
Bond_009
7f5a174dff
Merge branch 'master' into warn12
2019-12-20 19:43:57 +01:00
dkanada
02928128b9
track progress for any item that supports the feature
2019-12-14 11:36:06 +09:00
Bond_009
2ef4ffd698
More warnings (removed)
2019-12-11 00:13:57 +01:00
dkanada
67922dff50
Merge pull request #2041 from Bond-009/warn11
...
Fix more warnings
2019-12-11 01:14:55 +09:00
Bond_009
42ffddc269
Fix more warnings
2019-11-27 16:29:56 +01:00
Bond_009
3221e837f9
* Add support for multi segment base urls
...
* Make baseurl case-insensitive
2019-11-25 11:55:24 +01:00
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
2019-08-09 23:17:54 +02:00
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
2019-01-13 21:37:13 +01:00
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
2019-01-13 20:54:44 +01:00
Erwin de Haan
58b582bdcb
Visual Studio Reformat: Emby.Server.Implementations Part I-Lib
2019-01-13 20:21:32 +01:00
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.
2019-01-10 20:38:53 +01:00
Bond_009
a997bb609f
Remove unnecessary using statements
2019-01-05 01:49:52 +03:00
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
2019-01-05 01:49:52 +03:00
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
2018-12-30 22:44:38 +01:00
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
e287e3a50d
remove async when there's nothing to await
2017-08-26 20:32:33 -04:00
Luke Pulverenti
1ad990ad72
update live tv data transfer
2017-08-19 15:43:35 -04:00
Luke Pulverenti
33014f77aa
update GetItems method
2017-05-26 02:48:54 -04:00