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`:
101
+
102
+
```
103
+
#custom-mediaplayer
104
+
{
105
+
font-size: 16px;
106
+
border-radius: 2%;
107
+
}
108
+
@import "./waybar-mediaplayer/src/style.css";
109
+
```
104
110
105
-
Restart waybar.
111
+
1. Start waybar using the wrapper script `start_waybar`.
106
112
107
113
The mediaplayer should work. Click on the progress bar to start/stop playing, and scroll on it to change song.
108
114
109
-
# Update
115
+
## Update
110
116
111
117
```
112
118
cd "$HOME/.config/waybar/waybar-mediaplayer"
113
119
git pull
114
120
```
115
121
116
-
# Personalization
122
+
## Personalization
117
123
118
124
To disable notifications, put `is_notification=false` in `config.json`.
119
125
@@ -123,29 +129,29 @@ In order for the album art to automatically update on song change, it's importan
123
129
124
130
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
131
126
-
# Troubleshooting
132
+
## Troubleshooting
127
133
128
-
## Firefox users
134
+
### Firefox users
129
135
130
136
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
137
132
138
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
139
134
-
## Me progress bar doesn't work
140
+
### Me progress bar doesn't work
135
141
136
142
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
143
138
-
## Player reports its name with instance number
144
+
### Player reports its name with instance number
139
145
140
146
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
147
142
-
## Me title and tooltip are empty
148
+
### Me title and tooltip are empty
143
149
144
150
It's likely your song file doesn't contain metadata.
145
151
146
152
Run `exiftool SONG.mp3` and check the `Title`, `Album` and `Artist` fields.
147
153
148
-
## Me album art doesn't change on song change
154
+
### Me album art doesn't change on song change
149
155
150
156
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