Fix FILE_ID.DIZ (and other) display issues when ANSI is stored with specific term width in SAUCE
+ Preserve SAUCE records of desc/long_desc during import (in meta) * Use SAUCE term width for ANSI Prep when displaying desc
This commit is contained in:
@@ -259,8 +259,10 @@ function scanFileAreaForChanges(areaInfo, options, cb) {
|
||||
|
||||
if( tagsEq &&
|
||||
fileEntry.desc === existingEntry.desc &&
|
||||
fileEntry.descLong == existingEntry.descLong &&
|
||||
fileEntry.meta.est_release_year == existingEntry.meta.est_release_year)
|
||||
fileEntry.descLong === existingEntry.descLong &&
|
||||
fileEntry.meta.est_release_year === existingEntry.meta.est_release_year &&
|
||||
fileEntry.meta.desc_sauce === existingEntry.meta.desc_sauce
|
||||
)
|
||||
{
|
||||
console.info('Dupe');
|
||||
return nextFile(null);
|
||||
@@ -276,6 +278,10 @@ function scanFileAreaForChanges(areaInfo, options, cb) {
|
||||
existingEntry.meta.est_release_year = fileEntry.meta.est_release_year;
|
||||
}
|
||||
|
||||
if(fileEntry.meta.desc_sauce) {
|
||||
existingEntry.meta.desc_sauce = fileEntry.meta.desc_sauce;
|
||||
}
|
||||
|
||||
updateTags(existingEntry);
|
||||
|
||||
finalizeEntryAndPersist(true, existingEntry, descHandler, err => {
|
||||
|
||||
Reference in New Issue
Block a user