Improve Plex data location migration

This commit is contained in:
Alexandre
2026-01-28 15:12:49 +01:00
parent e72eed170a
commit 2133c368f6
5 changed files with 55 additions and 22 deletions

View File

@@ -61,6 +61,9 @@ Webui can be found at `<your-ip>:32400`.
| `cifsdomain` | str | | SMB domain for network shares |
| `smbv1` | bool | `false` | Enable SMB v1 protocol |
| `skip_permissions_check` | bool | `false` | Skip file permissions checking |
| `data_location` | str | `/share/plex` | Path where Plex data is stored |
When `data_location` is changed and the target folder is empty, the add-on copies data from the previous Plex location (detected via the `/config/Library` symlink, or `/share/plex` on first migration).
### Example Configuration
@@ -74,6 +77,7 @@ networkdisks: "//192.168.1.100/media,//nas.local/movies"
cifsusername: "mediauser"
cifspassword: "password123"
cifsdomain: "workgroup"
data_location: "/share/plex"
```
### Mounting Drives
@@ -96,5 +100,3 @@ comparison to installing any other Hass.io add-on.
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
[repository]: https://github.com/alexbelgium/hassio-addons