我试图从 xbmcscripts.com 找到安装脚本,但显然该站点已关闭。“easy_install”都没有给出理想的结果。我正在运行 Ubuntu 11.04,并且安装了 xbmc(媒体中心)并且工作正常。我基本上需要的是能够像这样在 Python 控制台/脚本中导入 xbmc 模块,
import xbmc
url = '<a link to a .flv file goes here'
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(url)
谢谢!