我正在尝试使用python在vlc上传输网络链接。
我的代码是:
Instance = vlc.Instance()
player = Instance.media_player_new()
Media = Instance.media_new_location(url)
player.set_media(Media)
player.set_title(1)
player.set_video_title_display(6,5000)
player.play()
我一直收到与Cfuntcion相关的错误
TypeError: Error when calling the metaclass bases item 2 in _argtypes_ has no from_param method
任何想法如何修复它?或者我如何在播放器上显示我需要的任何标题?