Skip to content

Commit

Permalink
Ignore local json album hint
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Jan 10, 2024
1 parent 797b27c commit 1eb0d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/tagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class CliTagger extends CliCommandBase {
this.spinner.text = '写入专辑信息中'
await this.writeMetadataToFile(metadata, targetFiles)
const defaultAlbumName = await getDefaultAlbumName(this.workingDir)
if (album !== defaultAlbumName) {
if (album !== defaultAlbumName && !localJson) {
await setAlbumOptions(this.workingDir, {
defaultAlbumHint: album,
})
Expand Down

0 comments on commit 1eb0d9e

Please sign in to comment.