2014-03-15, 19:31
(2014-03-14, 19:02)syxrail Wrote:(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
toCode:<onclick>Dialog.Close(MovieInformation)</onclick>
<onclick>Playlist.Clear</onclick>
<onclick>RunScript(script.cinema.experience)</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 . Well, there's plenty of time, whole night before need to go to workCode:<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>
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.
I'm having the exact same issue. I can get CE to start and run first time, but then after hitting Stop on a movie I can't do it again and no amount of waiting seems to fix it. XBMC also cant be closed normally and the process hangs around in the task manager until killed. So it does sound like CE never gets this notification that the playback has ended. Is this a change in XBMC or in the skin possibly? I'm on Gotham Beta1 and using Transparency! as my skin.
Something does seem like it changed in XBMC. I've been changing the method the script uses to sense the end of a video(a special method is required for the trivia intro and for the Home Automation triggering) I never really liked how it was detected before. It seems to be working ok, and will be in the next release.