2015-10-21, 16:59
A user in an other kodi forum asked about an addon to show free disk space in Kodi.
Cause I'm not very familiar with python, I wrote something in batch. ***I started working on an addon but don't know if I can do it (but I wanna try)
The script should be runned at startup (or start it manually) and checks every x min the used space of one specific drive. If the percentual used space is higher than the limit you set, a notification is sent to kodi.
I think every drive that get's a drive-letter (like C:, D:, whatever) will work.
There is a config file named "config.bat", only few variables, that have to be changed (I'm not gonna explain it in here, cause comments are in the batch file - very simple, self-explaining).
"disk_space.exe" is the actual script (hidden version) or for testing with a window and outputs you have to execute the "ds_window.exe"
For this to work you have to enable the kodi webserver. For testing if the notification works, you can use the "test_notification.bat".
I'm thankful for any feedback
32bit Version
64bit Version
Cause I'm not very familiar with python, I wrote something in batch. ***I started working on an addon but don't know if I can do it (but I wanna try)
The script should be runned at startup (or start it manually) and checks every x min the used space of one specific drive. If the percentual used space is higher than the limit you set, a notification is sent to kodi.
I think every drive that get's a drive-letter (like C:, D:, whatever) will work.
There is a config file named "config.bat", only few variables, that have to be changed (I'm not gonna explain it in here, cause comments are in the batch file - very simple, self-explaining).
"disk_space.exe" is the actual script (hidden version) or for testing with a window and outputs you have to execute the "ds_window.exe"
For this to work you have to enable the kodi webserver. For testing if the notification works, you can use the "test_notification.bat".
I'm thankful for any feedback
32bit Version
64bit Version