You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put the following in `$HOME/.config/waybar/style.css`:
107
+
108
+
```
109
+
#custom-mediaplayer
110
+
{
111
+
font-size: 16px;
112
+
border-radius: 2%;
113
+
}
114
+
@import "./waybar-mediaplayer/src/style.css";
115
+
```
104
116
105
-
Restart waybar.
117
+
1. Start waybar using the wrapper script `start_waybar`.
106
118
107
119
The mediaplayer should work. Click on the progress bar to start/stop playing, and scroll on it to change song.
108
120
109
-
# Update
121
+
## Update
110
122
111
123
```
112
124
cd "$HOME/.config/waybar/waybar-mediaplayer"
113
125
git pull
114
126
```
115
127
116
-
# Personalization
128
+
## Personalization
117
129
118
130
To disable notifications, put `is_notification=false` in `config.json`.
119
131
@@ -123,29 +135,29 @@ In order for the album art to automatically update on song change, it's importan
123
135
124
136
If you change the colors of the bar in `$HOME/.config/waybar/waybar-mediaplayer/src/config.json`, make sure to apply the changes by running `$HOME/.config/waybar/waybar-mediaplayer/src/mkstyle` and restart waybar.
125
137
126
-
# Troubleshooting
138
+
## Troubleshooting
127
139
128
-
## Firefox users
140
+
### Firefox users
129
141
130
142
Although Firefox reports MPRIS metadata, the metadata it reports is not sufficient, as it doesn't report song's length. Please install the [Plasma Integration](https://addons.mozilla.org/en-US/firefox/addon/plasma-integration) add-on and use `plasma-browser-integration` as `player_name` in `$HOME/.config/waybar/waybar-mediaplayer/src/config.json`.
131
143
132
144
To have album art, make sure to set `convert_to_jpeg` to `true` in `$HOME/.config/waybar/waybar-mediaplayer/src/config.json` (this option decreases performance, don't use it if not necessary).
133
145
134
-
## Me progress bar doesn't work
146
+
### Me progress bar doesn't work
135
147
136
148
It's likely cause by the player not reporting song length or position back to us. Run `$HOME/.config/waybar/waybar-mediaplayer/src/mediaplayer -vvv` to debug.
137
149
138
-
## Player reports its name with instance number
150
+
### Player reports its name with instance number
139
151
140
152
If the player reports an instance after its name, please provide only the player name without the instance number. For example, [kew](https://github.com/ravachol/kew) may report itself as `kew123456`, where `123456` is an instance number which will change with different runs of `kew`. In this case, we report only `kew` without the instance number. This software will check whether the reported player name _starts_ with the name you provide to bind the correct player.
141
153
142
-
## Me title and tooltip are empty
154
+
### Me title and tooltip are empty
143
155
144
156
It's likely your song file doesn't contain metadata.
145
157
146
158
Run `exiftool SONG.mp3` and check the `Title`, `Album` and `Artist` fields.
147
159
148
-
## Me album art doesn't change on song change
160
+
### Me album art doesn't change on song change
149
161
150
162
Make sure that the `signal` in the `image` module in `$HOME/.config/waybar/config` matches the number provided by `image_signal` in `$HOME/.config/waybar/waybar-mediaplayer/src/config.json`.
0 commit comments