rewrite local media scanner (#25)

* spike new scanner

* add existing items to new scanner

* add collection refresh actions

* add tv show metadata and posters

* update metadata and posters when nfo/poster files are updated

* add "remove" action, test for all supported file extensions

* update statistics when primary video file is updated

* reflect that collections are "sourced" from nfo

* implement most scanning actions

* cleanup

* fix startup

* cross-platform scanner tests
This commit is contained in:
Jason Dove
2021-02-15 23:55:19 +00:00
committed by GitHub
parent 1aac2f13c9
commit 8fb23f2edb
24 changed files with 2422 additions and 105 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ namespace ErsatzTV.Services
case RefreshMediaItem refreshMediaItem:
string type = refreshMediaItem switch
{
RefreshMediaItemMetadata => "metadata",
// RefreshMediaItemMetadata => "metadata",
RefreshMediaItemStatistics => "statistics",
RefreshMediaItemCollections => "collections",
RefreshMediaItemPoster => "poster",