Giter Club home page Giter Club logo

spotiweb's Introduction

SpotiWeb   Github Releases

Electron wrapper of play.spotify.com

Why would you want to use this instead of the Spotify Desktop App? Because Ads...

Why would you use this app instead of these? Because:

  • Works with Mac, Windows and Linux
  • Control your music with Media Keys (Play/Pause, Next, Previous)
  • Notification of current music with Author, Title & Album Cover

Download

Check releases for the latest version.

View Downloads Count.


Future Improvements

  • Custom menu
  • Fix http errors when loading images
  • Allow fullscreen mode
  • Update Checker
  • Lyrics Search
  • Custom Keyboard Shortcuts
  • Chromecast Support
  • ...

I'm old school and I want to compile it myself

From your command line:

# Install dependencies
$ npm install
# Run the app
$ npm start

# To compile Win app on Mac
$ brew install wine makensis
# REBOOT BEFORE CONTINUING


# To create App binaries
$ npm run package

# Export Mac app only
$ npm run package:mac

# Export Win apps only
$ npm run package:win

# Export Linux apps only
$ npm run package:linux


# PS: if when running build commands you get permission errors run this:
$ chmod u+x mac.sh
$ chmod u+x win.sh
$ chmod u+x linux.sh

# To create App zip's
$ npm run zip
# OR Mac only
$ npm run zip:mac
# OR Win only
$ npm run zip:win
# OR Linux only
$ npm run zip:linux

# To create App binaries and zip's
$ npm run build
# OR Mac only
$ npm run build:mac
# OR Win only
$ npm run build:win
# OR Linux only
$ npm run build:linux

Related Work


Third Party

  • Pepper Flash Plugin, All Rights Reserved © Adobe & Google
  • Spotify, All Rights Reserved © Spotify AB

spotiweb's People

Contributors

davejm avatar tomasmcm 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spotiweb's Issues

SpotiWeb goes to black and music stops

After 50 minutes aprox (I've only tried twice) the window goes to black and the music stops.
The console don't show me any information about this bug

medianexttrack registration failed
mediaplaypause registration failed
mediaprevioustrack registration failed
NOT SANDBOXED
Vector smash protection is enabled.

i love summer - persian raver remix - domy pirelli - spotify_044

Error with npm install

I got this error:

npm ERR! Linux 4.4.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] postinstall: node install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/dragonxtek/SpotiWeb/npm-debug.log

These are the most important lines from npm-debug-log:

21051 verbose stack Error: [email protected] postinstall: node install.js
21051 verbose stack spawn ENOENT
21051 verbose stack at ChildProcess. (/usr/share/npm/lib/utils/spawn.js:17:16)
21051 verbose stack at emitTwo (events.js:87:13)
21051 verbose stack at ChildProcess.emit (events.js:172:7)
21051 verbose stack at maybeClose (internal/child_process.js:821:16)
21051 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

I have the lastest nodejs and npm version (from ubuntu 16.04 repositories).
How can I solve it?

There isn't option to repeat the same song

There is an option to repeat the playlist, but not an option to repeat a single song.
The button works like this: with one click, it repeats the playlist, with another click, repeats nothing. But I would expect that after the second click, the button would change to "repeat the current song".

The music stops

When I'm listenig music, sometimes the music stops. It solves pressing play again.
I don't know if the connection it's bad, traffic shaping or if it's a bug, but It would be a good idea to implement a persistent connection.

[enhancement] Add preloader

When the connection is not the best sometimes a get a blank window on opening: i tend to quit and restart because I think it just has broken™.

suggestion: add loader/bar.

:shipit:

Spotify New Web Player

Well... we all knew this day would come...
Spotify has updated its WebPlayer and SpotiWeb stopped working...

Good news is that the new version does not seem to use flash, so no more messing around with pepper-flash plugin.

Bad news is that there seems to be an error when trying to play songs:
Uncaught (in promise) NO_TRACK_PLAYER in web-player.62f99c3b.js:27

I've tried opening "https://play.spotify.com" in Min and in Brave (two electron browsers) and they have the same error. It almost looks like Spotify is targeting electron wrappers...

Even in Chrome and Firefox there are a lot of errors in the console, although music actually plays..., but this makes me think this is not the "final" version of the web player.

Thank you all for your patience and for using SpotiWeb in the first place! There have been more than 3600 downloads at the moment!

If anyone finds more information about these issues do not hesitate to post it here, as it would be very much appreciated.

openSpotify compilation error

When Im trying to create App binaries from openspotify branch, error occurs

npm ERR! Tell the author that this fails on your system:
npm ERR! electron-packager ./ SpotiWeb --platform=darwin --arch=all --version=1.1.1 --app-version=$npm_package_version --build-version=$npm_package_version --out=./releases --asar=true --asar-unpack-dir=node_modules/ --overwrite=true --icon=./assets/icon.icns --ignore="releases|distributions|npm-debug.log|node_modules/(electron-(builder|packager|prebuilt)|devtron)|node_modules/electron-widevinecdm/dist/(libwidevinecdm.so|libwidevinecdmadapter.so|widevinecdm.dll|widevinecdmadapter.dll)

[ixoos@Igor-Laptop
SpotiWeb-openSpotify]$ npm bugs spotiweb
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/spotiweb
npm ERR! 404
npm ERR! 404 'spotiweb' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:

Facebook login

I'm having trouble using Facebook as a login option when opening the app. After clicking the "log in with Facebook", a new window pops up prompting me to log in. I perform the necessary steps, including my password, two-factor authentication, clicking save browser, and confirming I am logging in from my location. Then, the pop-up screen does nothing and just turns black. If I close it, I am not logged in. I have also tried typing my Facebook email and password directly into the login, but it doesn't work the same way it does in the official Spotify app.

Is there the possibility of implementing Last.fm Scrobbler?

The old web player had it by default but the new one doesn't.
There are add-ons for browsers (Firefox, Chrome/Chromium, Opera, etc.) that do that function but they can't be installed on SpotiWeb, so, is there a possibility of implementing Last.fm Scrobbler in SpotiWeb?

SpotiWeb 32-bit release is packaged with 64-bit Flash plugin PepperFlashPlayer-linux.so

After logging in with Facebook login, SpotiWeb interface would start appearing but stops showing error message for a very brief moment: "Please enable Flash to use Spotify web player. Click here to enable Flash"

spotiweb flash disabled error

Click here to enable Flash part seems to be a link, but since page automatically reloads in a split of a second every time it's impossible to press and check what it would open.

My system is LinuxMint Mate Serena 18.1 32-bit with adobe-flashplugin package installed (Version: 1:20161213.1-0ubuntu0.16.04.1) and it does work in Firefox version 50.1.0 reporting Adobe Flash 24.0.0.186 version.
Linux kernel: Linux version 4.4.0-57-generic (buildd@lcy01-15) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #78-Ubuntu SMP Fri Dec 9 23:46:51 UTC 2016

What type of additional information could I provide to resolve this issue?

A few bugs in the new version

Still has ads
Ads apears and can't be skipped.

Hotkeys
The hotkey functionality for skip and pause doesn't work anymore.

Lyrics
When clicking in the lyrics icon, nothing happens (it doesn't show the lyrics).

Compile new relese
When compiling the new version, it threw the same browser error that appeared in the last version

This browser doesn't support Spotify Web Player

First time seeing this error This browser doesn't support Spotify Web Player. Switch browsers or download Spotify for your desktop.. Closed the app and opened it again, but it didn't help. Anyone else?

Lyrics support

Hi,
I was thinking that adding lyrics suppport could be a cool feature for SpotiWeb, now that musixmatch isn't available on Spotify.

Thanks!

Spotify does not work any more

When starting SpotiWeb, this error appears:

"This browser doesn't support Spotify Web Player. Switch browsers or download Spotify for your desktop."

Widevine CDM license

Hi, I've been reading that technically you shouldn't distribute Chrome's Widevine binaries as the license doesn't permit this. I was able to extract linux binaries from the Chrome installer and it works for me but I'm wondering if it would be safer to ask users to download the binaries themselves? Or provide a script.

It seems annoying and undue hassle but does anyone know the correct legal answer?

Can't click on upper section

I'm having an issue trying to click the menu options. For example, here in "Your Music" section I can't click all those "Songs", "Albums" and "Artists" links, even that "New playlist" button can't be clicked all the top middle of it:
captura de pantalla_2016-09-05_23-41-03

For this case, I don't have problems to access to options (I have the cursor on biography and you could see the color has changed)
captura de pantalla_2016-09-05_23-50-48

But after scrolling down the songs list a bit, all the upper links become unaccessible, like pause/following buttons or overview/related artists/biography menu options
captura de pantalla_2016-09-05_23-55-50

BTW, I'm using Xubuntu 16.04.

Chromecast Support

Hi,

I was thinking that it may be possible to add Chromecast support to SpotiWeb. It will add the feature that I think is currently missing from Spotify Linux.

Thanks!

Fails to load spotify at all

Completely broken, blank screen on startup. I have been looking for a version of spotify that I can resize to any dimension I want and it's a seemingly impossible task because all these web wrappers are outdated and the official app sucks

Spotify Web Player Hotkeys

Is it possible to add hotkey functionality for skip, pause, back to Spotiweb? This would be very nice.

Artist's name is repeated

Sometimes, when the next song of a playlist begin, artist's name appears twice.
seleccion_036
seleccion_037

And when I press next and previous (or vice versa) several times, each time artist's name is added at the bottom.
seleccion_035

P.S. I'm using SpotiWeb v0.5 on Ubuntu 16.04.

notifications problems

In many cases the gnome-notification pops up multiple times for a single song -> see screenshot
screenshot_spotiweb

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.