Jump to content


Photo

New Plugin - Disk Space


  • Please log in to reply
449 replies to this topic

#1 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 12:17 AM

When you're not sure which drive to choose when auto organizing your rips, you can quickly choose 'Disk Space' From the dashboard menu and visualize the space left on your drives.

Good for Remote access to see which drives to choose when Organizing media titles.

5e17fa79889fc_diskspace1.png



DOWNLOAD: we're in the catalogue!!
Notes:

1. Added color picker to the plugin.

5e188e27c35f8_diskspace2.png

1.0.0.2

1. Scheduled Task Added to monitor Disk Space (will run every hour) - this task is hidden by default

2. Notifications Added when a drive has surpassed 90% of it's space
Note: Windows decides 90% is the threshold to alert the user of an almost full hard drive.
3. Removed chartJS drive donuts tool-tips.
TODO: Add custom tool-tips - https://www.chartjs....custom-tooltips
I'd be great to get some feedback on the notifications.

Edited by chef, 26 February 2020 - 05:41 PM.

  • Happy2Play, pĆ¼nktchen, dlarge500 and 4 others like this

#2 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 309 posts
  • Local time: 10:55 PM

Posted 10 January 2020 - 12:28 AM

When you're not sure which drive to choose when auto organizing your rips, you can quickly choose 'Disk Space' From the dashboard menu and visualize the space left on your drives.

Good for Remote access to see which drives to choose when Organizing media titles.

5e17fa79889fc_diskspace1.png



DOWNLOAD: attachicon.gifDiskSpace.zip

Is the source code available? I'm curious to take a look at how it works as a simple example plugin for me to get back into .net

Sent from my SM-G973U using Tapatalk
  • chef likes this

#3 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 17674 posts
  • Local time: 10:55 PM
  • LocationWashington State

Posted 10 January 2020 - 12:29 AM

Looks good, only issue may be color scheme.

 

5e17fd5e874b8_ds.jpg



#4 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 12:32 AM

Looks good, only issue may be color scheme.

5e17fd5e874b8_ds.jpg


I'm trying to figure out how to use the css root --theme-color but I can't seem to reference it in the js properly.

I wonder how to reference a style sheet from the same project in the js file?

#5 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 12:39 AM

Is the source code available? I'm curious to take a look at how it works as a simple example plugin for me to get back into .net

Sent from my SM-G973U using Tapatalk

 

 

You can check out the Auto Organize Plugin on Github. It has a little bit of everything in it.

 

And you can always pm me with questions :)

 

https://github.com/M...by.AutoOrganize

 

There are only a couple tricky things with plugin development.  



#6 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 12:51 AM

Oh I found the answer. 

 

The user chooses the color :)

 

Only take a second...



#7 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 10:43 AM

@Happy2Play check this out  ;) LOL!

 

5e188d839ce58_diskspace2.png


Edited by chef, 10 January 2020 - 10:57 AM.


#8 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 17674 posts
  • Local time: 10:55 PM
  • LocationWashington State

Posted 10 January 2020 - 04:33 PM

Looks good.  Had to reduce zoom to 90% to see full formdialog box.



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 01:55 AM

Posted 10 January 2020 - 04:54 PM

Is this compatible with all operating systems?



#10 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 05:00 PM

@Luke Can you use system.OI with linux in .netcore?

The service backend just requests GetDrives().

Edited by chef, 10 January 2020 - 05:02 PM.


#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 01:55 AM

Posted 10 January 2020 - 05:03 PM

Hopefully, but I don't know. But that's something we'd need to figure out before putting this in the catalog.



#12 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 05:06 PM

Oh, that would be great.

#13 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 05:10 PM

There are no extra libraries added to the backend of this, so I suspect that it does work.

Edited by chef, 10 January 2020 - 05:12 PM.


#14 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 05:46 PM

@Luke, it would seem that this plugin would be crossplatform.

https://stackoverflo...in-net-standard

Edited by chef, 10 January 2020 - 05:46 PM.


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 01:55 AM

Posted 10 January 2020 - 05:50 PM

We don't know that until it's tested, so that means Linux, MacOS, Android and FreeBSD.



#16 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 06:07 PM

This seems to fit better with emby design.

 

5e18f5a1b76d4_diskspace3.png



#17 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 309 posts
  • Local time: 10:55 PM

Posted 10 January 2020 - 06:18 PM

Uhhhhhh

izb.png


Edited by rechigo, 10 January 2020 - 06:18 PM.


#18 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4456 posts
  • Local time: 01:55 AM
  • LocationPeterborough, Canada

Posted 10 January 2020 - 06:20 PM

Uhhhhhh

 

 

 

 

Because we're not using the catalog to update the plugin, try clearing browser data, and then refreshing the plugin page.

 

Let me know how that goes.



#19 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 17674 posts
  • Local time: 10:55 PM
  • LocationWashington State

Posted 10 January 2020 - 06:25 PM

I got the same after clearing my browser cache.


  • chef likes this

#20 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 309 posts
  • Local time: 10:55 PM

Posted 10 January 2020 - 06:27 PM

Because we're not using the catalog to update the plugin, try clearing browser data, and then refreshing the plugin page.

Let me know how that goes.

First thing I did was that, but they're still way too big.

Sent from my SM-G973U using Tapatalk
  • chef likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users