jordevorstenbosch / xbmc-crestron

Automatically exported from code.google.com/p/xbmc-crestron
1 stars 1 forks source link

Issues with list #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I am having trouble with a couple of issues. Please help me.

FIRST ISSUE:
I am using OpenElec 4.0.1 and XBMC 13.1 Beta. The Processor is Crestron MC3.
When I use XBMC module version 1.10 I am having following issues:

1. I set Item_Count to 10d. When I request Thumbnails and Titles from the XBMC, 

i get them mixed up for Items 7,8,9 & 10. 
2. They are mixed in the sense that for example from Movie/Episode_Name_7 
output i get the string for year instead of the title, and instead of Thumbnail 
URL, on that output I get something else.
3. Than, if I reduce Item_Count to 5d, and request data for some 5 Items of the 
Library, I get data only for the first one of those 5. 
Interestingly, if I have signals connected to Items 7,8,9 & 10, I first get 
outputs for them (which are mixed up), than output for Item 1, and NO outputs 
for 2,3,4,5.

I have had the same issues for some older version of OpenElec and XBMC, so I 
dont believe the problem is in Beta version of XBMC.
Also I have gone back to XBMC module 1.02 and I don't have this issue, it is 
all working properly.

SECOND ISSUE:

When I scroll the list with Page Up and Page Down a little bit faster, and each 
time I request Thumbs and Titles for 10 Items, I always have the same issue of 
communication breakdown. Probably some overflow. After that happens no commands 
are forwarded to XBMC regarding lists. There are no "SendToSocket { "id":20..." 
commands. And reconnect to XBMC doesn't help. Only thing that helps is 
processor restart. Is there a solution for this, or must I program a limitation 
on a speed for which I can send Page Up and Page Down commands ?

Thanks in advance,
Miki

Original issue reported on code.google.com by miki.bgd...@gmail.com on 21 May 2014 at 8:49

GoogleCodeExporter commented 9 years ago
Will take a look...

Original comment by neil.car...@gmail.com on 28 May 2014 at 9:44

GoogleCodeExporter commented 9 years ago
I cannot re-create error 1. 

Please download and use the most recent version of the code. It is best to use 
a subversion client (like tortoisesvn) to download the code directly from 
http://xbmc-crestron.googlecode.com/svn/trunk/. If you use subversion then it 
is easy to update to the latest version of the code when you need to. 

Alternatively download version 1.11 from 
http://dl.bintray.com/neil-carthy42/generic/ 

I can see why you would download version 1.10: it was the first listing on the 
Downloads page. Unfortunately Google have changed their policy and code 
projects (like this one) can no longer add any new files to the download 
section. 

To make it clear that the Downloads files are out of date I have deprecated 
each one.

TLDR: download version 1.11 and try again. If it still fails then look at the 
SIMPL code in the XBMC.umc file and see if you can spot anything. As I said 
earlier it all works for me perfectly with Item_Count = 10d.

Error 2: I am not surprised. The SIMPL+ module receives too much data in too 
short a time, gets confused and is left in an ambiguous state. A similar 
problem ocurrs with very long playlists (Issue 8).

Simplest short term solution is to enter a limitation or de-bounce in some 
fashion. The long term solution is to re-write the entire codebase in SIMPL#. 
It's something I want to do but do not have the time at present. 

There is no guarantee that SIMPL# will 100% solve this problem but I did some 
tests and it improves things, not least because the JSON processing is done 
outside of SIMPL+.

Neil

Original comment by neil.car...@gmail.com on 31 May 2014 at 12:02