Cinema Experience?

Requests, suggestions, support, and everything else python / plugin related.
Post Reply
bornagainpenguin
Posts: 39
Joined: Tue Oct 16, 2012 5:30 am
Has thanked: 6 times

Cinema Experience?

Post by bornagainpenguin » Sun Oct 26, 2014 2:24 am

Don't laugh. It's not as absurd as it might sound, xTV-Lite 1.0 even has an option for it installed as part of the skin. Given that the skin is intended to work with xboxs specifically...

Any way I got an error when giving it a try:

Code: Select all

17:48:44 M: 37838848 WARNING: Error evaluating boolean expression Skin.HasSetting(sbar) + !(substring(Control.GetLabel(5),plot))
17:48:47 M: 32538624  NOTICE: -->Python Initialized<--
17:48:49 M: 30486528  NOTICE: Traceback (most recent call last):
17:48:49 M: 30466048  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\settings.py", line 205, in read_settings_xml
17:48:49 M: 30466048  NOTICE:     settings_file = xbmcvfs.File( settings_path ).read()
17:48:49 M: 30466048  NOTICE: AttributeError: 'module' object has no attribute 'File'
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Script Name: Cinema Experience
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Script ID: script.cinema.experience
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Script Version: 3.0.10
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Starting Window ID: 10025
17:48:50 M: 29704192  NOTICE: Traceback (most recent call last):
17:48:50 M: 29704192  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\settings.py", line 205, in read_settings_xml
17:48:50 M: 29704192  NOTICE:     settings_file = xbmcvfs.File( settings_path ).read()
17:48:50 M: 29704192  NOTICE: AttributeError: 'module' object has no attribute 'File'
17:48:50 M: 29478912  NOTICE: [Cinema Experience] - Video Playlist Cleared
17:48:50 M: 29458432  NOTICE: [Cinema Experience] - Music Playlist Cleared
17:48:50 M: 29458432  NOTICE: [Cinema Experience] - Action(Queue,25)
17:48:51 M: 28975104  NOTICE: [Cinema Experience] - Library_view: oldway
17:48:51 M: 28975104  NOTICE: [Cinema Experience] - Storing Playlist in memory
17:48:51 M: 28975104  NOTICE: Traceback (most recent call last):
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_playlist.py", line 408, in _get_queued_video_info
17:48:51 M: 28975104  NOTICE:     plist = _store_playlist()
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_playlist.py", line 376, in _store_playlist
17:48:51 M: 28975104  NOTICE:     p_list = retrieve_json_dict( json_query, items="items", force_log=False )
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\json_utils.py", line 46, in retrieve_json_dict
17:48:51 M: 28975104  NOTICE:     json_response = xbmc.executeJSONRPC( json_query )
17:48:51 M: 28975104  NOTICE: AttributeError: 'module' object has no attribute 'executeJSONRPC'
17:48:51 M: 28975104  NOTICE: Traceback (most recent call last):
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\default.py", line 189, in <module>
17:48:51 M: 28975104  NOTICE:     exit = Script().start_script( "oldway" )
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_player.py", line 95, in start_script
17:48:51 M: 28975104  NOTICE:     mpaa, audio, genre, movie, equivalent_mpaa, is_3d_movie = _get_queued_video_info( feature = 0 )
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_playlist.py", line 421, in _get_queued_video_info
17:48:51 M: 28975104  NOTICE:     movie_title = path = mpaa = audio = genre = movie = equivalent_mpaa, short_mpaa = ""
17:48:51 M: 28975104  NOTICE: ValueError: need more than 0 values to unpack
Anyone know what the issue is? Or even if maybe I have the wrong one installed? Or is the option simply legacy code which should have been taken out long ago but was forgotten?

skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Cinema Experience?

Post by skatulskijean » Sun Oct 26, 2014 12:31 pm

bornagainpenguin wrote:Don't laugh. It's not as absurd as it might sound, xTV-Lite 1.0 even has an option for it installed as part of the skin. Given that the skin is intended to work with xboxs specifically...

Any way I got an error when giving it a try:

Code: Select all

17:48:44 M: 37838848 WARNING: Error evaluating boolean expression Skin.HasSetting(sbar) + !(substring(Control.GetLabel(5),plot))
17:48:47 M: 32538624  NOTICE: -->Python Initialized<--
17:48:49 M: 30486528  NOTICE: Traceback (most recent call last):
17:48:49 M: 30466048  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\settings.py", line 205, in read_settings_xml
17:48:49 M: 30466048  NOTICE:     settings_file = xbmcvfs.File( settings_path ).read()
17:48:49 M: 30466048  NOTICE: AttributeError: 'module' object has no attribute 'File'
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Script Name: Cinema Experience
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Script ID: script.cinema.experience
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Script Version: 3.0.10
17:48:50 M: 29704192  NOTICE: [Cinema Experience] - Starting Window ID: 10025
17:48:50 M: 29704192  NOTICE: Traceback (most recent call last):
17:48:50 M: 29704192  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\settings.py", line 205, in read_settings_xml
17:48:50 M: 29704192  NOTICE:     settings_file = xbmcvfs.File( settings_path ).read()
17:48:50 M: 29704192  NOTICE: AttributeError: 'module' object has no attribute 'File'
17:48:50 M: 29478912  NOTICE: [Cinema Experience] - Video Playlist Cleared
17:48:50 M: 29458432  NOTICE: [Cinema Experience] - Music Playlist Cleared
17:48:50 M: 29458432  NOTICE: [Cinema Experience] - Action(Queue,25)
17:48:51 M: 28975104  NOTICE: [Cinema Experience] - Library_view: oldway
17:48:51 M: 28975104  NOTICE: [Cinema Experience] - Storing Playlist in memory
17:48:51 M: 28975104  NOTICE: Traceback (most recent call last):
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_playlist.py", line 408, in _get_queued_video_info
17:48:51 M: 28975104  NOTICE:     plist = _store_playlist()
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_playlist.py", line 376, in _store_playlist
17:48:51 M: 28975104  NOTICE:     p_list = retrieve_json_dict( json_query, items="items", force_log=False )
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\json_utils.py", line 46, in retrieve_json_dict
17:48:51 M: 28975104  NOTICE:     json_response = xbmc.executeJSONRPC( json_query )
17:48:51 M: 28975104  NOTICE: AttributeError: 'module' object has no attribute 'executeJSONRPC'
17:48:51 M: 28975104  NOTICE: Traceback (most recent call last):
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\default.py", line 189, in <module>
17:48:51 M: 28975104  NOTICE:     exit = Script().start_script( "oldway" )
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_player.py", line 95, in start_script
17:48:51 M: 28975104  NOTICE:     mpaa, audio, genre, movie, equivalent_mpaa, is_3d_movie = _get_queued_video_info( feature = 0 )
17:48:51 M: 28975104  NOTICE:   File "Q:\scripts\Cinema Experience\resources\lib\ce_playlist.py", line 421, in _get_queued_video_info
17:48:51 M: 28975104  NOTICE:     movie_title = path = mpaa = audio = genre = movie = equivalent_mpaa, short_mpaa = ""
17:48:51 M: 28975104  NOTICE: ValueError: need more than 0 values to unpack
Anyone know what the issue is? Or even if maybe I have the wrong one installed? Or is the option simply legacy code which should have been taken out long ago but was forgotten?
settings_file = xbmcvfs.File( settings_path ).read()
17:48:50 M: 29704192 NOTICE: AttributeError: 'module' object has no attribute 'File'

this error on log come from the standard xbmcvfs emulator on xbmc4xbox .
is have simple not the xbmcvfs file class on it so can he xbmcvfs.file not do.
you can use my new xbmcvfs.py than you have this class suported on xbmc4xbox to.
and you have the xbmcvfs.file error nomore.

read here what you must do and then test again:

http://www.xbmc4xbox.org.uk/forum/viewt ... f=9&t=3308

regards jan


Edit 1:

json_response = xbmc.executeJSONRPC( json_query )
17:48:51 M: 28975104 NOTICE: AttributeError: 'module' object has no attribute 'executeJSONRPC'

The next error what you have come the from json rpc (json rpc was integrated first with the main xbmc dharma release but we on xbmc4xbox have it not we have only the old soultion over the HTTP API)

when the jsonrpc comands what the addon use is aviable over the HTTP API on xbmc4xbox.

You can it adapt to use the HTTP API for the jsonrpc commands.

Have a look here http://www.xbmc4xbox.org.uk/wiki/WebServerHTTP-API

Regards Jan

bornagainpenguin
Posts: 39
Joined: Tue Oct 16, 2012 5:30 am
Has thanked: 6 times

Re: Cinema Experience?

Post by bornagainpenguin » Sun Oct 26, 2014 8:09 pm

skatulskijean wrote: settings_file = xbmcvfs.File( settings_path ).read()
17:48:50 M: 29704192 NOTICE: AttributeError: 'module' object has no attribute 'File'

this error on log come from the standard xbmcvfs emulator on xbmc4xbox .
is have simple not the xbmcvfs file class on it so can he xbmcvfs.file not do.
you can use my new xbmcvfs.py than you have this class suported on xbmc4xbox to.
and you have the xbmcvfs.file error nomore.

read here what you must do and then test again:

http://www.xbmc4xbox.org.uk/forum/viewt ... f=9&t=3308

regards jan
Alright, thanks for the post I'll head over there and check out how to replace the file with a more full-featured version. Umm...wait. You've edited the post, let me read that first...
skatulskijean wrote:Edit 1:

json_response = xbmc.executeJSONRPC( json_query )
17:48:51 M: 28975104 NOTICE: AttributeError: 'module' object has no attribute 'executeJSONRPC'

The next error what you have come the from json rpc (json rpc was integrated first with the main xbmc dharma release but we on xbmc4xbox have it not we have only the old soultion over the HTTP API)

when the jsonrpc comands what the addon use is aviable over the HTTP API on xbmc4xbox.

You can it adapt to use the HTTP API for the jsonrpc commands.

Have a look here http://www.xbmc4xbox.org.uk/wiki/WebServerHTTP-API

Regards Jan
Hmm... what you're saying sounds like someone would need to basically recreate the program\script from scratch again to work on our systems. I'm not a programmer unfortunately so that's beyond me. Do you know if the older Dharma version would work on the latest xbmc4xbox? If so any suggestions on where to find the legacy script?

skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Cinema Experience?

Post by skatulskijean » Mon Oct 27, 2014 10:44 am

I can not say is a dharma version working or not.

But when it is working we have no xbmc4xbox compatible skin what can it access this directly.

Look here for download from differend Version(Dharma,Frodo) and for what for skins suport this script per default.

http://forum.xbmc.org/showthread.php?tid=87563

From Cirrus Extended i have a working Version on my Xbox (This Version have nothing to do with the Version what is on the Forums under skins)
Its is working on my 128 MB xbox's but is not cleaned up to trun under 64 MB xbox's and i have not look before on this its suport Cinema Experience!

But i will it on the Next week do.

Regards Jan

aadc
Posts: 14
Joined: Sat Nov 16, 2013 5:36 pm
Location: jakarta, indonesia
Has thanked: 2 times
Been thanked: 4 times

Re: Cinema Experience?

Post by aadc » Mon Oct 27, 2014 12:19 pm

skatulskijean wrote:I can not say is a dharma version working or not.

But when it is working we have no xbmc4xbox compatible skin what can it access this directly.

Look here for download from differend Version(Dharma,Frodo) and for what for skins suport this script per default.

http://forum.xbmc.org/showthread.php?tid=87563

From Cirrus Extended i have a working Version on my Xbox (This Version have nothing to do with the Version what is on the Forums under skins)
Its is working on my 128 MB xbox's but is not cleaned up to trun under 64 MB xbox's and i have not look before on this its suport Cinema Experience!

But i will it on the Next week do.

Regards Jan
hmm this is something that i should be added to my to do list
hopefully there is new working script

User avatar
Maza
Posts: 85
Joined: Wed Jul 04, 2012 5:06 pm
Location: Portugal
Has thanked: 3 times
Been thanked: 5 times

Re: Cinema Experience?

Post by Maza » Wed Oct 29, 2014 12:39 am

This is the "Home Theater Experience" script and it's compatible with xbmc4xbox, you have to use the Slik skin. I don't know if there are other skins which support this script, but this script does work, just try it.
https://drive.google.com/open?id=0B58UJ ... authuser=0
Xbox 1.4, softmod, 250 GB HDD, Monster Gamelink 400 X Component Video & Monster LightWave 100 X, silent fan mod, Confluence Lite 720p

bornagainpenguin
Posts: 39
Joined: Tue Oct 16, 2012 5:30 am
Has thanked: 6 times

Re: Cinema Experience?

Post by bornagainpenguin » Thu Oct 30, 2014 5:39 am

Maza wrote:This is the "Home Theater Experience" script and it's compatible with xbmc4xbox, you have to use the Slik skin. I don't know if there are other skins which support this script, but this script does work, just try it.
https://drive.google.com/open?id=0B58UJ ... authuser=0
Thank you! That one works.

User avatar
Maza
Posts: 85
Joined: Wed Jul 04, 2012 5:06 pm
Location: Portugal
Has thanked: 3 times
Been thanked: 5 times

Re: Cinema Experience?

Post by Maza » Thu Oct 30, 2014 9:48 pm

:)
Xbox 1.4, softmod, 250 GB HDD, Monster Gamelink 400 X Component Video & Monster LightWave 100 X, silent fan mod, Confluence Lite 720p

Post Reply