ympd icon indicating copy to clipboard operation
ympd copied to clipboard

ympd cannot connect to ympd

Open mymon101 opened this issue 9 years ago • 2 comments

I have error on ympd http side on mu rapsberry: ympd cannot connect to ympd. What that means and what I'm doing wrong? Mpd works correct and in console says its connected.

mymon101 avatar Jul 28 '16 12:07 mymon101

RPI2 running under OSMC - Same issue here. while v1.2.3 worked without issues... v1.3 compiles fine, the only thing I changed was the token for dirble in 6 locations inside mpd.js and the only other thing that differs from the directions.. both for v1.2.3 and v1.3 was running cmake from path /src and not /src/build as I couldn't get "cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr" to go back 3 directories to read CMakeList

cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- Found LibMPDClient: /usr/lib/libmpdclient.so -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libssl.so;/usr/lib/arm-linux-gnueabihf/libcrypto.so (found version "1.0.1t") -- Configuring done -- Generating done -- Build files have been written to: /home/osmc/ympd-1.3.0/src

make Scanning dependencies of target mkdata [ 12%] Building C object CMakeFiles/mkdata.dir/tools/mkdata.c.o Linking C executable mkdata [ 12%] Built target mkdata [ 25%] Generating assets.c Scanning dependencies of target ympd [ 37%] Building C object CMakeFiles/ympd.dir/ympd.c.o [ 50%] Building C object CMakeFiles/ympd.dir/mpd_client.c.o [ 62%] Building C object CMakeFiles/ympd.dir/mongoose.c.o [ 75%] Building C object CMakeFiles/ympd.dir/json_encode.c.o [ 87%] Building C object CMakeFiles/ympd.dir/http_server.c.o [100%] Building C object CMakeFiles/ympd.dir/assets.c.o Linking C executable ympd [100%] Built target ympd

and....

  • ./ympd --webport 7000
  • MPD Connecting to 127.0.0.1:6600
  • MPD connected.

TESTING - browsing to IP_Address:7000 the UI shows in firefox & safari/ios, but nothing works except the settings popup.

eph-oph avatar Aug 23 '16 03:08 eph-oph

You ympd as user mpd, do you?

laclaro avatar Nov 03 '17 09:11 laclaro