You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: show downloaded episodes in the Local Files playlist (#176) (#177)
* fix: show downloaded episodes in the Local Files playlist (#176)
Downloaded episodes were recorded in the downloadedEpisodes store but never
added to the localFiles playlist, so the Podcast grid's "Local Files" list
stayed empty ("No episodes found") even though the file was on disk and the
"Remove file" option appeared in the episode list.
Make localFiles a change-gated projection of downloadedEpisodes -- the
authoritative offline set, written by both downloads and "Play with PodNotes".
Entries are copied verbatim so filePath/size and the real podcastName survive,
keeping local-file playback working. Existing downloads are backfilled on load,
and removing a downloaded file now also removes it from Local Files.
* perf: skip Local Files store write on no-op sync (#177)
Addresses PR review feedback: the membership change-gate returned the same
playlist object from update(), but Svelte still notifies subscribers for any
object value, so LocalFilesController.onChange + saveSettings re-ran on every
downloadedEpisodes mutation. Compare against the current store value before
calling update() so an unchanged membership skips the store write entirely.
Strengthen the no-op test to assert no subscriber notification fires.
PodNotes supports local files. You can right-click any audio file and click `Play with PodNotes`.
2
2
3
-
In the podcast grid, you will see a playlist with a folder icon. This is a playlist consisting of all local files (non-downloaded episodes) you have played with PodNotes.
3
+
In the podcast grid, you will see a playlist with a folder icon. This is a playlist of every episode you have available offline: both local audio files you have played with `Play with PodNotes` and episodes you have downloaded. Removing a downloaded file also removes it from this playlist.
4
4
5
5
PodNotes will attempt to treat all local files as podcast episodes. This means all standard features are available, such as timestamps, note creation, and persisting playback time. Any exceptions will be added here.
0 commit comments