right im building a playlist and the url is grabbed seperatley
now when i try and play the playlist it only plays one and hasnt stored all ?
would i have to build a cache file first to cache all urls then add all to playlist?
i have tried that and still no luck
Code:
def Music_Playlist_Link(name,url,iconimage,artist,album):
link = OPEN_URL(url)
match=re.compile('class="primary_link">(.+?)</a>').findall(link)
liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name, "Plot": description } )
liz.setProperty('mimetype', 'audio/mpeg')
pl=xbmc.PlayList(xbmc.PLAYLIST_MUSIC)
pl.clear()
for name in match:
url=for_download(name,artist)<--------------------------------Grab All Urls
pl.add(url,liz)
xbmc.Player(xbmc.PLAYER_CORE_MPLAYER).play(pl)
now when i try and play the playlist it only plays one and hasnt stored all ?
would i have to build a cache file first to cache all urls then add all to playlist?
i have tried that and still no luck