Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 3a863f4

Browse files
committed
Deprecate
1 parent b5719ec commit 3a863f4

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

readme-vars.yml

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a Python 3
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
99
project_blurb_optional_extras_enabled: false
1010

11+
project_deprecation_status: true
12+
project_deprecation_message: |
13+
Please migrate to our Kometa image instead:
14+
https://github.com/linuxserver/docker-kometa
15+
1116
# supported architectures
1217
available_architectures:
1318
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
@@ -61,6 +66,7 @@ app_setup_block: |
6166
6267
# changelog
6368
changelogs:
69+
- { date: "22.04.24:", desc: "Deprecate."}
6470
- { date: "22.04.24:", desc: "Update backend to reflect upstream repo rename."}
6571
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
6672
- { date: "10.06.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }

root/etc/s6-overlay/s6-rc.d/init-pmm-oneshot/run

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ if [[ -n "${CONFIG_FILE}" ]] && [[ ! -e "${CONFIG_FILE}" ]]; then
2323
fi
2424

2525
if { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|-r)([\s]|$)'; } && { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; }; then
26-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py "${CLI_OPTIONS[@]}"
26+
s6-setuidgid abc python3 /app/pmm/kometa.py "${CLI_OPTIONS[@]}"
2727
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|-r)([\s]|$)'; then
28-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
28+
s6-setuidgid abc python3 /app/pmm/kometa.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
2929
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; then
30-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --run "${CLI_OPTIONS[@]}"
30+
s6-setuidgid abc python3 /app/pmm/kometa.py --run "${CLI_OPTIONS[@]}"
3131
else
32-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --run --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
32+
s6-setuidgid abc python3 /app/pmm/kometa.py --run --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
3333
fi

root/etc/s6-overlay/s6-rc.d/svc-pmm/run

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ fi
2323

2424
if { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--time|-t)([\s])'; } && { echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; }; then
2525
exec \
26-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py "${CLI_OPTIONS[@]}"
26+
s6-setuidgid abc python3 /app/pmm/kometa.py "${CLI_OPTIONS[@]}"
2727
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--time|-t)([\s])'; then
2828
exec \
29-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
29+
s6-setuidgid abc python3 /app/pmm/kometa.py --config "${CONFIG_FILE}" "${CLI_OPTIONS[@]}"
3030
elif echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--config|-c)([\s])(.+\/[^\/]+)\.(yml|yaml)'; then
3131
exec \
32-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
32+
s6-setuidgid abc python3 /app/pmm/kometa.py --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
3333
else
3434
exec \
35-
s6-setuidgid abc python3 /app/pmm/plex_meta_manager.py --config "${CONFIG_FILE}" --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
35+
s6-setuidgid abc python3 /app/pmm/kometa.py --config "${CONFIG_FILE}" --time "${PMM_TIME:-03:00}" "${CLI_OPTIONS[@]}"
3636
fi

0 commit comments

Comments
 (0)