[Question] Local Path Security Verification Is Too Strict — Requesting Guidance to Bypass for Commercial Local Use
问题描述 | Current Behavior
@harry0703
Hi, I'm using MoneyPrinterTurbo as a core tool for my local commercial workflow (specifically for local business owners).
I'm currently facing a blocking issue when trying to use purely local materials (real photos from merchants). My setup is as follows:
- video_source is set to "local".
- The local image folder path I'm using is: /Users/giik/MoneyPrinterTurbo/my_materials/londoncafe/images.
- My custom audio file path is: /Users/giik/MoneyPrinterTurbo/my_materials/musics/c.mp3.
However, the system keeps rejecting my paths with the following error:
ERROR | preprocess_video... skip unsafe local material: /Users/.../my_materials/londoncafe/images, error: path is outside the allowed directory
The folder exists and contains real files. I'm not using any external APIs, only local assets, which should be completely safe.
Question: Is there a built-in way to relax, or completely bypass, this strict path validation? (For example, a config option to disable it, or a specific way to structure the local folder to pass the security check.)
Since this is for local business use, I need to process multiple local folders without being blocked by this restriction. I would appreciate a clear solution.Thank you!
重现步骤 | Steps to Reproduce
I'm currently facing a blocking issue when trying to use purely local materials (real photos from merchants). My setup is as follows:
- video_source is set to "local".
- The local image folder path I'm using is: /Users/giik/MoneyPrinterTurbo/my_materials/londoncafe/images.
- My custom audio file path is: /Users/giik/MoneyPrinterTurbo/my_materials/musics/c.mp3.
However, the system keeps rejecting my paths with the following error:
错误日志 | Error Logs
ERROR | preprocess_video... skip unsafe local material: /Users/.../my_materials/londoncafe/images, error: path is outside the allowed directory
Python 版本 | Python Version
3.10.x
操作系统 | Operating System
MacOS Tahoe26.6.2
MoneyPrinterTurbo 版本 | Version
v1.3.6
补充信息 | Additional Information
No response
Source: harry0703/MoneyPrinterTurbo