The plugin can not be installed, nothing happens when the green arrow is pressed. When you try to manually install from a zip file, a message pops up:
Manual installation of the .py file is successful, but the plugin does not work and is not visible in the plug-in window. Tested with versions: 2.1, 2.1.3, 2.2.0.dev1 (python3.7.2_20190312182933).
Manual edition of PLUGIN_API_VERSIONS in init.py also don’t work.
# -*- coding: UTF-8 -*- # # Licensing # # Add Album Column, Add the Album column to the main window panel # Copyright (C) 2019 Evandro Coan <https://github.com/evandrocoan> # # Redistributions of source code must retain the above # copyright notice, this list of conditions and the # following disclaimer. # # Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials # provided with the distribution. # # Neither the name Evandro Coan nor the names of any # contributors may be used to endorse or promote products # derived from this software without specific prior written # permission. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or ( at # your option ) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # PLUGIN_NAME = u"Add Album Column" PLUGIN_AUTHOR = u"Evandro Coan" PLUGIN_DESCRIPTION = """Add the Album column to the main window panel. WARNING: This plugin cannot be disabled. See: https://github.com/metabrainz/picard-plugins/pull/195 """ PLUGIN_VERSION = "1.0" PLUGIN_API_VERSIONS = ["2.0", "2.1", "2.1.3", "2.2.0.dev1"] PLUGIN_LICENSE = "GPL-3.0-or-later" PLUGIN_LICENSE_URL = "http://www.gnu.org/licenses/" from picard.ui.itemviews import MainPanel MainPanel.columns.append((N_('Album'), 'album'))
The second thing, if we add a command to the file:
from picard.ui.itemviews import MainPanel MainPanel.columns.append((N_('Album'), 'album')) MainPanel.columns.append((N_('Catalog#'), 'catalognumber'))
is a column with catalognumber displayed in the program window?