For Your Amusement... (I tried to merge View Script Variables with Infodialog)

Tags: #<Tag:0x00007f8395baf070>

At least it’s now back to showing two working tabs instead of showing me Artwork under a Tab labeled as Variables…

from collections import namedtuple
import os.path
import re
import traceback

from PyQt5 import (
    QtCore,
    QtGui,
    QtWidgets,
)
try:
    from picard.util.tags import PRESERVED_TAGS
except ImportError:
    from picard.file import File
    PRESERVED_TAGS = File._default_preserved_tags

from picard import log
from picard.album import Album
from picard.coverart.image import CoverArtImageIOError
from picard.file import File
from picard.track import Track
# from picard.ui.itemviews import BaseAction, register_file_action, register_track_action
from picard.util import (
    bytes2human,
    encode_filename,
    format_time,
    htmlescape,
    union_sorted_lists,
)

from picard.ui import PicardDialog
from picard.ui.ui_infodialog import Ui_InfoDialog
#from picard.plugins.viewvariables.ui_variables_dialog import Ui_VariablesDialog

from picard.ui.util import StandardButton

Go ahead, laugh: