Skip to content

Commit 1eb0d9e

Browse files
committed
Ignore local json album hint
1 parent 797b27c commit 1eb0d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cli/tagger.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class CliTagger extends CliCommandBase {
192192
this.spinner.text = '写入专辑信息中'
193193
await this.writeMetadataToFile(metadata, targetFiles)
194194
const defaultAlbumName = await getDefaultAlbumName(this.workingDir)
195-
if (album !== defaultAlbumName) {
195+
if (album !== defaultAlbumName && !localJson) {
196196
await setAlbumOptions(this.workingDir, {
197197
defaultAlbumHint: album,
198198
})

0 commit comments

Comments
 (0)