Coder Social home page Coder Social logo

soundscrape's Introduction

soundscrape

SoundCloud command line player / downloader

Dan Motzenbecker, MIT License

@dcmotz

Installation:

$ npm install -g soundscrape

Usage:

Download all tracks from an artist at once:

$ soundscrape claque

(that's me)

Download a single track:

$ soundscrape claque diver

Hyphenate track names with spaces (use the URL endpoint as your guide):

$ soundscrape claque hotel-splendid

You can also pass a space-separated list of track names as arguments.

Files are downloaded in parallel to the directory you ran soundscrape from.

Stream a track to your speakers by passing -p or --play:

$ soundscrape claque very-special -p

Playing tracks requires SoX to be installed.

Have fun; use it ethically.

soundscrape's People

Contributors

dmotz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

soundscrape's Issues

streaming is not working

just installed soundscrape and tried "soundscrape claque very-special -p" as in description.
does not stream, but fetch the track.

update: installed via npm

Does not work for some files, "TypeError: Cannot read property 'protocol' of undefined"

Hi,

I tried soundscrape with the following file:

https://soundcloud.com/yellowclaw/major-lazer-jah-no-partial

command: soundscrape yellowclaw major-lazer-jah-no-partial

And get the following error:

http.js:1839
if (options.protocol && options.protocol !== 'http:') {
^
TypeError: Cannot read property 'protocol' of undefined
at Object.exports.request (http.js:1839:14)
at Object.exports.get (http.js:1847:21)
at ClientRequest. (/usr/local/lib/node_modules/soundscrape/soundscrape.coffee:77:19)
at ClientRequest.g (events.js:175:14)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at HTTPParser.parserOnIncomingClient as onIncoming
at HTTPParser.parserOnHeadersComplete as onHeadersComplete
at Socket.socketOnData as ondata
at TCP.onread (net.js:525:27)

I tried to investigate but did not find anything... The only issue that could have been relate seems to have been fixed (http-party/node-http-proxy#499).

Any ideas?

Thanks,

Edouard

Problem downloading.

Hello.
I've used your tool for downloading but it sems rejetting every artist name i put (it also reject yours) leaving me with this error: artist not found.
Can you help me? thanks in advance :).

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.