Mastermindzh / tidal-hifi

The web version of Tidal running in electron with hifi support thanks to widevine.
Other
1.05k stars 60 forks source link

polybar configuration working with flatpak? #270

Closed sascha-wi closed 1 year ago

sascha-wi commented 1 year ago

Hello I tried to copy paste your polybar config into my but sadly it doesn't give me what I was hoping for. When I run the tidal-cli script manually it throws:

bash .config/polybar/scripts/tidal-cli.sh                                                                               ✘ 2 15:28:58
tidal-cli doesn't know this command

Also the module on my bar just shows the blinking path of the script. Any idea what I am doing wrong?

sascha-wi commented 1 year ago

I forgot to make the script executable DOH sorry

Mastermindzh commented 1 year ago

No worries @sascha-wi! These things happen.

Enjoy!

sascha-wi commented 1 year ago

I just need to ask again, the displayed song on my polybar doesn't seem to update, what could cause this issue? Even reloading my config doesn't change the display.

Mastermindzh commented 1 year ago

To properly test whether it works do the following:

  1. Start TIDAL Hi-Fi
  2. Play a song
  3. Go to the homepage in TIDAL Hi-Fi
  4. Check whether the API is enabled and returns a correct value (visit: http://localhost:47836/current)
  5. Check whether your polybar refreshes the block at a given interval (mine is 1, see pic)
  6. If 5 still doesn't work... create a module that updates every second with a custom script and see if that DOES update

image