Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - GazonkFoo

Pages: [1]
1
Support / Re: AddImageURL doesn't work in 1.0.2.3
« on: April 06, 2013, 03:25:28 pm »
Unfortunately i don't have a clue.
I get 6 times an "OLE error 80040152" (see attached screenshots).
The main interface actually comes up after this but i cannot add a movie.

I tried everything i found in this thread without success: http://www.videodb.info/forum_en/index.php?topic=715.0
The dll files you listed are also in place.
PVD and Wine log doesn't contain any errors or warnings  :-\

Thanks for your help!

PVD Version: 0.9.9.21
Wine Version: 1.5.27
OS: Arch Linux; Kernel 3.8.5; Gnome 3.6.3; Xorg 1.13.3; AMD Catalyst 13.1 (if anything matters)

[attachment deleted by admin]

2
Support / Re: AddImageURL doesn't work in 1.0.2.3
« on: April 04, 2013, 10:12:42 pm »
Thanks nostra!!

Unfortunately i can't test it right now because i switched to linux and until now i was unable to get PVD to run in wine :(

3
Support / Re: IMDB rating
« on: September 01, 2012, 10:32:56 am »
Well actually there are three rating fields a plugin/script can use: rating, imdbrating, orating
The last one is special because it is a custom rating field for the script.

I guess the TMDb plugin for some reason uses the imdbrating field!?
My version of the script (http://www.videodb.info/forum_en/index.php/topic,1030.msg15869.html#msg15869) uses the orating field and sets the rating name to TMDb.
I dont know if this has any implications but from my POV this is the right way and is actually a bug in the plugin.

4
Feature Suggestions / Re: TheMovieDB.org
« on: September 01, 2012, 10:25:08 am »
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)

I'm not sure there's any disadvantages to a script vs. a plugin.

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.

Does the API offer a way to select the default poster, or one classified by the same language as the user language?

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
Another issue i had is preventing PVD from downloading the webpage URL which i don't care about because i only use the API.

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.

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 ;)

5
Support / Re: Recommended FireBird database GUI client / manager
« on: August 31, 2012, 07:29:07 pm »
Thank you sooo much for this dma!!
DBeaver is an awesome tool - i was using Squirrel and Oracle SQL Developer before but this is much better.
Today at work i send out a mail to our entire development team and told them about it.

We are primarely working with eclipse so this is a pleasure to use.
Even our team leader installed it because i was telling him about the neat ER diagram option ;D

6
Feature Suggestions / Re: TheMovieDB.org
« on: August 31, 2012, 06:52:59 pm »
I can not find any solution for it Status, I tried with this part code,
The script uses the API - see here: http://api.themoviedb.org/2.1/
It looks like the status is just not transmitted but i think theres not much usefull information in it anyway.
A release date in the future usually indicates "not released" :P

aka data only one alternative address out there on the web site is usually a number of alternative titles.
The aka title filled at the moment is the english alternative name - whereas the aka on the homepage are the translated names.

In Cast data not transmit data only for players, but also as Crew information for art, camera, etc.
This is a bit difficult. PVD supports the following person types: actor, director, writer, composer, producer
TMDb groups the crew into departments and jobs.
Departments are (the ones i found): Actors, Directing, Writing, Sound, Production, Art, Camera, Editing, Costume+Make-Up, Crew
The list of jobs is pretty large - i don't really want to deal with them :P
What the script does atm is putting the department actors into actor, directing into director, writing into writer, sound into composer (this is already an ugly match) and production into producer (not perfect because production contains stuff like casting etc).
The other departments aren't handled at all - i could add them to a custom field if you like.

It doesn't seem possible to add configuration options on scripts, is it?
No only plugins are configurable :(

Also i read in the script that "//note that loading more than one poster is broken in PVD 1.0.2.3 Beta". Is it still the case? (most probably yes, as 1.0.2.3 is actually the latest available version)
Have a look at this: http://www.videodb.info/forum_en/index.php/topic,3229.0.html
I haven't found another way to download multiple posters in a script :(

Also (as you may have noticed from the source) adding more than one url doesn't seem to work - neither on 0.9.9.21 nor on 1.0.2.3
Another issue i had is preventing PVD from downloading the webpage URL which i don't care about because i only use the API.

7
Feature Suggestions / Re: TheMovieDB.org
« 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).

[attachment deleted by admin]

8
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 28, 2012, 10:33:32 pm »
Well it's much easier to follow changes and track issues than in a forum.
Keeping changelogs in the source code is something i really dislike.

Ok i must admit i normaly work on larger scale projects and i'm actually a fulltime developer but for me there's no downside of this. I don't see how more than two people can work on anything without a VCS (it's already hard for two to work in parallel).

Setting up a project on any of the hosting sites is a matter of seconds.

9
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 28, 2012, 06:05:15 pm »
Hi AimHere,

i did my best to clean up the code and i think it should be pretty easy to understand whats going on now 8)
so feel invited to contribute (but of course i will also maintain it) ;)

btw what do you guys think about moving this and other scripts/plugins to a project hosting site (e.g. google code, github, sourceforge)?
not having the code under version control makes me nervous.

10
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 27, 2012, 07:36:17 pm »
I would like to publish the new scripts to the automatic update system but before i can do that i need some more testers.
So it would be really helpful if everyone could download the scripts from my last two posts and give me some feedback.

Thanks guys!!


btw if anyone needs a PVD script feel free to drop me a PM ;)

11
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 26, 2012, 12:51:36 am »
Find attached the new person script.

Handled values:
Name, Photo, Altnames, Birthplace, Birthday, Comment

The Biography field is filled with weight, height, eye color, measurements, hair color and ethnicity.

[attachment deleted by admin]

12
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 18, 2012, 12:14:43 pm »
Oh wait you don't have to go back to 0.9.9.21.
Find attached a version which only downloads the front cover (so there's no need for AddImageURL).

[attachment deleted by admin]

13
Support / AddImageURL doesn't work in 1.0.2.3
« on: August 15, 2012, 03:36:38 pm »
Hi,

the AddImageURL procedure (in pascal scripts) seems to be broken in the 1.0.2.3 Beta.
It works fine on 0.9.9.21.
Please have a look at this topic: http://www.videodb.info/forum_en/index.php/topic,3197.msg15825.html#msg15825

I tried to remove this and instead switch to the prDownload mode and then returning the PosterURL in GetDownloadURL.
Unfortunately this way i couldn't get PVD to download both posters (the first one works fine though).

14
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 15, 2012, 12:43:12 am »
Just tried the movie in PVD 0.9.9.21 and 1.0.2.3
The posters (front & back) work in 0.9 and as you said won't load in 1.0 :(

I don't have a clue why this is broken in the new version, so maybe one of the devs could help me out.

This is the affected piece of code (line 148 in my script):
Code: [Select]
//Poster (Front & Back)
  PosterURL := HTMLValue(HTML, 0, 0, '<div id="Boxcover"><a href="', '"');
  BackPosterURL := StringReplace(PosterURL, 'h.jpg', 'bh.jpg', False, True, False);
  if (PosterURL <> '') and (BackPosterURL <> PosterURL) then
  begin
    LogMessage('poster: '+ PosterURL +', back: '+ BackPosterURL);
    AddImageURL(0, PosterURL);
    AddImageURL(0, BackPosterURL);
  end else
    LogMessage('poster not found');

The log output shows that AddImageURL is in fact called:
Code: [Select]
poster: http://cdn3c.adultempire.org/products/49/1609649h.jpg, back: http://cdn3c.adultempire.org/products/49/1609649bh.jpg

15
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 14, 2012, 06:22:59 pm »
Thanks for pointing this out - they indeed changed something in the description.
Find attached the new script where this should be fixed.

However i cannot reproduce the poster not loading stuff :(
Can you please tell me on which movie(s) this happens?

[attachment deleted by admin]

16
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 04, 2012, 04:41:24 pm »
i converted my script to pascal style (according to http://edn.embarcadero.com/article/10280 and the other scripts) so others can pick this up.

furthermore i extended the script so everything available on ADE should now be parsed.
the following fields are handled: title, studio, year, poster (front and back), tagline, description, actors, directors, producers, genre, features, mpaa, rating, release date, duration

[attachment deleted by admin]

17
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 03, 2012, 10:07:47 pm »
Hi,
first of a big THX for the work you put in this.
But somehow the script is still (or maybe again) broken for me.
Especially the studio and year fields often end up in a huge mess (containing a lot of html code etc).

First i thought about fixing it in your script but then i decided to start from scratch to learn some pascal.   :P
When looking through the source you might notice i'm actually a java dev - so my code style is probably not very "pascal like".   :-[

[attachment deleted by admin]

Pages: [1]