fix bug in filemonitor_config

This commit is contained in:
David Maisonave
2025-01-10 12:44:56 -05:00
parent 4c658a15b0
commit def6234e60
4 changed files with 14 additions and 7 deletions

View File

@@ -882,6 +882,9 @@ class StashPluginHelper(StashInterface):
return True
return False
def getNum(self, data):
return ''.join(filter(lambda i: i.isdigit(), data))
# ############################################################################################################
# Functions which are candidates to be added to parent class use snake_case naming convention.
# ############################################################################################################

View File

@@ -90,7 +90,7 @@ config = {
# Enable to delete special file immediately after it's created in stop process.
"deleteSpecFileInStop": False,
# Docker notification from host machine
"dockers": # Example Stash Docker configurations. For more details see https://github.com/David-Maisonave/Axter-Stash/blob/main/plugins/FileMonitor#Multiple-Stash-Docker-Configuration[
"dockers": [ # Example Stash Docker configurations. For more details see https://github.com/David-Maisonave/Axter-Stash/blob/main/plugins/FileMonitor#Multiple-Stash-Docker-Configuration
# # A simple basic example with only one bind mount path.
# {"GQL":"http://localhost:9995", "apiKey":"", "bindMounts":[{r"C:\Video":"/mnt/Video"}]},