-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add custom formatting for RPC details and on-hover image text #154
Comments
I've been thinking about this exact thing lately. Apparently there's no way to use Rust's |
I messed around with this and hit an issue: The image text and the third line are the same and can't be set separately. The first and second lines can, though. It wasn't clear to me if newlines are possible in the first two lines. I tried putting So, the only compromises I can think would be |
Thanks for taking this issue.
This Discord limitation is a bit disappointing, hopefully one day they will offer an option in their API to separate it. Also a suggestion: just so previous configurations could still work,
"music": {
"display": [
"album",
"year",
"genres"
],
"separator": "-" // in use, as display value is an array
},
"music": {
"display": {
"details_text": "{track}", // first line
"state_text": "by {artists}", // second line
"image_text": "{album} ({year})" // third line / text on image hover
},
"separator": "-" // not used since display value is not an array, we use our custom formatting
}, |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
Currently the setting for music/movies display looks like this (excerpt from my config):
For my use-case, I find this pretty limiting, as all values are separated by same separator, in one line. Current result:
In effect, we have a long line with the set values, and one line for
Jellyfin-RPC v{VERSION}
Hovering the album cover also shows the version:
I'd love to have the possiblity to customize on-hover text and both lines separately, using some kind of formatted string values. For example, I'd like to see album title popup on image hover (instead of Jellyfin-RPC version), and instead of line1=
By <album name> - <rest of values separated by same separator>
, line2=<jellyfin-rpc version>
I'd like to use separate values with some custom formatting.Describe the solution you'd like
I think the solution here would be adding more options for music/movies display.
For my case, I'd like to be able to set up something like this:
Result:
On image hover:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: