chef 3746 Posted January 31, 2020 Author Share Posted January 31, 2020 (edited) I figured out scrolling. Is the dialog big enough of the screen? Edited January 31, 2020 by chef 1 Link to comment Share on other sites More sharing options...
maegibbons 1267 Posted January 31, 2020 Share Posted January 31, 2020 @@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. Plus 1 for this as well. You have done an amazing job on this plugin in a very short space of time. Thank you. Krs Mark Sent from my SM-N976B using Tapatalk Link to comment Share on other sites More sharing options...
Happy2Play 8304 Posted January 31, 2020 Share Posted January 31, 2020 From a Network Shares aspect, maybe a manual input to show that share. And a option to not show/hide specific drives. @@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. Yep Link to comment Share on other sites More sharing options...
chef 3746 Posted January 31, 2020 Author Share Posted January 31, 2020 @@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. Yep. It is under the settings dialog on the next version, which is almost completed. 3 Link to comment Share on other sites More sharing options...
chacawaca 106 Posted February 1, 2020 Share Posted February 1, 2020 nice job chef, if i go in ontario i will pay you a beer. Link to comment Share on other sites More sharing options...
chef 3746 Posted February 1, 2020 Author Share Posted February 1, 2020 1.0.1.5 1. will allow removal of monitored partitions. Look for a list of checkboxes in the settings dialog. 4 Link to comment Share on other sites More sharing options...
Dibbes 431 Posted February 1, 2020 Share Posted February 1, 2020 1.0.1.5 1. will allow removal of monitored partitions. Look for a list of checkboxes in the settings dialog. Nice! Now that cleans up a lot on the page Link to comment Share on other sites More sharing options...
jordy 284 Posted February 1, 2020 Share Posted February 1, 2020 (edited) hey @@chef, been reading about this and decided to give it a shot. beta 4.4.0.11 Windows 10 Pro (fully updated) on Samsung 960 EVO 250Gb M.2 SSD AMD Ryzen 3700x 32Gb Ram Media 7*4tb HDD via Microsoft Storage Spaces Installed from Emby Plugin Catalogue Unfortunately, all i see is a blank page with "HARD DRIVES" at top left with a gear icon next to it. Clicking on the gear icon does nothing... Anyone successfully tested on Win10 yet? thanks Jordy Edited February 1, 2020 by jordy Link to comment Share on other sites More sharing options...
chef 3746 Posted February 1, 2020 Author Share Posted February 1, 2020 (edited) hey @@chef, been reading about this and decided to give it a shot. beta 4.4.0.11 Windows 10 Pro (fully updated) on Samsung 960 EVO 250Gb M.2 SSD AMD Ryzen 3700x 32Gb Ram Media 7*4tb HDD via Microsoft Storage Spaces Installed from Emby Plugin Catalogue Unfortunately, all i see is a blank page with "HARD DRIVES" at top left with a gear icon next to it. Clicking on the gear icon does nothing... Anyone successfully tested on Win10 yet? thanks Jordy PM me or post a log please. Also, what Microsoft storage spaces? Edited February 1, 2020 by chef Link to comment Share on other sites More sharing options...
jordy 284 Posted February 1, 2020 Share Posted February 1, 2020 MS Storage Spaces comes with Windows 10 and allows a software raid setup. Log attached. thanks Jordy embyserver.txt 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted February 1, 2020 Author Share Posted February 1, 2020 (edited) MS Storage Spaces comes with Windows 10 and allows a software raid setup. Log attached. thanks Jordy The request to the DiskSpaceService keeps throwing error, but it doesn't tell much about it. It always errors on your c:\ drive and doesn't get any further. Are those drives shared? Also, would you be interested in installing an early version from the catalog, maybe 1.0.1.4 and seeing if the request to the service is still broken? Edited February 1, 2020 by chef Link to comment Share on other sites More sharing options...
Spaceboy 2499 Posted February 1, 2020 Share Posted February 1, 2020 1.0.1.5 1. will allow removal of monitored partitions. Look for a list of checkboxes in the settings dialog. i don’t understand why I’m not seeing updates available? I’m on stable if this matters Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 1, 2020 Share Posted February 1, 2020 i don’t understand why I’m not seeing updates available? I’m on stable if this matters Which version do you have installed? Have you tried installing via the plugin Catalogue? Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 1, 2020 Share Posted February 1, 2020 Just installed 1.0.1.5 on one of my friends servers that I look after, and although it installed OK, when I click on the COG, nothing happens and the config page is blank. The server is running Stable, so perhaps an issue similar to Spaceboy's? Link to comment Share on other sites More sharing options...
Spaceboy 2499 Posted February 1, 2020 Share Posted February 1, 2020 Which version do you have installed? Have you tried installing via the plugin Catalogue? dashboard says 1.0.1.1. I was getting updates until a couple of days ago Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 1, 2020 Share Posted February 1, 2020 Thought i would give this a try as well getting the same as Jordy with win 10 and the 1.0.1.5 plugin - i.e. a blank page 2020-02-01 11:21:01.778 Info HttpServer: HTTP GET http://localhost:8096/emby/web/configurationpages?Name=DiskSpacePluginConfigurationPage. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:01.778 Info HttpServer: HTTP GET http://localhost:8096/web/configurationpage?name=DiskSpacePluginConfigurationPage&v=4.4.0.11&r=0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:01.780 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/emby/web/configurationpages?Name=DiskSpacePluginConfigurationPage 2020-02-01 11:21:01.780 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/web/configurationpage?name=DiskSpacePluginConfigurationPage&v=4.4.0.11&r=0 2020-02-01 11:21:01.796 Info HttpServer: HTTP GET http://localhost:8096/web/configurationpage?name=DiskSpacePluginConfigurationPageJS&v=4.4.0.11. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:01.796 Info HttpServer: HTTP Response 200 to ::1. Time: 1ms. http://localhost:8096/web/configurationpage?name=DiskSpacePluginConfigurationPageJS&v=4.4.0.11 2020-02-01 11:21:01.803 Debug App: ScheduledTasksWebSocketListener stop transmitting over websocket to ::1 2020-02-01 11:21:01.803 Debug App: SessionInfosWebSocketListener stop transmitting over websocket to ::1 2020-02-01 11:21:01.808 Info HttpServer: HTTP GET http://localhost:8096/web/configurationpage?name=Chart.bundle.js&v=4.4.0.11. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:01.810 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/web/configurationpage?name=Chart.bundle.js&v=4.4.0.11 2020-02-01 11:21:01.832 Info HttpServer: HTTP GET http://localhost:8096/emby/Plugins/9ECAAC5F-435E-4C21-B1C0-D99423B68984/Configuration. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:01.833 Debug XmlSerializer: Deserializing file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml 2020-02-01 11:21:01.835 Info HttpServer: HTTP Response 200 to ::1. Time: 3ms. http://localhost:8096/emby/Plugins/9ECAAC5F-435E-4C21-B1C0-D99423B68984/Configuration 2020-02-01 11:21:01.839 Info HttpServer: HTTP GET http://localhost:8096/emby/GetDriveData. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:01.850 Info DiskSpaceService: DISK SPACE -- C:\ 2020-02-01 11:21:01.861 Error HttpServer: Error processing request *** Error Report *** Version: 4.4.0.11 Command line: F:\EmbyCore\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///F:/EmbyCore/system/System.Private.CoreLib.dll System.Environment.Version: 3.1.1 Processor count: 8 Program data path: F:\EmbyCore\programdata Application directory: F:\EmbyCore\system System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at DiskSpace.Api.DiskSpaceService.Get(DriveData request) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Linq TargetSite: Void ThrowArgumentNullException(System.Linq.ExceptionArgument) 2020-02-01 11:21:01.861 Info HttpServer: HTTP Response 400 to ::1. Time: 22ms. http://localhost:8096/emby/GetDriveData 2020-02-01 11:21:05.325 Info HttpServer: HTTP GET http://localhost:8096/emby/GetDriveData. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 2020-02-01 11:21:05.333 Info DiskSpaceService: DISK SPACE -- C:\ 2020-02-01 11:21:05.334 Error HttpServer: Error processing request *** Error Report *** Version: 4.4.0.11 Command line: F:\EmbyCore\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///F:/EmbyCore/system/System.Private.CoreLib.dll System.Environment.Version: 3.1.1 Processor count: 8 Program data path: F:\EmbyCore\programdata Application directory: F:\EmbyCore\system System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at DiskSpace.Api.DiskSpaceService.Get(DriveData request) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Linq TargetSite: Void ThrowArgumentNullException(System.Linq.ExceptionArgument) 2020-02-01 11:21:05.334 Info HttpServer: HTTP Response 400 to ::1. Time: 9ms. http://localhost:8096/emby/GetDriveData I dont use Storage Spaces Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 1, 2020 Share Posted February 1, 2020 Also getting console errors in chrome Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 1, 2020 Share Posted February 1, 2020 Getting the same error on a 2012r2 server - so dont think its a win 10 problem Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 1, 2020 Share Posted February 1, 2020 @@chef - i have got .5 to work now what i needed to do was go back to .4 - and do some config changes - which generated the diskspace.xml file then i updated to .5 and now that works I started at .5 initially probably like @@jordy - and the xml probably needs to exist and when it does not you get the errors Jordy and I see Hope that helps you track down the bug 2 Link to comment Share on other sites More sharing options...
maegibbons 1267 Posted February 1, 2020 Share Posted February 1, 2020 1.0.1.5 1. will allow removal of monitored partitions. Look for a list of checkboxes in the settings dialog. Hi @@chef I have installed .5 I have excluded my U drive and it correctly does NOT show on the drive space page BUT it still gives alerts of low space which it should'nt. It should be totally excluded from display and monitoring. Krs Mark Sent from my SM-N976B using Tapatalk Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 1, 2020 Share Posted February 1, 2020 I have excluded my U drive and it correctly does NOT show on the drive space page BUT it still gives alerts of low space which it should'nt. Same here. Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 1, 2020 Share Posted February 1, 2020 @@chef Once you have all the kinks ironed out, would it be possible to have different thresholds for different drives? Just a suggestion. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 1, 2020 Share Posted February 1, 2020 (edited) Chef One thing i have noticed is that if you load a blu-ray/dvd/cd - the plugin picks these up - will do the same with USB sticks/drives now as they are only picked up when a disc is loaded - and most discs will be "full" unless they are rewritable we are likely to get false reports of no disk space but - if no disk is loaded you cant "exclude" them - unless you manually edit the diskspace.xml file as when "empty" they are not shown Hope thats clear Edited February 1, 2020 by PenkethBoy 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 1, 2020 Share Posted February 1, 2020 Request Could we also have some tabular results besides the graphs? e.g. i have a powershell script that i created for listing my drives DeviceID VolumeName TypeDrive Size (Bytes) Free Space (Bytes) Size (GiB) Free Space (GiB) Size (TiB) Free Space (TiB) -------- ---------- --------- ------------ ------------------ ---------- ---------------- ---------- ---------------- C: System Fixed local disk 459399372800 405667491840 427.85 377.81 0.418 0.369 D: Compact disk 0 0 0 0 E: Compact disk 0 0 0 0 F: Data Fixed local disk 1920256172032 1374443438080 1788.38 1280.05 1.746 1.25 G: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 M: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 P: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 S: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 W: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 X: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 Y: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 Z: Media Network disk 69036277682176 23837960343552 64295.04 22200.83 62.788 21.68 DeviceID VolumeName Percent Free -------- ---------- ------------ C: System 88.3 D: E: F: Data 71.58 G: Media 34.53 M: Media 34.53 P: Media 34.53 S: Media 34.53 W: Media 34.53 X: Media 34.53 Y: Media 34.53 Z: Media 34.53 this could be simplified down as probably dont need all columns if you (or anybody else wants to try the script out) Drive-Space.zip - extract the ps1 file and rightclick - choose "run with powershell" - it will open the results in notepad Link to comment Share on other sites More sharing options...
chef 3746 Posted February 1, 2020 Author Share Posted February 1, 2020 @@chef - i have got .5 to work now what i needed to do was go back to .4 - and do some config changes - which generated the diskspace.xml file then i updated to .5 and now that works I started at .5 initially probably like @@jordy - and the xml probably needs to exist and when it does not you get the errors Jordy and I see Hope that helps you track down the bug Yes it did, thank you! @@PenkethBoy I've been trying to force myself to use the "object?.variable" style to check for null faster when I'm typing fast, instead of the old "if(object != null)" I have to get the "?" on the right object or else "bug central!" 1.0.1.6 1. stopped the configuration null object bug 2. Stopped notifications on partitions that are unchecked in the dialog. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now