Skip to content

Instantly share code, notes, and snippets.

👾
Saving the world

Sergio Soto bajosoto

👾
Saving the world
View GitHub Profile
View kodinfo.py
from beets.plugins import BeetsPlugin
class KodiNfo(BeetsPlugin):
def __init__(self):
super(KodiNfo, self).__init__()
self.register_listener('album_imported', self.makeAlbumNfo)
self.register_listener('item_imported', self.makeItemNfo)
def makeAlbumNfo(self, lib, album):
link = 'https://musicbrainz.org/release/{0}'
You can’t perform that action at this time.