VoxCommando
Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: ryz4eva on January 10, 2014, 03:01:20 PM
-
hi. was hoping somebody could help me set up the cinema experience addon for xbmc. i want it so that i can say "play film *ABC* in cinema mode" and it runs however im struggling because of alll the coding throughout the information.
cheers
-
can i add that i was hoping to use the xperience1080 skin, which isnt supported in the compatible list
-
Sorry, are you asking VC users how to install the CE add-on in XBMC Frodo?
Or do you already have the add-on installed and you're asking how to build a voice command in VoxCommando to play a film with a CE intro?
Or something else?
-
I already have the CE add on, I was wondering how to build a comand with the CE intro
-
Is CE already working correctly for you in your current setup, and with your current skin?
-
CE works currently by using the replace play experimental feature however I want to be able to ask vox to run it, instead of forcing it every time.
It is not compatible with my current skin as far as I am aware (no ability to get "cinema" subheadings option
-
Hopefully the skin won't matter since VC can initiate it.
Here is a command that works for me. The way to say the command will be "take me out to watch Avatar.
<?xml version="1.0" encoding="utf-16"?>
<command id="404" name="Take me out to watch {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Enjoy watching: {PF.1}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>XJson.Raw</cmdType>
<cmdString>Addons.ExecuteAddon&& "wait": false, "addonid": "script.cinema.experience", "params": [ "movieid={1}" ]</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Take me out to watch</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcMovieIDs.xml</payloadFromXML>
</command>
-
Here is the command for double feature.
Be advised that if you have a lot of movies you won't want to have 3 different commands that are all using the same payloadXML for your movies.
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="True" name="ce double feature" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="430" name="double feature {1} and {2}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Enjoy watching: {PF.1}, followed by {PF.2}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>XJson.Raw</cmdType>
<cmdString>Addons.ExecuteAddon&& "wait": false, "addonid": "script.cinema.experience", "params": [ "movieid={1};{2}" ]</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>double feature</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcMovieIDs.xml</payloadFromXML>
<phrase>and</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcMovieIDs.xml</payloadFromXML>
</command>
</commandGroup>
-
For future reference, if you look carefully at the documentation for the CE addon and compare it to the command that jitterjames shared above, it should help you to figure out how to build commands from scratch in the future.
You wanted to know how to start the addon script using a voice command, so the part of the CE documentation you need to look at is: http://wiki.xbmc.org/index.php?title=Add-on:Cinema_Experience#Script_Starting_Methods (in particular, section 5.3.1.2 - Movie ID).
It's not really a lot of code, but just one line. As you can see by looking at the command jitterjames provided, in VC this is implemented via the XJson.Raw action.
A helpful place to start is to look for similar commands that came in your VC configuration when you installed it.
There is, for example, a command group called "XBMC Addons", in which there is already a command -- "download subtitles" -- that uses very similar syntax to that specified in the documentation for the Cinema Experience Addon. That would have made a good starting point. After that, the only VC-specific aspect one needs to understand is how to use payloads.
jitterjames is a wizard at providing us with custom commands at short notice, but in the long run that can make it difficult to understand what's happening. :)
-
im struggling because of alll the coding throughout the information.
What does that mean anyway?
-
I am trying the code in Reply #6 above. It works however if I stop the movie and then try to play another movie XBMC freezes. I then have to restart the PC to be able to open XBMC again. When not using "Take me out to watch" there is no problem. Could this be related to Cinema Experience? If so I would then also post on their site. Any help would be appreciated. If more info is required please advise.
XBMC Gotham 13.1
VC 2.000RC1
Tried on Confluence and Aeon MQ5
-
Cinema experience seems to have a variety of problems running on Gotham. It has nothing to do with VoxCommando.
I found that I could not use CE at all without making XBMC instantly lock up, unless I played a movie normally before trying to use CE. I also found that it often would skip the trailer, which is pretty much the only reason I (personally) would use CE anyway.
Hopefully Giftie is still working on it and will fix the problems. I suggest you report your problems on the CE thread of the XBMC forum and monitor that forum for updates.
By the way, if a program freezes, instead of rebooting your PC you can usually use Windows Task Manager to kill the process.
-
Thanks. Will do.
-
Cinema experience seems to have a variety of problems running on Gotham. It has nothing to do with VoxCommando.
I found that I could not use CE at all without making XBMC instantly lock up, unless I played a movie normally before trying to use CE. I also found that it often would skip the trailer, which is pretty much the only reason I (personally) would use CE anyway.
Hopefully Giftie is still working on it and will fix the problems. I suggest you report your problems on the CE thread of the XBMC forum and monitor that forum for updates.
By the way, if a program freezes, instead of rebooting your PC you can usually use Windows Task Manager to kill the process.
Found this V 4.0.13. So far it's working.
https://github.com/Giftie/script.cinema.experience
For Gotham, click arrow on top.
-
Better, but still crashing for me.
-
Better, but still crashing for me.
Is this the one you used?
https://github.com/Giftie/script.cinema.experience/tree/Gotham
-
Yes, from there I clicked "Download ZIP" on the bottom right.
Then in XBMC I used "addons... install from zip"
This results in the installation of version 4.0.13.
Isn't this your post?: http://forum.xbmc.org/showthread.php?tid=87563&pid=1760021#pid1760021
Actually, I think now it is not necessarily freezing, just that if I stop playback the screen goes black and it looks dead... but then if I say "go home" it works.
-
Yes that's my post. After posting that I did get it to download and the freezing no longer existed. Today I have done some more testing and I am now also getting the black screen. Sometimes it does return to the home screen. I will now post on the CE site to see if there is a resolution.
-
Update
When stopping play in the intro, the black screen is visible. "Go Home" takes it out of black screen and back to home screen. However if I stop play during the movie and not in the intro, it goes directly back to the home screen.