test
This commit is contained in:
parent
1cf0b631df
commit
736a968b63
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
|
|
||||||
import os
|
# import os
|
||||||
# from sys import argv
|
from sys import argv
|
||||||
|
|
||||||
|
|
||||||
# title = show title
|
# title = show title
|
||||||
@ -15,11 +15,11 @@ import os
|
|||||||
# response = requests.post(tdarr_url, json=payload, headers=headers)
|
# response = requests.post(tdarr_url, json=payload, headers=headers)
|
||||||
|
|
||||||
|
|
||||||
# fp = open('/opt/testlog.log', 'a', 0)
|
fp = open('/opt/testlog.log', 'a', 0)
|
||||||
# fp.write("Testing")
|
fp.write("Testing")
|
||||||
# fp.write("%s" % argv)
|
fp.write("%s" % argv)
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
def main():
|
def main():
|
||||||
SCRIPT_PATH = os.path.realpath(__file__)
|
SCRIPT_PATH = os.path.realpath(__file__)
|
||||||
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
||||||
@ -49,3 +49,4 @@ def main():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
"""
|
||||||
|
|||||||
2
tdarr_inform.sh
Normal file
2
tdarr_inform.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
/usr/bin/python3 /opt/arr_to_tdarr/tdarr_inform.py
|
||||||
Loading…
Reference in New Issue
Block a user