mysticcoders / voicenotes-sync

A plugin for Obsidian to sync with the VoiceNotes.com service
MIT License
21 stars 1 forks source link

Feature Request: Add Templates in the options config #24

Open cvasanthk opened 1 month ago

cvasanthk commented 1 month ago

to be able to select a template, which will be applied to voicenotes in the selected folder.

kinabalu commented 1 month ago

@cvasanthk interesting idea -- what were you thinking would be the template engine here? is there a specific plugin to integrate with like Templater?

cvasanthk commented 1 month ago

Hi Andrew, Yes, you are right. I was thinking about Templater. Currently the voicenotes sync works well. However the notes synced does not get a title for example. Also the yaml is limited and default to recording_id: duration: 5638 ( I should be able to convert this to hr: min:sec) created_at: 2024-06-12T03:32:42.000000Z updated_at: 2024-06-12T03:33:39.000000Z created: 2024-06-12T08:28 ( I would like to use the Templater script here) updated: 2024-06-14T19:39

Requirements: I would like to capture the title from voicenotes as -is. I want to create a file name with say {{date-title}}. I would like to import the tags if I have created in voicenotes.

If I’m able to create it with the Templater, with a voice note template, I think the above could be addressed.

Is it doable? Sorry, I’m not a programmer and hence cannot suggest technical solutions here.

Cheers, Vasanth

On 14 Jun 2024, at 10:19 PM, Andrew Lombardi @.***> wrote:

@cvasanthk https://github.com/cvasanthk interesting idea -- what were you thinking would be the template engine here? is there a specific plugin to integrate with like Templater?

— Reply to this email directly, view it on GitHub https://github.com/mysticcoders/voicenotes-sync/issues/24#issuecomment-2168540299, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDGQ32ZJNBATTXGFAANKBNLZHMX3PAVCNFSM6AAAAABJKTJJOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYGU2DAMRZHE. You are receiving this because you were mentioned.

kinabalu commented 1 month ago

For reference the plugin being discussed here is https://github.com/SilentVoid13/Templater