Jump to content

New Plugin - Disk Space


chef

Recommended Posts

I added a config button to the plugin.

 

Whatever was happening with the weird buggy UI thing, it seems to have been fixed by giving the configuration a default integer.

  • Like 1
Link to comment
Share on other sites

CBers

I added a config button to the plugin.

 

Thanks Chef.

 

I cannot see the SAVE button when opening the CONFIG box.

 

5e33ec3b4450d_EmbyDiskSpace5.jpg

 

Also, if I changed the value above 10, I am getting a message after clicking SAVE.

 

5e33ec62c5202_EmbyDiskSpace6.jpg

 

Why is there this limitation ?

Link to comment
Share on other sites

Happy2Play

@@chef reducing zoom shows the save button.  You should delete "formDialogFooter" and place the button in "dialogContentInner"

  • Like 2
Link to comment
Share on other sites

@@chef reducing zoom shows the save button. You should delete "formDialogFooter" and place the button in "dialogContentInner"

Will do,

Link to comment
Share on other sites

Thanks Chef.

 

I cannot see the SAVE button when opening the CONFIG box.

 

5e33ec3b4450d_EmbyDiskSpace5.jpg

 

Also, if I changed the value above 10, I am getting a message after clicking SAVE.

 

5e33ec62c5202_EmbyDiskSpace6.jpg

 

Why is there this limitation ?

I will remove the limit

  • Like 1
Link to comment
Share on other sites

1.0.1.2  

 

1. Removed button from footer and added to content

2. added scrollY to the dialogInnerContent (just incase)

3. removed max number on threshold input in the dialog

  • Like 1
Link to comment
Share on other sites

Dibbes

just out of curiousity, why can I click on Available (or used) and it will be taken out of the chart? with only 2 options to display I'm not what to use that for... 

Link to comment
Share on other sites

just out of curiousity, why can I click on Available (or used) and it will be taken out of the chart? with only 2 options to display I'm not what to use that for...

I'm not sure what you mean.

 

The config dialog will open when you click on the little squares, the same as the gear icon.

Link to comment
Share on other sites

Dibbes

I'm not sure what you mean.

 

The config dialog will open when you click on the little squares, the same as the gear icon.

 

not quite

 

5e343e4a70a1a_Untitled.png

Link to comment
Share on other sites

Wow! I didn't know they did that!

 

Because I added the gear icon, and removed the custom click event in the little square, you can turn off the "used" or "available" values now in the chart.

 

Click the little square again to turn them back on.

 

By removing one of the two, the other opposite value becomes the whole chart because the chart would calculate 100% of either the used value or available value.

 

Very interesting built in functionality of chartJS

Edited by chef
  • Like 1
Link to comment
Share on other sites

Dibbes

Wow! I didn't know they did that!

 

Because I added the gear icon, and removed the custom click event in the little square, you can turn off the "used" or "available" values now in the chart.

 

Click the little square again to turn them back on.

 

By removing one of the two, the other opposite value becomes the whole chart because the chart would calculate 100% of either the used value or available value.

 

Very interesting built in functionality of chartJS

 

Happy I could amuse you with this... lol

 

 

1.0.1.3

 

1. Friendly names added to custom mouse over tooltip.

 

Thank you!

  • Like 1
Link to comment
Share on other sites

CBers

1.0.1.2

 

1. Removed button from footer and added to content

2. added scrollY to the dialogInnerContent (just incase)

3. removed max number on threshold input in the dialog

Can't scroll when using Dashboard in mobile chrome on my phone.

 

Also, in the Emby Android app, it's telling me to connect locally to my server to configure. No other plugin says that.

Link to comment
Share on other sites

Dibbes

working well... Still have the name display issue though

 

 

Also, in the Emby Android app, it's telling me to connect locally to my server to configure. No other plugin says that.

 

Last.fm, Playback Reporting, statistics, Tune-In and yTrailers plugins do that too

Edited by Dibbes
  • Like 1
Link to comment
Share on other sites

Happy2Play

Last.fm, Playback Reporting, statistics, Tune-In and yTrailers plugins do that too

 

I was pretty sure there were other plugins that only work locally.

Link to comment
Share on other sites

CBers

Last.fm, Playback Reporting, statistics, Tune-In and yTrailers plugins do that too
 
Yes, seems to be 3rd-party plugins, but official Emby ones  :rolleyes:
 
Although, I can configure them remotely via a browser.
Link to comment
Share on other sites

CBers

@@chef To take this plugin one step further, could you add an option to only include/exclude certain drives?

 

I would only really want one of my drives monitored, not all of them.

 

Just a thought.

  • Like 2
Link to comment
Share on other sites

Happy2Play

Getting this console error also. 

emby-input.js?v=4.4.0.11:1 Uncaught TypeError: Cannot set property 'htmlFor' of undefined
    at HTMLInputElement._connectedCallback (emby-input.js?v=4.4.0.11:1)
    at HTMLInputElement.value (emby-input.js?v=4.4.0.11:1)
    at Object.open (dialoghelper.js?v=4.4.0.11:1)
    at openDialog (configurationpage?name=DiskSpacePluginConfigurationPageJS&v=4.4.0.11:74)
    at HTMLAnchorElement.<anonymous> (configurationpage?name=DiskSpacePluginConfigurationPageJS&v=4.4.0.11:245) 

Are you able to access the OK button in the dialog?

 

Only tested in Chrome but no scroll and button really only visible at 90% or if I bring up Dev console docked on left or right.

Link to comment
Share on other sites

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