def next_track(self):
'''special entry which tells the remote connect player to move to the next track'''
# move to next track
self.sp.next_track()
# play next track
xbmc.sleep(100)
cur_playback = self.sp.current_playback()
trackdetails = cur_playback["item"]
url, li = parse_spotify_track(trackdetails, silenced=True)
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, li)
plugin_content.py 文件源码
python
阅读 17
收藏 0
点赞 0
评论 0
评论列表
文章目录