elibroftw / music-caster

Music Caster is a modern music player with the ability to cast audio files, system audio, and URLs to Google Chromecasts, Google Home/Nest Minis, etc.
https://elijahlopez.ca/music-caster/
Other
142 stars 16 forks source link

Cant get work in Ubuntu, PYTHON_VLC_LIB_PATH problem #69

Open pjkool opened 7 months ago

pjkool commented 7 months ago

Hi, I am getting error when running $ python3 $HOME/bin/music-caster/src/music_caster.py --debug DEBUG: True Locked music_caster.lock pid = 11110 Cannot load lib specified by PYTHON_VLC_LIB_PATH env. variable

what is the problem? Thank You very much

elibroftw commented 7 months ago

When did you clone the repo? It works in Manjaro.

fz0000 commented 3 months ago

Try the following steps:

  1. If you cloned the repo, check your git config:
cd $HOME/bin/music-caster
git config core.symlinks

If the result is false, run git config core.symlinks true to enable it then git checkout src/vlc_lib/ to update your files.

  1. If you still have this error after the above step, or you downloaded the code without git, try to use your own libvlc files as a workaround:
    1. make sure libvlc-dev is installed: sudo apt install libvlc-dev
    2. Run whereis libvlc.so in your terminal to find your system lib files. (The output might looks something like this: libvlc.so: /usr/lib/x86_64-linux-gnu/libvlc.so)
    3. Copy your lib files to src/vlc_lib folder and replace the old files. e.g. cp -f /usr/lib/x86_64-linux-gnu/libvlc* $HOME/bin/music-caster/src/vlc_lib/
elibroftw commented 3 months ago

Thanks fz0000. Linux support definitely in the dumpster right now. I don't have the time but I want to create a docker image with the dependencies so that I can build an AppImage fairly easily.