Kodi Community Forum
[RELEASE] 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] Home Theater Experience (Script) (/showthread.php?tid=55628)



- Nuka1195 - 2009-12-28

the order they play in.

when i'm done, i'll update the first post with all that info. let's stick to just bug reports until then ok.


- kiliksun - 2009-12-28

Hey Nuka, thanks so much for your effort with this script, amazing stuff.

I'm a new user of XBMC and i've been getting a hang of everything pretty damm well.

Yet unfortunately i just can't seem to get this script to start. Been reading the thread for awhile now and have yet to land on a solution. I'm consistently receiving:

"script failed!|home theater experience |script failed!"

I've tried queuing, starting the script via aeon's cinema path setting, etc.

I'm not sure of how to export a bug/log report so i've just seamed the report traced within the app:

http://lab.sundaycaliber.com/images/Screen-shot-2009-12-27-at-11.24.58-PM.png

any help of any stretch would be wildly appreciated.

Thanks.

and btw i'm on a mac.


- timdog82001 - 2009-12-28

Thanks for your work on the updated script Smile Everything I mentioned earlier is now fixed and working great.

One thing I noticed, the "Coming Attractions Outro" vid still plays even when you disable movie trailers, as long as you have something selected for that field. Based on the fact that when you disable movie trailers, it also hides the settings for the coming attractions intro and outro vids, I assume that you also intended for that to automatically disable the vids actually playing as well? I don't imagine you need a log for this, but if so I'm happy to provide one.

EDIT: One other thing - my rating videos haven't been playing for some reason. Before I submit a debug or anything, I want to make sure I'm doing it right. You just name the files "G.avi" and "R.avi" and so on, correct? These same videos worked in the past with the AMT HT plugin (and I tried playing them just now through xbmc anyway) so I know they should work.


- timdog82001 - 2009-12-28

I just found another bug. When I select "Reset trailers watched status," a dialog pops up, as expected, only after it finishes clearing the watched status, it runs the script, queuing up and playing videos and all. Here's a debug log:

http://pastebin.ca/1729225

Also, don't take these bug reports as complaining. I'm trying to be as helpful as I can with these. If they're unwanted, let me know. Also, so far, the new version of the script looks amazing Smile


- timdog82001 - 2009-12-28

Another potential bug. It doesn't seem to play the trivia outro video/image for me. I have tried it with both a single image and a random single video, and in both cases it just skips over it to the next video, not queuing it or anything. Debug: http://pastebin.ca/1729249


- Nuka1195 - 2009-12-28

damn tim. good job though.

if i didn't list a feature in the log (trivia intro/outro) it's not enabled. i'll look into those other bugs,


- v0lrath - 2009-12-28

Script is working great for me. In addition to Dobly and DTS, could we get an "Other" folder added? I have some MP3 movies that I'd like to drop some THX videos in.


- Nuka1195 - 2009-12-28

v0lrath, thought about that. wasn't sure, so had it default to dts.

tim fixed the reset watched bug and the coming attraction bug.

about the rating, look in the script debug window and see what it's finding for mpaa: it only works from library, even if you press info from files view and you see the rating.


- Nuka1195 - 2009-12-28

Quote:
[Home Theater Experience]

-changed: version -> 1.5.1
-fixed: reset watched trailers for amt database would run script instead of clearing watched status
-fixed: coming attraction outro would still play with no trailers
-fixed: rating limiting for amt newest scraper
-added: rating limiting to slideshow. rating goes in the slides.xml file (see resources/sample/slides.xml)

*see http://forum.xbmc.org/showthread.php?tid=55628

update


- carmenm - 2009-12-28

I updated to the latest version and now apple trailers doesnt work anymore. I get a message "setting up playlist" then it stops. I checked my settings and they are correct.
Code:
7:19:57 T:3796 M:2195169280  NOTICE: [SCRIPT] 'Home Theater Experience: Version - 1.5.1-r' initialized!
17:19:57 T:3796 M:2195169280  NOTICE:      ** Required XBMC Revision: r21010 **
17:19:57 T:3796 M:2195169280  NOTICE:      ** Found XBMC Revision: r26063 [Compatible] **
17:19:58 T:3796 M:2187173888  NOTICE: Movie: A Perfect Getaway
17:19:58 T:3796 M:2187169792  NOTICE: Genre: Drama / Horror / Mystery / Thriller
17:19:58 T:3796 M:2187169792  NOTICE: MPAA: R
17:19:58 T:3796 M:2187169792  NOTICE: Audio: dca
17:19:58 T:3796 M:2187169792  NOTICE: Traceback (most recent call last):
17:19:58 T:3796 M:2187169792  NOTICE:   File "C:\Users\tintin\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", line 52, in __init__
17:19:58 T:3796 M:2187145216  NOTICE:     mpaa = self._create_playlist()
17:19:58 T:3796 M:2187145216  NOTICE:   File "C:\Users\tintin\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", line 101, in _create_playlist
17:19:58 T:3796 M:2187145216  NOTICE:     print "Audio path: %s" % xbmc.translatePath( _S_( "audio_videos_folder" ) ) + { "dca": "DTS", "ac3": "Dolby" }.get( audio, "Other" ) + xbmc.translatePath( _S_( "audio_videos_folder" ) )[ -1 ]
17:19:58 T:3796 M:2187145216  NOTICE: IndexError: string index out of range



- C-Quel - 2009-12-29

Same issue here...


- Nuka1195 - 2009-12-29

they work here, which apple scraper. what are your settings?

1.5.1a is the current svn


- stoli - 2009-12-29

carmenm Wrote:I updated to the latest version and now apple trailers doesnt work anymore. I get a message "setting up playlist" then it stops. I checked my settings and they are correct.

Same problem here. Using "Apple Movie Trailers (Newest)", set to 3 trailers and all other options default. All scripts/plugins updated today running on Camelot... Worked ok on Saturday before today's update (last time I tried to use HTE).

Tried uninstalling and reinstalling HTE to no avail...

Pertinent debug log:

Code:
14:21:31 T:2916 M:2116227072  NOTICE: -->Python Interpreter Initialized<--
14:21:31 T:2916 M:2116227072   DEBUG: XBPyThread::Process - The source file to load is C:\Users\john\AppData\Roaming\XBMC\scripts\Home Theater Experience\default.py
14:21:31 T:2916 M:2116214784   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\john\AppData\Roaming\XBMC\scripts\Home Theater Experience;special://xbmc/system/python/python24.zlib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmc/system/python/spyce
14:21:31 T:2916 M:2116214784   DEBUG: XBPyThread::Process - Entering source directory C:\Users\john\AppData\Roaming\XBMC\scripts\Home Theater Experience
14:21:31 T:2916 M:2116198400  NOTICE: [SCRIPT] 'Home Theater Experience: Version - 1.5.1a-r' initialized!
14:21:31 T:2916 M:2116194304  NOTICE:      ** Required XBMC Revision: r21010 **
14:21:31 T:2916 M:2116194304  NOTICE:      ** Found XBMC Revision: r26017 [Compatible] **
14:21:31 T:6036 M:2115207168   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: C:\Media\DVDs\SD\300\poster.jpg Error: (2)
14:21:31 T:6036 M:2115207168   ERROR: Texture manager unable to load file: C:\Media\DVDs\SD\300\poster.jpg
14:21:31 T:2916 M:2113806336    INFO: Loading skin file: DialogProgress.xml
14:21:31 T:2916 M:2113585152   DEBUG: Load DialogProgress.xml: 1.91ms
14:21:31 T:2916 M:2113581056   DEBUG: ------ Window Init (DialogProgress.xml) ------
14:21:31 T:2916 M:2113581056   DEBUG: Alloc resources: 0.03ms (0.00 ms skin load)
14:21:31 T:976 M:2111115264   DEBUG: ------ Window Deinit (DialogVideoInfo.xml) ------
14:21:31 T:5460 M:2143862784   DEBUG: CImageLoader::DoWork - took 208 ms to load special://masterprofile/Thumbnails/Video/Fanart/5f24a056.tbn
14:21:32 T:2916 M:2138476544   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
14:21:32 T:2916 M:2138476544   DEBUG: LoadLibraryA('_socket.pyd')
14:21:32 T:2916 M:2138476544   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_socket.pyd)
14:21:32 T:2916 M:2138460160   DEBUG: LoadLibraryA('python24.dll')
14:21:32 T:2916 M:2138460160   DEBUG: LoadLibrary('python24.dll') returning: 0B3EE8D8
14:21:32 T:2916 M:2138460160   DEBUG: LoadLibraryA('MSVCR71.dll')
14:21:32 T:2916 M:2138460160   DEBUG: LoadLibrary('MSVCR71.dll') returning: 02381360
14:21:32 T:2916 M:2138460160   DEBUG: LoadLibrary('_socket.pyd') returning: 084A21B8
14:21:32 T:2916 M:2138456064   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
14:21:32 T:2916 M:2138456064   DEBUG: LoadLibraryA('_ssl.pyd')
14:21:32 T:2916 M:2138456064   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_ssl.pyd)
14:21:32 T:2916 M:2138365952   DEBUG: LoadLibraryA('python24.dll')
14:21:32 T:2916 M:2138365952   DEBUG: LoadLibrary('python24.dll') returning: 0B3EE8D8
14:21:32 T:2916 M:2138365952   DEBUG: LoadLibraryA('MSVCR71.dll')
14:21:32 T:2916 M:2138365952   DEBUG: LoadLibrary('MSVCR71.dll') returning: 02381360
14:21:32 T:2916 M:2138365952   DEBUG: LoadLibrary('_ssl.pyd') returning: 0849AEB8
14:21:36 T:4012 M:2133635072   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: C:\Media\DVDs\SD\1408\poster.jpg Error: (2)
14:21:36 T:4012 M:2133635072   ERROR: Texture manager unable to load file: C:\Media\DVDs\SD\1408\poster.jpg
14:21:36 T:6036 M:2133897216   DEBUG: CImageLoader::DoWork - took 214 ms to load special://masterprofile/Thumbnails/Video/Fanart/3f1a3ac5.tbn
14:21:36 T:976 M:2133524480   DEBUG: HttpApi Start command: SetResponseFormat  paras: SetResponseFormat
14:21:36 T:976 M:2133401600   DEBUG: HttpApi Start command: SetResponseFormat  paras: SetResponseFormat; OpenField;
14:21:36 T:976 M:2133401600   DEBUG: HttpApi Start command: QueryVideoDatabase  paras: QueryVideoDatabase; SELECT movie.c12, movie.c14, streamdetails.strAudioCodec FROM movie, streamdetails WHERE movie.idFile=streamdetails.idFile AND streamdetails.iStreamType=1 AND c00='300' LIMIT 1
14:21:36 T:2916 M:2133430272  NOTICE: Movie: 300
14:21:36 T:2916 M:2133430272  NOTICE: Genre: Action / Fantasy / War
14:21:36 T:2916 M:2133430272  NOTICE: MPAA: R
14:21:36 T:2916 M:2133430272  NOTICE: Audio: aac
14:21:36 T:2916 M:2133430272  NOTICE: Traceback (most recent call last):
14:21:36 T:2916 M:2133430272  NOTICE:   File "C:\Users\john\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", line 52, in __init__
14:21:36 T:2916 M:2133405696  NOTICE:     mpaa = self._create_playlist()
14:21:36 T:2916 M:2133405696  NOTICE:   File "C:\Users\john\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", line 101, in _create_playlist
14:21:36 T:2916 M:2133405696  NOTICE:     print "Audio path: %s" % xbmc.translatePath( _S_( "audio_videos_folder" ) ) + { "dca": "DTS", "ac3": "Dolby" }.get( audio, "Other" ) + xbmc.translatePath( _S_( "audio_videos_folder" ) )[ -1 ]
14:21:36 T:2916 M:2133405696  NOTICE: IndexError: string index out of range
14:21:36 T:2916 M:2133405696    INFO: Scriptresult: Success
14:21:37 T:2916 M:2134585344    INFO: Python script stopped
14:21:37 T:2916 M:2134585344   DEBUG: Thread 2916 terminating
14:21:37 T:976 M:2134642688   DEBUG: python thread 12 destructed
14:21:37 T:976 M:2134642688    INFO: Python, unloading python24.dll because no scripts are running anymore



- Nuka1195 - 2009-12-30

set a dolby/dts video folder, until i can up a new version.


- kiliksun - 2009-12-30

Is it just me or it seems like the trailer stream feature of this script is a no go on a mac?