old_contents: #!/usr/bin/env python
  # encoding: utf-8
  
  """
  config.py
  
  Application configurations
  
  db_file : the SQLite file used to store the progress
  serial : settings for the serial port that the RFID reader connects to
  mpd_conn : the connection details for the MPD client
  gpio_pins : the ids of the GPIO input pins and their callbacks
  status_light_pin : the pin used by the status light
  playing : keep track of playing status. rather use this instead of calling
            status() all the time"""
  
  import os
  
  __version_info__ = (0, 0, 1)
  __version__ = '.'.join(map(str, __version_info__))
  __author__ = "Willem van der Jagt"
  
  
  db_file = "%s/%s" % (os.path.dirname(os.path.realpath(__file__)), 'state.db')
  print db_file
  mpd_conn = { "host" : "localhost", "port" : 6600 }
  gpio_pins = [
      { 'pin_id': 21, 'callback' : 'rewind', 'bounce_time' : 2000 }, # Board Rev. 1
      #{ 'pin_id': 27, 'callback' : 'rewind', 'bounce_time' : 2000 }, # Board Rev. 2
      { 'pin_id': 11, 'callback' : 'toggle_pause', 'bounce_time' : 2000 },
      { 'pin_id': 9, 'callback' : 'next_title', 'bounce_time' : 2000 },
      { 'pin_id': 22, 'callback' : 'volume_down', 'bounce_time' : 1000 },
      { 'pin_id': 10, 'callback' : 'volume_up', 'bounce_time' : 1000 }
  ]
  status_light_pin = 23
  
new_contents: #!/usr/bin/env python
  # encoding: utf-8
  
  """
  config.py
  
  Application configurations
  
  db_file : the SQLite file used to store the progress
  serial : settings for the serial port that the RFID reader connects to
  mpd_conn : the connection details for the MPD client
  gpio_pins : the ids of the GPIO input pins and their callbacks
  status_light_pin : the pin used by the status light
  playing : keep track of playing status. rather use this instead of calling
            status() all the time"""
  
  import os
  
  __version_info__ = (0, 0, 1)
  __version__ = '.'.join(map(str, __version_info__))
  __author__ = "Willem van der Jagt"
  
  
  db_file = "%s/%s" % (os.path.dirname(os.path.realpath(__file__)), 'state.db')
  mpd_conn = { "host" : "localhost", "port" : 6600 }
  gpio_pins = [
      { 'pin_id': 21, 'callback' : 'rewind', 'bounce_time' : 2000 }, # Board Rev. 1
      #{ 'pin_id': 27, 'callback' : 'rewind', 'bounce_time' : 2000 }, # Board Rev. 2
      { 'pin_id': 11, 'callback' : 'toggle_pause', 'bounce_time' : 2000 },
      { 'pin_id': 9, 'callback' : 'next_title', 'bounce_time' : 2000 },
      { 'pin_id': 22, 'callback' : 'volume_down', 'bounce_time' : 1000 },
      { 'pin_id': 10, 'callback' : 'volume_up', 'bounce_time' : 1000 }
  ]
  status_light_pin = 23
  
subject: remove print statement