Code Monkey home page Code Monkey logo

Comments (2)

spocon avatar spocon commented on May 23, 2024

hej @Mochi74

Can you try again ?

apt update & apt upgrade
And than please print out the service status
service spocon status

from spocon.

Mochi74 avatar Mochi74 commented on May 23, 2024

Done.
I did update & upgrade

here is the service status

● spocon.service - SpoCon
   Loaded: loaded (/lib/systemd/system/spocon.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-11-27 11:11:33 CET; 7min ago
 Main PID: 5284 (java)
    Tasks: 47 (limit: 3862)
   CGroup: /system.slice/spocon.service
           └─5284 /usr/bin/java -jar /opt/spocon/librespot-java-api-v1.5.2.jar

nov. 27 11:17:34 raspberrypi java[5284]: 2020-11-27 11:17:34,064 DEBUG DealerClient:108 - Handled request. {key: 7de59f6d-c95c-4ab4-8da6-86a38559f2bf, result: SUCCESS}
nov. 27 11:17:35 raspberrypi java[5284]: 2020-11-27 11:17:35,638 TRACE DealerClient:97 - Received request. {mid: hm://connect-state/v1/player/command, key: f0bda50f-d086-4843-9c91-8c4812274c06, pid: 154487596, sende
nov. 27 11:17:35 raspberrypi java[5284]: 2020-11-27 11:17:35,640 DEBUG Player:282 - Received command: Pause
nov. 27 11:17:35 raspberrypi java[5284]: 2020-11-27 11:17:35,642 DEBUG DealerClient:108 - Handled request. {key: f0bda50f-d086-4843-9c91-8c4812274c06, result: SUCCESS}
nov. 27 11:17:36 raspberrypi java[5284]: 2020-11-27 11:17:36,637 TRACE DealerClient:97 - Received request. {mid: hm://connect-state/v1/player/command, key: b7e94768-910d-4d08-b4ef-e04fba3cfbba, pid: 154488597, sende
nov. 27 11:17:36 raspberrypi java[5284]: 2020-11-27 11:17:36,639 DEBUG Player:282 - Received command: Pause
nov. 27 11:17:36 raspberrypi java[5284]: 2020-11-27 11:17:36,640 DEBUG DealerClient:108 - Handled request. {key: b7e94768-910d-4d08-b4ef-e04fba3cfbba, result: SUCCESS}
nov. 27 11:18:05 raspberrypi java[5284]: 2020-11-27 11:18:05,638 TRACE DealerClient:97 - Received request. {mid: hm://connect-state/v1/player/command, key: 3c7c1995-5767-4ed0-9a33-a275dc6cc45a, pid: 154517597, sende
nov. 27 11:18:05 raspberrypi java[5284]: 2020-11-27 11:18:05,639 DEBUG Player:282 - Received command: Pause
nov. 27 11:18:05 raspberrypi java[5284]: 2020-11-27 11:18:05,641 DEBUG DealerClient:108 - Handled request. {key: 3c7c1995-5767-4ed0-9a33-a275dc6cc45a, result: SUCCESS}


Librespot1.5.2 jar is now launched

 ps -ax |grep libre
 5284 ?        Ssl    0:32 /usr/bin/java -jar /opt/spocon/librespot-java-api-v1.5.2.jar
 6361 pts/0    S+     0:00 grep --color=auto libre

API call to spotify call is working now.

 curl -X "GET" "http://localhost:24879/web-api/v1/me/player/currently-playing" |jq '.item.album.artists[].name,.item.name'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3492  100  3492    0     0  16708      0 --:--:-- --:--:-- --:--:-- 16708
"Invisible Woman"
"The Reliable"

Great job,
Many thanks.

from spocon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.