plex fixes (#92)

* fix updating plex path replacements

* fix adding/removing plex libraries

* fix adding/removing plex servers

* fix initial plex library sync after sign in

* code cleanup
This commit is contained in:
Jason Dove
2021-03-21 01:35:18 +00:00
committed by GitHub
parent cf9479d2a9
commit eca58dbe7f
7 changed files with 118 additions and 38 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
else
{
FFmpegSettingsViewModel ffmpegSettings = await Mediator.Send(new GetFFmpegSettings());
// TODO: command for new channel
IEnumerable<int> channelNumbers = await Mediator.Send(new GetAllChannels())
.Map(list => list.Map(c => int.TryParse(c.Number.Split(".").Head(), out int result) ? result : 0));