8000 ignore artist on mpd radio stream · Issue #766 · polybar/polybar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ignore artist on mpd radio stream #766

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

Open
Joseph65 opened this issue Sep 19, 2017 · 6 comments
Open

ignore artist on mpd radio stream #766

Joseph65 opened this issue Sep 19, 2017 · 6 comments
Labels

Comments

@Joseph65
Copy link

when i play a stream radio with ncmpcpp it displays only the title
here is a screenshot
screenshot_2017-09-19_09-26-40
above center is polybar with mpd
and bottom left is conky, conky ignores artist if unavailable but polybar doesnt,
polybar displays untitled artist, what i was wondering is could polybar ignore artist if unavailable
like conky.

@patrick96
Copy link
Member

This is currently not possible with polybar, if the artist is empty it falls back to "untitled artist".

We could add options for the user to specify what text is used as fallback if the artist, album or title are unavailable. Though, if you set the fallback to an empty string the %artist% token is replaced with an empty string and your bar would still show - Finish What Ya Started - Van Halen which doesn't look that good either (notice the dash at the beginning). There is no sensible way to also remove that dash.

@Joseph65
Copy link
Author

how do you set the fallback

@patrick96
Copy link
Member

You can't right now, that would be something we would have to implement first.

@dramm33
Copy link
dramm33 commented Oct 2, 2017

I vote for this.

@dramm33
Copy link
dramm33 commented Oct 2, 2017

Is there a way to force an %artist% using tags or something like EXTINF in ncmpcpp or mpd/mopidy? That would be a nice workaround...

@codeurimpulsif
Copy link

Hi!

Maybe having something like a kind of jinja could be cool:

label-song = <% if artist is not null %>%artist% - <% endif %>%title%

Any new workaround to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
0