gruberpatrick / gmusicremote Goto Github PK
View Code? Open in Web Editor NEWNodeJS Server to control Gmusicbrowser via Mobile Phones, Tablets and any other external devices
License: MIT License
NodeJS Server to control Gmusicbrowser via Mobile Phones, Tablets and any other external devices
License: MIT License
When Phone is waking up from sleep -> check if connection is available, else wait until is.
Causes error and Gmusicbrowser not controllable anymore.
On Ubuntu 16.04, I installed nodejs and nodejs-legacy (apparently required to provide node
).
Started the app, and the interface is shown at localhost:3000. The current song is displayed, but none of the buttons seem to do anything. They get blue when clicked, but don't do anything to the running gmusicbrowser.
In gmusicbrowser, I enabled both MPRIS v1 and MPRIS v2 plugins and restarted it.
This is the output in the console:
$ node bin/www node server.js
(node) sys is deprecated. Use util instead.
GET / 304 32.867 ms - -
GET /javascripts/jquery.js 304 7.066 ms - -
GET /javascripts/jquery.nouislider.all.min.js 304 9.727 ms - -
GET /javascripts/main.js 304 9.629 ms - -
GET /stylesheets/jquery.nouislider.min.css 304 9.789 ms - -
GET /stylesheets/style.css 200 88.091 ms - 5119
GET /images/sound-full.png 304 3.126 ms - -
GET /images/search.png 304 3.330 ms - -
GET /images/sound-empty.png 200 6.265 ms - 712
GET /images/settings.png 304 1.629 ms - -
GET /images/loader.gif 304 1.584 ms - -
GET /api/ 200 44.307 ms - 1335
GET /api/search?s=Claude%20Nougaro 200 2.411 ms - 13
Improve search -> search behaviour like Gmusicbrowser
For filenames containing a "&", encodeURI encodes it too, which should not happen at this point.
Add WebSocket for Volume, Playback Process and Song changed Event.
When Phone is sleeping, setTimeout call is delayed for the time Phone has been in sleep mode.
Solution: WebSocket tells App when to reload Information -> Song is finished or has been changed by Gmusicbrowser
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.