ExecuteXBMCAction not playing stacked movies correctly
#1
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>
Reply
#2
Put " " around the $INFO[].

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
http://trac.xbmc.org/changeset/24574 - thanks to vdrfan
Reply
#4
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.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
ExecuteXBMCAction not playing stacked movies correctly0