-
-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
Christian Blank edited this page Nov 8, 2024
·
1 revision
After installing Addarr, you'll need to configure it before first use. This guide will walk you through the basic configuration process.
Create or edit config.ini in your Addarr configuration directory:
- Docker:
/config/config.ini - Manual installation:
config.iniin the Addarr directory
[telegram]
token = YOUR_BOT_TOKEN
admin = YOUR_TELEGRAM_USER_ID
[sonarr]
enabled = true
host = http://localhost:8989
apikey = YOUR_SONARR_API_KEY
quality_profile = HD-1080p
root_folder = /path/to/tv/shows
[radarr]
enabled = true
host = http://localhost:7878
apikey = YOUR_RADARR_API_KEY
quality_profile = HD-1080p
root_folder = /path/to/movies-
Get your bot token:
- Message @BotFather on Telegram
- Create new bot with
/newbot - Copy the provided token
-
Get your Telegram ID:
- Message @userinfobot on Telegram
- Copy your ID number
-
Configure in config.ini:
[telegram]
token = 123456789:ABCdefGHIjklMNOpqrsTUVwxyz
admin = 123456789-
Get your Sonarr API key:
- Open Sonarr web interface
- Settings → General
- Copy API Key
-
Configure in config.ini:
[sonarr]
enabled = true
host = http://localhost:8989
apikey = your_sonarr_api_key
quality_profile = HD-1080p
root_folder = /path/to/tv/shows-
Get your Radarr API key:
- Open Radarr web interface
- Settings → General
- Copy API Key
-
Configure in config.ini:
[radarr]
enabled = true
host = http://localhost:7878
apikey = your_radarr_api_key
quality_profile = HD-1080p
root_folder = /path/to/movies- Check available profiles in Sonarr/Radarr
- Use exact profile names in config.ini
- Example profiles:
[sonarr]
quality_profile = HD-1080p
[radarr]
quality_profile = Remux-1080p- Ensure folders exist and are writable
- Use absolute paths
- Example structure:
[sonarr]
root_folder = /media/tv
[radarr]
root_folder = /media/movies[telegram]
# Additional admin users (comma-separated)
additional_admins = 123456789,987654321
# Notifications
notify_on_grab = true
notify_on_import = true
[general]
# Debug logging
debug = falseWhen using Docker, ensure paths match between containers:
[sonarr]
root_folder = /tv # Path inside Sonarr container
[radarr]
root_folder = /movies # Path inside Radarr container- Start Addarr
- Send
/startto your bot - Try basic commands:
-
/ping- Check bot response -
/tv test- Test Sonarr connection -
/movie test- Test Radarr connection
-
After basic configuration:
- Check out Advanced Configuration for more options
- Review Examples and Use Cases
- Learn available Commands
-
Connection Issues:
- Verify host URLs are accessible
- Check API keys are correct
- Ensure services are running
-
Permission Issues:
- Verify Telegram user ID
- Check folder permissions
- Confirm API key permissions
-
Path Issues:
- Use absolute paths
- Check Docker volume mappings
- Verify folder existence
For more detailed configuration options, see the Advanced Configuration guide.