[FileItem] Fix mimetype content lookup
[xbmc.git] / addons / metadata.generic.albums / lib / nfo.py
blobef996ce52b7452195c7074eef43cc2fca96d2d86
1 # -*- coding: utf-8 -*-
3 import re
5 def nfo_geturl(data):
6 result = re.search('https://musicbrainz.org/(ws/2/)?release/([0-9a-z\-]*)', data)
7 if result:
8 return result.group(2)