Code Monkey home page Code Monkey logo

spotisharp's Introduction

Spotisharp V3

Cross-platform music assistant

 ~/docs > cat ./Spotisharp.md

Prerequisites

  • Dotnet runtime 6.0 or newer
  • FFmpeg

Authentication

Unlike previous versions of Spotisharp, version 3.0 uses now your personal account in order to retrieve information from spotify, thus you're not required to create application in dashboard anymore.

Spotisharp will open a webpage with authentication request. When granted access, spotisharp will cache retrieved refresh token inside config folder in order to skip this step on next use.

If refresh token has been corrupted/expired, spotisharp will ask you again for access to your account.

Configuration

Version 3.0 stores configuration files inside .config/spotisharp located in home directory.

Like previous versions, configuration file will be updated with each new update by adding or removing entries when needed.

Editing values inside "VersionControl" triggers configuration update.

{
  "WorkersCount": 2, // How many workers should be hired. Default: 2 of 4
  "VersionControl": "3.0.0.0", // Spotisharp updates config if values mismatch with app version
  "MusicDirectory": "C:\\Users\\Damian\\Music\\Spotisharp" // Default download dir
}

Usage:

There are now two ways to use Spotisharp. Either by double-clicking executable or by passing an argument via the console.

Spotisharp accepts following inputs:

Sometimes url will look like this: https://open.spotify.com/track/4AuZBIN4aeFL9egQldQfRn?si=3277af7219054b98 and this is fine too.

Spotisharp is able to work with tracks, playlists, and albums.

Passing argument to spotisharp looks like this:

~/binaries > echo 'Use quotes when passing argument via console, otherwise everything after whitespaces will be ignored'
~/binaries > ./Spotisharp "Lyn - Wake Up, Get Up, Get Out There"
~/binaries > ./Spotisharp https://open.spotify.com/track/4AuZBIN4aeFL9egQldQfRn
~/binaries > ./Spotisharp spotify:track:4AuZBIN4aeFL9egQldQfRn

If no argument is provided, spotisharp will await for user input.

spotisharp's People

Contributors

alltdl avatar kozilord avatar l0um15 avatar sercangunver avatar

Stargazers

 avatar

Watchers

 avatar

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.