0nse Now Playing Save

:musical_note: Output the currently scrobbling song

Project README

Now Playing

Now Playing is a Python 3 script that queries Last.FM for the song you are currently scrobbling. Its output can be used to determine what you are currently listening disregarding of your used service or device.

You will have to set your API key and user name in the data/data.json file. After that, simply execute the script.

Usage with polybar

You can use this script to display your playing music in a status bar such as polybar. polybar using the Now Playing script

The following code shows an example for integrating this script with polybar as shown in the screenshot above.

[module/now_playing]
type = custom/script

exec = "python $HOME/.scripts/now_playing.py"

tail = true

format = <label>
format-prefix = " "
format-prefix-foreground = ${colors.foreground}

label = %output:0:50%
Open Source Agenda is not affiliated with "0nse Now Playing" Project. README Source: 0nse/now_playing
Stars
34
Open Issues
0
Last Commit
7 years ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating