Kodi Community Forum
[RELEASE] Cinema Experience - the new Home Theater Experience Script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Cinema Experience - the new Home Theater Experience Script (/showthread.php?tid=87563)



RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - ijourneaux - 2013-01-29

Giftie
Just a brief note to say thanks for the Frodo update. That was the onlything holding me back from upgrading. Take Care


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-29

(2013-01-28, 21:06)storstenson Wrote: Hi

I'm trying to use the new broadcast code posted for broadcasting events to eventghost;

self.broadcastUDP("eventname&&extrainfo")

def broadcastUDP(self,data):
IPADDR = '255.255.255.255'
PORTNUM = 33000
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
s.connect((IPADDR, PORTNUM))
s.send(data)
s.close()

But I cant make it work. Can someone perhaps make a home_automation.py with the code implanted? It would have been great helpSmile!

I'd be ever so grateful too. Just looking at that makes my head hurt.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-29

(2013-01-29, 05:04)Tomkun Wrote:
(2013-01-28, 21:06)storstenson Wrote: Hi

I'm trying to use the new broadcast code posted for broadcasting events to eventghost;

self.broadcastUDP("eventname&&extrainfo")

def broadcastUDP(self,data):
IPADDR = '255.255.255.255'
PORTNUM = 33000
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
s.connect((IPADDR, PORTNUM))
s.send(data)
s.close()

But I cant make it work. Can someone perhaps make a home_automation.py with the code implanted? It would have been great helpSmile!

I'd be ever so grateful too. Just looking at that makes my head hurt.

I do have this working.. It will be part of the next release(still more things to go before that happens....)

but in the mean time...

after the following:
Code:
import xbmc, xbmcaddon
add
Code:
import socket

add the following before def activate_on( trigger == "None" ):
Code:
def broadcastUDP( data, port = 8278 ): # XBMC's former HTTP API output port is 8278
    IPADDR = '255.255.255.255'
    PORTNUM = port
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
    s.connect((IPADDR, PORTNUM))
    s.send(data)
    s.close()

change your script from this:
Code:
xbmc.executehttpapi( "Broadcast(<b>CE_Automate<li>script_start</b>)" )

to this:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>" )

if you need to have a different port number just add it like so:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", port = 8900 )
or
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", 8900 )  # the port = is optional


or just download this file -> http://www.mediafire.com/file/l834hqkb8on8f5o/home_automation(3).py
be sure to rename it to 'home_automation.py' and save it in the userdata/addon_data/script.cinema.experience/ha_scripts folder

This should allow you to use the XBMC Event Receiver plug-in in EventGhost like it was before(pertaining to the script that is) so you shouldn't have to make any changes to EventGhost, just make sure that XBMC Broadcast IP is set to 255.255.255.255




RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-29

(2013-01-29, 07:37)giftie Wrote:
(2013-01-29, 05:04)Tomkun Wrote:
(2013-01-28, 21:06)storstenson Wrote: Hi

I'm trying to use the new broadcast code posted for broadcasting events to eventghost;

self.broadcastUDP("eventname&&extrainfo")

def broadcastUDP(self,data):
IPADDR = '255.255.255.255'
PORTNUM = 33000
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
s.connect((IPADDR, PORTNUM))
s.send(data)
s.close()

But I cant make it work. Can someone perhaps make a home_automation.py with the code implanted? It would have been great helpSmile!

I'd be ever so grateful too. Just looking at that makes my head hurt.

I do have this working.. It will be part of the next release(still more things to go before that happens....)

but in the mean time...

after the following:
Code:
import xbmc, xbmcaddon
add
Code:
import socket

add the following before def activate_on( trigger == "None" ):
Code:
def broadcastUDP( data, port = 8278 ): # XBMC's former HTTP API output port is 8278
    IPADDR = '255.255.255.255'
    PORTNUM = port
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
    s.connect((IPADDR, PORTNUM))
    s.send(data)
    s.close()

change your script from this:
Code:
xbmc.executehttpapi( "Broadcast(<b>CE_Automate<li>script_start</b>)" )

to this:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>" )

if you need to have a different port number just add it like so:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", port = 8900 )
or
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", 8900 )  # the port = is optional


or just download this file -> http://www.mediafire.com/file/l834hqkb8on8f5o/home_automation(3).py
be sure to rename it to 'home_automation.py' and save it in the userdata/addon_data/script.cinema.experience/ha_scripts folder

This should allow you to use the XBMC Event Receiver plug-in in EventGhost like it was before(pertaining to the script that is) so you shouldn't have to make any changes to EventGhost, just make sure that XBMC Broadcast IP is set to 255.255.255.255

Thanks! I'll try it soon!




RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - storstenson - 2013-01-29

(2013-01-29, 09:30)Tomkun Wrote:
(2013-01-29, 07:37)giftie Wrote:
(2013-01-29, 05:04)Tomkun Wrote: I'd be ever so grateful too. Just looking at that makes my head hurt.

I do have this working.. It will be part of the next release(still more things to go before that happens....)

but in the mean time...

after the following:
Code:
import xbmc, xbmcaddon
add
Code:
import socket

add the following before def activate_on( trigger == "None" ):
Code:
def broadcastUDP( data, port = 8278 ): # XBMC's former HTTP API output port is 8278
    IPADDR = '255.255.255.255'
    PORTNUM = port
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
    s.connect((IPADDR, PORTNUM))
    s.send(data)
    s.close()

change your script from this:
Code:
xbmc.executehttpapi( "Broadcast(<b>CE_Automate<li>script_start</b>)" )

to this:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>" )

if you need to have a different port number just add it like so:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", port = 8900 )
or
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", 8900 )  # the port = is optional


or just download this file -> http://www.mediafire.com/file/l834hqkb8on8f5o/home_automation(3).py
be sure to rename it to 'home_automation.py' and save it in the userdata/addon_data/script.cinema.experience/ha_scripts folder

This should allow you to use the XBMC Event Receiver plug-in in EventGhost like it was before(pertaining to the script that is) so you shouldn't have to make any changes to EventGhost, just make sure that XBMC Broadcast IP is set to 255.255.255.255

Thanks! I'll try it soon!

Thank you so much! It works greatSmile

Just two small errors.

1. On resume and pause, there is no trigger sendt. (it is checked for in the HA options within CE settings)
2. Eventghost pops up with this error as soon as se CE scripts starts (with or without your extra code)

JSON unrecogniced event type:
Raw event: {u'params': {u'data': {u'playlistid': 1}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Playlist.OnClear'}



RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-29

(2013-01-29, 10:10)storstenson Wrote:
(2013-01-29, 09:30)Tomkun Wrote:
(2013-01-29, 07:37)giftie Wrote: I do have this working.. It will be part of the next release(still more things to go before that happens....)

but in the mean time...

after the following:
Code:
import xbmc, xbmcaddon
add
Code:
import socket

add the following before def activate_on( trigger == "None" ):
Code:
def broadcastUDP( data, port = 8278 ): # XBMC's former HTTP API output port is 8278
    IPADDR = '255.255.255.255'
    PORTNUM = port
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
    s.connect((IPADDR, PORTNUM))
    s.send(data)
    s.close()

change your script from this:
Code:
xbmc.executehttpapi( "Broadcast(<b>CE_Automate<li>script_start</b>)" )

to this:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>" )

if you need to have a different port number just add it like so:
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", port = 8900 )
or
Code:
broadcastUPD( "<b>CE_Automate<li>script_start</b>", 8900 )  # the port = is optional


or just download this file -> http://www.mediafire.com/file/l834hqkb8on8f5o/home_automation(3).py
be sure to rename it to 'home_automation.py' and save it in the userdata/addon_data/script.cinema.experience/ha_scripts folder

This should allow you to use the XBMC Event Receiver plug-in in EventGhost like it was before(pertaining to the script that is) so you shouldn't have to make any changes to EventGhost, just make sure that XBMC Broadcast IP is set to 255.255.255.255

Thanks! I'll try it soon!

Thank you so much! It works greatSmile

Just two small errors.

1. On resume and pause, there is no trigger sendt. (it is checked for in the HA options within CE settings)
2. Eventghost pops up with this error as soon as se CE scripts starts (with or without your extra code)

JSON unrecogniced event type:
Raw event: {u'params': {u'data': {u'playlistid': 1}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Playlist.OnClear'}

It works just fine here; the only quibble is that some events seem to take a few seconds to fire, but I don't think that is a problem with the script.

Thanks Giftie!




RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - bluenote - 2013-01-30

Hey giftie

I'm so pleased to be able to enjoy your addon on Frodo now Smile

Only one thing - I previously used XBMC library, but now that that is broken I am trying to use local folder.
I have some xyz-trailer.mov files in the same directories as my movies, ex:
F:/videos/movies/batman/batman-trailer.mov
F:/videos/movies/superman/superman-trailer.mov

etc

But this produces some various errors in the log. let me excerpt for your convenience:

Quote:20:22:52 T:3628  NOTICE: -->Python Interpreter Initialized<--
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Script Name: Cinema Experience
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Script ID: script.cinema.experience
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Script Version: 3.0.0
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Starting Window ID: 10025
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Video Playlist Cleared
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Music Playlist Cleared
20:22:54 T:3628  NOTICE: [ script.cinema.experience ] - Action(Queue,25)
20:22:55 T:3628  NOTICE: [ script.cinema.experience ] - Library_view: oldway
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Storing Playlist in memory
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Retrieving Movie Details
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Storing Playlist in memory
20:22:55 T:3628  NOTICE: [script.cinema.experience] - [ce_playlist.py] - Rebuilding Playlist
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Storing Playlist in memory
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Retrieving Movie Details
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Building Cinema Experience Playlist
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Adding Countdown Videos: 1 Video(s)
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Adding Audio Format Video
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Adding Feature Presentation Intro Videos: 1 Videos
20:22:55 T:3628  NOTICE: [script.cinema.experience] - Retriving Trailers: 3 Trailers
20:22:55 T:3628  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Local Folder Trailer Scraper Started
20:22:55 T:3628  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Fetching Trailers
20:22:55 T:3628  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Getting Watched List
20:23:11 T:3628  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Shuffling Trailers
20:23:11 T:3628  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Saving Watched List
20:23:11 T:3628  NOTICE: [('dccdda35.tbn', 'Legion (2009)', 'F:\\Videos\\Movies\\Legion\\Legion (2009)-trailer.mov', None, '', '', '', '', '', '', u'Movie Trailer', ''), ('3bde3aa7.tbn', 'Kick-Ass (2010)', 'F:\\Videos\\Movies\\Kick-Ass\\Kick-Ass (2010)-trailer.mov', None, '', '', '', '', '', '', u'Movie Trailer', ''), ('d4a4e945.tbn', 'Everything Must Go (2011)', 'F:\\Videos\\Movies\\Everything Must Go\\Everything Must Go (2011)-trailer.mov', None, '', '', '', '', '', '', u'Movie Trailer', '')]
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Adding Coming Attraction Outro Video: 0 Videos
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Adding Trailers: 3 Trailers
20:23:11 T:3628   ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
20:23:11 T:3628  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - Looking for 1 files, but only found 0
20:23:11 T:3628   ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
20:23:11 T:3628  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - Looking for 1 files, but only found 0
20:23:11 T:3628   ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
20:23:11 T:3628  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - Looking for 1 files, but only found 0
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Adding Coming Attraction Intro Videos: 1 Videos
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Adding Movie Theatre Intro Videos: 1 Videos
20:23:11 T:3628  NOTICE: 0
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Adding Feature Presentation Outro Videos: 0 Videos
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Adding Movie Theatre Outro Videos: 0 Videos
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Playlist Size: 6
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Trigger List Size: 6
20:23:11 T:3628  NOTICE: [script.cinema.experience] - Saving trigger List
20:23:12 T:6204  NOTICE: DVDPlayer: Opening: C:\Program Files (x86)\XBMC\Cinema\Theatre Intro\Regal Roller Coaster Policy Trailer.mp4
20:23:12 T:6204 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:23:12 T:3992  NOTICE: Thread CDVDPlayer start, auto delete: false
20:23:12 T:3992  NOTICE: Creating InputStream
20:23:12 T:3992  NOTICE: Creating Demuxer
20:23:12 T:3992  NOTICE: Opening video stream: 0 source: 256
20:23:12 T:3992  NOTICE: Creating video codec with codec id: 28
20:23:12 T:3992  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:23:12 T:3992  NOTICE: Creating video thread
20:23:12 T:3992  NOTICE: Opening audio stream: 1 source: 256
20:23:12 T:3992  NOTICE: Finding audio codec for: 86018
20:23:12 T:5616  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
20:23:12 T:5616  NOTICE: running thread: video_thread
20:23:12 T:3992  NOTICE: Creating audio thread
20:23:12 T:3664  NOTICE: Thread CDVDPlayerAudio start, auto delete: false
20:23:12 T:3664  NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
20:23:12 T:3664  NOTICE: Creating audio stream (codec id: 86018, channels: 1, sample rate: 44100, no pass-through)
20:23:12 T:5616  NOTICE:  fps: 23.976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
20:23:12 T:5616  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
20:23:12 T:5616  NOTICE: D3D: rendering method forced to DXVA2 processor
20:23:12 T:3628  NOTICE: [ script.cinema.experience ] - Music Playlist Cleared
20:23:12 T:3628  NOTICE: [script.cinema.experience] - Loading Trigger List
20:23:15 T:3628  NOTICE: [ script.cinema.experience ] - Item From Trigger List: Movie Theater Intro
20:23:15 T:3628  NOTICE: [ script.cinema.experience ] - Playlist Position: 1  Playlist Size: 6
20:24:21 T:3664 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:24:21 T:5616 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:24:21 T:3992  NOTICE: CDVDPlayer::OnExit()
20:24:21 T:3992  NOTICE: DVDPlayer: eof, waiting for queues to empty
20:24:21 T:3992  NOTICE: DVDPlayer: closing audio stream
20:24:21 T:3992  NOTICE: Closing audio stream
20:24:21 T:3992  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
20:24:21 T:3992  NOTICE: Waiting for audio thread to exit
20:24:21 T:3664  NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:24:21 T:3992  NOTICE: Closing audio device
20:24:21 T:3992  NOTICE: Deleting audio codec
20:24:21 T:3992  NOTICE: DVDPlayer: closing video stream
20:24:21 T:3992  NOTICE: Closing video stream
20:24:21 T:3992  NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
20:24:21 T:3992  NOTICE: waiting for video thread to exit
20:24:21 T:5616   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
20:24:21 T:5616  NOTICE: thread end: video_thread
20:24:21 T:3992  NOTICE: deleting video codec
20:24:21 T:3992  NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:24:21 T:3992  NOTICE: CDVDPlayer::OnExit() deleting input stream
20:24:22 T:6204  NOTICE: DVDPlayer: Opening: C:\Program Files (x86)\XBMC\Cinema\Coming Attractions\comming attractions. blue.mp4
20:24:22 T:6204 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:24:22 T:5700  NOTICE: Thread CDVDPlayer start, auto delete: false
20:24:22 T:5700  NOTICE: Creating InputStream
20:24:22 T:5700  NOTICE: Creating Demuxer
20:24:22 T:5700  NOTICE: Opening video stream: 0 source: 256
20:24:22 T:5700  NOTICE: Creating video codec with codec id: 28
20:24:22 T:5700  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:24:22 T:5700  NOTICE: Creating video thread
20:24:22 T:5700  NOTICE: Opening audio stream: 1 source: 256
20:24:22 T:5700  NOTICE: Finding audio codec for: 86018
20:24:22 T:5364  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
20:24:22 T:5364  NOTICE: running thread: video_thread
20:24:22 T:5700  NOTICE: Creating audio thread

If more is needed I will be happy to trim so it fits on pastebin just say the word. Thanks!



RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - asm0dey - 2013-01-30

Thank you Frodo version, but it doesn't work form me with error:

Code:
10:47:46 T:2788092736   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'output'
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.cinema.experience/addon.py", line 523, in <module>
                                                prev_trigger = activate_ha( _L_( 32614 ), None, "normal" ) # Script End
                                              File "/home/xbmc/.xbmc/addons/script.cinema.experience/addon.py", line 238, in activate_ha
                                                activate_on( trigger )
                                              File "/home/xbmc/.xbmc/userdata/addon_data/script.cinema.experience/ha_scripts/home_automation.py", line 22, in activate_on
                                                xbmc.output( "[script.cinema.experience] - [ home_automation.py ] - activate_on( %s ) Triggered" % trigger, level=xbmc.LOGNOTICE )
                                            AttributeError: 'module' object has no attribute 'output'
                                            -->End of Python script error report<--



Re: RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-30

(2013-01-30, 08:52)asm0dey Wrote: Thank you Frodo version, but it doesn't work form me with error:

Code:
10:47:46 T:2788092736   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'output'
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.cinema.experience/addon.py", line 523, in <module>
                                                prev_trigger = activate_ha( _L_( 32614 ), None, "normal" ) # Script End
                                              File "/home/xbmc/.xbmc/addons/script.cinema.experience/addon.py", line 238, in activate_ha
                                                activate_on( trigger )
                                              File "/home/xbmc/.xbmc/userdata/addon_data/script.cinema.experience/ha_scripts/home_automation.py", line 22, in activate_on
                                                xbmc.output( "[script.cinema.experience] - [ home_automation.py ] - activate_on( %s ) Triggered" % trigger, level=xbmc.LOGNOTICE )
                                            AttributeError: 'module' object has no attribute 'output'
                                            -->End of Python script error report<--

Your home_automation.py file is really old(inside userdata/addon_data/script.cinema.experience/ha_scripts)

All the
Code:
xbmc.output()

Needs to change to

Code:
xbmc.log()



Re: RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-30

(2013-01-30, 06:40)bluenote Wrote: Hey giftie

I'm so pleased to be able to enjoy your addon on Frodo now Smile

Only one thing - I previously used XBMC library, but now that that is broken I am trying to use local folder.
I have some xyz-trailer.mov files in the same directories as my movies, ex:
F:/videos/movies/batman/batman-trailer.mov
F:/videos/movies/superman/superman-trailer.mov

etc

But this produces some various errors in the log. let me excerpt for your convenience:

I think I already have this fixed with the major code changes I have already done. Also the trailers from the library will be also fixed.


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - matt77303 - 2013-01-30

Thanks for this giftie.

I looked and couldnt find any so i made some .avi clips for the bbfc intros.

Just extract them into you cinema experience video files folder.

https://hotfile.com/dl/191610086/3078882/Ratings.rar.html

Matt


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - bluenote - 2013-01-30

(2013-01-30, 17:07)giftie Wrote: I think I already have this fixed with the major code changes I have already done. Also the trailers from the library will be also fixed.

Thanks Giftie, I will keep on the lookout for your next version.
I wonder if you would consider add CE to the XBMC repo one day? Or your own?

thanks




RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - skydivinpilot - 2013-01-31

I am also experiencing the resume and pause trigger not being sent, and the options are selected in the CE settings. Great script and thank you for all your hard work


RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - giftie - 2013-01-31

(2013-01-30, 23:59)bluenote Wrote:
(2013-01-30, 17:07)giftie Wrote: I think I already have this fixed with the major code changes I have already done. Also the trailers from the library will be also fixed.

Thanks Giftie, I will keep on the lookout for your next version.
I wonder if you would consider add CE to the XBMC repo one day? Or your own?

thanks

There are a few little details that stop me from adding it to the repo. One, the icon needs to be remade(it might be a copyrighted image), and the other I think I need to ask Nuka if it would be ok.



(2013-01-31, 00:15)skydivinpilot Wrote: I am also experiencing the resume and pause trigger not being sent, and the options are selected in the CE settings. Great script and thank you for all your hard work

The method for the Home Automation triggering is being revamped, I'm actually finished changing it, just testing the changes I have made.

I had added a default time of 2.5 seconds that it takes before a Pause is reported. I intend on giving the user a setting that they can change to their preference.

Pause and Resume triggers happen in the new code properly.

Can you try to leave paused for a long time and see what happens...



RE: [RELEASE] Cinema Experience - the new Home Theater Experience Script - Tomkun - 2013-01-31

The pause does fire for me if left for a few seconds. I didn't realise it was the script causing it, so I hadn't worried about it. An option to change the delay would be great!