-
This commit is contained in:
8
Kodi/Lenovo/addons/metadata.generic.albums/lib/nfo.py
Normal file
8
Kodi/Lenovo/addons/metadata.generic.albums/lib/nfo.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import re
|
||||
|
||||
def nfo_geturl(data):
|
||||
result = re.search('https://musicbrainz.org/(ws/2/)?release/([0-9a-z\-]*)', data)
|
||||
if result:
|
||||
return result.group(2)
|
||||
Reference in New Issue
Block a user