DVinyl icon indicating copy to clipboard operation
DVinyl copied to clipboard

[Feature]: Hyperlink support

Open HalbridiousBall opened this issue 2 weeks ago • 1 comments

Before suggesting

  • [x] I searched the existing issues and did not find a similar request.

What problem would this solve?

I would like to be able to either A) allow text fields to support markup format [] () or B) have a custom field datatype that allows the submission of hyperlinks

Currently, it does not seem like any text can be formatted as a link.

(My goal is to log an open-scrobbler link with each of my music items so I can log plays of physical media. Last.fm scrobble support would be a very cool stretch goal for DVinyl, but I haven't ever looked at their API and I'm unsure how complex that is.)

How could it work?

Either A) Supporting markup language formatting in "rich text" boxes or B) a specific custom field type that is automatically wrapped in hyperlinks

I suspect option B is easier to implement. If it is:

  • allowing for comma-separated lists might be nice.
    • Otherwise I might need to make multiple custom fields to support the POTENTIAL of multiple links
  • Allowing a "key + value" combination format is ideal (like how the markup syntax works)
    • Allows someone to label their hyperlink, which may not be easily human-readable.
    • Allows someone to make their field that just says "hyperlinks" and use it more flexibly

Alternatives you considered

See "how" section

Would you like to help build it?

I could help test it

HalbridiousBall avatar Nov 16 '26 01:11 HalbridiousBall

Hey! Thank you for the idea :D I'd rather make links work in the text fields you already have than add a new field type. So a plain web address, or [label](address) like in Markdown, would become a clickable link on the item page. That way one text field with one link per line covers your labels and multiple links too. Last.fm scrobbling is a bigger one, so not for right away, but I'll keep it in mind. Thanks for offering to test! ;)

Kyonew avatar Nov 17 '26 18:11 Kyonew