diff --git a/src/MovieInfo.py b/src/MovieInfo.py index 9192b3e0..88eb4062 100644 --- a/src/MovieInfo.py +++ b/src/MovieInfo.py @@ -438,20 +438,21 @@ def __init__(self, session, preview, moviename, previewCover=False, previewMode= }, -1) def save(self): - moviepath = os.path.splitext(self.spath)[0] - if self.isDirectory: - moviepath = moviepath + "/" + self.moviename - try: - txtpath = moviepath + ".txt" - if fileExists("/tmp/previewTxt.txt"): - shutil.copy2("/tmp/previewTxt.txt", txtpath) - except Exception, e: - print('[EMC] MovieInfo saveTxt exception failure: ', str(e)) + if self.page == 0 and self.spath is not None: + moviepath = os.path.splitext(self.spath)[0] + if self.isDirectory: + moviepath = moviepath + "/" + self.moviename + try: + txtpath = moviepath + ".txt" + if fileExists("/tmp/previewTxt.txt"): + shutil.copy2("/tmp/previewTxt.txt", txtpath) + except Exception, e: + print('[EMC] MovieInfo saveTxt exception failure: ', str(e)) - self.session.open(MessageBox, (_('Movie Information downloaded successfully!')), MessageBox.TYPE_INFO, 5) + self.session.open(MessageBox, (_('Movie Information downloaded successfully!')), MessageBox.TYPE_INFO, 5) - if config.EMC.movieinfo.coversave.value: - self.getPoster() + if config.EMC.movieinfo.coversave.value: + self.getPoster() def getPoster(self): moviepath = os.path.splitext(self.spath)[0] @@ -501,7 +502,7 @@ def ok(self): def pageUp(self): if self.page == 0: - if config.EMC.movieinfo.shownewversion.value: + if config.EMC.movieinfo.shownewversion.value and self.spath is not None: self["contenttxt"].pageUp() else: self["previewtext"].pageUp() @@ -510,7 +511,7 @@ def pageUp(self): def pageDown(self): if self.page == 0: - if config.EMC.movieinfo.shownewversion.value: + if config.EMC.movieinfo.shownewversion.value and self.spath is not None: self["contenttxt"].pageDown() else: self["previewtext"].pageDown() diff --git a/src/img/key-green_line.png b/src/img/key-green_line.png index aa6f73c1..bb35f43f 100644 Binary files a/src/img/key-green_line.png and b/src/img/key-green_line.png differ diff --git a/src/img/key_menu_line.png b/src/img/key_menu_line.png index 156541b8..e2de2f41 100644 Binary files a/src/img/key_menu_line.png and b/src/img/key_menu_line.png differ diff --git a/src/img/line_blue.png b/src/img/line_blue.png index 2582d086..a9c95261 100644 Binary files a/src/img/line_blue.png and b/src/img/line_blue.png differ diff --git a/src/img/starsbar_empty_10.png b/src/img/starsbar_empty_10.png index 603de007..5efdaec3 100644 Binary files a/src/img/starsbar_empty_10.png and b/src/img/starsbar_empty_10.png differ diff --git a/src/img/starsbar_filled_10.png b/src/img/starsbar_filled_10.png index 71adb1c7..4c9b51fc 100644 Binary files a/src/img/starsbar_filled_10.png and b/src/img/starsbar_filled_10.png differ