Kodi Community Forum

Full Version: ExecuteXBMCAction not playing stacked movies correctly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It appears that ExecuteXBMCAction doesn't play the whole stack when passed a stacked movie, instead it only plays the first part.

If i play a movie from the "Latest Movies" in my skin this happens. When launched from Movies section in the library it plays fine. Any ideas?


Code:
08:33:45 T:3040720784 M:1720692736   DEBUG: ExecuteXBMCAction : To PlayMedia(stack://smb://user:pass@SERVER/media/Video/Movies/Run/Run-CD1.avi , smb://user:pass@SERVER/media/Video/Movies/Run/Run-CD2.avi , smb://user:pass@SERVER/media/Video/Movies/Run/Run-CD3.avi , smb://user:pass@SERVER/media/Video/Movies/Run/Run-CD4.avi , smb://user:pass@SERVER/media/Video/Movies/Run/Run-CD5.avi)
08:33:45 T:3040720784 M:1720692736    INFO: Loading skin file: DialogContextMenu.xml
08:33:45 T:3040720784 M:1720692736   DEBUG: Load DialogContextMenu.xml: 1.01ms
08:33:45 T:3040720784 M:1720692736   DEBUG: ------ Window Init (DialogContextMenu.xml) ------
08:33:45 T:3040720784 M:1720692736   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
08:33:45 T:3040720784 M:1720692736   DEBUG: ExecuteXBMCAction : Translating -
08:33:45 T:3040720784 M:1720692736   DEBUG: ExecuteXBMCAction : To -
08:33:45 T:3040720784 M:1720692736   ERROR: Keymapping error: no such action '-' defined
08:33:46 T:3040720784 M:1721368576   DEBUG: SDLKeyboard: scancode: 116, sym: 274, unicode: 0, modifier: 0
08:33:46 T:3040720784 M:1721368576   DEBUG: OnKey: 61480 pressed, action is 4
08:33:46 T:3040720784 M:1721368576   DEBUG: ExecuteXBMCAction : Translating -
08:33:46 T:3040720784 M:1721368576   DEBUG: ExecuteXBMCAction : To -
08:33:46 T:3040720784 M:1721368576   ERROR: Keymapping error: no such action '-' defined
08:33:47 T:3040720784 M:1721511936   DEBUG: SDLKeyboard: scancode: 104, sym: 271, unicode: 13, modifier: 0
08:33:47 T:3040720784 M:1721511936   DEBUG: OnKey: 61548 pressed, action is 7
08:33:47 T:3040720784 M:1721511936   DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
08:33:47 T:3040720784 M:1721511936   DEBUG: new file set audiostream:0
08:33:47 T:3040720784 M:1721511936   DEBUG: CPlayerCoreFactory::GetPlayers(smb://user:pass@SERVER/media/Video/Movies/Run/Run-CD1.avi)

I am using the following code to launch the movie from the skin

Code:
<onclick>PlayMedia($INFO[Window.Property(LatestMovie.1.Path)])</onclick>
Put " " around the $INFO[].

Cheers,
Jonathan
Note that the fix (though it works in this case) is incorrect in general. Thus my response.

The best solution is the quotes around the path.