Kodi Community Forum

Full Version: .playselected(int) not working with Video Playlist
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyone else noticed this?

If i have a playlist of videos.
And try to use:
player.playselected(2)
it fails.
At the moment, i have to player.play(plist) then player.next() until i get to the movie i wish to play.

This is for my ResumeX script.

Any help would be greatly appreciated

I looked at the player.cpp file in the xbmc source.
Appears the playselected() always forces the playlist type to a music playlist... but i can't build xbmc at the moment so can't test a fix Tongue

Thanks!
Post a ticket on trac with everything we need to reproduce (and any ideas you have to fix it).

Cheers,
Jonathan
Hi,I have the same problem:
when I use this:
xbmc.Player().play(xbmc.PlayList(1))
It's worked,and begin the first video.
But if I wish to begin the 5th video,
xbmc.Player().playselected(5)
nothing played,and nothing in log.

I use XBMC V11(Eden).

Anyone can help me? Thanks.