valekhz / m4b-converter

Simple python script to convert m4b audio books to a group of mp3 files split by chapter.
85 stars 39 forks source link

OS X support #12

Open elvquant opened 8 years ago

elvquant commented 8 years ago

10a11,16 libmp4v2.py

elif sys.platform.startswith('darwin'):

use DYLD_LIBRARY_PATH on OS X or lib installed by "port"

try:
    dll = ctypes.CDLL('libmp4v2.dylib')
except OSError:

dll = ctypes.CDLL('/opt/local/lib/libmp4v2.dylib')