On Wed, 2008-07-02 at 19:52 +0200, Davide Alberani wrote:
> Ratings are retrieved by IMDbPY, and from a fast test using my
> local SQL copy of the database and both the 'http' and 'mobile'
> data access systems, its value is fetched correctly and inserted
> into the videoDB database.
> 
> Is it true for every movie you try to insert?  Can you give me
> a title (or imdbID) or two?
i installed imdbpyweb just for testing and the ratings are retrieved correct 
but vdbpy_add.py can't add ratings to my videodb
imdbID : 0158983
$ vdbpy_add.py 0158983
Inserting movie "0158983".
Connecting to the VideoDB database...  done!
Collecting information about the VideoDB database...  done!
Fetching data from IMDb...  done!
Inserting the new movie "0158983"...  done!
Updating genres and userseen information...  done!
Updating the actors table...  done!
Fetching the movie cover...  done!
Fetching the actors headshots...  done!


imdbID : 0120737 ... the same

same happens with every imdbID

I also tested it the other way:
imdbID : 0158983 ,  i run dbpy_add.py then i updated the information
through videodb interface , then deleted the rating through the
interface and tried to update it with 
$ vdbpy_add.py -u 12 0158983

still no ratings.
if i delete  something else (year/ duration/ actors)
after running update ($ vdbpy_add.py -u 12 0158983)  everything is
filled back to my db correctly

> It's also possible that something has changed in videoDB: my local
> copy can be a bit old: I'll update from the CVS later.
most likely yes , something has changed
my videodb version is 3.0.1

> I've fixed this one in the CVS, and I attach the new vdbpy_batch.py
> to this mail.
> Try it, and let me know if this fix the problem.

yes , that works now
Thanks!


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to