Skip to content

A cross platform Audiobookshelf client for Android and iOS

Dart

Tag subscribed podcast downloads with their own library

Barnabas61f9834bfd7a
diff --git a/lib/providers/_lp_core.dart b/lib/providers/_lp_core.dart
index 210ec3c1..b43bc6bd 100644
--- a/lib/providers/_lp_core.dart
+++ b/lib/providers/_lp_core.dart
@@ -1743,7 +1743,7 @@ mixin _CoreMixin on ChangeNotifier, _StateMixin {
author: metadata['title'] as String? ?? '',
coverUrl: getCoverUrl(podcastId),
episodeId: epId,
- libraryId: _selectedLibraryId,
+ libraryId: cached?['libraryId'] as String? ?? _selectedLibraryId,
);
downloaded++;
}