我试着读dis01.nfo的内容,然后播放它
我试过了
link ='bluray://udf%3a%2f%2fC%253a%255cetc%255cdisc1.iso%2f/BDMV/PLAYLIST/00000.mpls'
当我尝试阅读包含此bluray://udf%3a%2f%2fC%253a%255cetc%255cdisc1.iso%2f/BDMV/PLAYLIST/00000.mpls的with 1.nfo时,这种方法仍然不起作用
import xbmc
# read nfo file for episodes (Show\S01\)
# in this format
file = open('C:\etc\disc1.nfo', 'r')
print file.read()
#link='bluray://udf%3a%2f%2fC%253a%255cetc%255cdisc1.iso%2f/BDMV/PLAYLIST/00000.mpls'
#xbmc.Player().play(item=file.read())in /BDMV/播放列表/00000.mpls到kodi的电视节目\S01E01
但是在我的测试脚本中,我很早就被卡住了。
发布于 2015-10-08 19:22:29
您需要创建一个要播放的.strm文件。
打开空白的txt文件,将您的链接放到AAA.strm中。现在你可以运行了。
.NFO只用于从IMDB或TVDB获取信息。
https://stackoverflow.com/questions/31508687
复制相似问题