Commit Graph

220 Commits

Author SHA1 Message Date
Shadowghost
994266a54f Fixup 2024-09-04 17:50:15 +02:00
Shadowghost
08ed0a9a5d Cleanup tasks 2024-09-04 17:38:10 +02:00
Bond-009
f68038f2cf
Run DeleteTranscodeFileTask on startup (#12239) 2024-07-15 08:55:31 -04:00
Bond-009
c666f9d050
Use real temp dir instead of cache dir for temp files (#12226) 2024-07-15 08:44:14 -04:00
Shadowghost
6734450d40 Backport pull request #12025 from jellyfin/release-10.9.z
Fix empty image folder removal for legacy locations

Original-merge: 476dc01f4d

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-24 20:28:58 -04:00
Bond-009
ac114b27a9 Backport pull request #11911 from jellyfin/release-10.9.z
Log album name and id in normalization task

Original-merge: c9b6ebd94f

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-24 20:28:57 -04:00
Shadowghost
a13dc9b91c Backport pull request #12123 from jellyfin/release-10.9.z
Fix Cleanup Task metadata saving

Original-merge: 85078d8f10

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23 11:40:56 -04:00
Bond-009
c7f87c0d69 Backport pull request #11910 from jellyfin/release-10.9.z
Audio normalization: parse ffmpeg output line by line

Original-merge: d2be2ee480

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:41:15 -04:00
Bond-009
3feb3f81bf
More efficient array creation (#11468) 2024-04-30 13:32:59 -06:00
Bond_009
9ffb07d67f Fix filename 2024-04-30 16:16:42 +02:00
Bond_009
8c9d0df7f2 Address comments 2024-04-30 16:14:01 +02:00
Bond_009
276ae3b8b7 Skip albums that don't have multiple tracks 2024-04-29 14:50:46 +02:00
Bond_009
88a38a61b5 Improve audio normalization
* Move calculation of LUFS to a scheduled task as it's pretty slow
* Correctly calculate album LUFS
* Don't try to convert replaygain tags to LUFS values
2024-04-28 15:18:53 +02:00
John M
c791331952
Fix task CleanupCollectionAndPlaylistPathsTask removing valid paths (#11410) 2024-04-23 07:08:19 -06:00
JPVenson
81d3758785
#11289 Fixed cleanup task not checking for folders (#11311) 2024-04-17 10:45:31 -06:00
Patrick Barron
8698b90594 Remove SimpleProgress 2024-02-06 09:50:46 -05:00
Bond_009
244a739675 Fix incorrect path check in CleanupCollectionAndPlaylistPathsTask 2024-01-16 20:24:28 +01:00
Cody Robibero
892973a9e3
Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Stepan Goremykin
a773b43a81 Merge reading from file and parsing 2023-10-12 21:28:04 +02:00
Cody Robibero
2920611ffc Convert string MediaType to enum MediaType 2023-10-10 15:57:15 -06:00
Stepan Goremykin
73309f2649 Pass cancellation token 2023-10-07 23:50:45 +02:00
Tim Eisele
151d678b0e
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-18 19:13:33 +02:00
Tim Eisele
bce45992d9
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-17 16:35:41 +02:00
Tim Eisele
61a49e94c4
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-17 14:13:25 +02:00
Tim Eisele
fccea4625d
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-17 14:13:19 +02:00
Shadowghost
783bb8a8cb Apply review suggestions 2023-09-16 17:05:54 +02:00
Shadowghost
f7720e7c99 Extend collections cleanup task to include playlists too 2023-09-16 15:09:19 +02:00
Joshua M. Boniface
76939bbd9b
Merge pull request #9231 from JPVenson/bugfix/1907_CleanupCollections 2023-06-28 17:44:11 -04:00
Cody Robibero
cc82ca189f suggestions from review 2023-06-27 21:19:15 -06:00
JPVenson
0f60ec3013
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-06-27 16:05:07 +02:00
JPVenson
8b6fca59a1
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-05-02 14:26:55 +02:00
Bond-009
9ccfe3121f
Merge pull request #9103 from DarrenRuane/darrenruane_fix_chapter_images_deletion 2023-03-18 12:38:12 +01:00
Bond_009
d280dc6554 Reduce log spam
Fixes #7801
2023-03-01 16:43:55 +01:00
Bond_009
cb85fc688f Enable nullable for more files 2023-02-15 23:41:28 +01:00
Jean-Pierre Bachmann
0ed4fd5759
Changed LogTrace to LogDebug 2023-02-05 21:38:50 +02:00
Jean-Pierre Bachmann
2a4cc4d942
Updated logging level and formatting 2023-02-05 21:08:08 +02:00
Jean-Pierre Bachmann
0b71974054
Fixed whitespace 2023-02-01 23:45:06 +01:00
JPVenson
341658b552
Update CleanupCollectionPathsTask.cs
Removed code smell and switched to non creation for non existing collection folder
2023-02-01 22:42:10 +01:00
Jean-Pierre Bachmann
6b8d169529
Added CleanupCollection task 2023-02-01 19:34:58 +01:00
Patrick Barron
8479f0f90c Rename JellyfinDb to JellyfinDbContext 2023-01-16 12:14:44 -05:00
DarrenRuane
776294b5f8 Fix pre-existing chapter images not being deleted after the chapter image generation setting is disabled 2023-01-15 23:09:33 +00:00
Bond_009
52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
Bond_009
fb3e97d7ac Use typed logger 2022-11-27 14:35:07 +01:00
Bond_009
556cc8062d Investigate some TODO comments 2022-11-27 14:13:31 +01:00
cvium
b836fe9685 remove JellyfinDbProvider and add second level caching 2022-10-21 11:55:32 +02: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
Cody Robibero
cc608c17bd Merge pull request #7512 from crobibero/update-plugin
(cherry picked from commit ca67a48140)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-03-29 02:24:51 -04:00
Bond_009
5732e6188c Fix some warnings 2022-02-15 18:59:46 +01:00
Cody Robibero
ecb73168b3 Suggestions from review 2022-01-10 08:26:30 -07:00