From 4ea77370e871e51c6349648e5412931dcc859cdc Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 9 Mar 2019 15:18:59 +0100 Subject: [PATCH] Beta version bump 2.7.5 - Includes a migration! --- README.md | 2 +- addon.xml | 9 +++++++-- changelog.txt | 5 +++++ resources/lib/migration.py | 5 +++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dd947056..fd3e9242 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![stable version](https://img.shields.io/badge/stable_version-2.7.4-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.7.4-red.svg?maxAge=60&style=flat) ](https://github.com/croneter/binary_repo/raw/master/beta/repository.plexkodiconnectbeta/repository.plexkodiconnectbeta-1.0.2.zip) +[![beta version](https://img.shields.io/badge/beta_version-2.7.5-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 3a5c4175..1aa6734d 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -77,7 +77,12 @@ Нативна інтеграція Plex в Kodi Підключає Kodi до серверу Plex. Цей плагін передбачає, що ви керуєте всіма своїми відео за допомогою Plex (і ніяк не Kodi). Ви можете втратити дані, які вже зберігаються у відео та музичних БД Kodi (оскільки цей плагін безпосередньо їх змінює). Використовуйте на свій страх і ризик! Використовуйте на свій ризик - version 2.7.4: + version 2.7.5: +- Giant overhaul of widgets +- Fix some KeyErrors when playing songs +- Fix rare cases where playlists were being created + +version 2.7.4: - Fix PKC not synching new items if an older Kodi db is present version 2.7.3: diff --git a/changelog.txt b/changelog.txt index 7ff50ce3..bf7668b9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +version 2.7.5: +- Giant overhaul of widgets +- Fix some KeyErrors when playing songs +- Fix rare cases where playlists were being created + version 2.7.4: - Fix PKC not synching new items if an older Kodi db is present diff --git a/resources/lib/migration.py b/resources/lib/migration.py index 87efd19a..cc9c0f69 100644 --- a/resources/lib/migration.py +++ b/resources/lib/migration.py @@ -31,4 +31,9 @@ def check_migration(): utils.settings('ipaddress', value='') utils.settings('port', value='') + if not utils.compare_version(last_migration, '2.7.6'): + LOG.info('Migrating to version 2.7.5') + from .library_sync.sections import delete_files + delete_files() + utils.settings('last_migrated_PKC_version', value=v.ADDON_VERSION)