diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 000000000..9e84bdd8e --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/VERSION b/VERSION index b0fc2f909..6e276e91d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.1-develop91 +1.15.1-develop92 diff --git a/config/config.yml.template b/config/config.yml.template index cdcb5dd73..6f961dafc 100644 --- a/config/config.yml.template +++ b/config/config.yml.template @@ -73,6 +73,10 @@ tautulli: # Can be individually specified apikey: ################################ omdb: apikey: ######## + cache_expiration: 60 +mdblist: + apikey: ######################### + cache_expiration: 60 notifiarr: apikey: #################################### anidb: # Not required for AniDB builders unless you want mature content diff --git a/plex_meta_manager.py b/plex_meta_manager.py index 256e1e3af..d63523bc2 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -433,13 +433,10 @@ def library_operations(config, library): num_edited = 0 for i, item in enumerate(tracks, 1): logger.ghost(f"Processing Track: {i}/{len(tracks)} {item.title}") - try: - if not item.title and item.titleSort: - library.edit_query(item, {"title.locked": 1, "title.value": item.titleSort}) - num_edited += 1 - logger.info(f"Track: {item.titleSort} was updated with sort title") - except Failed as e: - logger.error(e) + if not item.title and item.titleSort: + library.edit_query(item, {"title.locked": 1, "title.value": item.titleSort}) + num_edited += 1 + logger.info(f"Track: {item.titleSort} was updated with sort title") logger.info(f"{len(tracks)} Tracks Processed; {num_edited} Blank Track Titles Updated") tmdb_collections = {}