You can run TorBox Media Center directly on your system using Python, without Docker. This method gives you more control but requires manual setup.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/torbox-app/torbox-media-center/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Python 3.6 or newer
- Git (optional, for cloning the repository)
- A TorBox account on a paid plan (sign up here)
- Your TorBox API key from settings
- Linux/Unix/BSD/MacOS for FUSE support (STRM works on all platforms including Windows)
Installation
Download the source code
Create environment file
Create a Or create a new
.env file for your configuration:.env file manually:Configure environment variables
Edit the
.env file and add your configuration:- Replace
your_api_key_herewith your actual API key from torbox.app/settings - Set
MOUNT_PATHto an existing directory where you want your media accessible - Choose
strmorfuseforMOUNT_METHOD
Install Python dependencies
Install all required packages from This will install:
requirements.txt:apscheduler- Task schedulingtinydb- Lightweight databasehttpx- HTTP clientpython-dotenv- Environment variable managementparse-torrent-title- Media metadata parsingfuse-python- FUSE filesystem support (Linux only)GitPython- Git operations
On macOS, FUSE requires macFUSE to be installed separately.
Create mount directory
Ensure the mount path exists and is accessible:Make sure the user running the script has write permissions:
Running in the background
To keep TorBox Media Center running after closing your terminal:Using nohup
Using screen
Using systemd (Linux)
Create a systemd service file:/etc/systemd/system/torbox-media-center.service
Environment variables reference
Required:TORBOX_API_KEY- Your TorBox API key from torbox.app/settings
MOUNT_METHOD- Eitherstrmorfuse(default:strm)MOUNT_PATH- Directory where media files will be accessible (must exist)MOUNT_REFRESH_TIME- Sync frequency:slowest,very_slow,slow,normal,fast,ultra_fast, orinstant(default:normal)ENABLE_METADATA- Enable automatic organization into movies/series folders (default:false)RAW_MODE- Use original file structure without organization (default:false)
Updating
To update to the latest version:Troubleshooting
Python version issues
Check your Python version:Permission errors
Ensure the mount path exists and is writable:FUSE errors on Linux
Install FUSE development libraries:Ubuntu/Debian
Fedora/CentOS
Missing dependencies
Ifpip3 install fails, you may need development tools:
Ubuntu/Debian
macOS
Next steps
After installation:- Your media files will appear at the
MOUNT_PATHyou configured - Configure your media server to use:
- Movies:
<MOUNT_PATH>/movies - TV Shows:
<MOUNT_PATH>/series
- Movies:
- Check the application logs for any errors
See the Configuration guide for advanced settings and the Troubleshooting guide if you encounter issues.