{"action":"created","issue":{"url":"https://api.github.com/repos/mbunkus/mkvtoolnix/issues/1764","repository_url":"https://api.github.com/repos/mbunkus/mkvtoolnix","labels_url":"https://api.github.com/repos/mbunkus/mkvtoolnix/issues/1764/labels{/name}","comments_url":"https://api.github.com/repos/mbunkus/mkvtoolnix/issues/1764/comments","events_url":"https://api.github.com/repos/mbunkus/mkvtoolnix/issues/1764/events","html_url":"https://github.com/mbunkus/mkvtoolnix/issues/1764","id":171027216,"number":1764,"title":"Adding tags on a track erases existing tags on that track.","user":{"login":"kevinlekiller","id":1641964,"avatar_url":"https://avatars.githubusercontent.com/u/1641964?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinlekiller","html_url":"https://github.com/kevinlekiller","followers_url":"https://api.github.com/users/kevinlekiller/followers","following_url":"https://api.github.com/users/kevinlekiller/following{/other_user}","gists_url":"https://api.github.com/users/kevinlekiller/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlekiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlekiller/subscriptions","organizations_url":"https://api.github.com/users/kevinlekiller/orgs","repos_url":"https://api.github.com/users/kevinlekiller/repos","events_url":"https://api.github.com/users/kevinlekiller/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlekiller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mbunkus/mkvtoolnix/labels/app:mkvpropedit","name":"app:mkvpropedit","color":"fbca04"},{"url":"https://api.github.com/repos/mbunkus/mkvtoolnix/labels/os:all","name":"os:all","color":"444444"},{"url":"https://api.github.com/repos/mbunkus/mkvtoolnix/labels/type:question","name":"type:question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-13T20:59:05Z","updated_at":"2016-08-13T21:09:57Z","closed_at":"2016-08-13T21:02:57Z","body":"When for example, adding tags on audio track 1 (`mkvpropedit --tags track:a1:/tmp/test.xml test.mkv`), the existing tags are replaced by the new ones.\r\n\r\nIn the [manual](https://mkvtoolnix.download/doc/mkvpropedit.html) it states `Add or replace tags in the file with the ones from filename or remove them if filename is empty.`\r\n\r\nThis is a bit vague to me, does replace mean add new tags and replace tags that are already there, or does it mean remove all existing tags and replace them with the new tags, and does add mean new tags, but don't change existing tags?\r\n\r\nThanks.\r\n\r\nSteps to reproduce:\r\n\r\nExample video: https://0x0.st/BG7.mkv\r\nExample xml tags file 1: https://0x0.st/BGh.xml\r\nExample xml tags file2: https://0x0.st/BGF.xml\r\n\r\nApply xml file 1 to mkv audio track 1: `mkvpropedit --tags track:a1:BGh.xml BG7.mkv`\r\nRead tags on audio track 1: `ffprobe BG7.mkv`\r\n\r\nAs we can see, audio track 1 has `EXAMPLETAG : EXAMPLE`\r\n\r\nNow we apply xml file 2 to mkv audio track 1:  `mkvpropedit --tags track:a1:BGF.xml BG7.mkv`\r\nRead tags: `ffprobe BG7.mkv`\r\n\r\n\"EXAMPLETAG: EXAMPLE\" is now gone.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mbunkus/mkvtoolnix/issues/comments/239641720","html_url":"https://github.com/mbunkus/mkvtoolnix/issues/1764#issuecomment-239641720","issue_url":"https://api.github.com/repos/mbunkus/mkvtoolnix/issues/1764","id":239641720,"user":{"login":"mbunkus","id":414282,"avatar_url":"https://avatars.githubusercontent.com/u/414282?v=3","gravatar_id":"","url":"https://api.github.com/users/mbunkus","html_url":"https://github.com/mbunkus","followers_url":"https://api.github.com/users/mbunkus/followers","following_url":"https://api.github.com/users/mbunkus/following{/other_user}","gists_url":"https://api.github.com/users/mbunkus/gists{/gist_id}","starred_url":"https://api.github.com/users/mbunkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbunkus/subscriptions","organizations_url":"https://api.github.com/users/mbunkus/orgs","repos_url":"https://api.github.com/users/mbunkus/repos","events_url":"https://api.github.com/users/mbunkus/events{/privacy}","received_events_url":"https://api.github.com/users/mbunkus/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T21:09:57Z","updated_at":"2016-08-13T21:09:57Z","body":"You're welcome."}}
{"actor":{"display_login":"mbunkus"}}