Jump to content


Photo

Imdb Info


  • Please log in to reply
No replies to this topic

#1 normieb

normieb

    X-S Enthusiast

  • Members
  • 1 posts

Posted 26 June 2006 - 02:19 PM

(Not really a python speficif request, so posted here)

Hi, I would appreciate any help I can get on solving this. I was thinking about sorting my movies collection so did a directorylist of the movies directories into a text file. I then edited the textfile and edited the line after the directory/filename to be the link to the imdblink of that movie. What I would like to do now is to make the proper imdb linkinfofile in the directory specified in the textfile with the imdb link on the line after the file/directoryname!

This so I can do an automatic scan of anytime, and from now on I will add the proper imdb infofile.

Example txt file:
Fever.Pitch
http://imdb.com/title/tt0332047/

Finding.Nemo
http://imdb.com/title/tt0266543/

Both entries directories, but could also be like:
Harry.Potter.and.the.Chamber.of.Secrets.avi
http://imdb.com/title/tt0295297/

Finding.Nemo
http://imdb.com/title/tt0266543/

From the created textfile I would like a script to read the line with the directory/filename and copy the next line containing the imdblink to a imdbinfofile in the directory specified or the rootdirectory if a file.

Linux/windows helps. everything apprecitated. Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users