Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MDHMatt/Biggetje
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanis committed Sep 4, 2024
2 parents 355c621 + 613de06 commit 9ba35b7
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 25 deletions.
24 changes: 12 additions & 12 deletions .github/actions/docker-multi-login-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ runs:
if docker login --username ${{ fromJSON(env.secrets).DOCKERHUB_USERNAME }} --password ${{ fromJSON(env.secrets).DOCKERHUB_PASSWORD }} > /dev/null 2>&1; then
echo "🎉 Login Succeeded!"
fi
- shell: bash
run: |
echo "🔑 Logging into quay.io..."
if docker login quay.io --username ${{ fromJSON(env.secrets).QUAY_USERNAME }} --password ${{ fromJSON(env.secrets).QUAY_PASSWORD }} > /dev/null 2>&1; then
echo "🎉 Login Succeeded!"
fi
- shell: bash
run: |
echo "🔑 Logging into ghcr.io..."
if docker login ghcr.io --username ${{ fromJSON(env.secrets).GHCR_USERNAME }} --password ${{ fromJSON(env.secrets).GHCR_PASSWORD }} > /dev/null 2>&1; then
echo "🎉 Login Succeeded!"
fi
# - shell: bash
# run: |
# echo "🔑 Logging into ghcr.io..."
# if docker login ghcr.io --username ${{ fromJSON(env.secrets).GHCR_USERNAME }} --password ${{ fromJSON(env.secrets).GHCR_PASSWORD }} > /dev/null 2>&1; then
# echo "🎉 Login Succeeded!"
# fi
# - shell: bash
# run: |
# echo "🔑 Logging into quay.io..."
# if docker login quay.io --username ${{ fromJSON(env.secrets).QUAY_USERNAME }} --password ${{ fromJSON(env.secrets).QUAY_PASSWORD }} > /dev/null 2>&1; then
# echo "🎉 Login Succeeded!"
# fi
3 changes: 2 additions & 1 deletion .github/actions/docker-target-image-list-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ inputs:
registries:
description: "Comma separated list of docker registries"
required: false
default: "docker.io,quay.io,ghcr.io"
# default: "docker.io,quay.io,ghcr.io"
default: "docker.io"
images:
description: "Comma separated list of images"
required: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: varken
name: Build Biggetje
on:
schedule:
- cron: '0 10 * * *'
# schedule:
# - cron: '0 10 * * *'
push:
branches:
- master
Expand Down Expand Up @@ -31,7 +31,7 @@ on:
description: 'Ignore existing tag if "true"'
required: false
env:
IMAGES: boerderij/varken
IMAGES: mdhmatt/biggetje
PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7"
jobs:
lint-and-test:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ varken-venv/
venv/
logs/
__pycache__
.env
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.analysis.typeCheckingMode": "basic"
}
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ ENV DEBUG="True" \
BRANCH="edge" \
BUILD_DATE="1/1/1970"

LABEL maintainer="dirtycajunrice,samwiseg0" \
LABEL maintainer="MDHMatt" \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.url="https://github.com/Boerderij/Varken" \
org.opencontainers.image.source="https://github.com/Boerderij/Varken" \
org.opencontainers.image.url="https://github.com/MDHMatt/Biggetje" \
org.opencontainers.image.source="https://github.com/MDHMatt/Biggetje" \
org.opencontainers.image.version=$VERSION \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.vendor="boerderij" \
org.opencontainers.image.title="varken" \
org.opencontainers.image.description="Varken is a standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana for a frontend" \
org.opencontainers.image.vendor="MDHMatt" \
org.opencontainers.image.title="Biggetje" \
org.opencontainers.image.description="Biggetje (Piglet) child of Varken (Pig), is a standalone application to aggregate data from the Plex and the *arrs into InfluxDB using Grafana for a frontend" \
org.opencontainers.image.licenses="MIT"

WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Potential requirements.
# pip3 install -r requirements.txt
#---------------------------------------------------------
requests==2.28.1
requests==2.32.2
geoip2==2.9.0
influxdb==5.2.0
influxdb-client==1.30.0
schedule==1.1.0
distro==1.4.0
urllib3==1.26.10
urllib3==1.26.19
2 changes: 2 additions & 0 deletions varken/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ class OmbiMovieRequest(NamedTuple):
markedAsDenied: str = None
markedAsDenied4K: str = None
overview: str = None
playedByUsersCount: int = None
posterPath: str = None
qualityOverride: int = None
released: bool = None
Expand All @@ -204,6 +205,7 @@ class OmbiMovieRequest(NamedTuple):
subscribed: bool = None
theMovieDbId: int = None
title: str = None
watchedByRequestedUser: str = None


# Overseerr
Expand Down

0 comments on commit 9ba35b7

Please sign in to comment.