{"action":"created","issue":{"url":"https://api.github.com/repos/sbraz/pymediainfo/issues/46","repository_url":"https://api.github.com/repos/sbraz/pymediainfo","labels_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/46/comments","events_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/46/events","html_url":"https://github.com/sbraz/pymediainfo/issues/46","id":284718436,"number":46,"title":"some values that have duplicate tags not being returned in tracks or to_json","user":{"login":"3lixy","id":2621545,"avatar_url":"https://avatars0.githubusercontent.com/u/2621545?v=4","gravatar_id":"","url":"https://api.github.com/users/3lixy","html_url":"https://github.com/3lixy","followers_url":"https://api.github.com/users/3lixy/followers","following_url":"https://api.github.com/users/3lixy/following{/other_user}","gists_url":"https://api.github.com/users/3lixy/gists{/gist_id}","starred_url":"https://api.github.com/users/3lixy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lixy/subscriptions","organizations_url":"https://api.github.com/users/3lixy/orgs","repos_url":"https://api.github.com/users/3lixy/repos","events_url":"https://api.github.com/users/3lixy/events{/privacy}","received_events_url":"https://api.github.com/users/3lixy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-27T12:55:33Z","updated_at":"2017-12-27T15:47:25Z","closed_at":"2017-12-27T15:47:25Z","author_association":"NONE","body":"```\r\n$ pip2.7 freeze | grep pymed\r\npymediainfo==2.2.0\r\n\r\n$ python2.7 -V\r\nPython 2.7.9\r\n\r\n$ mediainfo --version\r\nMediaInfo Command line,\r\nMediaInfoLib - v0.7.70\r\n```\r\n\r\nI was working out why the track.display_aspect_ratio from pymediainfo was returning 2.388 and the desktop mediainfo app was showing 2.40 : 1. I saw that the raw xml output from the library used by pymedianfo had both 2.388 and 2.40 : 1. The to_json also had only 2.388.\r\n\r\nI have modified pymedinfo to allow it to return the raw xml after the file being parsed and then in my app using xmltodict to convert the raw xml into a dict so i can choose which value i want from multiple tags with the same name.\r\n\r\ni.e. the output from xmltodict for u'Display_aspect_ratio' is\r\n [u'2.388', u'2.40:1'],\r\n\r\nsimply i added:\r\n`self.xml = xml`\r\nunder \r\n`def __init__(self, xml):`\r\n\r\nand at the bottom of the MediaInfo added\r\n```\r\ndef raw_xml(self):\r\n    return self.xml\r\n```\r\n\r\nShould I send a pull request?\r\n\r\nHas anyone found this issue before and if so how was it solved?"},"comment":{"url":"https://api.github.com/repos/sbraz/pymediainfo/issues/comments/354132381","html_url":"https://github.com/sbraz/pymediainfo/issues/46#issuecomment-354132381","issue_url":"https://api.github.com/repos/sbraz/pymediainfo/issues/46","id":354132381,"user":{"login":"3lixy","id":2621545,"avatar_url":"https://avatars0.githubusercontent.com/u/2621545?v=4","gravatar_id":"","url":"https://api.github.com/users/3lixy","html_url":"https://github.com/3lixy","followers_url":"https://api.github.com/users/3lixy/followers","following_url":"https://api.github.com/users/3lixy/following{/other_user}","gists_url":"https://api.github.com/users/3lixy/gists{/gist_id}","starred_url":"https://api.github.com/users/3lixy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lixy/subscriptions","organizations_url":"https://api.github.com/users/3lixy/orgs","repos_url":"https://api.github.com/users/3lixy/repos","events_url":"https://api.github.com/users/3lixy/events{/privacy}","received_events_url":"https://api.github.com/users/3lixy/received_events","type":"User","site_admin":false},"created_at":"2017-12-27T15:47:25Z","updated_at":"2017-12-27T15:47:25Z","author_association":"NONE","body":"okies fair enough"}}
{"actor":{"display_login":"3lixy"}}