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)



- azaze1 - 2011-02-24

I'm having some additional issues now on my real HTPC (tests from earlier were with my laptop).

On my HTPC, using nightly XBMC build from 02-23-2011, and latest Cinema Experience 1.0.24, I have issues getting XBMC (or is it cinema experience) to recognize my DTS Master Audio movies as dtshd-ma. The icons show up as DTS. Furthermore, the audio intros are being skipped, and logs show the audio format as "DTS" so it's looking into the Audio/DTS folder instead of Audio/DTSHD-MA.

Secondly, when watching a TrueHD movie, the icon shows up properly, the log shows cinema experience picking it up as truehd, but it's not looking for Audio/Dolby TrueHD. It's instead looking in Audio/Other for files, and it plays a THX track. No problem with the fact that it plays THX of course.. but something's wrong in the logic.

Also not sure why my HTPC is not recognizing Master Audio on DTSMA tracks... I've got the same builds of both xbmc and cinema experience.


- giftie - 2011-02-24

The problem with Cinema Experience not using the matching Audio format is fixed in 1.0.25(being tested right now)

If you post your log to pastebin(complete log) I can have a better idea why it skipped the DTS video..


azaze1 Wrote:I'm having some additional issues now on my real HTPC (tests from earlier were with my laptop).

On my HTPC, using nightly XBMC build from 02-23-2011, and latest Cinema Experience 1.0.24, I have issues getting XBMC (or is it cinema experience) to recognize my DTS Master Audio movies as dtshd-ma. The icons show up as DTS. Furthermore, the audio intros are being skipped, and logs show the audio format as "DTS" so it's looking into the Audio/DTS folder instead of Audio/DTSHD-MA.

Secondly, when watching a TrueHD movie, the icon shows up properly, the log shows cinema experience picking it up as truehd, but it's not looking for Audio/Dolby TrueHD. It's instead looking in Audio/Other for files, and it plays a THX track. No problem with the fact that it plays THX of course.. but something's wrong in the logic.

Also not sure why my HTPC is not recognizing Master Audio on DTSMA tracks... I've got the same builds of both xbmc and cinema experience.



- azaze1 - 2011-02-24

giftie Wrote:The problem with Cinema Experience not using the matching Audio format is fixed in 1.0.25(being tested right now)

If you post your log to pastebin(complete log) I can have a better idea why it skipped the DTS video..

Here you go: http://pastebin.com/ar1Z3dsQ


Note: I'm not sure if this is an issue with cinema experience and external players... but I'm using MPC-HC to launch anything with DTS Master Audio. Since Shrek was a TrueHD movie and xbmc can decode, I let XBMC play it natively. However, the audio Intro movie it chose was a DTS MA track for THX... that launched MPC-HC to play the THX intro, and when it finshed and XBMC tried playing Shrek... it did so in the little preview/trailer window instead of full screen. I had to stop the movie, and just play immediately (w/o cinema experience) in order for it to be full screen.

Thanks.


- sab0fro - 2011-02-24

I'm having an issue on both my XBMC Live and Win7 installs when upgrading from 1.0.10 to 1.0.24, I mainly use Night skin. The only modifications I made to the skin was in DialogVideoInfo.xml with:
PHP Code:
<control type="button" id="13">
     <
description>Home Theatre</description>
     <include>
ButtonInfoDialogsCommonValues</include>
     <
label>Cinema</label>
     <
onclick>Playlist.Clear</onclick>
     <
onclick>Dialog.Close(MovieInformation)</onclick>
     <
onclick>XBMC.RunScript(script.cinema.experience)</onclick>
     <
visible>system.hasaddon(script.cinema.experience) + Container.Content(movies)</visible>
</
control

And now when I use the same Movies -> Info -> Cinema button the dialog box flashes, quits and the xbmc.log populates with:
PHP Code:
07:28:57 T:3868 M:1779945472  NOTICE:   File "C:\Users\sab0fro\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\xbmcscript_player.py"line 63in _start
07
:28:57 T:3868 M:1779908608  NOTICE:     movie_title self.playlist].getdescription()
07:28:57 T:3868 M:1779908608  NOTICETypeError: array out of bound 

Thanks in advance Blush


- giftie - 2011-02-24

sab0fro Wrote:I'm having an issue on both my XBMC Live and Win7 installs when upgrading from 1.0.10 to 1.0.24, I mainly use Night skin. The only modifications I made to the skin was in DialogVideoInfo.xml with:
PHP Code:
<control type="button" id="13">
     <
description>Home Theatre</description>
     <include>
ButtonInfoDialogsCommonValues</include>
     <
label>Cinema</label>
     <
onclick>Playlist.Clear</onclick>
     <
onclick>Dialog.Close(MovieInformation)</onclick>
     <
onclick>XBMC.RunScript(script.cinema.experience)</onclick>
     <
visible>system.hasaddon(script.cinema.experience) + Container.Content(movies)</visible>
</
control

And now when I use the same Movies -> Info -> Cinema button the dialog box flashes, quits and the xbmc.log populates with:
PHP Code:
07:28:57 T:3868 M:1779945472  NOTICE:   File "C:\Users\sab0fro\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\xbmcscript_player.py"line 63in _start
07
:28:57 T:3868 M:1779908608  NOTICE:     movie_title self.playlist].getdescription()
07:28:57 T:3868 M:1779908608  NOTICETypeError: array out of bound 



Thanks in advance Blush

Can you post your complete xbmc.log to pastebin.. The script posts other information I need to check to discover the problem.


- Zrino - 2011-02-24

Awesome addon.
Pls,
... can I force addon to always, automatically play his sequences everitime when I start movie without starting it through his extra button ?

Regards


- sab0fro - 2011-02-24

Thank you!
Win7 x64 http://pastebin.com/YdAzHG9D
Live http://pastebin.com/kDusvHiK


- azaze1 - 2011-02-25

I've downloaded 1.0.25 and will test it when I get home.

In the mean time I've updated the plugin on my home's HTPC remotely... and I still have an issue where all my DTS-HD MA mkvs are showing the plain DTS logo which leads me to believe that the detection mechanism isn't working correctly.

My laptop recognizes the *.m2ts THX trailer properly as a DTS-HD MA track with the icon in the Confluence skin. However that's just a 19 second clip. Is it possible that full feature length movies in MKV format are not being recognized properly?


- giftie - 2011-02-25

The script does not detect audio format. It relies on XBMC's Library(database) for the Stream Details. The script can only match the information stored in the database

For instance the movie Basic(idFile #83)
Image

Audio stream details stored in MyVideos34.db(notice dtsma)
Image

section of the log showing the what the script has access to and it pulling the proper video.
Image


- D-tyme - 2011-02-25

DTSHD_MA still isn't working...because it is looking for a folder called DTSHD_MA not DTSHD-MA...

Code:
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] ----------------------------------------------------------------------
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Title: Alpha and Omega
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Path: Alpha_and_Omega
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Genre: Animation / Adventure / Comedy / Family / Romance
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - MPAA: PG
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Audio: dtshd_ma
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Folder: /Volumes/Working/Cinema Experience/Videos/Audio/Other/
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience]  ----------------------------------------------------------------------
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Building Cinema Experience Playlist
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Adding Audio Format Video
19:53:30 T:2696258880 M:312356864   ERROR: GetDirectory - Error getting /Volumes/Working/Cinema Experience/Videos/Audio/DTSHD_MA/
19:53:30 T:2960420864 M:312356864  NOTICE: [script.cinema.experience]  - Thumbnail Url: Error: /Volumes/Working/Cinema Experience/Videos/Audio/DTSHD_MA/Not folder



- azaze1 - 2011-02-25

giftie Wrote:The script does not detect audio format. It relies on XBMC's Library(database) for the Stream Details. The script can only match the information stored in the database

For instance the movie Basic(idFile #83)
Image

Audio stream details stored in MyVideos34.db(notice dtsma)
Image

section of the log showing the what the script has access to and it pulling the proper video.
Image

I see,

Must be a bug in how it probes for the data then. I just wiped out the DB, let it rescan everything and it continues to say DCA instead of DTSHD_MA

I made a manual change with a sqlite viewer/editor and it worked after that, but didn't probe correct info... oh well


- giftie - 2011-02-25

Doh!
<smacks self in head>

Thanks D-tyme for the catch... Fixed and updated repo...

1.0.26
- Fixed - Corrected proper folder for DTSHD-MA videos - Thanks D-tyme


D-tyme Wrote:DTSHD_MA still isn't working...because it is looking for a folder called DTSHD_MA not DTSHD-MA...

Code:
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] ----------------------------------------------------------------------
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Title: Alpha and Omega
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Path: Alpha_and_Omega
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Genre: Animation / Adventure / Comedy / Family / Romance
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - MPAA: PG
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Audio: dtshd_ma
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Folder: /Volumes/Working/Cinema Experience/Videos/Audio/Other/
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience]  ----------------------------------------------------------------------
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Building Cinema Experience Playlist
19:53:30 T:2960420864 M:312389632  NOTICE: [script.cinema.experience] - Adding Audio Format Video
19:53:30 T:2696258880 M:312356864   ERROR: GetDirectory - Error getting /Volumes/Working/Cinema Experience/Videos/Audio/DTSHD_MA/
19:53:30 T:2960420864 M:312356864  NOTICE: [script.cinema.experience]  - Thumbnail Url: Error: /Volumes/Working/Cinema Experience/Videos/Audio/DTSHD_MA/Not folder



- giftie - 2011-02-25

I use Ember to set up my movie.nfo files then tell XBMC to Update the Library. So XBMC probably doesn't fully scrape out the media(everything containing DTS -> dca)

I'll keep an eye on this...


azaze1 Wrote:I see,

Must be a bug in how it probes for the data then. I just wiped out the DB, let it rescan everything and it continues to say DCA instead of DTSHD_MA

I made a manual change with a sqlite viewer/editor and it worked after that, but didn't probe correct info... oh well



- Wanilton - 2011-02-25

in tests I did, via menu info video, works ok, no matter how many times I run the script, but step by using the script from the main menu, it asks q or r, even setting the queue for one and not only works, this by calling the script correctly.
Leaving XBMC, run again xbmc, going, theater menu in home it works ok one first time, ie the script runs correctly the first time, but if you make a second attempt does not run the script continues to display options q or 0, and not leave it, this test with 2 release in config script, setting for 1 release, it´s ok too.


- giftie - 2011-02-26

Wanilton Wrote:in tests I did, via menu info video, works ok, no matter how many times I run the script, but step by using the script from the main menu, it asks q or r, even setting the queue for one and not only works, this by calling the script correctly.
Leaving XBMC, run again xbmc, going, theater menu in home it works ok one first time, ie the script runs correctly the first time, but if you make a second attempt does not run the script continues to display options q or 0, and not leave it, this test with 2 release in config script, setting for 1 release, it´s ok too.

A copy of your xbmc logs(posted on Pastebin) would be a lot of help...