2008-07-02, 19:50
Hi,
In cases when the file structure is as following the GetnfoFile() can't find a matching nfo-file:
c:\moviename.2007.dvdr.dts-rlgroup\moviename-rlgroup.rar
c:\moviename.2007.dvdr.dts-rlgroup\........(inside rars)moviename-rlgorup.iso
c:\moviename.2007.dvdr.dts-rlgroup\moviename.2007.dvdr.dts-rlgroup.nfo
the group has in this case put the foldername in the nfo-file instead of the name of the iso-file. If the nfo was named moviename-rlgroup.nfo the GetnfoFile() will find it. The problem is, from what I can figure out from looking at the code, that the if-procedure that checks if there is an unique nfo file in the same directory does not take in consideration that the movie file is in a rar-archive.
If the iso is unrared, the .nfo can have whatever name it wants. As long as it is unique.
Fixing this would maybe solve a lot of problems users are having with scraping movies. Since all scene-releases (I've encountered) have a .nfo file with the imdb link in it. But the naming conventions of it isn't always the best. Sure you can simply rename it to have the same name as the iso-file, but that takes away some of the simplicity of telling your server to download a torrent and then without anymore fiddling have it in your xbmc database
The code is in VideoInfoScanner.cpp and starts at line 990 and streches to 1083 if someone wants to have a look at it.
mvh/regards
T. Watz
In cases when the file structure is as following the GetnfoFile() can't find a matching nfo-file:
c:\moviename.2007.dvdr.dts-rlgroup\moviename-rlgroup.rar
c:\moviename.2007.dvdr.dts-rlgroup\........(inside rars)moviename-rlgorup.iso
c:\moviename.2007.dvdr.dts-rlgroup\moviename.2007.dvdr.dts-rlgroup.nfo
the group has in this case put the foldername in the nfo-file instead of the name of the iso-file. If the nfo was named moviename-rlgroup.nfo the GetnfoFile() will find it. The problem is, from what I can figure out from looking at the code, that the if-procedure that checks if there is an unique nfo file in the same directory does not take in consideration that the movie file is in a rar-archive.
If the iso is unrared, the .nfo can have whatever name it wants. As long as it is unique.
Fixing this would maybe solve a lot of problems users are having with scraping movies. Since all scene-releases (I've encountered) have a .nfo file with the imdb link in it. But the naming conventions of it isn't always the best. Sure you can simply rename it to have the same name as the iso-file, but that takes away some of the simplicity of telling your server to download a torrent and then without anymore fiddling have it in your xbmc database
The code is in VideoInfoScanner.cpp and starts at line 990 and streches to 1083 if someone wants to have a look at it.
mvh/regards
T. Watz