Player receives metadata now

This commit is contained in:
Manuel Cortez 2020-07-08 16:39:17 -05:00
parent 6aeffd57bb
commit 0768ecc24f

View File

@ -132,7 +132,7 @@ class audioPlayer(object):
#https://github.com/ZeBobo5/Vlc.DotNet/issues/4 #https://github.com/ZeBobo5/Vlc.DotNet/issues/4
call_threaded(self.next) call_threaded(self.next)
def transcode_audio(self, item, path, _format="mp3", bitrate=320): def transcode_audio(self, item, path, _format="mp3", bitrate=320, metadata=dict()):
""" Converts given item to mp3. This method will be available when needed automatically.""" """ Converts given item to mp3. This method will be available when needed automatically."""
if item.download_url == "": if item.download_url == "":
item.get_download_url() item.get_download_url()