Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Poll: Most Desired Feature To Be Added
You do not have permission to vote in this poll.
Other Movie Ratings
5.45%
Download Movie Trailers
28.04%
Home Automation scripting
24.22%
Other Movie Streaming Location
9.04%
Trivia Intro Fixed
11.24%
Cartoon Video Option
14.72%
More Videos for before Feature(s) - Specify how many
7.30%
Total
863 vote(s)
100%
* You voted for this item.

  • 1
  • 238
  • 239
  • 240(current)
  • 241
  • 242
  • 285
[RELEASE] Cinema Experience - the new Home Theater Experience Script
@giftie

Any news about the New Version with fix for openelec?
Reply
Hi.
I updated from frodo to gotham beta and have now major issues with cinema experience. When I use cinema experience and a movie ends, the script won't work anymore when I try to watch another movie with cinema experience. The script won't start at all, it just exits from video info screen. Sometimes ce launches randomly after few seconds.
I use transparency and I have selected cinema experience to show in movie info screen.
When I try to exit xbmc, xbmc crashes if I have used cinema experience. When cinema experience is disabled, xbmc quits nicely without crashing.

Another thing: do I need to modify automation.py somehow to get it work with eventghost? now when I updated xbmc, eventghost doesn't receive events from xbmc anymore.

Here's debug log: xbmc.log
Current setup
HTPC: G4560 Kaby Lake, ASRock H110M-ITX, 8 GB, Win10
Server: G2120 Ivy Bridge, ASRock B75 Pro3-M, 8 GB, 22 TB HDD, Ubuntu 16.04.5 LTS
Audio&Visual: Marantz NR-1602, Dali Opticon 6 5.1, SVS PB12-NSD, Sony KD-65A1
Reply
(2014-03-05, 23:01)weirdinin Wrote: Hi.
I updated from frodo to gotham beta and have now major issues with cinema experience. When I use cinema experience and a movie ends, the script won't work anymore when I try to watch another movie with cinema experience. The script won't start at all, it just exits from video info screen. Sometimes ce launches randomly after few seconds.
I use transparency and I have selected cinema experience to show in movie info screen.
When I try to exit xbmc, xbmc crashes if I have used cinema experience. When cinema experience is disabled, xbmc quits nicely without crashing.

Another thing: do I need to modify automation.py somehow to get it work with eventghost? now when I updated xbmc, eventghost doesn't receive events from xbmc anymore.

Here's debug log: xbmc.log

The script is failing with the home_automation.py you are using... The EventGhost version is available here -> https://github.com/Giftie/home_automatio...vent_Ghost

Replace it and all should be good. Also the eventghost setup instructions are available here -> http://forum.xbmc.org/showthread.php?tid...pid1554715
Reply
Changed the eventghost version of the automation.py file and restarted xbmc but the problem is still there.

xbmc.log

Could it be that I modified two lines of the dialogvideoinfo.xml to prevent jumping in movie library. Perhpas there is someting that transparency skin doesn't approve:

Code:
<control type="button" id="1112">
                    <posx>1195</posx>
                    <posy>471</posy>
                    <width>48</width>
                    <height>48</height>
                    <label>-</label>
                    <font>-</font>
                    <texturefocus>cinema-focus.png</texturefocus>
                    <texturenofocus>cinema-nofocus.png</texturenofocus>
                    <onleft>11</onleft>
                    <onright>11</onright>
                    <onup>1113</onup>
                    <ondown>50</ondown>
                    <onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>XBMC.RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                    <visible>Container.Content(Movies) + system.hasaddon(script.cinema.experience) + !SubString(Container.FolderPath,plugin)</visible>
                </control>
These are the modified lines:

Code:
<onclick>XBMC.RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                    <visible>Container.Content(Movies) + system.hasaddon(script.cinema.experience) + !SubString(Container.FolderPath,plugin)</visible>
Current setup
HTPC: G4560 Kaby Lake, ASRock H110M-ITX, 8 GB, Win10
Server: G2120 Ivy Bridge, ASRock B75 Pro3-M, 8 GB, 22 TB HDD, Ubuntu 16.04.5 LTS
Audio&Visual: Marantz NR-1602, Dali Opticon 6 5.1, SVS PB12-NSD, Sony KD-65A1
Reply
(2014-03-06, 10:03)weirdinin Wrote: Changed the eventghost version of the automation.py file and restarted xbmc but the problem is still there.

xbmc.log

Could it be that I modified two lines of the dialogvideoinfo.xml to prevent jumping in movie library. Perhpas there is someting that transparency skin doesn't approve:

Code:
<control type="button" id="1112">
                    <posx>1195</posx>
                    <posy>471</posy>
                    <width>48</width>
                    <height>48</height>
                    <label>-</label>
                    <font>-</font>
                    <texturefocus>cinema-focus.png</texturefocus>
                    <texturenofocus>cinema-nofocus.png</texturenofocus>
                    <onleft>11</onleft>
                    <onright>11</onright>
                    <onup>1113</onup>
                    <ondown>50</ondown>
                    <onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>XBMC.RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                    <visible>Container.Content(Movies) + system.hasaddon(script.cinema.experience) + !SubString(Container.FolderPath,plugin)</visible>
                </control>
These are the modified lines:

Code:
<onclick>XBMC.RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                    <visible>Container.Content(Movies) + system.hasaddon(script.cinema.experience) + !SubString(Container.FolderPath,plugin)</visible>

What it looks like is that you tried to start Cinema Experience less than 1 min of ending the video playback. This causes XBMC to another instance of Cinema Experience before the previous one is finished. It can cause the first instance to clear the playlist that the second one is trying to create. This seems to give the error that I see in the script. Also it seems you use an external video player, which the script does not always play nice with(though doesnt seem to be the problem)
Reply
Ok. To narrow the problem I removed advancedsettings.xml and playercorefactory.xml files from the user data folder so that xbmc uses its default player and no extra settings is included (though as you said, external player is likely not the problem. In frodo external player worked just fine with ce, which was great). This is what I did after that:

1. unistalled ce from xbmc. Removed ce from user folder and from Roaming\XBMC\addons.
2. launched xbmc and installed ce. Changed the automation.py to the eventghost version. Defined some ce settings (like trailers, and intros etc.). Enabled debug log.
3. Rebooted xbmc. Waited some time and selected a movie (from info screen hit the ce icon)
3. Let the script flow until playback ended. Everything was fine so far.
4. waited 5 min. and tried to select another movie (again from ce icon in the info screen)
result: xbmc returned to movie library and then nothing happened.
5.Then I waited again 5 min. and tried to launch ce but nothing happened. Xbmc just went back to movie library.
6. tried to shutdown xbmc but before I hit the exit button, ce started suddenly
7. stopped the playback and waited some time again.
8.tried to shutdown xbmc but it crashes when hit the exit button. End of story.

So if ce starts another session right after playback, it does it without user input. There must be something wrong in the code of ce or then in my skin settings or something else.

debug log is here (too big for pastebin): http://www.megafileupload.com/en/file/50...c-log.html

And thank you for your efforts to solve this issue. CE is the best part of the xbmc. The biggest wow factor when combined with some home automation.
Current setup
HTPC: G4560 Kaby Lake, ASRock H110M-ITX, 8 GB, Win10
Server: G2120 Ivy Bridge, ASRock B75 Pro3-M, 8 GB, 22 TB HDD, Ubuntu 16.04.5 LTS
Audio&Visual: Marantz NR-1602, Dali Opticon 6 5.1, SVS PB12-NSD, Sony KD-65A1
Reply
(2014-03-06, 23:21)weirdinin Wrote: Ok. To narrow the problem I removed advancedsettings.xml and playercorefactory.xml files from the user data folder so that xbmc uses its default player and no extra settings is included (though as you said, external player is likely not the problem. In frodo external player worked just fine with ce, which was great). This is what I did after that:

1. unistalled ce from xbmc. Removed ce from user folder and from Roaming\XBMC\addons.
2. launched xbmc and installed ce. Changed the automation.py to the eventghost version. Defined some ce settings (like trailers, and intros etc.). Enabled debug log.
3. Rebooted xbmc. Waited some time and selected a movie (from info screen hit the ce icon)
3. Let the script flow until playback ended. Everything was fine so far.
4. waited 5 min. and tried to select another movie (again from ce icon in the info screen)
result: xbmc returned to movie library and then nothing happened.
5.Then I waited again 5 min. and tried to launch ce but nothing happened. Xbmc just went back to movie library.
6. tried to shutdown xbmc but before I hit the exit button, ce started suddenly
7. stopped the playback and waited some time again.
8.tried to shutdown xbmc but it crashes when hit the exit button. End of story.

So if ce starts another session right after playback, it does it without user input. There must be something wrong in the code of ce or then in my skin settings or something else.

debug log is here (too big for pastebin): http://www.megafileupload.com/en/file/50...c-log.html

And thank you for your efforts to solve this issue. CE is the best part of the xbmc. The biggest wow factor when combined with some home automation.

It seems like XBMC took a lot of time to report the error regarding the player has stopped. The script actually is waiting for this error, this is how it tracks the playback of the last video file. It actually triggered as you were selecting beowolf, which messed things up...
Reply
mm.. I'll try to reinstall xbmc too and run it with default skin and settings, and instead of smb shares i'll try to play some local files from hard drive. I'll report later if that helps.
Any ideas what could be the cause of xbmc being so luggish to report that playback has ended?
Current setup
HTPC: G4560 Kaby Lake, ASRock H110M-ITX, 8 GB, Win10
Server: G2120 Ivy Bridge, ASRock B75 Pro3-M, 8 GB, 22 TB HDD, Ubuntu 16.04.5 LTS
Audio&Visual: Marantz NR-1602, Dali Opticon 6 5.1, SVS PB12-NSD, Sony KD-65A1
Reply
The script is not intended to be run in this manner - run again right after it has finished. XBMC could have been busy doing other things.
Reply
Fresh installation didnt make any difference. It seems to me that this is not just the way ce should work since no matter how long I wait, second session with ce fails. I waited 10 minutes after ending of playback. Looks like xbmc stays busy until it's restarted. And it stays busy only if ce has been used. Normal playback of movies doesnt arouse this problem. At least I think so, since xbmc quits fast and nice. But when ce has been used, xbmc wait some time before it ends, which tells that there's something going on that xbmc needs to end before quitting.

One thing that I noticed btw: if I use default settings of dialogvideoinfo.xml of transparency, it takes about 10 seconds before ce starts. I modified file from
Code:
<onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>RunScript(script.cinema.experience)</onclick>
                    <visible>Container.Content(Movies) + Skin.HasSetting(CinemaScript_MovieInfo)</visible>
to
Code:
<onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>XBMC.RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                    <visible>Container.Content(Movies) + Skin.HasSetting(CinemaScript_MovieInfo)</visible>
The change of one line made the starting of ce much quicker. Perhaps I could make the ending of the script also happen by modifying the xml file. What that line <visible>some code</visible> does? Looks like a trial and error kind of thing if I try to fix this Smile. Well, there's plenty of time, whole night before need to go to work Big Grin

I assume this issue won't get fixed any time soon so I made a quite dirty workaround:
made a cmd file that kills xbmc.exe after movie theatre outro video. Then eventghost wait couple of seconds and restart xbmc. Quests won't notice the difference since transitions are smooth thanks to fast starting of gotham and to using eventghost as a shell instead of explorer.exe

If you need or want my xbmc debug log, tell me.
Current setup
HTPC: G4560 Kaby Lake, ASRock H110M-ITX, 8 GB, Win10
Server: G2120 Ivy Bridge, ASRock B75 Pro3-M, 8 GB, 22 TB HDD, Ubuntu 16.04.5 LTS
Audio&Visual: Marantz NR-1602, Dali Opticon 6 5.1, SVS PB12-NSD, Sony KD-65A1
Reply
(2014-03-07, 21:49)weirdinin Wrote: Fresh installation didnt make any difference. It seems to me that this is not just the way ce should work since no matter how long I wait, second session with ce fails. I waited 10 minutes after ending of playback. Looks like xbmc stays busy until it's restarted. And it stays busy only if ce has been used. Normal playback of movies doesnt arouse this problem. At least I think so, since xbmc quits fast and nice. But when ce has been used, xbmc wait some time before it ends, which tells that there's something going on that xbmc needs to end before quitting.

One thing that I noticed btw: if I use default settings of dialogvideoinfo.xml of transparency, it takes about 10 seconds before ce starts. I modified file from
Code:
<onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>RunScript(script.cinema.experience)</onclick>
                    <visible>Container.Content(Movies) + Skin.HasSetting(CinemaScript_MovieInfo)</visible>
to
Code:
<onclick>Dialog.Close(MovieInformation)</onclick>
                    <onclick>Playlist.Clear</onclick>
                    <onclick>XBMC.RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                    <visible>Container.Content(Movies) + Skin.HasSetting(CinemaScript_MovieInfo)</visible>
The change of one line made the starting of ce much quicker. Perhaps I could make the ending of the script also happen by modifying the xml file. What that line <visible>some code</visible> does? Looks like a trial and error kind of thing if I try to fix this Smile. Well, there's plenty of time, whole night before need to go to work Big Grin

I assume this issue won't get fixed any time soon so I made a quite dirty workaround:
made a cmd file that kills xbmc.exe after movie theatre outro video. Then eventghost wait couple of seconds and restart xbmc. Quests won't notice the difference since transitions are smooth thanks to fast starting of gotham and to using eventghost as a shell instead of explorer.exe

If you need or want my xbmc debug log, tell me.

The <visible></visible> hides the button if your not on Movies and you have the setting for Cinema Experience set in Skin Settings(nothing to do with the script)
Reply
Here is the full debug log that you asked for, giftie.

http://xbmclogs.com/show.php?id=141222
Reply
(2014-03-08, 14:18)hoa2014 Wrote: Here is the full debug log that you asked for, giftie.

http://xbmclogs.com/show.php?id=141222

There are no errors in that log.. In fact Cinema Experience is functioning properly.. To use the Multiple Feature option in Cinema Experience, you need to use a skin that supports it(or learn how to add a Favorite and set it up properly) Going to the Video Info Dialog will always start it in single mode. http://wiki.xbmc.org/index.php?title=Add...#Window_ID

You need to queue the videos when using the multiple feature mode, there should be a notification bar on the screen showing instuctions if the script has been started in the multiple feature mode.
Reply
Hi giftie,

I downloaded your BBFC ratings avi's from this thread but there doesn't seem to be one for 18 rated movies, only U.PG,12,12A,15 and R18?

I've spent ages rescanning or manually updating movies for UK ratings and only just noticed this. Sad
Reply
(2014-03-08, 21:06)jelly Wrote: Hi giftie,

I downloaded your BBFC ratings avi's from this thread but there doesn't seem to be one for 18 rated movies, only U.PG,12,12A,15 and R18?

I've spent ages rescanning or manually updating movies for UK ratings and only just noticed this. Sad

Check out CinemaVison's Rating section for updated videos, those found on MediaFire are originally from one of the packs floating around.
Reply
  • 1
  • 238
  • 239
  • 240(current)
  • 241
  • 242
  • 285

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Cinema Experience - the new Home Theater Experience Script24