2006-06-24, 21:31
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 and copy the next line containing the imdblink to a imdbinfofile in the directory specified.
linux/windows helps. everything apprecitated. thanks!
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 and copy the next line containing the imdblink to a imdbinfofile in the directory specified.
linux/windows helps. everything apprecitated. thanks!