Added menu setting should be configurable : It allows to right click on a folder and automatically create a file with the playing track/episode (you have 4 options in the menu , the same that were implemented)
For now the menu setting wont be configurable. (meaning the menu will always show the 4 options, can be edited in the config file directly.)
Reuse the templates setting: Simply added a load or get method, meaning that we use either the template path (a path inside the vault) OR the inline template, the remaining logic stayed the same.
If the track name / episode name is not found, by default it will name the new file using the current timestamp (with or without template)
Improved message and error handling (found one issue)
Perform few manual tests (not all cases have been checked.)
Linter generated a lot of noise
PR Review
Added 4 commands in the command palette
Added 2 new settings:
set the default directory that stores the new track/episode file(s) (default: root)
allow / disallow to overwrite existing file (default: false)
menu
setting should be configurable : It allows to right click on a folder and automatically create a file with the playing track/episode (you have 4 options in the menu , the same that were implemented)menu
setting wont be configurable. (meaning the menu will always show the 4 options, can be edited in the config file directly.)templates
setting: Simply added a load or get method, meaning that we use either the template path (a path inside the vault) OR the inline template, the remaining logic stayed the same.PR Review