diff bin/wavecurve @ 717:d8202a0a7fd5

fix up musicpad and wavecurve. ascoltami2 can now use relative paths in the config Ignore-this: eb95f50f54f14275f1f031ccb7fbb97f
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 13 Jun 2012 04:27:48 +0000
parents 9071cd1bb29c
children 7772cc48e016
line wrap: on
line diff
--- a/bin/wavecurve	Tue Jun 12 09:46:04 2012 +0000
+++ b/bin/wavecurve	Wed Jun 13 04:27:48 2012 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!bin/python
 import optparse
 import run_local
 from light9.wavepoints import simp
@@ -31,7 +31,7 @@
 
     playlist = Playlist.fromShow(showconfig.getGraph(), showconfig.showUri())
     for song in playlist.allSongs():
-        inpath = playlist.songPath(song)
+        inpath = showconfig.songOnDisk(song)
         for curveName, t in [('music', .01),
                              ('smooth_music', .07)]:
             outpath = showconfig.curvesDir() + "/%s-%s" % (