Jump to content

Recommended Posts

Adrifresh
Posted

Can I add a second row of text to this? I tried 

/n

but it didn't work.

Adrifresh
Posted

Thank you.

I don't quite understand, but I'm not in a hurry. This is a good start into why it works.

Have a great weekend.

Happy2Play
Posted
18 minutes ago, Adrifresh said:

Thank you.

I don't quite understand, but I'm not in a hurry. This is a good start into why it works.

Have a great weekend.

Added white-space then add \A for line break.

/*--- Announcement text at top of home page ---*/

.verticalSection.section0:before {
    content: "Shut Down Monday \A for Maintenance";
    white-space: pre-wrap;
    position: relative;
    font-size: 150%;
    color: red;
    justify-content: center;
    display: flex;
}

test1.thumb.jpg.1e1f03b33fed57ab9c9846feca47211f.jpg

  • Like 2
  • 4 months later...
  • 2 months later...
ginjaninja
Posted

My Emby users and I regularly communicate about matters relating to Emby; often about recommendations, service, and requests. A 'simple' message system within Emby would be very welcome.

So here is a user communication feature request starter.

As an admin, on the web client, I want to control users permissions to send messages to

  • none
  • selected users
  • all users

As an admin, on the web client, I want a user setting "hide this recipient from send message interface*" [y/n], default to hidden.

As any user on the web client, I want to send messages to selected [multiselect] user(s)/ all users. I want to construct messages using URLs (inc. links to media items) and text in the body alongside a subject. As a user I would like to be able to be able to compose new messages from "[my ]messages" form and from the context menu on media items (auto populate body with link to media item). As an admin I would expect to see hidden users* when selecting recipients.

As any user on any client (initially web client), I want an indicator** for 'new messages' and a link to "[my ]messages" form on the home page. "My messages" sorted by sent recent first,  showing "date sent, subject, sender". I want to be able to click on a message to see the subject/body detail...automatically set opened message as old. The UI should allow the reader to navigate to library URLs. **Perhaps a pulsing user profile icon would be a good new message indicator with "[my ]messages" being a menu item under the user profile icon.

thanks for considering.
 

Posted

Hi, yes, this has come up many times before and is possible for the future. Thanks.

visproduction
Posted

What about letting members publish contact info or not, per other members?  I think creating, even a server plugin message system takes a huge amount of dev to setup and support.  If there was messaging up and running, there is still support time and troubleshooting.  I think you are looking at months of dev time in a year.  Just letting members control who can see their contact info is much easier.  All the features are handled by the other contact service.  Media service features are more important.  Messaging will pull you away from your speciality.  Just my opinion.

  • 2 months later...
Posted

Just my 2 cents about this subject.

I modified the css above to better suits my taste and ended up with this:

  • It blinks slowly
  • The text color follows the user theme
  • It is centered

 

/*--- Announcement text at top of home page ---*/
.verticalSection.section0:before {
    content: "Your text message";
    position: relative;
    white-space: pre-wrap;
    font-size: 150%;
    color: var(--theme-accent-text-color);
    justify-content: center;
    text-align: center;
    display: flex;
}

.verticalSection.section0:before {
  animation: blinker 3s cubic-bezier(0, 1.12, 0.65, 0.94) infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

  • Like 1
  • Thanks 1
Posted
4 hours ago, nSGecko said:

Just my 2 cents about this subject.

I modified the css above to better suits my taste and ended up with this:

  • It blinks slowly
  • The text color follows the user theme
  • It is centered

 

/*--- Announcement text at top of home page ---*/
.verticalSection.section0:before {
    content: "Your text message";
    position: relative;
    white-space: pre-wrap;
    font-size: 150%;
    color: var(--theme-accent-text-color);
    justify-content: center;
    text-align: center;
    display: flex;
}

.verticalSection.section0:before {
  animation: blinker 3s cubic-bezier(0, 1.12, 0.65, 0.94) infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

Sorry for the noob question, but where to put this code in order to have it work?

GrimReaper
Posted
10 minutes ago, Tangsgod said:

Sorry for the noob question, but where to put this code in order to have it work?

457167062_Screenshot2022-01-27141108.thumb.png.968c27798b03bd9425bf2ebc779b0e55.png

  • Thanks 1
Posted
3 minutes ago, GrimReaper said:

457167062_Screenshot2022-01-27141108.thumb.png.968c27798b03bd9425bf2ebc779b0e55.png

Wonderfull

  • 2 months later...
digitalirony
Posted

This is nice for the webclient, but doesn't seem to show up on the android or firetv clients. Is there anything we can do CSS wise to also show things on these clients?

  • Agree 1
Happy2Play
Posted
2 minutes ago, digitalirony said:

This is nice for the webclient, but doesn't seem to show up on the android or firetv clients. Is there anything we can do CSS wise to also show things on these clients?

No as custom css is specific to web client (HTML) as all other clients are written in a different program language.

mike3821
Posted

It would be nice if we had an option to enable a notice message. This message could be used to tell the end users of changes or updates to the server.

I visualize it being a link from the main interface you can click on to read?

somewhere the end user would see it from their streaming device or web.

mike3821
Posted

Found another articles requesting exactly this.

visproduction
Posted

Try setting your router to reserve the address to the server with a fixed virtual IP, if you are using internal DHCP. 

A) The router LAN setting - Address reservation

IP address 192.168.1.50

Device Name: (name of the server)

Mac Address: (servier Nic card Mac address - that might be automatic)

Now the server won't get bumped to a different address by the router when other people login to the network.

B- Port forwarding in Advanced Setup
Set the router port forwarding to a dedicated Internal IP address for the Emby server.
service Name HTTP
External Start Port: 80, 8096, 8920
Internal Start Port: 80, 8096, 8920
Internal IP address: 192.168.1.51

(This uses some other available IP and reserves it to allow Emby to be found and not be bumped when other people login to the network, when your server is turned off.)

This works for me.  Does anyone have any tips or changes to this setup?

 

  • 4 months later...
Posted (edited)

[EDIT] Oops, I just realized I plagiarized @Happy2Play (sorry) from whom I learned this in the first place. I'll leave it here all the same in case it helps but credit goes to Happy2Play [/EDIT]

It's been a while since I've been around and not sure if I posted this years ago. But there is another way to add text to the top of the home screen. It's more involved but has the advantage of being able to create links, add images, etc.

Edit the home.html file by adding the following snippet under under the emby-scroller section:

<div class="Personal-Links" style="top:80px;text-align:center;position:relative">	
	<a is="emby-linkbutton" class="button-link" href="https://your.hyperlink.here" target="_blank" style="margin: 0 .7em; color: #909092; font-weight: bold; text-decoration: none">YOUR TEXT HERE</a>
	<br>
	<br>
</div>

 

Full example (see attachment for result):

<div class="view flex flex-direction-column withTabs">

    <div class="tabContent flex flex-grow" data-index="0">
	
        <div is="emby-scroller" data-horizontal="false" data-centerfocus="true" data-navcommands="card" data-forcescrollbar="true" class="scrollFrameY flex flex-direction-column flex-grow focuscontainer-down" data-bindheader="true">
			
		<div class="Personal-Links" style="top:80px;text-align:center;position:relative">
			
                	<a is="emby-linkbutton" class="button-link" href="https://your.hyperlink.here" target="_blank" style="margin: 0 .7em; color: #909092; font-weight: bold; text-decoration: none">Submit a request or report an issue</a>
			<br>
			<br>
			
		</div>
			
            <div class="scrollSlider flex-grow padded-top-page sections">
            </div>
            <div class="padded-bottom-page"></div>
        </div>

    </div>
    <div class="tabContent flex flex-grow" data-index="1">
        <div is="emby-scroller" data-horizontal="false" data-centerfocus="true" data-navcommands="card" data-forcescrollbar="true" class="scrollFrameY flex flex-direction-column flex-grow focuscontainer-down" data-bindheader="true">

            <div class="scrollSlider flex-grow padded-top-page sections">
            </div>
            <div class="padded-bottom-page"></div>
        </div>
    </div>

</div>

 

In Unraid, home.html can be found in the directory: /app/emby/dashboard-ui/home

home_html_personal_links.jpg

Edited by KobayashiM
  • 2 years later...
Normanos
Posted

How about apps? There was @chef messaging system but looks it's not working anymore with newest Emby server.

 

I have users who never opened web interface, but some times I wish to send announcements or just updates to apps. 

slicedmass
Posted (edited)

I'd say most people run (if they don't then they should) Emby with some sort of proxy in front of the server. It would be nice that if a specific file was accessible for example: https://media.myembyserver.com:8192/maintenance.txt it would read the message contained within that file and display it to anyone trying to open/connect to the server from their various devices. Then the file can be renamed after maintenance is complete and the server will resume functioning when people try to hit the site.

Edited by slicedmass
darkassassin07
Posted (edited)

@slicedmass

This is fairly easy to achieve with nginx:

 

        root /etc/nginx/html/emby;
	location / {
		try_files maintenance.html $uri @proxy;
	}
	location @proxy {
		proxy_pass http://<emby server ip here>:8096;
	}
}

If 'maintenance.html' exists within '/etc/nginx/html/emby' it will be served to clients instead of proxying to emby. Remove/rename the file and proxying returns to normal.

 

I use a similar approach, but with nginx only serving up a '<server name> is currently unavailable' page when it fails to connect to emby (or any of my services really):

error_page 504 502 =200 /unavailable.html;

 

 

The problem with either of these though; is they will only be presented to users with a web browser. Every other emby client will simply fail to connect with the message 'unable to reach server'. If the user doesn't know to switch to a browser and check, it doesn't really help.

 

 

Edited by darkassassin07
slicedmass
Posted
17 minutes ago, darkassassin07 said:

@slicedmass

This is fairly easy to achieve with nginx:

 

        root /etc/nginx/html/emby;
	location / {
		try_files maintenance.html $uri @proxy;
	}
	location @proxy {
		proxy_pass http://<emby server ip here>:8096;
	}
}

If 'maintenance.html' exists within '/etc/nginx/html/emby' it will be served to clients instead of proxying to emby. Remove/rename the file and proxying returns to normal.

 

I use a similar approach, but with nginx only serving up a '<server name> is currently unavailable' page when it fails to connect to emby (or any of my services really):

error_page 504 502 =200 /unavailable.html;

 

 

The problem with either of these though; is they will only be presented to users with a web browser. Every other emby client will simply fail to connect with the message 'unable to reach server'. If the user doesn't know to switch to a browser and check, it doesn't really help.

 

 

Yes I know all this, hence why I suggested they have the client apps look first for the presence of a file which will determine if the app should be trying to login or display a maintenance message.

Normanos
Posted

On opnsense nginx reverse proxy I have simple error pages. When Emby server is down, it's displaying error messages. Accidentally noticed on Android apps. 

personally I interested in show messages in apps to users for something like in web browsers: "Csi New season will be delayed", "Emby Will Be down Tuesday"...

 

 

 

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...