devopsarr.radarr.radarr_naming module – Manages Radarr naming.
Note
This module is part of the devopsarr.radarr collection (version 1.2.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install devopsarr.radarr
.
To use it in a playbook, specify: devopsarr.radarr.radarr_naming
.
New in devopsarr.radarr 1.0.0
Synopsis
Manages Radarr naming.
Parameters
Parameter |
Comments |
---|---|
Colon replacement format. Choices:
|
|
Movie folder format. |
|
API key for Radarr authentication. |
|
Full Radarr URL with protocol and port (e.g. `https://test.radarr.tv:7878`) |
|
Rename movies. Choices:
|
|
Replace illegal characters. Choices:
|
|
Standard movie format. |
Notes
Note
for authentication, you can set service_account_file using the c(RADARR_URL) env variable.
for authentication, you can set service_account_contents using the c(RADARR_API_KEY) env variable.
Examples
---
# update naming
- name: Update naming
devopsarr.radarr.radarr_naming:
rename_movies: true
replace_illegal_characters: true
colon_replacement_format: 'dash'
movie_folder_format: '{Movie Title} ({Release Year})'
standard_movie_format: '{Movie Title} ({Release Year}) {Quality Full}'
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Colon replacement format. Returned: always Sample: |
|
Naming ID. Returned: always Sample: |
|
Movie folder format. Returned: always Sample: |
|
Rename movies. Returned: always Sample: |
|
Replace illegal characters. Returned: always Sample: |
|
Standard movie format. Returned: always Sample: |