Skip to content

Commit

Permalink
Set FFS while downloading for rudimentary recovery in regards to #137
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Feb 9, 2023
1 parent d8c9f57 commit a981923
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/float.ts
Expand Up @@ -43,7 +43,10 @@ const fetchNewVideos = async (subscriptions: Array<Subscription>, videoProcessor
}

if (newVideos.length !== 0) {
// If processing videos does not complete then forceFullSearch next run to recover
settings.floatplane.forceFullSearch = true;
await Promise.all(videoProcessor.processVideos(newVideos));
settings.floatplane.forceFullSearch = false;
if (settings.plex.enabled) {
process.stdout.write("> Refreshing plex sections... ");
const plexApi = await new MyPlexAccount(undefined, undefined, undefined, settings.plex.token).connect();
Expand Down

0 comments on commit a981923

Please sign in to comment.