Something similar as it is used for XMBC with their nfo files.
Script looks for a nfo file with the same name as the currently processed game file. The content could be:
a) just thegamesdb ID of the game OR
b) url to the thegamesdb detail page OR
c) returned data from thegamesdb api when using info from a) or b) to request details for the right game (this would help to avoid redudant calls)
Something similar as it is used for XMBC with their nfo files.
Script looks for a nfo file with the same name as the currently processed game file. The content could be: a) just thegamesdb ID of the game OR b) url to the thegamesdb detail page OR c) returned data from thegamesdb api when using info from a) or b) to request details for the right game (this would help to avoid redudant calls)