chhoumann / PodNotes

PodNotes is a plugin for Obsidian that helps the user write notes on podcasts.
https://podnotes.obsidian.guide
MIT License
220 stars 9 forks source link

FR: timestamp as link to play at that time #29

Closed derekvan closed 1 year ago

derekvan commented 2 years ago

This is fantastic. Thanks for sharing it. One question I have: is it possible to get the local file name for the timestamp template? (I’m mostly using this for local files, not podcasts). I’m hoping to integrate this with Media Player extended. With that plugin, if I have a timestamp in this form, I can click the timestamp link and the player will load up at that time (maybe this could also be a useful feature of PodNotes?):

[[filename.m4a#t=1:15:51|🔈]] (the alias and speaker are just my own flourish for the form, the key is the filename with the hash and timestamp)

monstertank commented 1 year ago

i second that what i observed is that if we adjust url like the below it already works for local files if it can be done just like other podcast from internet it would be great

obsidian://podnotes?episodeName=audio&url=file:///D:/folder/audio.mp3&time=1096.215603
chhoumann commented 1 year ago

Hi @derekvan,

Thank you for this suggestion. I've added it as part of 2.5.0, so it now works with {{linktime}} on local files. :) Same workflow as for standard podcasts now.