jellyfin and emby path infos (#771)

* start adding jellyfin path info; fix some scanning bugs

* sync jellyfin libraries before scanning to ensure latest path infos

* code cleanup

* support emby path infos

* fix periodic scanning of emby and jellyfin libraries

* bug fixes
This commit is contained in:
Jason Dove
2022-04-29 15:07:17 -05:00
committed by GitHub
parent 4ed40acfbe
commit 404ea49e35
70 changed files with 13498 additions and 553 deletions
@@ -70,7 +70,7 @@
protected override async Task OnParametersSetAsync()
{
_newLibrary = new LocalLibraryViewModel(-1, "(New Library)", MediaKind);
_newLibrary = new LocalLibraryViewModel(-1, "(New Library)", MediaKind, -1);
_libraries = await _mediator.Send(new GetAllLocalLibraries(), _cts.Token)
.Map(list => list.Filter(ll => ll.MediaKind == MediaKind && ll.Id != SourceLibraryId))