Open rshmhrj opened 4 months ago
Very good suggestions, but it’s a huge feature. Maybe split this in smaller issues?
Hi @ozdemir08 and @mariusursache
Created PR #9 with a few additional settings.
I realized the toggling of all the various flags would be unnecessary if I could just update the template directly, so the main addition was a template formatting text area in settings.
Also took the opportunity (based on the references of a few plugins I use with nice settings panels), to consolidate some constants as well as the ability to reset the settings back to default.
Lastly, added some minor logic to accept both fully formed URLs as well as IDs only (e.g. https://www.youtube.com/watch?v=nC7rpDXa4B8
and nC7rpDXa4B8
should both be accepted in the popup modal).
Please review and let me know if there is anything that should be fixed or updated. This is my first time at trying anything to do with Obsidian plugins, so hope there aren't many mistakes!
Thanks @rshmhrj for the suggestions and the PR. I will review it by tomorrow!
I have scrambled together a youtube template which uses Templater. QuickAdd allows me to create a new note with the video on my clipboard. I wanted to use the summarizer plugin immediately afterward to add the summary (as the URL is still on my clipboard).
The problem is that now, I end up having duplicate metadata.
It would be great to have settings for:
---
) (on/off)For reference, here's the content of my template:
And here is the output after running both the template and the summarizer back-to-back:
Here is the youtube link I used for testing: https://www.youtube.com/watch?v=jzZsG8n2R9A