Superschnizel / Obsidian-Moviegrabber

obsidian.md plugin to grab data from public movie Databases and make them into a note that can be used with dataview querries
MIT License
24 stars 5 forks source link

Feature Request: Custom File Name #17

Closed jpfieber closed 1 year ago

jpfieber commented 1 year ago

As I start to pull movies in, I'm realizing that some of the movies I'd like to include have multiple versions, usually differentiated by the year they were released. I'd love to be able to set the filename based on variables like "{{Title}} ({{Year)}}". This gives a quick indicator of when the movie is from and allows multiple versions to exist without manual intervention.

Superschnizel commented 1 year ago

I added support for this in update 1.1.12. You can use the same tags as in note templates.

jpfieber commented 1 year ago

Beautiful, works perfect, thanks!

jpfieber commented 1 year ago

I spoke too soon. I love having my movie names use {{Title}} ({{Year}}), but not my series. Is it possible to have separate fields for each, or maybe base off the 'Title' variable in the template?

Superschnizel commented 1 year ago

I just released version 1.1.13, wich offers seperate filename templates for movies and series. For now i think this is the easiest solution, maybe i will come up with a better solution at a later time, but for now this works and is easy enough to understand.

jpfieber commented 1 year ago

Works great, thanks for the quick turnaround! Now I can start creating all my series and movie notes!