Personal Video Database alternate Forum it is NOW online again.
0 Members and 5 Guests are viewing this topic.
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. When looking through the source you might notice i'm actually a java dev - so my code style is probably not very "pascal like".
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
//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');
poster: http://cdn3c.adultempire.org/products/49/1609649h.jpg, back: http://cdn3c.adultempire.org/products/49/1609649bh.jpg
Just tried the movie in PVD 0.9.9.21 and 1.0.2.3The 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.
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.
not having the code under version control makes me nervous.