-+ Extract lyrics from the file meta data (tags)
-+ Currently supported formats:
-+ - ogg/vorbis files with "LYRICS" and "SYNCLYRICS" tag
+ self.callback = callback
+-
++
+ status = self.verify_lyric()
+-
+ if status:
+ f = open(self.cache_path, 'rt')
+ text = f.read()
+@@ -155,20 +167,73 @@ class LyricGrabber(object):
+ self.callback(text)
+ elif cache_only:
+ self.callback(_("No lyrics found"))
+- elif self.artist == "" and self.title == "":
+- self.callback(_("No lyrics found"))
+ else:
+- def lyric_callback (text):
+- if text is not None:
+- f = open(self.cache_path, 'wt')
+- f.write (text)
+- f.close ()
+- self.callback(text)
+- else:
+- self.callback(_("No lyrics found"))
++ self.search_tags()
++
++ def search_tags(self):
++ """
++ Initiate fetching meta tags.
++
++ Result will be handled in search_tags_result