Marekkon5 / onetagger

Music tagger for Windows, MacOS and Linux with Beatport, Discogs, Musicbrainz, Spotify, Traxsource and many other platforms support.
https://onetagger.github.io/
GNU General Public License v3.0
614 stars 32 forks source link

Trying to overwrite only Genre, but all tags get overwritten #327

Open kishorkurian123 opened 9 months ago

kishorkurian123 commented 9 months ago

What I am trying to achieve is to overwrite only Genre, but fill all tags which are empty. Here is my config file.

I find that other fields also get overwritten. For : Title.

Here is my config file:

{ "platforms": [ "beatport", "bpmsupreme", "discogs", "beatsource", "deezer" ], "path": null, "tags": [ "title", "artist", "album", "key", "genre", "style", "releaseDate", "publishDate", "albumArt", "otherTags", "catalogNumber", "trackId", "releaseId", "version", "duration", "albumArtist", "remixer", "trackNumber", "trackTotal", "discNumber", "mood", "syncedLyrics", "unsyncedLyrics", "label", "explicit", "metaTags", "bpm", "url", "isrc"

], "separators": { "id3": ", ", "vorbis": null, "mp4": ", " }, "id3v24": true, "overwrite": true, "overwriteTags": ["genre"], "threads": 10, "strictness": 0.7, "mergeGenres": false, "albumArtFile": false, "camelot": false, "parseFilename": false, "filenameTemplate": "%artists% - %title%", "shortTitle": false, "matchDuration": false, "maxDurationDifference": 30, "matchById": false, "multipleMatches": "Default", "postCommand": null, "stylesOptions": "default", "stylesCustomTag": { "id3": "STYLE", "vorbis": "STYLE", "mp4": "STYLE" }, "trackNumberLeadingZeroes": 0, "enableShazam": true, "forceShazam": false, "skipTagged": false, "includeSubfolders": true, "onlyYear": false, "titleRegex": null, "moveSuccess": false, "moveSuccessPath": "/var/www/html/test/success", "moveFailed": false, "moveFailedPath": "/var/www/html/test/failed", "writeLrc": false, "enhancedLrc": false, "capitalizeGenres": false, "id3CommLang": null, "multiplatform": false, "custom": { "beatport": { "art_resolution": 500, "ignore_version": false, "max_pages": 1 }, "discogs": { "max_albums": 4, "token": "xxxxxxxxxxxxx", "track_number_int": false }, "bpmsupreme": { "email": "xxxxxxxxxxxx", "library": "xxxxxxxxxx", "password": "xxxxxxxxxx" }, "beatsource": { "art_resolution": 500 }, "deezer": { "art_resolution": 1200 }, "itunes": { "art_resolution": 1000 } }, "spotify": null }

Also I will appreciate if you have a full fledged config file demo somewhere, with all the platforms and everything listed. I see some extra platforms listed in the desktop version, but I am unsure how to add it in the config. I am using Linux CLI version.

Marekkon5 commented 9 months ago

Hello, if you have overwrite enabled, then all tags will be overwritten. You need to have overwrite set to false, and then the overwriteTags will be used.

As for the configs - you can either generate them in the GUI (there is a button in bottom right), or you can run onetagger-cli --autotagger-config to generate the default config which contains all the different flags. As for platforms list: because OneTagger supports custom platforms there isn't a definitive / full list in help, however you can use the same platforms as you'd use in GUI, just use lowercase names (itunes, beatport, deezer, musixmatch ...). You can also just enable the platforms which you like in GUI and then export config using the CLI button.