SHARE
TWEET

Untitled

a guest Dec 29th, 2008 224 Never
  1. --- copycover-offline.py.org    2008-12-29 21:50:41.000000000 -0500
  2. +++ copycover-offline.py        2008-12-29 22:01:40.000000000 -0500
  3.  -116,7 +116,7 @@ for artist_tuple in artists:
  4.          inc = inc + 1
  5.          if inc >= len(progress):
  6.              inc = 0
  7. -    dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, CONCAT(devices.lastmountpoint,'/',tags.dir) FROM tags, album, devices ''' \
  8. +    dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, devices.lastmountpoint || '/' || tags.dir FROM tags, album, devices ''' \
  9.                                      +'''WHERE tags.album = album.id AND tags.deviceid = devices.id AND album.name != '' AND tags.artist = %s"''' % artist_tuple[0])
  10.  
  11.      if not dcop_albums:
RAW Paste Data
Top