From b5deacf2743dae768d5375d5d98629c47628c4d256202d87319dd7125e71ef7f Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 17 Feb 2017 10:17:01 +0000 Subject: [PATCH] - Drop bonusdisc.py, URL disappeared OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=48 --- bonusdisc.py | 30 ------------------------------ picard.changes | 5 +++++ picard.spec | 2 -- 3 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 bonusdisc.py diff --git a/bonusdisc.py b/bonusdisc.py deleted file mode 100644 index 4968c82..0000000 --- a/bonusdisc.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- - -PLUGIN_NAME = 'Bonus Disc' -PLUGIN_AUTHOR = 'Jan van Thiel' -PLUGIN_DESCRIPTION = '''Based on a script by Lukas Lalinsky.
-
-Moves bonus disc and bonus disc titles from album titles to separate tags. For example:
-"Sleeping With Ghosts (bonus disc: Covers)" -''' -PLUGIN_VERSION = "0.1" -PLUGIN_API_VERSIONS = ["0.9.0", "0.10", "0.15"] - -from picard.metadata import register_album_metadata_processor -import re - -_bonusdisc_re = re.compile(r"\s+\(bonus disc(?::\s+([^)]+))?\)") - -def remove_bonusdiscs(tagger, metadata, release): - matches = _bonusdisc_re.search(metadata["album"]) - if matches: - metadata["bonusdisc"] = "bonus" - if matches.group(1): - metadata["bonusdisctitle"] = matches.group(1) - metadata["album"] = _bonusdisc_re.sub('', metadata["album"]) - -register_album_metadata_processor(remove_bonusdiscs) diff --git a/picard.changes b/picard.changes index 2f41410..1b128cb 100644 --- a/picard.changes +++ b/picard.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 17 10:16:22 UTC 2017 - olaf@aepfle.de + +- Drop bonusdisc.py, URL disappeared + ------------------------------------------------------------------- Tue Feb 14 12:34:42 UTC 2017 - alarrosa@suse.com diff --git a/picard.spec b/picard.spec index db52bbe..c0b93a2 100644 --- a/picard.spec +++ b/picard.spec @@ -35,7 +35,6 @@ Patch7: 0007-Add-i18n-support-to-coverart-labels.patch Patch8: 0008-Add-view-coverart-changes-button.patch Patch9: 0009-Add-spacer-item-to-push-coverartbox-items-to-top.patch # http://wiki.musicbrainz.org/Picard_Plugins -Source2: http://dispuutivv.nl/~jan/bonusdisc.py Source8: https://github.com/brianfreud/Picard-plugins/blob/master/SearchAmazon3.py Source9: https://github.com/brianfreud/Picard-plugins/blob/master/SearchAMG.py Source10: https://github.com/brianfreud/Picard-plugins/blob/master/SearchCastAlbums3.py @@ -89,7 +88,6 @@ python setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot} # install plugins PLUGINDIR=%{buildroot}%{py_sitedir}/picard/plugins/ -install -m 0644 %{SOURCE2} ${PLUGINDIR} install -m 0644 %{SOURCE8} ${PLUGINDIR} install -m 0644 %{SOURCE9} ${PLUGINDIR} install -m 0644 %{SOURCE10} ${PLUGINDIR}