2014-01-20, 16:18
Hi,
I wonder if somebody could help.
I have started using this script very basically by trying to get it to play a video showing that the movie will be in DTS audio before the start of my movie.
I have set up the directory as described at the start of this thread but when I run the script all it does is go straight to the movie ( i have also tried it with trailers and an intro and they work fine).
From what I can gather from the debug log, the script sees that the movie is DTS, it looks in the correct place for the file to play and then this is where i cannot seem to follow what the log is showing and hence i cannot get to the bottom of why the video file in the DTS folder isnt playing.
Perhaps somebody could have a look at my log and help.
Debug Log
Many thanks
Edit - I think it is something to do with this section
I wonder if somebody could help.
I have started using this script very basically by trying to get it to play a video showing that the movie will be in DTS audio before the start of my movie.
I have set up the directory as described at the start of this thread but when I run the script all it does is go straight to the movie ( i have also tried it with trailers and an intro and they work fine).
From what I can gather from the debug log, the script sees that the movie is DTS, it looks in the correct place for the file to play and then this is where i cannot seem to follow what the log is showing and hence i cannot get to the bottom of why the video file in the DTS folder isnt playing.
Perhaps somebody could have a look at my log and help.
Debug Log
Many thanks
Edit - I think it is something to do with this section
Quote:13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - Audio: dca
13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - Folder: (u'C:\\Cinema Experience\\Videos\\Audio\\DTS\\',)
13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] ----------------------------------------------------------------------
13:47:05 T:9696 NOTICE: [script.cinema.experience] - Building Cinema Experience Playlist
13:47:05 T:9696 NOTICE: [script.cinema.experience] - Adding Countdown Videos: 0 Video(s)
13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() Started
13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - No Items
13:47:05 T:9696 NOTICE: [script.cinema.experience] - Adding Audio Format Video
13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() Started
13:47:05 T:9696 DEBUG: [ script.cinema.experience ] - [ ce_playlist.py ] - _get_special_items() - Path: C:\Cinema Experience\Videos\Audio\DTS\
13:47:05 T:9696 DEBUG: [folder.py] - dirEntries Activated
13:47:05 T:9696 DEBUG: [folder.py] - escapeDirJSON Activated
13:47:05 T:9696 DEBUG: [json_utils.py] - JSONRPC Query -
{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "C:\\Cinema Experience\\Videos\\Audio\\DTS\\", "media": "video"}, "id": 1}
13:47:05 T:9696 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "C:\\Cinema Experience\\Videos\\Audio\\DTS\\", "media": "video"}, "id": 1}
13:47:05 T:9696 DEBUG: CUtil::GetMatchingSource: no matching source found for [C:\Cinema Experience\Videos\Audio\DTS\]
13:47:05 T:9696 DEBUG: Previous line repeats 4 times.
13:47:05 T:9696 DEBUG: [json_utils.py] - retrieve_json_dict - JSONRPC -
{"error":{"code":-32602,"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
13:47:05 T:9696 ERROR: Traceback (most recent call last):
13:47:05 T:9696 ERROR: File "C:\Users\David\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\json_utils.py", line 45, in retrieve_json_dict
13:47:05 T:9696 ERROR: result = response['result']
13:47:05 T:9696 ERROR: KeyError: 'result'