-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-user config selection #190
Comments
That's cool!
It may be worth noting, however, that I'm not currently maintaining this
app, and I don't think @mescon is either. :/
However, I *am* currently maintaining an all called FlexTV which offers
similar functionality...or, at least, it will in a couple weeks once I've
got everything worked out.
In addition to the "add URL's, visit them in an iFrame" functionality,
FlexTV will have multi-user support, Plex-based authentication, voice
control for Plex (and couchpotato/sonarr/radarr/ombi/etc.), and *native*
scraping of statistics from Plex (tautulli-style), but with a more
customizeable and extensive interface.
A bit plex-centric, I know, but from my experience, a lot of the people who
use apps like this are the same people who use Plex...so it just made sense
that after two years of development, I try to add some of the features that
make Muximux so great. :D
…On Sat, Oct 27, 2018 at 10:42 AM tserversbfs ***@***.***> wrote:
I wanted to have a multi-user interface.
In the file: muximux.php @ line 5 i added the
following line:
$remuser = $_SERVER['REMOTE_USER'];
and changed line 6 to this:
defined("CONFIG") ? null : define('CONFIG', $remuser .
'.settings.ini.php');
Now each user has their own configuration file based on the REMOTE_USER
variable. so, as an example, REMOTE_USER = mynamehere grabs the settings
file mynamehere.settings.ini.php
<?php
/*
* DO NOT CHANGE THIS FILE!
*/
$remuser = $_SERVER['REMOTE_USER'];
defined("CONFIG") ? null : define('CONFIG', $remuser . '.settings.ini.php');
defined("CONFIGEXAMPLE") ? null : define('CONFIGEXAMPLE', 'settings.ini.php-example');
defined("SECRET") ? null : define('SECRET', 'secret.txt');
require dirname(__FILE__) . '/vendor/autoload.php';
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#190>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABjuNMkTSmzz0BvVJk8pGkAKuAweDNywks5upH79gaJpZM4X9fvu>
.
|
I did notice it wasnt being maintained, but I like muximux a LOT! It is simple, clean, and does exactly what I need it to do. Mostly I need something that will let me Front-end my apps, which are on a remote server. (CouchPotato, SABnzb, Syncthing, etc). Authentication is handled by Apache2. I would love to have the option of multiple drop-down menus to group applications/websites, etc. I may have to learn php. :P I have tried a few htpc applications. I will check out your FlexTV! but I didnt like Plex at all. I found it to be a resource pig, especially if there were multiple users. I use Universal Media Player for my web viewing needs (which is rare). Thanks for getting back to me. |
I wanted to have a multi-user interface.
In the file: muximux.php @ line 5 i added the
following line:
$remuser = $_SERVER['REMOTE_USER'];
and changed line 6 to this:
defined("CONFIG") ? null : define('CONFIG', $remuser . '.settings.ini.php');
Now each user has their own configuration file based on the REMOTE_USER variable. so, as an example, REMOTE_USER = mynamehere grabs the settings file mynamehere.settings.ini.php
The text was updated successfully, but these errors were encountered: