Skip to content

Commit e7d59a1

Browse files
committed
kometa rebrand
1 parent b16ddd7 commit e7d59a1

16 files changed

+248
-192
lines changed

.github/ISSUE_TEMPLATE/1.bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body:
88
attributes:
99
value: >
1010
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT!**
11-
Please use [Plex Meta Manager Discord](https://discord.gg/NfH6mGFuAB) and post your question under the `pmm-help` channel for support issues.
11+
Please use [Kometa Discord](https://kometa.wiki/en/latest/discord/) and post your question under the `kometa-help` channel for support issues.
1212
- type: input
1313
id: version
1414
attributes:

.github/ISSUE_TEMPLATE/2.feature_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
attributes:
1010
value: >
1111
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT!**
12-
Please use [Plex Meta Manager Discord](https://discord.gg/NfH6mGFuAB) and post your question under the `pmm-support` channel for support issues.
12+
Please use [Kometa Discord](https://kometa.wiki/en/latest/discord/) and post your question under the `kometa-help` channel for support issues.
1313
1414
- type: textarea
1515
id: description

.github/ISSUE_TEMPLATE/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Plex Meta Manager Wiki
4-
url: https://metamanager.wiki/en/latest/home/scripts/image-cleanup.html
3+
- name: Kometa Wiki
4+
url: https://kometa.wiki/en/latest/home/scripts/imagemaid.html
55
about: Please check the wiki to see if your question has already been answered.
66
- name: Discord
7-
url: https://discord.gg/NfH6mGFuAB
8-
about: Please use the Plex Meta Manager Discord to ask for support.
7+
url: https://kometa.wiki/en/latest/discord/
8+
about: Please use the Kometa Discord to ask for support.

.github/workflows/copyright.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Update Copyright Year
2+
3+
on:
4+
schedule:
5+
- cron: '0 3 1 1 *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
update:
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Get current year
14+
id: date
15+
run: echo "year=$(date +'%Y')" >> $GITHUB_OUTPUT
16+
17+
- name: Check Out Repo
18+
uses: actions/checkout@v4
19+
with:
20+
ref: develop
21+
22+
- name: Update Copyright
23+
run: sed -i -E 's/(Copyright \(c\) ).+( meisnate12)/\1${{ steps.date.outputs.year }}\2/' LICENSE
24+
25+
- name: Check Diff
26+
id: verify_diff
27+
run: |
28+
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
29+
30+
- name: Commit & Push Changes
31+
if: steps.verify_diff.outputs.changed == 'true'
32+
run: |
33+
git config --local user.email "[email protected]"
34+
git config --local user.name "GitHub Action"
35+
git add -A
36+
git commit -m "Copyright updated to ${{ steps.date.outputs.year }}" -a
37+
git push origin develop
38+
39+
- name: Discord Failure Notification
40+
uses: Kometa-Team/discord-notifications@master
41+
if: failure()
42+
with:
43+
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
44+
message: <@&1079153184007790652>
45+
title: "${{ secrets.REPO_NAME }}: **Copyright Update Failed**"
46+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
47+
color: 14879811
48+
username: Kobota
49+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
50+
author: GitHub
51+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png

.github/workflows/develop.yml

+25-22
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010

11-
docker-develop:
11+
docker:
1212
runs-on: ubuntu-latest
1313
steps:
1414

@@ -20,7 +20,7 @@ jobs:
2020
- name: Login to Docker Hub
2121
uses: docker/login-action@v3
2222
with:
23-
username: meisnate12
23+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
2424
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
2525

2626
- name: Set up QEMU
@@ -42,40 +42,43 @@ jobs:
4242
"BRANCH_NAME=develop"
4343
platforms: linux/amd64,linux/arm64
4444
push: true
45-
tags: meisnate12/${{ secrets.DOCKER_REPO }}:develop
45+
tags: kometateam/${{ secrets.DOCKER_REPO }}:develop
4646

4747
- name: Send Discord Commit Notification
48-
uses: meisnate12/discord-notifications@master
48+
uses: Kometa-Team/discord-notifications@master
4949
with:
5050
webhook_id_token: ${{ secrets.DEVELOP_WEBHOOK }}
51-
title: ${{ secrets.NAME }} Develop Commits
51+
title: Commits
5252
message: "${{ secrets.DEVELOP_TAG }} - An update to ${{ secrets.NAME }} has been published and is available to users of the **develop** branch."
5353
commits: "true"
54-
username: Metabot
55-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png
54+
username: Kobota
55+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
56+
author: ${{ secrets.NAME }} Develop Release
57+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/release.png
5658

5759
- name: Discord Success Notification
58-
uses: meisnate12/discord-notifications@master
60+
uses: Kometa-Team/discord-notifications@master
5961
if: success()
6062
with:
6163
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
62-
title: "develop build: **Success**"
63-
url: https://github.com/meisnate12/${{ secrets.GITHUB }}/actions/runs/${{ github.run_id }}
64-
username: Metabot
65-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png
66-
author: ${{ secrets.NAME }} Docker
67-
author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png
64+
title: "${{ secrets.REPO_NAME }} develop: **Build Successful**"
65+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
66+
color: 844716
67+
username: Kobota
68+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
69+
author: Docker
70+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png
6871

6972
- name: Discord Failure Notification
70-
uses: meisnate12/discord-notifications@master
73+
uses: Kometa-Team/discord-notifications@master
7174
if: failure()
7275
with:
7376
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
7477
message: <@&1079153184007790652>
75-
title: "develop build: **Failure**"
76-
color: 0xe30c43
77-
url: https://github.com/meisnate12/${{ secrets.GITHUB }}/actions/runs/${{ github.run_id }}
78-
username: Metabot
79-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png
80-
author: ${{ secrets.NAME }} Docker
81-
author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png
78+
title: "${{ secrets.REPO_NAME }} develop: **Build Failed**"
79+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
80+
color: 14879811
81+
username: Kobota
82+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
83+
author: Docker
84+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png

.github/workflows/latest.yml

+19-18
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88

9-
docker-latest:
9+
docker:
1010
runs-on: ubuntu-latest
1111
steps:
1212

@@ -16,7 +16,7 @@ jobs:
1616
- name: Login to Docker Hub
1717
uses: docker/login-action@v3
1818
with:
19-
username: meisnate12
19+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
2020
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
2121

2222
- name: Set up QEMU
@@ -36,30 +36,31 @@ jobs:
3636
file: ./Dockerfile
3737
platforms: linux/amd64,linux/arm64
3838
push: true
39-
tags: meisnate12/${{ secrets.DOCKER_REPO }}:latest
39+
tags: kometateam/${{ secrets.DOCKER_REPO }}:latest
4040

4141
- name: Discord Success Notification
42-
uses: meisnate12/discord-notifications@master
42+
uses: Kometa-Team/discord-notifications@master
4343
if: success()
4444
with:
4545
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
46-
title: "latest build: **Success**"
47-
url: https://github.com/meisnate12/${{ secrets.GITHUB }}/actions/runs/${{ github.run_id }}
48-
username: Metabot
49-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png
50-
author: ${{ secrets.NAME }} Docker
51-
author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png
46+
title: "${{ secrets.REPO_NAME }} latest: **Build Successful**"
47+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
48+
color: 844716
49+
username: Kobota
50+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
51+
author: Docker
52+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png
5253

5354
- name: Discord Failure Notification
54-
uses: meisnate12/discord-notifications@master
55+
uses: Kometa-Team/discord-notifications@master
5556
if: failure()
5657
with:
5758
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
5859
message: <@&1079153184007790652>
59-
title: "latest build: **Failure**"
60-
color: 0xe30c43
61-
url: https://github.com/meisnate12/${{ secrets.GITHUB }}/actions/runs/${{ github.run_id }}
62-
username: Metabot
63-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png
64-
author: ${{ secrets.NAME }} Docker
65-
author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png
60+
title: "${{ secrets.REPO_NAME }} latest: **Build Failed**"
61+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
62+
color: 14879811
63+
username: Kobota
64+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
65+
author: Docker
66+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png

.github/workflows/release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: Release
1+
name: Create Release
22

33
on:
44
release:
55
types: [ published ]
66

77
jobs:
8-
9-
release-notification:
10-
8+
create:
119
runs-on: ubuntu-latest
1210
steps:
1311

1412
- name: Send Discord Release Notification
15-
uses: meisnate12/discord-notifications@master
13+
uses: Kometa-Team/discord-notifications@master
1614
with:
1715
webhook_id_token: ${{ secrets.RELEASE_WEBHOOK }}
1816
release: true
19-
title: ${{ secrets.NAME }} Release VERSION
17+
title: ${{ secrets.NAME }} VERSION
2018
message: "${{ secrets.RELEASE_TAG }} - A new version of ${{ secrets.NAME }} has been released and is available to all users"
21-
username: Metabot
22-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png
19+
username: Kobota
20+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
21+
author: ${{ secrets.NAME }} Release
22+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/release.png

.github/workflows/tag.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
name: Tag
1+
name: Tag New Version
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches:
6+
- '**'
7+
pull_request:
68

79
jobs:
8-
9-
tag-new-versions:
10+
tag:
1011
runs-on: ubuntu-latest
1112
steps:
1213

@@ -18,4 +19,4 @@ jobs:
1819
- uses: salsify/[email protected]
1920
with:
2021
version-command: |
21-
cat VERSION
22+
cat VERSION

.github/workflows/version.yml

+19-18
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99

10-
docker-version:
10+
docker:
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -20,7 +20,7 @@ jobs:
2020
- name: Login to Docker Hub
2121
uses: docker/login-action@v3
2222
with:
23-
username: meisnate12
23+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
2424
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
2525

2626
- name: Set up QEMU
@@ -44,33 +44,34 @@ jobs:
4444
file: ./Dockerfile
4545
platforms: linux/amd64,linux/arm64
4646
push: true
47-
tags: meisnate12/${{ secrets.DOCKER_REPO }}:${{ steps.get_version.outputs.VERSION }}
47+
tags: kometateam/${{ secrets.DOCKER_REPO }}:${{ steps.get_version.outputs.VERSION }}
4848

4949
- name: Discord Success Notification
50-
uses: meisnate12/discord-notifications@master
50+
uses: Kometa-Team/discord-notifications@master
5151
if: success()
5252
with:
5353
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
54-
title: "${{ steps.get_version.outputs.VERSION }} build: **Success**"
55-
url: https://github.com/meisnate12/${{ secrets.GITHUB }}/actions/runs/${{ github.run_id }}
56-
username: Metabot
57-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png
58-
author: ${{ secrets.NAME }} Docker
59-
author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png
54+
title: "${{ secrets.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: **Build Successful**"
55+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
56+
color: 844716
57+
username: Kobota
58+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
59+
author: Docker
60+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png
6061

6162
- name: Discord Failure Notification
62-
uses: meisnate12/discord-notifications@master
63+
uses: Kometa-Team/discord-notifications@master
6364
if: failure()
6465
with:
6566
webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}
6667
message: <@&1079153184007790652>
67-
title: "${{ steps.get_version.outputs.VERSION }} build: **Failure**"
68-
color: 0xe30c43
69-
url: https://github.com/meisnate12/${{ secrets.GITHUB }}/actions/runs/${{ github.run_id }}
70-
username: Metabot
71-
avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png
72-
author: ${{ secrets.NAME }} Docker
73-
author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png
68+
title: "${{ secrets.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: **Build Failed**"
69+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
70+
color: 14879811
71+
username: Kobota
72+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
73+
author: Docker
74+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/docker.png
7475

7576
- name: Create release
7677
uses: marvinpinto/action-automatic-releases@latest

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ ENV/
119119
env.bak/
120120
venv.bak/
121121
pmm-venv/
122+
kometa-venv/
122123

123124
# Spyder project settings
124125
.spyderproject

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.11-slim-buster
22
ARG BRANCH_NAME=master
33
ENV BRANCH_NAME ${BRANCH_NAME}
44
ENV TINI_VERSION v0.19.0
5-
ENV PMM_DOCKER True
5+
ENV KOMETA_DOCKER True
66
COPY . /
77
RUN echo "**** install system packages ****" \
88
&& apt-get update \
@@ -20,4 +20,4 @@ RUN echo "**** install system packages ****" \
2020
&& apt-get autoclean \
2121
&& rm -rf /requirements.txt /tmp/* /var/tmp/* /var/lib/apt/lists/*
2222
VOLUME /config
23-
ENTRYPOINT ["/tini", "-s", "python3", "plex_image_cleanup.py", "--"]
23+
ENTRYPOINT ["/tini", "-s", "python3", "imagemaid.py", "--"]

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 meisnate12
3+
Copyright (c) 2024 meisnate12
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)