So I've compiled musly on macOS 10.15. No errors, some deprecation
warnings (libavformat and such...).

But when I try to run anything Python3 I get
> ./musly-server.py --analyse /Users/defuser/Music/MEDIA/
> Traceback (most recent call last):
> File "./musly-server.py", line 33, in <module>
> mus = musly.Musly(lib)
> File "/Users/defuser/Documents/musly-server-master/lib/musly.py", line
> 31, in __init__
> ctypes.CDLL(libmusly.replace('libmusly.so',
> 'libmusly_resample.so'))
> File
> "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py",
> line 365, in __init__
> self._handle = _dlopen(self._name, mode)
> OSError: dlopen(/usr/local/opt/musly-0.2/lib/libmusly.dylib, 6): Library
> not loaded: libmusly_resample.dylib
> Referenced from: /usr/local/opt/musly-0.2/lib/libmusly.dylib
> Reason: image not found
> 

BTW libmusly_resample.dylib and libmusly.dylib are in the same folder.

My config.json


Code:
--------------------
    {
  "libmusly":"/usr/local/opt/musly-0.2/lib/libmusly.dylib",
  "paths":{
  "db":"/Users/defuser/Documents/musly/",
  "musly":"/Users/defuser/Music/MEDIA/",
  "lms":"/Users/defuser/Music/MEDIA/",
  "tmp":"/tmp/"
  },
  "lmsdb":"/Users/defuser/Library/Caches/Squeezebox/library.db",
  "genres":[
  ["Alternative Rock", "Classic Rock", "Folk/Rock", "Hard Rock", "Indie Rock", 
"Punk Rock", "Rock"],
  ["Dance", "Disco", "Hip-Hop", "Pop", "Pop/Folk", "Pop/Rock", "R&B", "Reggae", 
"Soul", "Trance"],
  ["Gothic Metal", "Heavy Metal", "Power Metal", "Progressive Metal", 
"Progressive Rock", "Symphonic Metal", "Symphonic Power Metal"]
  ]
  }
--------------------


I hit a wall there. I can only guess... is the lib format (dylib
extension etc.) a problem? What's my mistake here?

I've uploaded the compiled macOS version 'here'
(https://we.tl/t-bdukKEXgE3).

Thank you.


------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=112713

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to