Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player stops when using next command #10

Closed
QuadDepo opened this issue Oct 2, 2017 · 8 comments
Closed

Player stops when using next command #10

QuadDepo opened this issue Oct 2, 2017 · 8 comments

Comments

@QuadDepo
Copy link
Collaborator

QuadDepo commented Oct 2, 2017

No description provided.

@ersel
Copy link
Owner

ersel commented Oct 2, 2017

Can you provide steps to reproduce the bug please?

@QuadDepo
Copy link
Collaborator Author

QuadDepo commented Oct 2, 2017

image

When going to a next song the player automatic pauses.

@ersel
Copy link
Owner

ersel commented Oct 2, 2017

Are you on latest version? Could you check the output of this command

cat /usr/local/lib/node_modules/spotify-cli-mac/package.json | head -3

I can't replicate on v1.1.0

@QuadDepo
Copy link
Collaborator Author

QuadDepo commented Oct 2, 2017

{
  "_args": [
    [

@ersel
Copy link
Owner

ersel commented Oct 2, 2017

That's not what I expected to see. Could you post the full output please? cat /usr/local/lib/node_modules/spotify-cli-mac/package.json

@QuadDepo
Copy link
Collaborator Author

QuadDepo commented Oct 2, 2017

{
  "_args": [
    [
      {
        "raw": "./spotify-cli-mac2",
        "scope": null,
        "escapedName": null,
        "name": null,
        "rawSpec": "./spotify-cli-mac2",
        "spec": "/Users/george/Desktop/NPM_PACKAGES/spotify-cli-mac2",
        "type": "directory"
      },
      "/Users/george/Desktop/NPM_PACKAGES"
    ]
  ],
  "_from": "../../Users/george/Desktop/NPM_PACKAGES/spotify-cli-mac2",
  "_id": "spotify-cli-mac@1.0.0",
  "_inCache": true,
  "_location": "/spotify-cli-mac",
  "_phantomChildren": {},
  "_requested": {
    "raw": "./spotify-cli-mac2",
    "scope": null,
    "escapedName": null,
    "name": null,
    "rawSpec": "./spotify-cli-mac2",
    "spec": "/Users/george/Desktop/NPM_PACKAGES/spotify-cli-mac2",
    "type": "directory"
  },
  "_requiredBy": [
    "#USER"
  ],
  "_resolved": "file:../../Users/george/Desktop/NPM_PACKAGES/spotify-cli-mac2",
  "_shasum": "0ce5a98b770bf6aef95655f760e9ef8a5da4380e",
  "_shrinkwrap": null,
  "_spec": "./spotify-cli-mac2",
  "_where": "/Users/george/Desktop/NPM_PACKAGES",
  "author": {
    "name": "Ersel Aker"
  },
  "bin": {
    "spotify": "./index.js",
    "sp": "./index.js"
  },
  "bugs": {
    "url": "https://github.com/ersel/spotify-cli-mac/issues"
  },
  "dependencies": {
    "bluebird": "^3.4.7",
    "chalk": "^1.1.3",
    "commander": "^2.9.0",
    "lodash": "^4.17.4",
    "lyricist": "git+https://github.com/ersel/lyricist.git",
    "moment": "^2.17.1",
    "moment-duration-format": "^1.3.0",
    "nconf": "^0.8.4",
    "node-emoji": "^1.5.0",
    "node-osascript": "^1.0.4",
    "progress": "^1.1.8",
    "prompt": "^1.0.0",
    "readline-sync": "^1.4.7",
    "spotify-web-api-node": "^2.3.6"
  },
  "description": "A nodejs app to control Spotify without leaving your terminal on Mac OS X.",
  "devDependencies": {
    "eslint": "^3.14.1"
  },
  "gitHead": "4b31128a5b14dea26537adba94aa241406d87608",
  "homepage": "https://github.com/ersel/spotify-cli-mac#readme",
  "keywords": [
    "spotify",
    "client",
    "mac",
    "os"
  ],
  "license": "MIT",
  "main": "index.js",
  "name": "spotify-cli-mac",
  "optionalDependencies": {},
  "readme": "# :notes: Spotify Client for Mac OS X :notes:\nA nodejs app to control Spotify without leaving your terminal. Only works with Mac Os as it relies on AppleScript behind the scenes to communicate with the Spotify app.\n\n# Installation\n    npm install spotify-cli-mac -g\nClient will be available under the alias `spotify`\n\n# Set-up\nIn order to use the client, you'll need to set Spotify Credentials. You can do this by going to https://developer.spotify.com/my-applications and then creating a new application.\n\nOnce you have created a new Spotify Application, edit the `config.json` file located at `/usr/local/lib/node_modules/spotify-cli-mac/` with your Client ID and Secret.\n\n# Demo\n[![asciicast](https://asciinema.org/a/ejbbvaa8833wq4xn4d2xuc9jx.png)](https://asciinema.org/a/ejbbvaa8833wq4xn4d2xuc9jx)\n\n# Usage\n    spotify\n  Commands:\n\n    search|s <type> [query...]  Search for a <track (t) | artist (ar) | album (al) | playlist (p) > (searches tracks by default)\n    info|i                      Display information about the current track along with player status\n    play [uri]                  Continue playing current track or play the track with the provided URI\n    pause                       Pause the current track\n    next|n                      Play the next track in the queue\n    back|b                      Play the previous track\n    mute|m                      Mute player\n    unmute|u                    Unmute player\n    volume|v                    Display player volume\n    + [deltaVolume]             Turn the volume up by given amount (0-100), default:10\n    - [deltaVolume]             Turn the volume down by given amount (0-100), default:10\n    p                           Toggle play/pause\n    replay|r                    Replay current track\n    position|pos [newPosition]  Get or set player position [mm:ss], e.g: pos 1:23\n    quit|q                      Quit Spotify :(\n    open|o                      Open Spotify :)\n    shuffle|ts                  Toggle shuffle on/off\n    repeat|tr                   Toggle repeat on/off\n    share|sh [type]             Display share <uri|url> and copy value to clipboard\n    lyrics|ly                   Display the lyrics of currently playing track\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n# Displaying Lyrics\nIn order to be able to use the `lyrics` command, you will need to get a `Client Access Token` for the `Genius API`.\nSign up for API access here: https://genius.com/api-clients\n\nOnce you have your client access token, edit the `config.json` found under `/usr/local/lib/node_modules/spotify-cli-mac/`\n\n\n*Contributions and feedback are welcome and encouraged!*\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ersel/spotify-cli-mac.git"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "version": "1.0.0"
}

@ersel
Copy link
Owner

ersel commented Oct 2, 2017

Seems like you are running 1.0.0. Could you please update to 1.1.0 and try again.

npm uninstall -g spotify-cli-mac
npm install spotify-cli-mac -g

@QuadDepo
Copy link
Collaborator Author

QuadDepo commented Oct 2, 2017

aaah yes! worked thanks buddy :)

@QuadDepo QuadDepo closed this as completed Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants