Coder Social home page Coder Social logo

psd401 / stretto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benkaiser/stretto

0.0 3.0 0.0 30.16 MB

Elegant web-based music player (formerly Node Music Player)

Home Page: https://benkaiser.github.io/stretto

JavaScript 82.96% Shell 0.41% CSS 4.28% HTML 12.35%

stretto's Introduction

Stretto (previously Node Music Player)

An open source web-based music player

Join the chat at https://gitter.im/benkaiser/stretto

screenshot

Live Demo

You can view a version I have hosted on my personal server at http://music.kaiserapps.com/.

To have the full functionality and to use your own music please follow the install instructions below.

The music I have used for the hosted version is copyright of Social Club. To purchase or download their music visit their website.

User Installation Instructions

Visit the releases page for the latest release, and select the download for your platform. Unzip the download and run either the Stretto.exe on Windows, Stretto.app on Mac or the Stretto executable on Linux.

Dev Installation Instructions

Dependencies

node, git, npm

If you have any issues during install, make sure you are running the latest version of Nodejs and Npm.

For the Youtube download and converison, make sure you have ffmpeg installed on your system (including all necessary encoding libraries like libmp3lame or libx264). Windows users can install ffmpeg from Zeranoe.

After all the dependencies have been installed, run these commands to install the music player:

git clone https://github.com/benkaiser/stretto.git
cd stretto/
npm run setup

Then run the server with:

node app.js

Alternatively, install PM2 (read more about PM2 at pm2.keymetrics.io)with npm install -g pm2 and run the server persistently with:

pm2 start app.js

Go to localhost:2000 in your browser (or known IP of server if it is on a different machine). From there a prompt will allow you to change your music directory, after saving your music directory you can click Scan Library -> Regular Scan at the top of the page. From there select Start Scan and let it do it's magic adding all the songs to your library. Happy listening!

Submitting issues

Please include:

  • operating system
  • architecture (32bit or 64bit)
  • nodejs version node --version
  • npm version npm --version

Then include steps to reproduce followed by what you were aiming to do / expected to happen, and what did happen.

Android Sync App

If you want to sync your Stretto playlists to your phone, check out the android sync app repository.

Remote Control Shortcuts

If you would like to hook up keyboard shortcuts to play/pause/next/prev when you aren't currently focused on the chrome follow these steps:

  1. first set your remote name from the Remote Setup button in the bottom right. set_remote_name

  2. In whatever program you use to configure your shortcuts, link the button press you want to curl commands of the format: curl http://localhost:2000/command/<remote_name>/<command> where <remote_name> is the remote name you entered and <command> can be either next, prev or playpause. For an example, here is my i3 config bindings that hook up Alt+PgDn, Alt+PgUp and Alt+Home to the commands:

bindsym $mod+Home exec curl http://localhost:2000/command/my_remote_name/playpause
bindsym $mod+Next exec curl http://localhost:2000/command/my_remote_name/prev
bindsym $mod+Prior exec curl http://localhost:2000/command/my_remote_name/next

Features Implemented

Defining Features

  • Sync between computers (share your library with your friends!)
  • Generate mix from songs streamed from YouTube, allowing you to explore new music from your current library
  • Download from YouTube and SoundCloud
  • Built in the open with other open source libraries

Simple Features

  • View full-resolution cover art
  • Full playlist support
  • Multiple selection
  • Repeat, repeat one and shuffle
  • Search functionality

Planned features

License

MIT

stretto's People

Contributors

benkaiser avatar rolfkoenders avatar ohnx avatar the-eater avatar mtiigi avatar mawalu avatar fuzetsu avatar garrettmaring avatar ramongebben avatar gitter-badger avatar lisandro52 avatar theopolisme avatar xtrm0 avatar

Watchers

Kris Hagel avatar James Cloos avatar Ash Martian 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.