Skip to content

Instantly share code, notes, and snippets.

@gandolf0
gandolf0 / PianobarMonitor.py
Created January 21, 2017 04:06
PianobarMonitor
#!/usr/bin/python
import subprocess
import re
import os
import select
import sys
import time
import urllib2
PIANOBAR_FOLDER = os.path.join(os.path.expanduser('~'), '.config/pianobar')