forked from pool/picard
Olaf Hering
b6d44fd48e
- Update to version 1.4.0 * Bugfix: AcoustID submission fails with code 299 (PICARD-82) * Bugfix: Ignoring "hip hop rap" folksonomy tags also ignores "rap", "hip hop", etc. (PICARD-335) * Bugfix: Picard downloads multiple 'front' images instead of just first one. (PICARD-350) * Bugfix: Saving hidden file with only an extension drops the extension (PICARD-357) * Bugfix: Add directory opens in "wrong" dir (PICARD-366) * Bugfix: Picard should de-duplicate work lists (PICARD-375) * Bugfix: Tree selector in Options window is partially obscured, pane too narrow (PICARD-408) * Bugfix: tag acoustid_id can not be removed or deleted in script, renaming or plugin (PICARD-419) * Bugfix: Can't remove value from field (PICARD-546) * Bugfix: Can't open Options (PICARD-592) * Bugfix: "Tags from filenames" action stays enabled even if it is unavailable. (PICARD-688) * Bugfix: Using the first image type as filename changes the name of front images (PICARD-701) * Bugfix: Fingerprint Submission Failes if AcoustID tags are present and/or invalid (PICARD-706) * Bugfix: Picard moves into the selected folder (PICARD-726) * Bugfix: Picard does not support (recording) relationship credits (PICARD-730) * Bugfix: Picard repeats/duplicates field data (PICARD-748) * Bugfix: Number of pending web requests is not decremented on exceptions in the handler (PICARD-751) * Bugfix: Divide by zero error in _convert_folksonomy_tags_to_genre when no tag at the release/release group level ( PICARD-753) * Bugfix: Directory tree (file browser) not sorted for non-system drives under Windows (PICARD-754) * Bugfix: Crash when loading release with only zero count tags (PICARD-759) * Bugfix: No name and no window grouping in gnome-shell Alt-Tab app switcher (PICARD-761) * Bugfix: Lookup in Browser does not and can not load HTTPS version of musicbrainz.org (PICARD-764) * Bugfix: Unable to login using oauth via Picard options with Server Port set to 443 (PICARD-766) * Bugfix: "AttributeError: 'MetadataBox' object has no attribute 'resize_columns'" when enabling the cover art box ( PICARD-775) * Bugfix: Pre-gap tracks are not counted in absolutetracknumber (PICARD-778) * Bugfix: CAA cover art provider runs even if cover art has already been loaded (PICARD-780) * Bugfix: Toggling Embed Cover Art in Tags and restarting doesn't have the expected behavior (PICARD-782) * Bugfix: XMLWS redirects incorrectly (PICARD-788) * Bugfix: Handle empty collection-list in web server response (PICARD-798) OBS-URL: https://build.opensuse.org/request/show/457107 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=47
52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
From 5eadc2556046fef1a5d25d4735493db90551c3f2 Mon Sep 17 00:00:00 2001
|
|
From: Sambhav Kothari <sambhavs.email@gmail.com>
|
|
Date: Sun, 22 Jan 2017 18:54:15 +0530
|
|
Subject: [PATCH 5/9] Update mainwindow to display original coverart
|
|
|
|
---
|
|
picard/ui/mainwindow.py | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/picard/ui/mainwindow.py b/picard/ui/mainwindow.py
|
|
index 3229f6b7..e34e24ce 100644
|
|
--- a/picard/ui/mainwindow.py
|
|
+++ b/picard/ui/mainwindow.py
|
|
@@ -892,15 +892,17 @@ class MainWindow(QtGui.QMainWindow):
|
|
self.update_actions()
|
|
|
|
metadata = None
|
|
+ orig_metadata = None
|
|
obj = None
|
|
|
|
# Clear any existing status bar messages
|
|
self.set_statusbar_message("")
|
|
|
|
if len(objects) == 1:
|
|
obj = list(objects)[0]
|
|
if isinstance(obj, File):
|
|
metadata = obj.metadata
|
|
+ orig_metadata = obj.orig_metadata
|
|
if obj.state == obj.ERROR:
|
|
msg = N_("%(filename)s (error: %(error)s)")
|
|
mparms = {
|
|
@@ -914,6 +916,7 @@ class MainWindow(QtGui.QMainWindow):
|
|
metadata = obj.metadata
|
|
if obj.num_linked_files == 1:
|
|
file = obj.linked_files[0]
|
|
+ orig_metadata = file.orig_metadata
|
|
if file.state == File.ERROR:
|
|
msg = N_("%(filename)s (%(similarity)d%%) (error: %(error)s)")
|
|
mparms = {
|
|
@@ -934,7 +937,7 @@ class MainWindow(QtGui.QMainWindow):
|
|
|
|
self.metadata_box.selection_dirty = True
|
|
self.metadata_box.update()
|
|
- self.cover_art_box.set_metadata(metadata, obj)
|
|
+ self.cover_art_box.set_metadata(metadata, orig_metadata, obj)
|
|
self.selection_updated.emit(objects)
|
|
|
|
def show_cover_art(self):
|
|
--
|
|
2.11.0
|
|
|