The python scripts I place in ./post_processs do no execute after successful conversions. I only run manual.py, no -arr integrations.
Specifically I've tried sample.py and a my own test.py. (chmod +x on all scripts)
def main():
print("script successfully executed")
if name == "main":
main()
./test.py successfully executes manually.
Command or context you are trying to run
./manual.py -i /mnt/South.Park.S14.720p./ -a -tvdb 75897
autoProcess.ini settings
post-process = True
I'm running in a venv on Ubuntu 22.04
From the sma.log with DEBUG enabled:
2024-05-25 19:22:57 - MANUAL - INFO - ======================
2024-05-25 19:23:27 - MANUAL - INFO - /mnt/temp/SMA/South.Park.S14E01.720p.sma created.
2024-05-25 19:23:27 - MANUAL - DEBUG - Outputfile and finaloutputfile are different attempting to rename to final extension [temp_extension].
2024-05-25 19:23:27 - MANUAL - DEBUG - /mnt/temp/SMA/South.Park.S14E01.720p.mp4 created from /mnt/torrents/incomplete/South.Park.S14.720p.BluRay.X264-REWARD/South.Park.S14E01.720p.mkv successfully.
2024-05-25 19:23:27 - MANUAL - DEBUG - Height: 720
2024-05-25 19:23:27 - MANUAL - DEBUG - Width: 1280
2024-05-25 19:23:27 - MANUAL - DEBUG - Tag language setting is eng, using language eng for tagging.
2024-05-25 19:23:27 - MANUAL - INFO - Tagging file: /mnt/temp/SMA/South.Park.S14E01.720p.mp4.
2024-05-25 19:23:28 - MANUAL - INFO - Trying to write tags.
2024-05-25 19:23:28 - MANUAL - INFO - Tags written successfully using mutagen.
2024-05-25 19:23:28 - MANUAL - INFO - Relocating MOOV atom to start of file.
2024-05-25 19:23:29 - MANUAL - DEBUG - Moveto option is enabled.
2024-05-25 19:23:29 - MANUAL - INFO - /mnt/temp/SMA/South.Park.S14E01.720p.mp4 moved to /mnt/temp.
2024-05-25 19:23:29 - MANUAL - DEBUG - Final output file: /mnt/temp/South.Park.S14E01.720p.mp4.
The python scripts I place in ./post_processs do no execute after successful conversions. I only run manual.py, no -arr integrations. Specifically I've tried sample.py and a my own test.py. (chmod +x on all scripts)
!/home/dingho/sickbeard_mp4_automator/sma/bin/python
def main(): print("script successfully executed") if name == "main": main()
./test.py successfully executes manually.
Command or context you are trying to run ./manual.py -i /mnt/South.Park.S14.720p./ -a -tvdb 75897
autoProcess.ini settings post-process = True
I'm running in a venv on Ubuntu 22.04
From the sma.log with DEBUG enabled: 2024-05-25 19:22:57 - MANUAL - INFO - ====================== 2024-05-25 19:23:27 - MANUAL - INFO - /mnt/temp/SMA/South.Park.S14E01.720p.sma created. 2024-05-25 19:23:27 - MANUAL - DEBUG - Outputfile and finaloutputfile are different attempting to rename to final extension [temp_extension]. 2024-05-25 19:23:27 - MANUAL - DEBUG - /mnt/temp/SMA/South.Park.S14E01.720p.mp4 created from /mnt/torrents/incomplete/South.Park.S14.720p.BluRay.X264-REWARD/South.Park.S14E01.720p.mkv successfully. 2024-05-25 19:23:27 - MANUAL - DEBUG - Height: 720 2024-05-25 19:23:27 - MANUAL - DEBUG - Width: 1280 2024-05-25 19:23:27 - MANUAL - DEBUG - Tag language setting is eng, using language eng for tagging. 2024-05-25 19:23:27 - MANUAL - INFO - Tagging file: /mnt/temp/SMA/South.Park.S14E01.720p.mp4. 2024-05-25 19:23:28 - MANUAL - INFO - Trying to write tags. 2024-05-25 19:23:28 - MANUAL - INFO - Tags written successfully using mutagen. 2024-05-25 19:23:28 - MANUAL - INFO - Relocating MOOV atom to start of file. 2024-05-25 19:23:29 - MANUAL - DEBUG - Moveto option is enabled. 2024-05-25 19:23:29 - MANUAL - INFO - /mnt/temp/SMA/South.Park.S14E01.720p.mp4 moved to /mnt/temp. 2024-05-25 19:23:29 - MANUAL - DEBUG - Final output file: /mnt/temp/South.Park.S14E01.720p.mp4.
Thanks for any help!