PaciStardust / HOSCY

Companion for OSC and Communication
GNU General Public License v2.0
34 stars 7 forks source link

Enhancement: more customizable media message #46

Closed Bluscream closed 1 year ago

Bluscream commented 1 year ago

use a single textfield with variables instead of the split sentence

PaciStardust commented 1 year ago

I have it split so some parts will not be shown, if the information is not available.

Overcomplicating it with some kind of markup would likely just confuse the normal user.

Do you have any suggestions on how I could implement this in a user friendly way?

PaciStardust commented 1 year ago

Would adding an additional text field for text after everything else suffice?

Bluscream commented 1 year ago

I have it split so some parts will not be shown, if the information is not available.

Overcomplicating it with some kind of markup would likely just confuse the normal user.

Do you have any suggestions on how I could implement this in a user friendly way?

Hmm, you're right. I hadn't considered that. The easiest compromise would probably to add a new textfield and a "Advanced/Manual" checkbox, which disables your combination fields and allows overriding it with own text using variables. If you want to keep the conditionals, you might have to come up with your own syntax; maybe smth like a mix between html

"Playing {title}<artist> by {artist}</artist><album> from {album}</album><source> using {source}</source>"
PaciStardust commented 1 year ago

As source is not a field I have, I have decided to just provide an extra text field for adding text behind. This is implemented in a different branch for testing. A merge and release can be expected this weekend if everything goes according to plan

PaciStardust commented 1 year ago

Newest release includes this functionality