Code Monkey home page Code Monkey logo

Comments (10)

benkaiser avatar benkaiser commented on July 17, 2024

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.

RolfKoenders avatar RolfKoenders commented on July 17, 2024

Or we could think of optional user-authentication (roles etc.)?

from stretto.

benkaiser avatar benkaiser commented on July 17, 2024

Yeah that's the optimal implementation of it I think @RolfKoenders

from stretto.

Nihim avatar Nihim commented on July 17, 2024

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.

benkaiser avatar benkaiser commented on July 17, 2024

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.

Nihim avatar Nihim commented on July 17, 2024

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.

benkaiser avatar benkaiser commented on July 17, 2024

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.

ohnx avatar ohnx commented on July 17, 2024

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.

benkaiser avatar benkaiser commented on July 17, 2024

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
<

#71 (comment)

.


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.

benkaiser avatar benkaiser commented on July 17, 2024

Okay, so I've made a new branch called no_ui_settings. I recommend you:

  1. use master to setup the server, change music directory, rescan library, etc
  2. 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)

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.