Kanesodi
Sat, 21 Mar 2009 11:26:51 -0700
On Sat, Mar 21, 2009 at 2:54 PM, Davide Alberani <davide.alber...@gmail.com>wrote:
> On Mar 21, Kanesodi <kanes...@gmail.com> wrote: > > > Hello all, > > Hi! > > > I have a problem using vdbpy to add movies to my VideoDB. The issue > > involves plot not being correctly fetched. > [...] > > I thought it might me IMDb issue than vdbpy issue, so tried serval > > movies > > No, the order of the information in movie['plot'] was changed in > IMDbPY 3.9, and vdbpy 1.1 contains a fix to support the new style. > > Please, be sure to use vdbpy 1.1 _and_ IMDbPY 4.0. You're right, my mistake was using 3.6 version Ubuntu 8.10 repo only has python-imdbpy 3.6 and I installed it and used 1.1, which obviously didn't quite work ;-) For sake of search engines and users who might come across this mail, here is a little guide: In order use vdbpy 1.1 Ubuntu 8.10, you need IMDbPY 4.0 Python 2.5 is installed by default, but we gonna install IMDbPY, so we need python developers package as well We also install python lxml binding, so vdbpy speeds up. sudo aptitude install python-dev python-lxml download IMDbPY 4.0 @ imdbpy.sf.net wget http://downloads.sourceforge.net/imdbpy/IMDbPY-4.0.tar.gz unpack & cd into dir tar -xvfz IMDb* && IMDb* Install IMDbPY sudo ./setup.py install Use vdbby-1.1 as described in it's docs. > > > > What is exactly wrong here? maybe I'm not doing something wrong. > > If it persists, it's for sure a problem in IMDbPY/vdbpy and > not on your side. > If you can't fix it, please report the data access system you're > using (fetching data from the web, a local SQL database, etc. etc.) > > I've done a fast test with 'http' and it works fine. > > > And I have one question: I'm looking for a script which allows me > > to mass add movies to videodb. I suppose vdbpy cannot do that? am > > I correct? > > It can, even if I've not used it in a while; the use of the > vdbpy_batch.py script is documented in BATCH.txt. > > It was thought to _update_ the data in a videoDB database, but > if you have a list of titles/movieIDs from another source, I'm > sure it would be easy to automatically create the set of files > dumped by the "vdbpy_batch.py dump" command. My source here would be simple command ls My files are located on a FreeNAS system (BSD), using command-line I execute ls > ls.txt which gives me a file containing a list of folders like this: Afro Samurai (2007) Afro Samurai - Resurrection (2009) After the Sunset (2004) Akira Kurosawa (1950) Alibi (2008) Alien (1979) Alien Raiders (2008) one movie on each line. Then I would clean up the file removing years (or maybe not needed). And here I'm stuck.. how can I get vdbpy to read every line and generate files like dump function does? > > > If you have other questions, feel free to ask! Thanks man ;-) > > > Bye, > -- > Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47] > http://erlug.linux.it/~da/ <http://erlug.linux.it/%7Eda/> >
------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel