Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "linkification" of properties #137

Open
wealthychef1 opened this issue Mar 17, 2024 · 4 comments
Open

Allow "linkification" of properties #137

wealthychef1 opened this issue Mar 17, 2024 · 4 comments
Labels
feature request New feature or request

Comments

@wealthychef1
Copy link

Is your feature request related to a problem? Please describe.
MediaDB fetches some properties which I'd like to convert into links
For example, "author" or "director." If these are displayed as links instead of strings, then I can create notes for each of them and make cool cross-references.

Describe the solution you'd like
I'd like to see a checkbox under "Property Mappings" that says "Linkify" which just turns every item in this property into a link instead of just a string. So "W.B. DuBois" becomes "[[W.B. DuBois]]"

Additional context
I would use this to create tables, something I already do with Movies because I have a custom script for that which does linkify items.
Thanks!

@wealthychef1 wealthychef1 added the feature request New feature or request label Mar 17, 2024
@vaughanvandyk
Copy link

Hi @wealthychef1 I requested something similar in #134

@wealthychef1
Copy link
Author

Hi @wealthychef1 I requested something similar in #134

Great minds think alike.

@kelszo
Copy link
Contributor

kelszo commented Jun 5, 2024

This is already possible todo using the recently added Templater support (#119).

Install templater and add this in the template:

<% media.writer.map(author => `[[${author}]]`).join(', ') %>

This support was recently added in the 0.7.0 version of the plugin.

@vaughanvandyk
Copy link

Thanks for this @kelszo -- indeed Templater is super powerful for such things. However, for those of us who don't use that plugin for anything else, it would be great if this functionality were built into MediaDB directly while it is parsing the properties.

@mProjectsCode mProjectsCode marked this as a duplicate of #134 Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants