xbmc/xbmc — pull request #2567 by Tolriq (2013-04-08 16:07:59+00:00)
Title: Add media parameter to Playlist.Item directory type

Allow complete control from remote of the media to add, now permit a correct Player.Open on directories with mixed items.
Also permit to have metadata loaded when files are added from Player.Open
The cases where user force a wrong type for a specific playlist type is already handled in the code and return the FailedToExecute error.

@Montellese for review.
With previous commit should handle all needs from http://forum.xbmc.org/showthread.php?tid=154373