Comments (10)
You could strip out the html displaying the button as a quick hack if you
wanted... Otherwise yeah it would be nice to configure this from a config
file somehow. I'll keep this issue here until its added. PRs are welcome
also :P
On Wed, 2 Dec 2015, 12:28 PM Nihim [email protected] wrote:
Hello,
I am thinking of using the player but since it will be accessed by several
friends I wouldn't like for it to be possible to change the music
directory. So it would be nice if the settings button could be hidden.Cheers
—
Reply to this email directly or view it on GitHub
#71.
from stretto.
Or we could think of optional user-authentication (roles etc.)?
from stretto.
Yeah that's the optimal implementation of it I think @RolfKoenders
from stretto.
I am afraid I can't help anyhow since even installing it with node requires quite some reading for me :)
Though I have to say I dislike players that have admin / user logins etc and end up having too many features. Some kind of config for some "hard rules" would be nice, though in the end it's your player you decide what's the best choice!
Also is there a way to enable https to the player outside using a proxy from the webserver?
from stretto.
No worries :)
Yeah I'm still not to sure. I would definitely want to keep the current
functionality default and just allow some hard config rules (so they can't
be enabled via web interface) to enable authentication and such. But I'm
still not certain about how to do that yet / have the time to implement it.
Your best bet is putting it behind a proxy. I would recommend nginx, as it
allows you to port forward from 80 (or 443 for https) to whatever port you
have it running on, along with using certificates along the way. If you get
stuck with this I have some nginx configs (not https, but there's others on
the internet for that) that I could share with you if you'd like.
On Fri, 4 Dec 2015 at 12:08 Nihim [email protected] wrote:
I am afraid I can't help anyhow since even installing it with node
requires quite some reading for me :)
Though I have to say I dislike players that have admin / user logins etc
and end up having too many features. Some kind of config for some "hard
rules" would be nice, though in the end it's your player you decide what's
the best choice!Also is there a way to enable https to the player outside using a proxy
from the webserver?—
Reply to this email directly or view it on GitHub
#71 (comment)
.
from stretto.
It's cool :)
Yea seems will have to try the proxy approach. I only got experience with lighttpd and from asking friends that are well "proficient" in nix it can be done just fine with lighttpd, I just have to find out how!
Just, I also, need to find time to play around a bit. Thanks for the offer though!
from stretto.
All good. Best of luck with it.
On Fri, 4 Dec 2015 at 13:38 Nihim [email protected] wrote:
It's cool :)
Yea seems will have to try the proxy approach. I only got experience with
lighttpd and from asking friends that are well "proficient" in nix it can
be done just fine with lighttpd, I just have to find out how!Just, I also, need to find time to play around a bit.
—
Reply to this email directly or view it on GitHub
#71 (comment)
.
from stretto.
Speaking of reverse proxying, I seem to have some issues with the web
client connecting to socket.io.
I set up nginx to forward all requests to the correct port. The web client
loads, but I get an error saying that the socket failed to connect.
However, after a bit, it ends up connecting and working.
Is this an issue with my nginx configuration?
from stretto.
Yeah I've noticed it's pretty flaky too. I need to look into it.
On Sat, 5 Dec 2015, 10:45 AM Mason X [email protected] wrote:
Speaking of reverse proxying, I seem to have some issues with the web
client connecting to socket.io.I set up nginx to forward all requests to the correct port. The web client
loads, but I get an error saying that the socket failed to connect.
However, after a bit, it ends up connecting and working.Is this an issue with my nginx configuration?
On Dec 4, 2015 4:40 PM, "Benjamin Kaiser" [email protected]
wrote:All good. Best of luck with it.
On Fri, 4 Dec 2015 at 13:38 Nihim [email protected] wrote:
It's cool :)
Yea seems will have to try the proxy approach. I only got experience
with
lighttpd and from asking friends that are well "proficient" in nix it
can
be done just fine with lighttpd, I just have to find out how!Just, I also, need to find time to play around a bit.
—
Reply to this email directly or view it on GitHub
<.
—
Reply to this email directly or view it on GitHub
<
#71 (comment).
—
Reply to this email directly or view it on GitHub
#71 (comment)
.
from stretto.
Okay, so I've made a new branch called no_ui_settings
. I recommend you:
- use master to setup the server, change music directory, rescan library, etc
- change to
no_ui_settings
branch and let people access that
I've changed the public demo to use the no_ui_settings
version. It simply changes the view, if someone mucked around in the console and fired the changes themselves it would work just fine. The code is open source after all.
This works for a basic implementation satisfying this feature request for now. I'll will add proper authentication options down the line.
from stretto.
Related Issues (20)
- Rewrite third-party http images to https HOT 1
- Change sync button color when syncing is currently not running
- Export HOT 4
- Your connection is not secure HOT 1
- Local Files HOT 6
- Spotify login doesn't appear to work HOT 7
- Feature request: Allow importing from YouTube playlists HOT 8
- Possibilities with cross origin requests enabled HOT 1
- Remote control HOT 2
- Repeat button not working as expected HOT 1
- Small UI bug when no results found online HOT 1
- no sound ??? HOT 14
- Working with out Chrome addon? HOT 1
- Trying to get in touch regarding a security issue HOT 1
- Offline Audio - Responses stored with 403
- Qobuz integration HOT 2
- Cant run with docker in windows
- Errors from media playback cause app-wide react error
- Seeking fails due to service-worker middle layer HOT 1
- Add feature for non-library playlists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stretto.