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)



- PatOso - 2011-04-07

Now the information is correctly displayed in the movie, but the CPU performance returns to 70% in windows 7 32 bit DXVA, only occurs in the main film.
As everything else is correct.


- ijourneaux - 2011-04-07

giftie Wrote:New version now up.. Should take care of some of the little problems that are around.
...
And also the error ijourneaux should also be fixed as well...

Just tried it out and it works correctly now. Curious as to the cause and the fix.

Take Care.


- Juanflaco - 2011-04-07

Juanflaco Wrote:I'm having a heck of a time getting local trailers to play, and wondering if I'm just missing something simple. When streaming trailers via AMT lite, everything looks good but I'd like to pick three specific trailers for a kids' movie day tomorrow, and when I select the local source the script bypasses trailers entirely and moves straight to my feature presentation intro.

Trailers are named "Rango_5-trailer.mov" or similar, no .nfo files associated but I'm not trying to do any genre or rating matching. Do I need anything other than the trailers in the specified local directory?

Thanks in advance!

Here are some (hopefully) relevant sections from my debug log if anyone can help. Would love to get this working for an afternoon matinee today.

Trailer settings...
Code:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - Trailer Settings
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - trailer_count: 2
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_intro: 1
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_intro_file: C:\Video\Intros\COMINGATTRACTIONS.mp4
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_intro_folder:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_outro: None
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_outro_file:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_outro_folder:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - trailer_play_mode: stream
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - trailer_folder:
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_scraper: Local Folder
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_folder: C:\Video\Trailers\
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_amt_db_file: special://profile/addon_data/script.apple.movie.trailers/AMT.db
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_newest_only: false
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_quality: 2
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_hd_only: false
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_limit_query: true
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_rating: --
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_unwatched_only: false

I notice the parameter "trailer_limit_query: true" but I don't have any genre or rating restrictions active in the settings screen.

And here's where it doesn't seem to identify any trailers from the local source, but I can't tell why...

Code:
10:06:23 T:13844 M:1890074624  NOTICE: [script.cinema.experience] - Retriving Trailers: 3 Trailers
10:06:23 T:12568 M:1890033664   DEBUG: HttpApi Start command: GetCurrentlyPlaying  paras: GetCurrentlyPlaying
10:06:23 T:13844 M:1890668544  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Local Folder Trailer Scraper Started
10:06:23 T:13844 M:1890668544  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Fetching Trailers
10:06:23 T:13844 M:1890668544  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Getting Watched List
10:06:23 T:13844 M:1890668544  NOTICE: [folder.py] - dirEntries Activated
10:06:23 T:13844 M:1890635776  NOTICE: [folder.py] - escapeDirJSON Activated
10:06:23 T:13844 M:1890635776  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Shuffling Trailers
10:06:23 T:13844 M:1890635776  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Saving Watched List
10:06:23 T:13844 M:1890566144  NOTICE: []
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Coming Attraction Outro Video: 0 Videos
10:06:23 T:13844 M:1890566144  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() Started
10:06:23 T:13844 M:1890566144   DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - No Items
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Trailers: 0 Trailers
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Coming Attraction Intro Videos: 1 Videos
10:06:23 T:13844 M:1890566144  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() Started
10:06:23 T:13844 M:1890566144   DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - No Items
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Movie Theatre Intro Videos: 1 Videos

Any ideas?


- Shinu - 2011-04-07

giftie Wrote:The intermission video option is for when Multiple Features are used. If this is the case, could you post a copy of you xbmc.log file to pastebin.org(see my signature if you need to find the location the the xbmc.log file)

Thanks...

got it to work. i had features set to 1 instead of 2.

the latest update says the Full Movie details now show when info overlay is shown during movie playback. doesn't seem to fully work for me. some details are still missing. like the movie tagline, star rating and IMDB rating. so it looks like this....

Image

when it should look like this....

Image


- giftie - 2011-04-07

ijourneaux Wrote:Just tried it out and it works correctly now. Curious as to the cause and the fix.

Take Care.

Well the problem seemed to be that XBMC did not send the Thumbnail Path to the script for the movie, first time I have had that happen, so I forgot to error trap in the case that might have happened. Added error trapping, telling the script to look into the folder its self for the thumbnail.


- giftie - 2011-04-07

Shinu Wrote:got it to work. i had features set to 1 instead of 2.

the latest update says the Full Movie details now show when info overlay is shown during movie playback. doesn't seem to fully work for me. some details are still missing. like the movie tagline, star rating and IMDB rating. so it looks like this....

Image

when it should look like this....

Image

I guess I could add those details too.. Rolleyes The skins that I use don't display all the information, guess I missed some details... Smile


- giftie - 2011-04-07

From the looks of it, it could not find any files in your C:\Video\Trailers\ folder.

Other than that, your full log would be a little more useful(posted on pastebin.)


Thanks..

Juanflaco Wrote:Here are some (hopefully) relevant sections from my debug log if anyone can help. Would love to get this working for an afternoon matinee today.

Trailer settings...
Code:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - Trailer Settings
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - trailer_count: 2
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_intro: 1
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_intro_file: C:\Video\Intros\COMINGATTRACTIONS.mp4
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_intro_folder:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_outro: None
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_outro_file:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - cav_outro_folder:
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - trailer_play_mode: stream
10:05:22 T:13916 M:1921097728  NOTICE: [script.cinema.experience] - trailer_folder:
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_scraper: Local Folder
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_folder: C:\Video\Trailers\
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_amt_db_file: special://profile/addon_data/script.apple.movie.trailers/AMT.db
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_newest_only: false
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_quality: 2
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_hd_only: false
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_limit_query: true
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_rating: --
10:05:22 T:13916 M:1921081344  NOTICE: [script.cinema.experience] - trailer_unwatched_only: false

I notice the parameter "trailer_limit_query: true" but I don't have any genre or rating restrictions active in the settings screen.

And here's where it doesn't seem to identify any trailers from the local source, but I can't tell why...

Code:
10:06:23 T:13844 M:1890074624  NOTICE: [script.cinema.experience] - Retriving Trailers: 3 Trailers
10:06:23 T:12568 M:1890033664   DEBUG: HttpApi Start command: GetCurrentlyPlaying  paras: GetCurrentlyPlaying
10:06:23 T:13844 M:1890668544  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Local Folder Trailer Scraper Started
10:06:23 T:13844 M:1890668544  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Fetching Trailers
10:06:23 T:13844 M:1890668544  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Getting Watched List
10:06:23 T:13844 M:1890668544  NOTICE: [folder.py] - dirEntries Activated
10:06:23 T:13844 M:1890635776  NOTICE: [folder.py] - escapeDirJSON Activated
10:06:23 T:13844 M:1890635776  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Shuffling Trailers
10:06:23 T:13844 M:1890635776  NOTICE: [ script.cinema.experience ] - [ local folder scraper ] - Saving Watched List
10:06:23 T:13844 M:1890566144  NOTICE: []
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Coming Attraction Outro Video: 0 Videos
10:06:23 T:13844 M:1890566144  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() Started
10:06:23 T:13844 M:1890566144   DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - No Items
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Trailers: 0 Trailers
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Coming Attraction Intro Videos: 1 Videos
10:06:23 T:13844 M:1890566144  NOTICE: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() Started
10:06:23 T:13844 M:1890566144   DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - No Items
10:06:23 T:13844 M:1890566144  NOTICE: [script.cinema.experience] - Adding Movie Theatre Intro Videos: 1 Videos

Any ideas?



- Juanflaco - 2011-04-07

Here's the log...

http://pastebin.com/VtgfcDPj

Thanks for taking a look. I've confirmed that the path is correct, and the following 3 trailers reside in the specified local directory...

Kung Fu Panda 2_3-trailer.mov
Megamind_4-trailer.mov
Rango_5-trailer.mov


- GoofyJeff - 2011-04-07

Juanflaco Wrote:Here's the log...

http://pastebin.com/VtgfcDPj

Thanks for taking a look. I've confirmed that the path is correct, and the following 3 trailers reside in the specified local directory...

Kung Fu Panda 2_3-trailer.mov
Megamind_4-trailer.mov
Rango_5-trailer.mov

Looks like there isn't the necessary space between the name of the movie and the necessary "-trailer.mov" in the filename and perhaps that is causing your problem?

I'll defer to Giftie for the official response but that's what it looks like to me (a relative newbie who hasn't messed with this script too much yet)


- Laciecat - 2011-04-08

commoman81 Wrote:I have a few more slides that i have to edit but here is a preview of what i'm working on.

http://www.megaupload.com/?d=QCLQ487S


Very cool!

I like that layout much better than the other Indiana Jones slide pack floating around.


- Laciecat - 2011-04-08

Whipped up another set


Iron Man 2
http://www.megaupload.com/?d=XJ3X5OPD


- Shinu - 2011-04-08

giftie Wrote:I guess I could add those details too.. Rolleyes The skins that I use don't display all the information, guess I missed some details... Smile

Laugh great. hope u can add them soon.


Indiana Jones Trivia - commoman81 - 2011-04-08

Well i got some more slides and trivia done for indiana jones, I will continue on this one as well as others, i will include ones for the new movie as well. Also im going to work on the lord of the rings next

Laciecat I like yours to they are really awesome im going to include them in my trivia slides

http://www.megaupload.com/?d=GUQI12ZR


- Laciecat - 2011-04-08

commoman81 Wrote:Well i got some more slides and trivia done for indiana jones, I will continue on this one as well as others, i will include ones for the new movie as well. Also im going to work on the lord of the rings next

Laciecat I like yours to they are really awesome im going to include them in my trivia slides

http://www.megaupload.com/?d=GUQI12ZR


Thanks!


- Laciecat - 2011-04-08

More slides...



RED (2010)
http://www.megaupload.com/?d=GLNC9IMC