Guest User

imdb.ifs (always fill translated title field) - context diff patch

a guest
Apr 5th, 2025
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.42 KB | None | 0 0
  1. *** IMDB.ifs
  2. --- IMDB (always fill translated title field).ifs
  3. ***************
  4. *** 1045,1050 ****
  5. --- 1045,1051 ----
  6.       end;
  7.       if (updated = 0) and (GetOption('TranslatedTitle') > 0) and (GetParam('RapidAPIKey') <> '') then
  8.         retrieveTitlesFromRapidAPI();
  9. +     if (GetField(fieldTranslatedTitle) = '') then SetField(fieldTranslatedTitle, GetField(fieldOriginalTitle));
  10.     end;
  11.    
  12.     // Comments
  13.  
Advertisement
Add Comment
Please, Sign In to add comment