Skip to content

Feature Request: Timestamp-Driven Episode Switching in PodNotes Player #164

Closed

Description

@gracchen

Hello, I am trying to have fast switching between different episode timestamp links using the capture timestamp command with the "{{linktime}}" format. However, when switching to an episode not currently playing in PodNotes Player, it will default to the last played timestamp or 0 instead of the timestamp of the just clicked link. The plugin already acknowledges this with a popup notice: "Episode found, playing now. Please click timestamp again to play at specific time."

So as a workaround, I made two slight modifications that successfully addresses my issue (so far):

  1. at the very end of podNotesURIHandler() in src/URIHandler.ts, after the aforementioned notice, I add api.currentTime = parseFloat(time);
  2. in onMetadataLoaded() from src/ui/PodcastView/EpisodePlayer.svelte, I commented out the call to restorePlaybackTime()

I am not familiar with the repo or svelte, so any improvements or adoption of this workaround as a toggle-able option would be greatly appreciated!


git log:

diff --git a/src/URIHandler.ts b/src/URIHandler.ts
index 1681995..9e34f18 100644
--- a/src/URIHandler.ts
+++ b/src/URIHandler.ts
@@ -50,7 +50,6 @@ export default async function podNotesURIHandler(
        currentEpisode.set(episode);
        viewState.set(ViewState.Player);

-       new Notice(
-               "Episode found, playing now. Please click timestamp again to play at specific time."
-       );
+
+       api.currentTime = parseFloat(time);
 }
diff --git a/src/ui/PodcastView/EpisodePlayer.svelte b/src/ui/PodcastView/EpisodePlayer.svelte
index 5a1b380..6d2898d 100644
--- a/src/ui/PodcastView/EpisodePlayer.svelte
+++ b/src/ui/PodcastView/EpisodePlayer.svelte
@@ -109,8 +109,7 @@

        function onMetadataLoaded() {
                isLoading = false;
-
-               restorePlaybackTime();
+               //restorePlaybackTime();
        }

        function restorePlaybackTime() {
(END)

Activity

  1. gracchen commented on Feb 21, 2026

    @gracchen
    Author

    To add on to this; another related tweak is to always resume playing when clicking a timestamp link to the currently open audio file, even when it is currently paused. To do that, I added api.start(); to if (episodeIsPlaying) {} in src/URIHandler.ts:

    	const episodeIsPlaying = currentEp?.title === decodedName;
    
    	if (episodeIsPlaying) {
    		viewState.set(ViewState.Player);
    		api.currentTime = parseFloat(time);
    		api.start();
    		return;
    	}
    	
    	const decodedUrl = url.replace(/\+/g, " ");
    
  2. github-actions commented on Jun 22, 2026

    @github-actions
    Contributor

    🎉 This issue has been resolved in version 2.17.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions