Skip to content

Instantly share code, notes, and snippets.

@dece
dece / np.py
Last active May 21, 2017 16:17
NectarinePlaying - Output on stdout the current track song and artist on Nectarine
#!/usr/bin/env python3
""" Output on stdout the current track song and artist on Nectarine.
It's mainly useful if you work with terminals around and don't want to keep the
Nectarine tab under your eyes all the time (even if it's raina's design). Due to
its nature it can be used with conky, but as it requests the nectarine page at
each execution, it would be better if you use it with the ${execi} command and a
big interval (10 or 20 seconds). Respect their servers, and long live Nectarine!
"""