[RELEASE] Amazon Prime Instant Video plug-in addon - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Amazon Prime Instant Video plug-in addon (/showthread.php?tid=108124)
- cmo1982 - 2011-09-04 05:35
In fooling around with Amazon Prime Instant Video, one thing that perturbs me is that there is no way to queue up videos to watch like you can on Netflix. One thing you can do, though, is add instant videos to a wish list. Would it be possible to add functionality to look at a wish list and list just the videos on that list? Similar to the My Library function you've added, but that only applies to rentals and purchases, not free instant videos.
Just a thought - it might be a nice feature to implement a personal queue.
- BlueCop - 2011-09-04 06:14
that is an excellent idea. I will look into that.
- Hamgeek - 2011-09-04 18:08
This is shaping up into an excellent add-on. Thanks BlueCop.
I recently dropped Netflix streaming because of the price increase. I already had Prime for the shipping and when Amazon added the videos I needed a way to watch them on my TV. I didn't want a Roku box, so this is just what I needed.
- BlueCop - 2011-09-04 19:03
ndeshmukh: I am trying to add the tvdb code now. I am just making a generic module to use for free cable, amazon, or hulu. I am not sure what to supplement exactly on hulu though. I want to do the same with moviedb. I think I am going to have some db options for hulu so it can cache complete show and movie lists.
I committed an update to add a couple options to the settings for the library. You can completely disable the My Library item if you don't really rent or purchase videos from amazon. The other option is to retrieve the metadata for the library items. this is somewhat slow if there are alot of items. I am going to build a meta cache for library so it won't have to look up the data many times since the library is re-scraped each time it is accessed.
I am working on wish list option. the code I am using now looks for a wish list called 'Prime Queue' and then lists what is there.
The database gives us a lot of options for prime videos as well. I could implement a watched field to indicate what you have seen. Also a simple favorites show or movie lists is pretty simple to do. You would have to manage the lists from with in XBMC though and not the website.
If you are just trying to build a list of movies to watch then you can always use an xbmc playlist and add the movies or episodes to that for extended viewing.
- ndeshmukh - 2011-09-04 19:16
Wow. You are adding a lot of stuf. Cool. I just wish you can get artwork from tvdb and tmdb, and not just banners, because many people don't use views with banners.
Anyways those are eye candy features, and hould be second to all other important functionality. Btw when you make a cache of the shows and stuf, then that cache can be out of sync with what is avaliable on the website.
So it is possible you are presented with choices, that are no longer available, or the new stuff on the website is not presented to you. Maybe have a 5-10 day auto update with full website scan? And make it such a way that the db can be incrementally updated. If you leave you update code in, the user can be presented with all the tvdb show options for them to choose the correct one for each show. You don't have to always make the db correctly, and keep handing out updated db. That is too much work and painful, as I experienced over the last week, applying your code free.cable tvdb code to Amazon, Icefilms, and free.cable for the newwer networks.
Btw I noticed you were not able to retrieve the genre for each show from Amazon, so which genre listing will they fall under? I guess you can supplement missing info from tvdb?
- BlueCop - 2011-09-04 19:32
some shows don't have genre listed on their page. They aren't listed under genres right now.
I want incremental updates. it would be much faster. I am a novice to database queries which is probably slowing me down.
I had the idea of displaying the cache to the user and then silently updating the cache in the background for new items.
- ndeshmukh - 2011-09-04 19:59
I can understand, last week has been my crash course in python, together with sqlite and sql querries for the first time, but making the db was a process where i would inveritably have xbmc crashing on me, so i made sure that the update to db was incremental. Check if in db, if not then query tvdb, that was my logic, and also cache a state whre you querry tvdb and if not found save that state, so that you don't keep going over and over the same shows.
I was thinking of adding a date column of when the tvdb was queried for that show, and next time if db is asked for it and state says not found in tvdb, but was checked like a month back, then it can re-query tvdb for that item.
- BlueCop - 2011-09-04 20:17
I committed small update to change to use mechanize for login. It should work much better. It also will inform the user if the email or password is incorrect.
thanks to mighty_bombero for the code.
- cmo1982 - 2011-09-05 04:12
Sorry about that - I'm clearly a noob here. I'll repost.
- BlueCop - 2011-09-05 05:49
please don't post logs on the forum. please delete it and post it to a paste service. it is much harder to read a jumbled mess.
what platform are you on? seems to be a mechanize module problem.