Jump to content

Extra dashboard info


Recommended Posts

Posted (edited)

I've been working a bit on adding some extra info to the top most dashboard paper list.

 

A lot of the time this page is open on my screen, and I thought it would be cool to add extra bits of information about the service machine, and weather conditions to the list of items.

It looks like this:

 

5e5296b1c9ad7_exampleExtraDashboardInfoP

 

It uses a plugin to add endpoints to emby, and then some javascript to add these extra elements to the DOM.

 

It uses OpenWeatherMap.com to obtain weather info, and it uses the DiskSpace plugin to get partition info.

 

The weather icons are svg element that add themselves to the DOM so they look nice when the are scaled down, and they follow the same Material style as the dashboard.

 

It's a work in progress at the moment, but I think it looks nice enough to share with the community. :)

Edited by chef
  • Like 5
Posted

Nice work chef.

Posted

Looks good. Some things I check frequently though are new and upcoming recordings so maybe that would be useful also? Just a suggestion and I honestly don't check my dash board very often because things Usually run smooth

  • Like 1
Posted

I built a plugin which will install these items into the dashboard.

 

But, there are still some things that would need to be reviewed.

 

For instance, once the plugin is installed, it plants a JavaScript file in the root server folder. It then opens the server index, reads it, finds a particular line, and create a script link to the newly created JavaScript file.

 

Each time the server is restarted, the plugin searches for this JavaScript file it has created, and if a server update has removed it, it plants a new one. It's kind of viral that way.

 

If the plugin where to be removed, it would act like any other plugin, but the rooted JavaScript file would still exist (dormant) untill a server update.

 

I also have to add the ability to update the planted JavaScript file.

  • Like 1
Posted

I built a plugin which will install these items into the dashboard.

 

I don't want to steal your thunder, but couldn't @@Luke just add this to the core ?

Posted

Would be nice.

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