{"action":"created","issue":{"url":"https://api.github.com/repos/joakimfors/PyMasVis/issues/2","repository_url":"https://api.github.com/repos/joakimfors/PyMasVis","labels_url":"https://api.github.com/repos/joakimfors/PyMasVis/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/joakimfors/PyMasVis/issues/2/comments","events_url":"https://api.github.com/repos/joakimfors/PyMasVis/issues/2/events","html_url":"https://github.com/joakimfors/PyMasVis/issues/2","id":142889872,"number":2,"title":"Add ability to handle 'all files in a folder', and/or a list like *.flac, and add option to place analysis in a subdirectory.","user":{"login":"HansJA","id":1044922,"avatar_url":"https://avatars.githubusercontent.com/u/1044922?v=3","gravatar_id":"","url":"https://api.github.com/users/HansJA","html_url":"https://github.com/HansJA","followers_url":"https://api.github.com/users/HansJA/followers","following_url":"https://api.github.com/users/HansJA/following{/other_user}","gists_url":"https://api.github.com/users/HansJA/gists{/gist_id}","starred_url":"https://api.github.com/users/HansJA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansJA/subscriptions","organizations_url":"https://api.github.com/users/HansJA/orgs","repos_url":"https://api.github.com/users/HansJA/repos","events_url":"https://api.github.com/users/HansJA/events{/privacy}","received_events_url":"https://api.github.com/users/HansJA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-23T07:55:50Z","updated_at":"2016-03-24T08:45:35Z","closed_at":null,"body":"This COULD be done in an external shell script, but repeatedly calling the python interpreter seems too expensive for analysing several thousand files.\r\n\r\nWhich I'd like to do with all the files on my UPnP server. For later inclusion in an image tag, so I can look at the analysis for a song while listening to it.\r\n\r\nIn order to avoid clutter, when doing mass analysis, it would be nice to have an option to place any analysis file in a subdir of the directory where the audio file was found.\r\n\r\nSo that given the command \"python analyze.py -S MasVis /media/Music/*\", and then\r\nhaving a set of audio files in /media/Music/Beethoven, analysis files for this set of audio files will be placed in /media/Music/Beethoven/MasVis.\r\nIf nonexistent, MasVis/ must be created as needed."},"comment":{"url":"https://api.github.com/repos/joakimfors/PyMasVis/issues/comments/200738210","html_url":"https://github.com/joakimfors/PyMasVis/issues/2#issuecomment-200738210","issue_url":"https://api.github.com/repos/joakimfors/PyMasVis/issues/2","id":200738210,"user":{"login":"joakimfors","id":1665340,"avatar_url":"https://avatars.githubusercontent.com/u/1665340?v=3","gravatar_id":"","url":"https://api.github.com/users/joakimfors","html_url":"https://github.com/joakimfors","followers_url":"https://api.github.com/users/joakimfors/followers","following_url":"https://api.github.com/users/joakimfors/following{/other_user}","gists_url":"https://api.github.com/users/joakimfors/gists{/gist_id}","starred_url":"https://api.github.com/users/joakimfors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakimfors/subscriptions","organizations_url":"https://api.github.com/users/joakimfors/orgs","repos_url":"https://api.github.com/users/joakimfors/repos","events_url":"https://api.github.com/users/joakimfors/events{/privacy}","received_events_url":"https://api.github.com/users/joakimfors/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T08:45:35Z","updated_at":"2016-03-24T08:45:35Z","body":"I'm using it on OS X and Linux.\r\n\r\nLet me restate: PyMasVis does its own glob/expansion of arguments, too. However, this requires that the argument is quoted on the command line to prevent the shell from doing the expansion:\r\n\r\nhttps://github.com/joakimfors/PyMasVis/blob/master/src/analyze.py#L1017\r\n\r\nThe no overwrite option would prevent analysing/overwriting existing results."}}