t0mm0 Wrote:i don't know if you have read anarchintosh's document that inspired this effort, but basically the original idea was to build a bunch of specialised modules to do different things that could be reused across addons. i started off just saying i would try to implement the resolving bit, though i have also added the generic stuff in t0mm0.common in the process
i'm afraid i am not much of a power user when it comes to xbmc (i spend much more time playing with the code than actually using it!) so i am not really familiar with all these features so not sure i could comment on whether that stuff should be added to t0mm0.common at the moment (it's definitely not urlresolver territory). maybe if someone could define exactly what the feature is and roughly how it works we would be able to make a decision on where to put it.
t0mm0
Favorites in IceFilms:
From with the main menu of Icefilms, one of the options is Favourites
To add a TV show you like, right click to bring up the menu. Select "Add to Favorites"
Then when ever you go into Favourites all your favourite shows will be listed. So no more search through long lists in A - Z to bring up your favourite tv shows. It works the same for movies. Very handy indeed. All the favourites are stored locally in a cache file on your xbmc device.
In the IceFilms code, here are the list of Favourite related functions.
def favRead(string):
def addFavourites(enablemetadata,directory,dircontents):
def FAVOURITES(url):
def MOVIE_FAVOURITES(url):
def TV_FAVOURITES(url):
def ADD_TO_FAVOURITES(name,url,imdbnum):
def DELETE_FROM_FAVOURITES(name,url):
def CLEAR_FAVOURITES(url):
There is actually a fair chuck of icefilms addon code related to Favourites.
It could be a project of it's self. I can't see how you could separate it into a completely different module though, it would be better within the script.module.t0mm0.common. t0mm0, if you could have a look it would be great!
t0mm0 Wrote:i think i like this idea
maybe this could be done in urlresolver, the settings interface could be expanded to add a call to set the preferred country for your plugin? then users could enable the proxy and/or set a custom one instead of an auto-detected one (if they know of a stable proxy in the right country) in each plugins settings. the actual code could probably go in t0mm0.common.net so it is available to addons that don't use urlresolver.
what do you think?
This could be another interest setting: X-Forwarded-For
http://forum.xbmc.org/showpost.php?p=691...tcount=260
It's used to bypass geolock, It seems to work better for the smaller hosters. The likes of the BBC iPlayer and Hulu, it doesn't work with.
t0mm0 Wrote:i also want to add decent caching support to t0mm0.common.net as most of the time when browsing show or movie listings the listings remain unchanged so fetching a new copy is pointless.
Would adding a caching support, enable watched status support? This would be a very useful feature.