You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ Automatically sync TMDb movie keywords as Plex labels - A lightweight Go applica
36
36
|`LIBRARY_ID`| Plex library ID (auto-detected if not set) | - | No |
37
37
|`PROCESS_ALL_MOVIE_LIBRARIES`| Process all movie libraries (set to `true` to enable) |`false`| No |
38
38
|`UPDATE_FIELD`| Field to update: `labels` (default) or `genre`|`labels`| No |
39
+
|`REMOVE`| Remove keywords mode: `lock` or `unlock` (runs once and exits) | - | No |
39
40
40
41
## 🆕 UPDATE_FIELD: Sync as Labels or Genres
41
42
@@ -64,6 +65,59 @@ docker run -d --name labelarr \
64
65
65
66
*Genres updated and locked by Labelarr using `UPDATE_FIELD=genre`. The lock icon indicates the field is protected from automatic changes by Plex.*
66
67
68
+
## 🗑️ REMOVE: Clean Up TMDb Keywords
69
+
70
+
The `REMOVE` environment variable allows you to remove **only** TMDb keywords from the selected field while preserving all other values (like custom labels for sharing). When `REMOVE` is set, the tool runs once and exits.
71
+
72
+
### Remove Options
73
+
74
+
-`REMOVE=lock`: Removes TMDb keywords and **locks** the field to prevent Plex from updating it
75
+
-`REMOVE=unlock`: Removes TMDb keywords and **unlocks** the field so metadata refresh can set new values
76
+
77
+
### When to Use Each Option
78
+
79
+
**Use `REMOVE=lock`:**
80
+
81
+
- When you want to permanently remove TMDb keywords but keep custom labels/genres
82
+
- For users who use labels for sharing or other purposes and don't want Plex to overwrite them
83
+
- When you want manual control over the field content
84
+
85
+
**Use `REMOVE=unlock`:**
86
+
87
+
- When you want to clean up and let Plex refresh metadata naturally
88
+
- To reset the field to Plex's default metadata values
89
+
- When switching from TMDb keywords back to standard Plex metadata
90
+
91
+
### Example Usage
92
+
93
+
#### Remove TMDb keywords from labels and lock the field
The `REMOVE` environment variable allows you to remove **only** TMDb keywords from the selected field while preserving all other values (like custom labels for sharing). When `REMOVE` is set, the tool runs once and exits.
114
+
115
+
### Remove Options
116
+
117
+
- `REMOVE=lock`: Removes TMDb keywords and **locks** the field to prevent Plex from updating it
118
+
- `REMOVE=unlock`: Removes TMDb keywords and **unlocks** the field so metadata refresh can set new values
119
+
120
+
### When to Use Each Option
121
+
122
+
**Use `REMOVE=lock`:**
123
+
124
+
- When you want to permanently remove TMDb keywords but keep custom labels/genres
125
+
- For users who use labels for sharing or other purposes and don't want Plex to overwrite them
126
+
- When you want manual control over the field content
127
+
128
+
**Use `REMOVE=unlock`:**
129
+
130
+
- When you want to clean up and let Plex refresh metadata naturally
131
+
- To reset the field to Plex's default metadata values
132
+
- When switching from TMDb keywords back to standard Plex metadata
133
+
134
+
### Example Usage
135
+
136
+
#### Remove TMDb keywords from labels and lock the field
0 commit comments