Skip to content

Instantly share code, notes, and snippets.

View susumuota's full-sized avatar

S. Ota susumuota

View GitHub Profile
[Unit]
Description=mpd ctrl switch service
After=mpd.target
[Service]
ExecStart=/usr/bin/python2 /home/volumio/mpd_ctrl_zero.py
Type=simple
Restart=always
[Install]
#!/usr/bin/python
#-*- coding: utf-8 -*-
u'''
http://www.rpiblog.com/2012/09/using-gpio-of-raspberry-pi-to-blink-led.html
https://github.com/if1live/rpi-mpd-controller
http://nw-electric.way-nifty.com/blog/2014/01/volumio-1ad0.html
'''
'''
sudo apt-get update