simon-r/dr14_t.meter

Does not work on Mac

Closed this issue · 3 comments

The app does not work on a Mac due to an error in audio_file_reader.py. On a Mac, sys.platform returns "darwin" so self.cmd is never set. The __init method just needs to check for the "darwin" return and do the same thing it does for "linux".

You could either include the check in the linux check or add an extra check after line 35:

        elif sys.platform.startswith('darwin'):
            self.__cmd = "%s " % self.get_cmd()

The error mentioned should technically be fixed with 176f6e4 (in 1.0.13 and later)
(fixed with #12)

I also tested this on an OS X VM and it works fine (OS X 10.8, python 2.6 with argparse additionally installed, only tested wav).

Thanks for your feedback.
For the other audio codecs you must install ffmpeg, flac .... .