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)



- giftie - 2010-12-25

SALAMINOMACHOS Wrote:Good afternoon from the Cloudy today Greece
And what about us the non experienced ?
I think is not very difficult for you to make a container with all these things and then we will be able to download it and add it somewhere.Like the different Skins we add in the addon folder and we change the skins.
For us who discoverd the XBMC the last three-four months all these things look extremely difficult.
Thanks for your attention and i am wishing to all of you Happy Holidays

Vagelis..................

On the first page there are many links to packages and information that should simplify things even for the newest user.


- commoman81 - 2010-12-25

giftie Wrote:It took me about 15 tries to finally get it myself. Not sure why, I can't see why it would not work properly.

Yeah im glad its working again. tried the trivia again and its just that when the trivia slides play first the volume goes down to -54 db for when the videos play wasnt sure if u had done anything yet i know u were working on this also i had a question kind of a request for the trivia slides can there be a default folder setting for different types of movies like comedy and horror and thriller and stuff like that so that when u play a specific type of movie the correct movie type trivia slides play like cartoon to cartoon and horror to horror


- giftie - 2010-12-25

commoman81 Wrote:Yeah im glad its working again. tried the trivia again and its just that when the trivia slides play first the volume goes down to -54 db for when the videos play wasnt sure if u had done anything yet i know u were working on this also i had a question kind of a request for the trivia slides can there be a default folder setting for different types of movies like comedy and horror and thriller and stuff like that so that when u play a specific type of movie the correct movie type trivia slides play like cartoon to cartoon and horror to horror

The volume should go down to the percentage of total volume that you select in the settings - Music Volume(1.0.5 still shows it as Music Volume (% of Master) ) This drops the volume level of the music played during the slideshow. I guess I should add an enable/disable option for this.

How volume is controlled in the script.

1. Slideshow starts, set the volume to the Music Volume setting(in percent)
2. Slideshow is finished(stopped either via 'escape' or end of slideshow time) fade out the volume to 1(lowest with out having mute displayed on the screen)(total fade takes 2 seconds)
3. As first video starts, raise volume to original setting(what ever the volume was when you started the script)(total rise takes 1 second)

The volume is not touched after this point.


Is the script not doing this for you?


- giftie - 2010-12-25

Also to answer your question of matching Genre of the slides to the video, it should be possible(similar to how the script already matches the audio video to the audio track of the video.)

I'll look in to this, I might look towards helping Nuka with V2(getting it to be Dharma friendly) instead of adding too many features.(the new version will be more customizable by the uses(ie themes for the slides, custom ordering of the videos - instead of the fixed way as it is now, and many more)


- Harro - 2010-12-25

I use no sound options for trivia, yet the sound will go down, even with those settings for sound off.


- commoman81 - 2010-12-25

giftie Wrote:The volume should go down to the percentage of total volume that you select in the settings - Music Volume(1.0.5 still shows it as Music Volume (% of Master) ) This drops the volume level of the music played during the slideshow. I guess I should add an enable/disable option for this.

How volume is controlled in the script.

1. Slideshow starts, set the volume to the Music Volume setting(in percent)
2. Slideshow is finished(stopped either via 'escape' or end of slideshow time) fade out the volume to 1(lowest with out having mute displayed on the screen)(total fade takes 2 seconds)
3. As first video starts, raise volume to original setting(what ever the volume was when you started the script)(total rise takes 1 second)

The volume is not touched after this point.


Is the script not doing this for you?

yeah its not doing this for me it still drops down and stays at -54.6 db


- commoman81 - 2010-12-25

giftie Wrote:Also to answer your question of matching Genre of the slides to the video, it should be possible(similar to how the script already matches the audio video to the audio track of the video.)

I'll look in to this, I might look towards helping Nuka with V2(getting it to be Dharma friendly) instead of adding too many features.(the new version will be more customizable by the uses(ie themes for the slides, custom ordering of the videos - instead of the fixed way as it is now, and many more)

sounds awesome


- giftie - 2010-12-25

commoman81 Wrote:yeah its not doing this for me it still drops down and stays at -54.6 db

can you post your xbmc.log file? It should contain the volume values during the fade, and I can get a better view of what is going on. This doesn't seem to happen on my system, so I'm interested in what is happening.

Thanks.


- SlaveUnit - 2010-12-25

There is a error in 1.0.6. I uninstalled and cleared out the whole script (including the setings) and installed 1.0.6 cleanly. Anytime I try to run it I get that the script failed. And this is just settings up the slides folder...nothing else.

Log here: http://pastebin.com/gnXuNEBT
It's pretty clear starting with line 383 something goes wrong with the syntax of the script.


- giftie - 2010-12-25

Try refreshing the repo and see if 1.0.7 shows up..

I found those errors after I upload 1.0.6..

hope you can get 1.0.7 I've been having trouble downloading through XBMC from the repo..


- commoman81 - 2010-12-25

giftie Wrote:can you post your xbmc.log file? It should contain the volume values during the fade, and I can get a better view of what is going on. This doesn't seem to happen on my system, so I'm interested in what is happening.

Thanks.

20:11:29 T:804 M:2515390464 NOTICE: included - , , FindingNemo05.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , FindingNemo14.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , PixarTheCompany14.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , Cars07.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , PixarTheCompany01.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , ToyStory2-05.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , MonstersInc07.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , up14.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , PixarTheCompany12.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , Incredibles11.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , Cars09.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , Wall-e15.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , Incredibles07.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , FindingNemo06.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , ABugsLife10.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , PixarTheCompany13.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , Ratatouille02.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , up02.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: included - , , ABugsLife03.jpg
20:11:29 T:804 M:2515390464 NOTICE: ----------------------------------------------------
20:11:29 T:804 M:2515390464 NOTICE: Previous line repeats 1 times.
20:11:29 T:804 M:2515390464 NOTICE: total slides selected: 165
20:11:30 T:804 M:2525409280 NOTICE: Previous line repeats 1 times.
20:11:30 T:804 M:2525409280 NOTICE: ## Intro ##
20:11:30 T:804 M:2525409280 NOTICE: []
20:11:30 T:804 M:2525409280 NOTICE: ## Starting Trivia Music
20:11:30 T:804 M:2525409280 NOTICE: trivia music: false
20:13:29 T:3200 M:2525392896 NOTICE: ## Outro ##
20:13:29 T:3200 M:2525392896 NOTICE: Volume: 49
20:13:29 T:3200 M:2525417472 NOTICE: Volume: 48
20:13:29 T:3200 M:2525417472 NOTICE: Volume: 47
20:13:29 T:3200 M:2525409280 NOTICE: Volume: 46
20:13:29 T:3200 M:2525413376 NOTICE: Volume: 45
20:13:29 T:3200 M:2525384704 NOTICE: Volume: 44
20:13:29 T:3200 M:2525384704 NOTICE: Volume: 43
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 42
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 41
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 40
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 39
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 38
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 37
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 36
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 35
20:13:30 T:3200 M:2525388800 NOTICE: Volume: 34
20:13:30 T:3200 M:2525388800 NOTICE: Volume: 33
20:13:30 T:3200 M:2525388800 NOTICE: Volume: 32
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 31
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 30
20:13:30 T:3200 M:2525396992 NOTICE: Volume: 29
20:13:30 T:3200 M:2525396992 NOTICE: Volume: 28
20:13:30 T:3200 M:2525396992 NOTICE: Volume: 27
20:13:30 T:3200 M:2525384704 NOTICE: Volume: 26
20:13:30 T:3200 M:2525396992 NOTICE: Volume: 25
20:13:30 T:3200 M:2525409280 NOTICE: Volume: 24
20:13:30 T:3200 M:2525409280 NOTICE: Volume: 23
20:13:30 T:3200 M:2525409280 NOTICE: Volume: 22
20:13:30 T:3200 M:2525396992 NOTICE: Volume: 21
20:13:30 T:3200 M:2525396992 NOTICE: Volume: 20
20:13:30 T:3200 M:2525401088 NOTICE: Volume: 19
20:13:30 T:3200 M:2525401088 NOTICE: Volume: 18
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 17
20:13:31 T:3200 M:2525396992 NOTICE: Volume: 16
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 15
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 14
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 13
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 12
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 11
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 10
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 9
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 8
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 7
20:13:31 T:3200 M:2525405184 NOTICE: Volume: 6
20:13:31 T:3200 M:2525405184 NOTICE: Volume: 5
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 4
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 3
20:13:31 T:3200 M:2525401088 NOTICE: Volume: 2
20:13:31 T:3200 M:2525417472 NOTICE: Volume: 1
20:13:31 T:3744 M:2524327936 NOTICE: DVDPlayer: Opening: E:\DTS.avi
20:13:31 T:3744 M:2524323840 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:13:31 T:1848 M:2524295168 NOTICE: Creating InputStream
20:13:31 T:1848 M:2524274688 NOTICE: Creating Demuxer
20:13:31 T:1848 M:2519609344 NOTICE: Opening video stream: 0 source: 256
20:13:31 T:1848 M:2519613440 NOTICE: Creating video codec with codec id: 13
20:13:31 T:1848 M:2519535616 NOTICE: CDVDVideoCodecFFmpeg::Open()


- commoman81 - 2010-12-25

Using codec: MPEG-4 part 2
20:13:31 T:1848 M:2519445504 NOTICE: Creating video thread
20:13:31 T:1848 M:2519334912 NOTICE: Opening audio stream: 1 source: 256
20:13:31 T:1848 M:2519334912 NOTICE: Finding audio codec for: 86017
20:13:31 T:784 M:2519302144 NOTICE: running thread: video_thread
20:13:31 T:1848 M:2519142400 NOTICE: Creating audio thread
20:13:31 T:2444 M:2519068672 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
20:13:31 T:2444 M:2519052288 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 44100, no pass-through
20:13:31 T:3200 M:2518601728 NOTICE: Volume: 1
20:13:31 T:784 M:2517217280 NOTICE: fps: 29.969030, pwidth: 640, pheight: 360, dwidth: 640, dheight: 360
20:13:31 T:784 M:2517217280 NOTICE: Display resolution DESKTOP : 1280x800 @ 60.00 - Full Screen (12)
20:13:31 T:3200 M:2507583488 NOTICE: Volume: 2
20:13:32 T:3200 M:2510819328 NOTICE: Volume: 3
20:13:32 T:3200 M:2513465344 NOTICE: Volume: 4
20:13:32 T:3200 M:2513432576 NOTICE: Volume: 5
20:13:32 T:3200 M:2513408000 NOTICE: Volume: 6
20:13:32 T:3200 M:2513367040 NOTICE: Volume: 7
20:13:32 T:3200 M:2513305600 NOTICE: Volume: 8
20:13:32 T:3200 M:2513215488 NOTICE: Volume: 9
20:13:32 T:804 M:2513133568 NOTICE: waiting for thread - Thread-1
20:13:34 T:784 M:2488905728 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
20:13:34 T:784 M:2488872960 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
20:13:34 T:3744 M:2496827392 WARNING: Previous line repeats 4 times.
20:13:34 T:3744 M:2496827392 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\umbrella corp\AppData\Roaming\XBMC\addons\script.cinema.experience
20:14:02 T:2444 M:2500132864 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:14:03 T:784 M:2500194304 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:14:03 T:1848 M:2500194304 NOTICE: CDVDPlayer::OnExit()
20:14:03 T:1848 M:2500194304 NOTICE: DVDPlayer: eof, waiting for queues to empty
20:14:03 T:1848 M:2500194304 NOTICE: DVDPlayer: closing audio stream
20:14:03 T:1848 M:2500194304 NOTICE: Closing audio stream
20:14:03 T:1848 M:2500194304 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
20:14:03 T:1848 M:2500194304 NOTICE: Waiting for audio thread to exit
20:14:03 T:2444 M:2500194304 NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:14:03 T:1848 M:2500227072 NOTICE: Closing audio device
20:14:03 T:1848 M:2500247552 NOTICE: Deleting audio codec
20:14:03 T:1848 M:2500247552 NOTICE: DVDPlayer: closing video stream
20:14:03 T:1848 M:2500247552 NOTICE: Closing video stream
20:14:03 T:1848 M:2500247552 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
20:14:03 T:1848 M:2500247552 NOTICE: waiting for video thread to exit
20:14:03 T:784 M:2500247552 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
20:14:03 T:784 M:2500247552 NOTICE: thread end: video_thread
20:14:03 T:1848 M:2500304896 NOTICE: deleting video codec
20:14:03 T:1848 M:2501197824 NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:14:03 T:1848 M:2501271552 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:14:03 T:3744 M:2501271552 NOTICE: DVDPlayer: Opening: E:\Theater to Movie Roller Coaster Intro.avi
20:14:03 T:3744 M:2501271552 NOTICE: CDVDPlayer::CloseFile()
20:14:03 T:3744 M:2501271552 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:14:03 T:3744 M:2501271552 NOTICE: DVDPlayer: waiting for threads to exit
20:14:03 T:3744 M:2501271552 NOTICE: DVDPlayer: finished waiting
20:14:03 T:3744 M:2501660672 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:14:03 T:544 M:2501713920 NOTICE: Creating InputStream
20:14:03 T:544 M:2501713920 NOTICE: Creating Demuxer
20:14:03 T:544 M:2501459968 NOTICE: Opening video stream: 0 source: 256
20:14:03 T:544 M:2501459968 NOTICE: Creating video codec with codec id: 13
20:14:03 T:544 M:2501877760 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
20:14:03 T:544 M:2501824512 NOTICE: Creating video thread
20:14:03 T:544 M:2501808128 NOTICE: Opening audio stream: 1 source: 256
20:14:03 T:544 M:2501804032 NOTICE: Finding audio codec for: 86017
20:14:03 T:2212 M:2501804032 NOTICE: running thread: video_thread
20:14:03 T:544 M:2501799936 NOTICE: Creating audio thread
20:14:03 T:748 M:2501767168 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
20:14:03 T:2212 M:2501296128 NOTICE: fps: 29.969030, pwidth: 640, pheight: 360, dwidth: 640, dheight: 360
20:14:03 T:2212 M:2501296128 NOTICE: Display resolution DESKTOP : 1280x800 @ 60.00 - Full Screen (12)
20:14:03 T:748 M:2500018176 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 44100, no pass-through
20:14:31 T:3744 M:2499010560 NOTICE: CDVDPlayer::CloseFile()
20:14:31 T:3744 M:2499010560 NOTICE: DVDPlayer: waiting for threads to exit
20:14:31 T:544 M:2499010560 NOTICE: CDVDPlayer::OnExit()
20:14:31 T:544 M:2499010560 NOTICE: DVDPlayer: closing audio stream
20:14:31 T:544 M:2499010560 NOTICE: Closing audio stream
20:14:31 T:544 M:2499010560 NOTICE: Waiting for audio thread to exit
20:14:31 T:748 M:2499010560 ERROR: CDVDAudio::AddPackets - failed to add leftover bytes to render
20:14:31 T:748 M:2499010560 NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:14:31 T:544 M:2499010560 NOTICE: Closing audio device
20:14:31 T:544 M:2499039232 NOTICE: Deleting audio codec
20:14:31 T:544 M:2499039232 NOTICE: DVDPlayer: closing video stream
20:14:31 T:544 M:2499039232 NOTICE: Closing video stream
20:14:31 T:544 M:2499039232 NOTICE: waiting for video thread to exit
20:14:31 T:2212 M:2499039232 NOTICE: thread end: video_thread
20:14:31 T:544 M:2499072000 NOTICE: deleting video codec
20:14:31 T:544 M:2500145152 NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:14:31 T:544 M:2500255744 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:14:31 T:3744 M:2500382720 NOTICE: DVDPlayer: finished waiting
20:14:32 T:3744 M:2482667520 NOTICE: CDVDPlayer::CloseFile()
20:14:32 T:3744 M:2482667520 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:14:32 T:3744 M:2482667520 NOTICE: DVDPlayer: waiting for threads to exit
20:14:32 T:3744 M:2482667520 NOTICE: DVDPlayer: finished waiting
20:14:43 T:3744 M:2496086016 NOTICE: Storing total System Uptime
20:14:43 T:3744 M:2496114688 NOTICE: Saving settings
20:14:43 T:3744 M:2496065536 NOTICE: stop all
20:14:43 T:3744 M:2496061440 NOTICE: ES: Stopping event server
20:14:43 T:1896 M:2496122880 NOTICE: ES: UDP Event server stopped
20:14:43 T:3744 M:2496159744 NOTICE: stop sap announcement listener
20:14:43 T:3744 M:2496135168 NOTICE: clean cached files!
20:14:43 T:3744 M:2496131072 NOTICE: unload skin
20:14:43 T:3744 M:2500288512 NOTICE: stop python
20:14:44 T:3744 M:2521694208 NOTICE: stopped
20:14:44 T:3744 M:2521640960 NOTICE: destroy
20:14:44 T:3744 M:2522173440 NOTICE: unload sections


- commoman81 - 2010-12-25

also wondering when 1.0.7 will show up for download 1.0.5 is the only that still shows up


- giftie - 2010-12-25

commoman81 Wrote:also wondering when 1.0.7 will show up for download 1.0.5 is the only that still shows up

When you're in the addon manager, got to Get Add-ons, then select the repo(just move the cursor over it) and bring up the Context Menu( 'c' on the keyboard ) then click on Check for Updates(or Force Refresh)

The newest version should show up then.


- giftie - 2010-12-25

Also, please use pastebin to post your xbmc.log and post the link, allows me to see the complete log with out taking up too much space.

I see that it only increased the volume back to 9%.. Hmmm are you using Windows?