- Add originals_path option to UCI config (default: /srv/photoprism/originals) - Add set_config RPC method to update originals_path from LuCI - Add Storage Settings section to LuCI dashboard - Update LXC config to use configurable ORIGINALS_PATH - Update get_stats to scan originals_path instead of data_path/originals - Lyrion media_path already configurable via Settings page Both services now support external mount points: - PhotoPrism: /mnt/PHOTO for photos - Lyrion: /mnt/MUSIC for music Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
479 B
JSON
33 lines
479 B
JSON
{
|
|
"luci-app-photoprism": {
|
|
"description": "Grant access to PhotoPrism Gallery",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.photoprism": [
|
|
"status",
|
|
"get_config",
|
|
"get_stats",
|
|
"logs"
|
|
]
|
|
},
|
|
"uci": ["photoprism"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.photoprism": [
|
|
"start",
|
|
"stop",
|
|
"restart",
|
|
"install",
|
|
"uninstall",
|
|
"index",
|
|
"import",
|
|
"emancipate",
|
|
"set_config"
|
|
]
|
|
},
|
|
"uci": ["photoprism"]
|
|
}
|
|
}
|
|
}
|