diff --git a/addon.xml b/addon.xml index d1c8c4c..c512d2b 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="Backup" version="1.6.9~beta1" provider-name="robweber"> diff --git a/changelog.md b/changelog.md index 3d2c497..3ca657d 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## Unreleased + +### Changed + +- added new line between file size and file name, was unreadable on some systems due to string resizing + ## [Version 1.6.8](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.7...robweber:matrix-1.6.8) ### Changed diff --git a/resources/lib/backup.py b/resources/lib/backup.py index aa35e61..8821f90 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -415,10 +415,10 @@ class XbmcBackup: utils.log('Writing file: ' + aFile['file']) if(aFile['file'].startswith("-")): - self._updateProgress('%s remaining, writing %s' % (utils.diskString(self.transferLeft), os.path.basename(aFile['file'][len(source.root_path):]) + "/")) + self._updateProgress('%s remaining\nwriting %s' % (utils.diskString(self.transferLeft), os.path.basename(aFile['file'][len(source.root_path):]) + "/")) dest.mkdir(dest.root_path + aFile['file'][len(source.root_path) + 1:]) else: - self._updateProgress('%s remaining, writing %s' % (utils.diskString(self.transferLeft), os.path.basename(aFile['file'][len(source.root_path):]))) + self._updateProgress('%s remaining\nwriting %s' % (utils.diskString(self.transferLeft), os.path.basename(aFile['file'][len(source.root_path):]))) self.transferLeft = self.transferLeft - aFile['size'] # copy the file