akukic1 / bluecop-xbmc-repo

Automatically exported from code.google.com/p/bluecop-xbmc-repo
0 stars 0 forks source link

Only first 128 subscriptions are available using the plugin #244

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add more than 128 subscriptions to your HULU account
2. When using the addon and going to Subscriptions page only first 128 are 
visible and there is no possibility to go next page

What is the expected output? What do you see instead?
The expected output is to see all the subscriptions (in my case over 200). 
However I only see first 128

What version of the product are you using? On what operating system?
XBMC (12.2 Git:20130502-32b1a5e) on Windows 8

Please provide any additional information below.
The problem seems to be on hulu side that returns at maximum 128 even though 
limit is set on 2000 (limit=2000 on getFEED).

To see the next 128 subscriptions it seems that you can use page=2 parameter.

For example the below line will show the next 128 subscriptions, I just 
modified the limit=2000 to limit=128 and added page=2. 
url = http: 
//m.hulu.com/menu/hd_user_subscriptions?dp_id=hulu&limit=128&page=2&package_id=1
&user_id=xxxxxxxxxxxxxxxxx

So it would need some coding change where you combine initial 128 feeds and 
then request next 128 subscriptions using page=2 and combine these two. Then we 
would have 256 show limit. If that is not enough then you can use page=3 and so 
on...

Original issue reported on code.google.com by Jan...@gmail.com on 25 Aug 2013 at 6:45

GoogleCodeExporter commented 8 years ago
This also applies to the queue.

Original comment by good.evi...@gmail.com on 23 Feb 2014 at 9:42