Jump to content

New Plugin - Disk Space


Recommended Posts

Posted

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
Posted

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 ?

Happy2Play
Posted

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

  • Like 2
Posted

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

Will do,

Posted

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
Posted

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
Posted

@@CBers look what i figured and out  ;)

 

5e343a581a05d_lookWhatiDid.png

  • Like 2
Posted

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

Posted

@@CBers look what i figured and out  ;)

 

5e343a581a05d_lookWhatiDid.png

yes please

Posted

@@CBers look what i figured and out ;)

 

5e343a581a05d_lookWhatiDid.png

Very nice.

Posted

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.

Posted

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

Posted

not quite

 

5e343e4a70a1a_Untitled.png

They are disappearing?

  • Like 1
Posted (edited)

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
Posted

1.0.1.3

 

1. Friendly names added to custom mouse over tooltip.

  • Like 2
Posted

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
Posted

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.

Posted (edited)

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
Happy2Play
Posted

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.

Posted

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

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

Posted

@@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
Posted

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

No, it doesn't show.

Happy2Play
Posted

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.

Posted

I get that too. I don't quiet understand why is="emby-input" does that.

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