Author Topic: Speak/say selecteed movie name  (Read 40994 times)

0 Members and 1 Guest are viewing this topic.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #60 on: February 16, 2011, 09:59:55 AM »
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
« Last Edit: February 20, 2011, 09:20:19 AM by 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #61 on: February 16, 2011, 10:13:40 AM »
I don't know trailers work fine for me.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #62 on: February 16, 2011, 11:34:43 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #63 on: February 16, 2011, 11:37:56 AM »
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

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #64 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
« Last Edit: February 18, 2011, 10:37:35 AM by 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

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #65 on: February 19, 2011, 09:26:34 AM »
  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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #66 on: February 19, 2011, 09:29:57 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

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #67 on: February 19, 2011, 09:35:43 AM »
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?
« Last Edit: February 19, 2011, 09:37:47 AM by 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #68 on: February 19, 2011, 11:00:36 AM »
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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 150
  • Karma: 0
    • View Profile
Re: Speak/say selecteed movie name
« Reply #69 on: February 20, 2011, 08:43:58 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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 150
  • Karma: 0
    • View Profile
Re: Speak/say selecteed movie name
« Reply #70 on: February 20, 2011, 09:16:36 AM »
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

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #71 on: February 20, 2011, 09:17:54 AM »
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.

« Last Edit: February 20, 2011, 10:21:10 AM by 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

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Speak/say selecteed movie name
« Reply #72 on: February 20, 2011, 09:22:30 AM »
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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 150
  • Karma: 0
    • View Profile
Re: Speak/say selecteed movie name
« Reply #73 on: February 20, 2011, 09:51:44 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #74 on: February 20, 2011, 10:37:47 AM »
I don't think so, it should work.  I can't imagine why it doesn't.