English > Feature Suggestions
TheMovieDB.org
GazonkFoo:
Thanks for the explanation of how the scripts/plugins are actually used - helps a lot when thinking about where to fill what data.
I will try to add a few "extension points" to the script so people can easily change the script behaviour (especially which data is put in where).
Now on to the other questions i found in your post: 8)
--- Quote from: rick.ca on September 01, 2012, 09:38:00 am ---I'm not sure there's any disadvantages to a script vs. a plugin.
--- End quote ---
You can make broader use of the programming language in a plugin.
e.g. the TMDb plugin probably uses some kind of xml parser.
If i were to write a plugin for TMDb i would actually add a JSON parsing unit (e.g. http://sourceforge.net/projects/is-webstart/) and switch to the 3.0 API of TMDb.
This should improve performance and most likely there are some nice new features in the 3.0 API.
--- Quote from: rick.ca on September 01, 2012, 09:38:00 am ---Does the API offer a way to select the default poster, or one classified by the same language as the user language?
--- End quote ---
Unfortunately all you get is a list of images grouped into posters and backdrops. Each image is available in 6 sizes and just has an id, width and height.
It is possible to search by language but most often there are more than 20 posters just in english (the plugin actually only downloads the english ones i think).
--- Quote from: rick.ca on September 01, 2012, 09:38:00 am ---
--- Quote ---Another issue i had is preventing PVD from downloading the webpage URL which i don't care about because i only use the API.
--- End quote ---
The URL doesn't hurt, and can be used to get to the website, should the need arise. For me, that's usually to see what other posters are available.
--- End quote ---
No thats ok but the problem is that after returning the search results and the right movie is selected (automatically or by the user), PVD starts downloading (!) the URL i added to the selected result which of course is the webpage and not the api page of the movie (damn i suck at explaining stuff in english ^^).
I then receive the html content of this page in the ParsePage function which i have no use for - in this case i just make a redirection to the movies api page.
No big issue just a bit of overhead ;)
Ivek23:
A small correction in the original language:
for this display of 'en' is now in the 'English'.
They are also examples of how to add info in the custom field.
Original script is here.
[attachment deleted by admin]
Ivek23:
--- Quote from: GazonkFoo on September 01, 2012, 10:25:08 am ---
--- Quote from: rick.ca on September 01, 2012, 09:38:00 am ---Does the API offer a way to select the default poster, or one classified by the same language as the user language?
--- End quote ---
Unfortunately all you get is a list of images grouped into posters and backdrops. Each image is available in 6 sizes and just has an id, width and height.
It is possible to search by language but most often there are more than 20 posters just in english (the plugin actually only downloads the english ones i think).
--- End quote ---
I think not only in English, but if it is there on the web pages displayed 10 posters by plugin transferred all 10 - verified.
Ivek23:
--- Quote from: GazonkFoo on August 30, 2012, 08:56:25 pm ---Ivek23 asked me to create a plain delphi .psf script for TMDb - so here it is (attachment).
It basically does the same as the other script but should be easier to customize (no need to compile).
--- End quote ---
--- Quote from: Ivek23 on September 01, 2012, 11:51:48 am ---A small correction in the original language:
for this display of 'en' is now in the 'English'.
They are also examples of how to add info in the custom field.
Original script is here.
--- End quote ---
Notice:
Since the 20 September the two scripts no work anymore (unfortunately).
botez:
I'd love to give the MovieDB plugin a look to see if I can update it. Where is the source for the tmdb script? I just see the dll available.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version