Browse Source

Bump version & references

master 0.1.6
Felix 4 years ago
parent
commit
fe763ff3b4
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      README.md
  2. +4
    -4
      tangoinfo.py

+ 1
- 1
README.md View File

@ -4,7 +4,7 @@ Automatically get *genre, date and singers* from **tango.info**, right inside of
# Usage
You will need MusicBrainz Picard.
Download the [latest release](https://git.ix5.org/felix/picard-tangoinfo/archive/0.1.zip) of this plugin and unzip it.
Download the [latest release](https://git.ix5.org/felix/picard-tangoinfo/archive/0.1.6.zip) of this plugin and unzip it.
Put `tangoinfo.py` into your *plugin directory*.


+ 4
- 4
tangoinfo.py View File

@ -8,7 +8,7 @@ PLUGIN_DESCRIPTION = """
it does not cause unnecessary server load for either MusicBrainz.org
or tango.info</p>
"""
PLUGIN_VERSION = "0.1.5"
PLUGIN_VERSION = "0.1.6"
PLUGIN_API_VERSIONS = ["1.3.0", "1.4.0"]
PLUGIN_LICENSE = "GPL-2.0"
PLUGIN_LICENSE_URL = "https://www.gnu.org/licenses/gpl-2.0.html"
@ -183,9 +183,9 @@ class TangoInfoTagger:
fm = file.metadata
for field in ['genre', 'date', 'vocal']:
# Write file metadata
if self.albumpage_cache[barcode][tint][field]:
fm[field] = self.albumpage_cache[
barcode][tint][field]
if not self.albumpage_cache[barcode][tint].get(field):
continue
fm[field] = self.albumpage_cache[barcode][tint][field]
self.album_remove_request(album)
else:
if zeros >= 2:


Loading…
Cancel
Save