-
-
Notifications
You must be signed in to change notification settings - Fork 3
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 fine-grained control over what the status looks like with format strings #42
Comments
Format variables:
Format strings (default):
When paused (example):
Notes:
Todo:
|
This might have to work in conjunction with the media player for formatting options that just can't be expressed/communicated through system APIs like SMTC on Windows or MediaRemote on Mac. Example: foobar2000 formats the "title" based on the preferred localization (original, localized, romanized) or it sets the "album" field on Windows with information about bitrate. There can only be one title with SMTC on Windows and there is no field for bitrate with that API. Setting "%album% - %bitrate% %khz%" for the album in foobar2000 using the foo_mediacontrol plugin (basically reporting more than just album in the album field) and then using merely "%album%" within Music Presence would allow to show additional information without relying on system APIs having fields for that information. Of course this sort of abuses the system API by reporting a somewhat wrong value for the album in the above example, but that shouldn't ever become a serious problem. See also: ungive/foo_mediacontrol#1 |
Also: The option to customize the small icon in the bottom right corner would be nice too, e.g. a custom MusicBee icon. This should only be available for non-streaming services/offline media players. |
Continuing the discussion from the foobar subreddit :) It might create a hassle for you, but I think it would be better if you use whatever the media player itself uses, and let the player create the string before your plugins sends it to Music Presence. Not to mention MusicBee's enforcing you to declare the custom tags for EVERY format you use (while %NAME% that foobar doesn't recognize are considered to be custom tags automatically) |
Plus one for this! I use %SORTGROUP% to distinguish album editions from eachother and various other custom tags such as %scrobbleasartist% to do a bunch of internal things, like say, scrobbling an album correctly but keeping the ratings separate (a Spider Monkey Panel limitation requires me to do this)! |
Just to make sure I understand correctly: Do you mean that you want to use these variables you mentioned (%CATNR%, %SORTGROUP%, etc.) within Music Presence? i.e. that foobar2000 or MusicBee sets these variables to values and then "sends" them to Music Presence and you use them universally in Music Presence? |
Not you per se, but let the media player itself parse the variables. That way you wont have to create them yourself. Many different people use different custom tags after all, you can't cater to every single one of us :P |
Although SORTGROUP info is something I don't think needs to be sent. That's a variable needed for the player, not a "now playing" announcer. kam106: As for scrobbling, do you use a different plugin to send %scrobblesartist% instead of %track artist%? |
Alright, thanks for clarifying, that was the original idea I had in mind too!
So basically: foobar2000 reports e.g.
Music Presence has simpler variables:
|
I guess this is true. It's not really a necessity to be sent, but it would have been nice.
Nope, I just have a very ugly $if hack on the artist field to check if there's %scrobbleasartist%, if not, use track artist. |
I didn't see any mention of it so I'll mention it here as it's related to this issue. It'd be good to have a customizable button below/above the "Get this status" one. Both the label and the URL would be editable. For example, it could be used to add a "See on last.fm" button, which would have a last.fm URL with some format variables to find the song and some arbitrary label chosen by the user. |
It would be nice to be able to customize your status in perfect detail by controlling exactly where each piece of information goes, e.g. with the use of format strings. Example:
Playing {title} - {artist}
which replaces variables in curly braces with actual song metadata.Pros:
Cons:
Questions:
Options:
The text was updated successfully, but these errors were encountered: