mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[92] add nightly build
This commit is contained in:
parent
46c02f1d12
commit
699dbe8844
4 changed files with 53 additions and 8 deletions
44
.github/workflows/nightly.yml
vendored
Normal file
44
.github/workflows/nightly.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
name: Docker Nightly Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ nightly ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ nightly ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
docker-develop:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Check Out Repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: nightly
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@master
|
||||||
|
with:
|
||||||
|
platforms: all
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
id: buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
id: docker_build
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./
|
||||||
|
file: ./Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:nightly
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.15.1-develop91
|
1.15.1-develop92
|
||||||
|
|
|
@ -73,6 +73,10 @@ tautulli: # Can be individually specified
|
||||||
apikey: ################################
|
apikey: ################################
|
||||||
omdb:
|
omdb:
|
||||||
apikey: ########
|
apikey: ########
|
||||||
|
cache_expiration: 60
|
||||||
|
mdblist:
|
||||||
|
apikey: #########################
|
||||||
|
cache_expiration: 60
|
||||||
notifiarr:
|
notifiarr:
|
||||||
apikey: ####################################
|
apikey: ####################################
|
||||||
anidb: # Not required for AniDB builders unless you want mature content
|
anidb: # Not required for AniDB builders unless you want mature content
|
||||||
|
|
|
@ -433,13 +433,10 @@ def library_operations(config, library):
|
||||||
num_edited = 0
|
num_edited = 0
|
||||||
for i, item in enumerate(tracks, 1):
|
for i, item in enumerate(tracks, 1):
|
||||||
logger.ghost(f"Processing Track: {i}/{len(tracks)} {item.title}")
|
logger.ghost(f"Processing Track: {i}/{len(tracks)} {item.title}")
|
||||||
try:
|
if not item.title and item.titleSort:
|
||||||
if not item.title and item.titleSort:
|
library.edit_query(item, {"title.locked": 1, "title.value": item.titleSort})
|
||||||
library.edit_query(item, {"title.locked": 1, "title.value": item.titleSort})
|
num_edited += 1
|
||||||
num_edited += 1
|
logger.info(f"Track: {item.titleSort} was updated with sort title")
|
||||||
logger.info(f"Track: {item.titleSort} was updated with sort title")
|
|
||||||
except Failed as e:
|
|
||||||
logger.error(e)
|
|
||||||
logger.info(f"{len(tracks)} Tracks Processed; {num_edited} Blank Track Titles Updated")
|
logger.info(f"{len(tracks)} Tracks Processed; {num_edited} Blank Track Titles Updated")
|
||||||
|
|
||||||
tmdb_collections = {}
|
tmdb_collections = {}
|
||||||
|
|
Loading…
Reference in a new issue