Playlist help ARRGGHH!!
#1
right im building a playlist and the url is grabbed seperatley

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
Reply

Logout Mark Read Team Forum Stats Members Help
Playlist help ARRGGHH!!0