mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 22:54:37 +02:00
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:
parent
046550842b
commit
6b02ddbdae
6 changed files with 59 additions and 22 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue