diff --git a/README.md b/README.md index a86be5bc..b843b409 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![stable version](https://img.shields.io/badge/stable_version-2.11.5-blue.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/stable/repository.plexkodiconnect/repository.plexkodiconnect-1.0.2.zip) -[![beta version](https://img.shields.io/badge/beta_version-2.11.5-red.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/beta/repository.plexkodiconnectbeta/repository.plexkodiconnectbeta-1.0.2.zip) +[![stable version](https://img.shields.io/badge/stable_version-2.11.6-blue.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/stable/repository.plexkodiconnect/repository.plexkodiconnect-1.0.2.zip) +[![beta version](https://img.shields.io/badge/beta_version-2.11.6-red.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/beta/repository.plexkodiconnectbeta/repository.plexkodiconnectbeta-1.0.2.zip) [![Installation](https://img.shields.io/badge/wiki-installation-brightgreen.svg?maxAge=60&style=flat)](https://github.com/croneter/PlexKodiConnect/wiki/Installation) [![FAQ](https://img.shields.io/badge/wiki-FAQ-brightgreen.svg?maxAge=60&style=flat)](https://github.com/croneter/PlexKodiConnect/wiki/faq) diff --git a/addon.xml b/addon.xml index 40cf085c..8bb3d286 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -83,7 +83,11 @@ Natūralioji „Plex“ integracija į „Kodi“ Prijunkite „Kodi“ prie „Plex Medija Serverio“. Šiame papildinyje daroma prielaida, kad valdote visus savo vaizdo įrašus naudodami „Plex“ (ir nė vieno su „Kodi“). Galite prarasti jau saugomus „Kodi“ vaizdo įrašų ir muzikos duomenų bazių duomenis (kadangi šis papildinys juos tiesiogiai pakeičia). Naudokite savo pačių rizika! Naudokite savo pačių rizika - version 2.11.5: + version 2.11.6: +- Fix rare sync crash when queue was full +- Set "Auto-adjust transcoding quality" to false by default + +version 2.11.5: - Versions 2.11.0-2.11.4 for everyone version 2.11.4 (beta only): diff --git a/changelog.txt b/changelog.txt index 819508dd..17adb89b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +version 2.11.6: +- Fix rare sync crash when queue was full +- Set "Auto-adjust transcoding quality" to false by default + version 2.11.5: - Versions 2.11.0-2.11.4 for everyone diff --git a/resources/lib/library_sync/fill_metadata_queue.py b/resources/lib/library_sync/fill_metadata_queue.py index 37e8eef0..d4f5a00e 100644 --- a/resources/lib/library_sync/fill_metadata_queue.py +++ b/resources/lib/library_sync/fill_metadata_queue.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import, division, unicode_literals from logging import getLogger -from Queue import Empty +from Queue import Full from . import common, sections from ..plex_db import PlexDB @@ -9,7 +9,7 @@ from .. import backgroundthread LOG = getLogger('PLEX.sync.fill_metadata_queue') -QUEUE_TIMEOUT = 10 # seconds +QUEUE_TIMEOUT = 60 # seconds class FillMetadataQueue(common.LibrarySyncMixin, @@ -49,7 +49,7 @@ class FillMetadataQueue(common.LibrarySyncMixin, try: self.get_metadata_queue.put((count, plex_id, section), timeout=QUEUE_TIMEOUT) - except Empty: + except Full: LOG.error('Putting %s in get_metadata_queue timed out - ' 'aborting sync now', plex_id) section.sync_successful = False diff --git a/resources/settings.xml b/resources/settings.xml index 61ff23e6..6e3de284 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -112,7 +112,7 @@ - +