Removing the Emby Premiere nagging from its Webclient

Emby (an alternative to Plex) is a nice piece of open source software which indeed deserves payment.

For this, there is something called „Emby Premiere“ which unlocks more features. Perfectly fine.
However asking everywhere in the Web UI to please please please buy it and showing a full screen popup every 72 Hours to suggest buying it is debatable but would be acceptable with a reasonable pricing.

This isn’t the case. There are three options:

  1. Monthly (recurring) $4.99
  2. 1 Year $39.99
  3. Lifetime $99.99

Problem is: Lifetime isn’t Lifetime.

Here’s what the ToS (Updated: April 6, 2016) have to say about Lifetime:

Lifetime Term: Lifetime shall mean the current major version of the Emby server software or twenty-four months, whichever is longer.  (E.g.  The Emby server software is currently at version 3.XXXX. A lifetime subscription shall be valid until Emby server software reaches version 4.XXX or twenty-four months, whichever occurs later.)

So basically lifetime is not lifetime. Great.

Also, there’s nothing like a student discount even with a certificate of enrollment. Why? I have no idea.

So anyways.. stopping the nagging isn’t that hard. However it requires patching the clients js on the server side for now. I hope that there will be a way to avoid that in future releases. (Or that the devs fix their pricing..)

First, we’re hiding stuff with the custom css feature. (Settings -> Branding -> Custom CSS)

.supporterPromotionContainer {
display: none !important;
}
.homePageSection.section0 > div:nth-child(2) {
display: none !important;
}

Simple, eh?

To remove the recurring 72-hour „go buy our stuff“ popup, the file registrationservices.js on the server needs to be edited.
On Debian Jessie, this file is located in /usr/lib/emby-server/bin/dashboard-ui/scripts/

The validatePlayback functions should look like this

function validatePlayback(resolve, reject) {
resolve();
}

The changes to this file will be reset on every update of Emby.

It saddens me that I have to do this instead of just buying Emby since it is in fact great software and the devs also need to pay their bills. However their pricing is just unacceptable for a lot of people and this doesn’t unlock the premium features. It just hides those incredibly annoying messages.

 

Edit 05.12.16
It seems like this was moved to /usr/lib/emby-server/bin/dashboard-ui/bower_components/emby-webcomponents/registrationservices/registrationservices.js

Just change the relevant functions so that it doesn’t return a nagging popup.

Tagged , . Bookmark the permalink.

10 Responses to Removing the Emby Premiere nagging from its Webclient

  1. chris_blues says:

    It’s just pathetic… If the developer don’t know, how to pay his rent, he should get a job… 🙁

  2. Elinoy says:

    Thanks for the hint!

    Would you mind sharing your thoughts about dis-/advantages of Emby compared to Plex?

    • Hypfer says:

      I’ve never tried Plex since as far as I know it relies on external servers to do the login. I’m trying to avoid the cloud where I can and I don’t think that a local media server which just delivers stuff from my harddrive needs external servers for managing its users.

  3. Learch says:

    The new versions require this change to the registrationservices.js

    ***** Find the function below and change the lines below it to match. Gets rid of the NAG *****
    function showPeriodicMessageIfNeeded(feature) {
    // Change form this
    var intervalMs = iapManager.getPeriodicMessageIntervalMs(feature);
    // to this
    var intervalMs = 0;

  4. Hautis says:

    „First, we’re hiding stuff with the custom css feature. (Settings -> Branding -> Custom CSS)“
    Where and how on earth is this made?

  5. Assmonkey says:

    Seems they have changed shit up again, none of the above seems to work for hiding this incessant nagging about Premiere…
    I think they also added a nag with a 15 second counter to be able to playback now.
    Horrible way to try to get people to buy this. My users are not going to buy anything since it’s not their server anyway so why are THEY being nagged? Stupid.

  6. S.C. says:

    So they changed the next line after var intervalMs as well.

    The new versions require this change to the registrationservices.js

    ***** Find the function below and change the lines below it to match. Gets rid of the NAG *****
    function showPeriodicMessageIfNeeded(feature) {
    // Change form this
    var intervalMs = iapManager.getPeriodicMessageIntervalMs(feature);
    // to this
    var intervalMs = 0;

    Then the next line says ‚if intervalMs <= 0' blah blah blah.

    Just change that to <= to < and should work fine again. For now.

  7. S.C. says:

    Actually I removed the line after var intervalMs = 0; entirely.

  8. MEatYOU says:

    In Synology DSM 6.1-15047 edit:
    /volume1/@appstore/EmbyServer/server/dashboard-ui/bower_components/emby-webcomponents/registrationservices/registrationservices.js

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.