Jump to content

50 Users Max on the welcome page


Recommended Posts

crash1015
Posted

Was wondering if anyone knew of a way to get around the 50 User limit on the server login page. I'd rather not have to resort to using username/password logins.

If i have more than 50 users, it cuts off and users are missing from the login page.

Posted (edited)

Hi, Being a personal media server it's not designed to show that many login accounts at one time as that starts to get beyond "personal" and makes the login screen hard to use.

Actually most people turn this feature off for remote users as anyone who gets to your login page will know a login name and can try to guess passwords.

Emby however, does have the option to only show login names for people who have already logged in once on the device being used.  This is a nice way to allow for quick change of "remote family members" so for example you brother and his family can each get a quick login screen on their family Emby device and it will only show the family members of that house.

Edited by cayars
crash1015
Posted

That's what i figured.. It still is 100% personal. Just friends and family. I just don't want to have to help everyone when i make that change hahaha.

It should totally be something in the settings I can change dangit! haha.

 

Thanks for your time:)

Happy2Play
Posted
16 minutes ago, crash1015 said:

Was wondering if anyone knew of a way to get around the 50 User limit on the server login page. I'd rather not have to resort to using username/password logins.

If i have more than 50 users, it cuts off and users are missing from the login page.

Looks like you would have to edit the "emby-itemscontainer.js" as of right now you can have 48 users and the two systen buttons (Manual login, Forgot password) totaling 50 buttons, adding more users removes last button.  So 50 users would remove the two system buttons Manual login, Forgot Password.

var renderer=listOptions?listOptions.renderer:null;return renderer&&renderer!==cardBuilder?30:50}

Change the 50 to a higher number and you will see more buttons.

This will only affect a direct browser connections (no Connect/app.emby.media/other clients) as all clients have there own limits.  I tested on my iOS phone and app was still limited to 50.

Also all edited code in the System folder gets replaced with every update.

 

  • Thanks 1
crash1015
Posted

Wow!!! Thank you kind sir!! Made my day.

  • 10 months later...
Posted

Hi @Happy2Play

It seems this function has changed. Is there still a way to increase to 50 user display limit on the login page?

function getVirtualChunkSize(elem, listOptions) {
        var size = elem.virtualChunkSize;
        if (size)
            return size;
        size = (listOptions = !listOptions && elem.getListOptions ? elem.getListOptions([]) : listOptions) ? listOptions.virtualScrollLayout : elem.getAttribute("data-virtualscrolllayout");
        if (size) {
            if (size.includes("horizontal"))
                return 12;
            elem = listOptions ? listOptions.renderer : null;
            return (null == elem ? void 0 : elem.virtualChunkSize) || 30
        }
        return null
    }

 

Posted (edited)

I found it. In the file cardbuilder.js, edit virtualChunkSize: 60. This will do it.

 getDefaultIcon: getDefaultIcon,
        getImageUrl: getImageUrl,
        virtualChunkSize: 50,
        setListClasses: function (elem) {
            (elem = elem.classList).add("vertical-wrap"),
            elem.remove("vertical-list")
        }

 

Edited by Brazer
Confirmed working

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...