jcfp
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
6 additions and
6 deletions
-
sabnzbd/utils/checkdir.py
-
sabnzbd/utils/diskspeed.py
-
sabnzbd/utils/internetspeed.py
-
sabnzbd/utils/systrayiconthread.py
-
scripts/Sample-PostProc.py
|
@ -1,4 +1,4 @@ |
|
|
#!/usr/bin/env python |
|
|
#!/usr/bin/python3 |
|
|
|
|
|
|
|
|
""" |
|
|
""" |
|
|
Functions to check if the path filesystem uses FAT |
|
|
Functions to check if the path filesystem uses FAT |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/usr/bin/env python |
|
|
#!/usr/bin/python3 |
|
|
|
|
|
|
|
|
import time |
|
|
import time |
|
|
import os |
|
|
import os |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/usr/bin/env python3 |
|
|
#!/usr/bin/python3 |
|
|
|
|
|
|
|
|
""" |
|
|
""" |
|
|
Module to measure and report Internet speed |
|
|
Module to measure and report Internet speed |
|
|
|
@ -1,4 +1,4 @@ |
|
|
#!/usr/bin/env python |
|
|
#!/usr/bin/python3 |
|
|
# based on SysTrayIcon.py by Simon Brunning - simon@brunningonline.net |
|
|
# based on SysTrayIcon.py by Simon Brunning - simon@brunningonline.net |
|
|
# http://www.brunningonline.net/simon/blog/archives/001835.html |
|
|
# http://www.brunningonline.net/simon/blog/archives/001835.html |
|
|
# http://www.brunningonline.net/simon/blog/archives/SysTrayIcon.py.html |
|
|
# http://www.brunningonline.net/simon/blog/archives/SysTrayIcon.py.html |
|
|
|
@ -1,10 +1,10 @@ |
|
|
#!/usr/bin/env python |
|
|
#!/usr/bin/python3 |
|
|
# Example Post-Processing Script for SABnzbd (3.0.0 and higher), written in Python. |
|
|
# Example Post-Processing Script for SABnzbd (3.0.0 and higher), written in Python. |
|
|
# For Linux, MacOS, Windows and any other platform with Python |
|
|
# For Linux, MacOS, Windows and any other platform with Python |
|
|
# See https://sabnzbd.org/wiki/scripts/post-processing-scripts for details |
|
|
# See https://sabnzbd.org/wiki/scripts/post-processing-scripts for details |
|
|
# |
|
|
# |
|
|
# Example test run on Linux: |
|
|
# Example test run on Linux: |
|
|
# env SAB_VERSION=X.Y SAB_AVG_BPS=666 python ./Sample-PostProc.py somedir222 nzbname CleanJobName123 Index12 Cat88 MyGroup PP0 https://example.com/ |
|
|
# env SAB_VERSION=X.Y SAB_AVG_BPS=666 python3 ./Sample-PostProc.py somedir222 nzbname CleanJobName123 Index12 Cat88 MyGroup PP0 https://example.com/ |
|
|
|
|
|
|
|
|
import sys, os |
|
|
import sys, os |
|
|
|
|
|
|
|
|