News:

VoxCommando supports plugins for a wide variety of programs and devices. Contact us if you want to create your own.

Main Menu

Speak/say selecteed movie name

Started by Auri, January 30, 2011, 08:39:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wanilton

#60
Hello James,

Good work, it´s ok now...

Play my custom intro, and my coming attraction and the movie file I choosed, but for some reason skipped Trailer, I have a set in the plugin for run 1 trailer too. The amendment must have something to do with it I believe.

Import file attached for your configuration in vox..

In XBMC, browse movies, focus in specific movie, start using the command in attached file...

Wanilton
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

I don't know trailers work fine for me.

Wanilton

I reinstalled the addon, I put the file modified by James, and now this perfect, trailers running ok too, thanks.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

I think it will skip the trailers if no movie is selected.  If you are browsing movies, but no item is selected (bigger cover) then it will not work properly.  For example if you are in showcase and browsing movies, but then you click "down" there will no longer be a movie selected.  Maybe that's why you didn't get your trailers.

Wanilton

#64
The plugin Cinema Experience was update today, I attached file with the mod code of James, now for this new version 1.0.10 addon cinema experience , tested for me and ok for use.

File xbmcscript_player.py already patched properly as instructed by the James, just overwrite the current file in
...\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\xbmcscript_player.py

Update with this fiile, after your get the plugin Cinema Experience version 1.0.10.

I Upload today pack addons for new version skin AeonMQ 2 versiion 2.7.0, for reflecting this change too, download here:
http://github.com/downloads/Wanilton/VoxCommando/addons.zip
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Wanilton

  Re: Cinema

--------------------------------------------------------------------------------

Quote:
Originally Posted by Wanilton
Hello Giftie

I Test this mod by James, from voxcommando and work great with cinema experience and xbmc, without problem in run in videoinfo too.

Look this and feedback for me, please.

I Hope this help you too..

I don't know what happened with that new version of cinema experience that was supposed to be coming out, but the mod for the current one is as follows:
The file...\AppData\Roaming\XBMC\addons\script.cinema. experience\resources\lib\xbmcscript_player.py

can be modified as follows:

line 173 is currently:

Code:
movie_title = self.playlist[ 0 ].getdescription()
we just need to add directly after this new line:
Code:
xbmc.executehttpapi( "Broadcast(CElaunch<li>"+ movie_title +";33000)" )

Then as of version 0.874 (coming soon) we will get an event containing the movie name, which we can use to announce the movie using TTS or whatever.

Also, we can run cinema experience directly from the movie browsing screen (no need to open the info window) with this VC action:

Quote
XBMC.ExecBuiltin RunScript(script.cinema.experience)

Actually you can probably run it from anywhere, but if you aren't on the movie browsing screen it won't know what movie to play, so it will probably just play the intro stuff and then stop. It doesn't make much sense, but you can use it with TV shows too if you want

Answear Giftie

/b]
Starting the script that way with a version below 1.0.11(yes the only version available from the repo is 1.0.10) it wouldn't queue a video to play. Though if you have a movie in focus, it would queue that movie.

The latest version is still in testing.. Quite a few changes have been made. A lot of enhancements. The script will allow for multiple features, so I added this 'announcement' to occur as the Movie starts.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

Quote from: Wanilton on February 19, 2011, 09:26:34 AM

Answear Giftie

/b]
Starting the script that way with a version below 1.0.11(yes the only version available from the repo is 1.0.10) it wouldn't queue a video to play. Though if you have a movie in focus, it would queue that movie.

The latest version is still in testing.. Quite a few changes have been made. A lot of enhancements. The script will allow for multiple features, so I added this 'announcement' to occur as the Movie starts.

XBMC already generates an announcement when the movie starts, so this is useless.  The whole point was to generate an event with the movie name when you first launch the cinema experience.  Where is Gifite writing this?  On a forum, or in a PM ?

Wanilton

#67
James, he´s writing in PM Forum XBMC..one question, in version 0.874, it´s possible using event run cinema experience + name of movie? how?
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

it works EXACTLY the same way as this one: http://voxcommando.com/forum/index.php?topic=98.msg2564#msg2564

just uses a different event name.  when you launch cinema experience the event name will show up in the VC history window and you can copy paste it.  In this event {1} will have the name of the movie, if one was selected when you called cinema experience.

Auri

Quote from: Wanilton on February 18, 2011, 10:29:02 AM
The plugin Cinema Experience was update today, I attached file with the mod code of James, now for this new version 1.0.10 addon cinema experience , tested for me and ok for use.

File xbmcscript_player.py already patched properly as instructed by the James, just overwrite the current file in
...\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\xbmcscript_player.py

Update with this fiile, after your get the plugin Cinema Experience version 1.0.10.

I Upload today pack addons for new version skin AeonMQ 2 versiion 2.7.0, for reflecting this change too, download here:
http://github.com/downloads/Wanilton/VoxCommando/addons.zip


Sorry for the late response on this one, but was giftie not putting the mod from james in the new version ?
Challenge us at your own peril!

Auri

James,

Could you list here how all of the above works now ?
I kind of lost it all in this big thread and I'm having difficulties re-reading it all and understand it again :D

What works now and how ? (I have the latest CE version, the latest patched VC version and the CE player python script hack posted here in this thread by you)

Regards
Auri
Challenge us at your own peril!

Wanilton

#71
Auri, it´s go in next version Cinema Experience. 1.0.11. but dowload this pack of addons, this ok now for use with vox.
http://github.com/downloads/Wanilton/VoxCommando/addons.zip

All addons necessary for new version skin aeon65MQ Version 2.7.0, include mod of cinema experience...it´s ok for me.

www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Wanilton

Import this for you command tree in VOX, run XBMC, browse movie, focus one movie, start with command in the file..done
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Auri

It's not working in VC's history panel I see "XBMC.ExecBuiltin:RunScript(script.cinema.experience)" is called upon my voice command but nothing happends in XBMC.

In XBMC I got the movie highlighted and current focus is in XBMC.
When I use the CE button in the movie info windows it works, but not with voice command.

Anything I overlooked ?
Challenge us at your own peril!

jitterjames

I don't think so, it should work.  I can't imagine why it doesn't.