{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/3810","repository_url":"https://api.github.com/repos/LMMS/lmms","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/3810/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/3810/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/3810/events","html_url":"https://github.com/LMMS/lmms/issues/3810","id":258231619,"number":3810,"title":"Hardcoded Path in project-files","user":{"login":"musikBear","id":6662066,"avatar_url":"https://avatars1.githubusercontent.com/u/6662066?v=4","gravatar_id":"","url":"https://api.github.com/users/musikBear","html_url":"https://github.com/musikBear","followers_url":"https://api.github.com/users/musikBear/followers","following_url":"https://api.github.com/users/musikBear/following{/other_user}","gists_url":"https://api.github.com/users/musikBear/gists{/gist_id}","starred_url":"https://api.github.com/users/musikBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musikBear/subscriptions","organizations_url":"https://api.github.com/users/musikBear/orgs","repos_url":"https://api.github.com/users/musikBear/repos","events_url":"https://api.github.com/users/musikBear/events{/privacy}","received_events_url":"https://api.github.com/users/musikBear/received_events","type":"User","site_admin":false},"labels":[{"id":74198044,"url":"https://api.github.com/repos/LMMS/lmms/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-16T13:28:57Z","updated_at":"2018-02-20T02:36:33Z","closed_at":"2017-10-26T16:41:29Z","author_association":"NONE","body":"I wonder why lmms has hardcoded path information in project-files. The reason is a forum-user that has bought a new pc.\r\nHis former pc was quite weirdly partitioned -dont ask why, i dont know\r\nBut he had a folder structure\r\n`D:/a/b/c/d/`\r\nAnd then a folder with soundfonts\r\n*That* was his default sf path, and the one he had in his *lmms settings*\r\nSo ~200 projects had this information in each project:\r\n```\r\n          <instrument name=\"sf2player\">\r\n            <sf2player patch=\"81\" chorusLevel=\"2\" chorusDepth=\"8\" reverbOn=\"0\" reverbRoomSize=\"0.2\" chorusOn=\"0\" chorusSpeed=\"0.3\" reverbDamping=\"0\" chorusNum=\"3\" reverbLevel=\"0.9\" bank=\"0\" reverbWidth=\"0.5\" src=\"D:/a/b/c/d/soundfonts/GeneralUser GS Live-Audigy v1.43.sf2\" gain=\"1\"/>\r\n          </instrument>\r\n```\r\nNow he got a new pc\r\nHe now installed lmms as default in C\\\r\nNone of his 200 projects can load\r\nWhy is the  `src=` not just a reference to the path made in *lmms-settings*\r\nIs there a special reason, that the information must be added to the project-file as a hardcoded string, and not as a reference to the directory in *lmms-settings*\r\nThe same goes for all other  `src=` \r\nIt would be best if they were references to just one constant namely the strings in _lmms-settings_\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/366850820","html_url":"https://github.com/LMMS/lmms/issues/3810#issuecomment-366850820","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/3810","id":366850820,"user":{"login":"tresf","id":6345473,"avatar_url":"https://avatars0.githubusercontent.com/u/6345473?v=4","gravatar_id":"","url":"https://api.github.com/users/tresf","html_url":"https://github.com/tresf","followers_url":"https://api.github.com/users/tresf/followers","following_url":"https://api.github.com/users/tresf/following{/other_user}","gists_url":"https://api.github.com/users/tresf/gists{/gist_id}","starred_url":"https://api.github.com/users/tresf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tresf/subscriptions","organizations_url":"https://api.github.com/users/tresf/orgs","repos_url":"https://api.github.com/users/tresf/repos","events_url":"https://api.github.com/users/tresf/events{/privacy}","received_events_url":"https://api.github.com/users/tresf/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T02:36:32Z","updated_at":"2018-02-20T02:36:32Z","author_association":"OWNER","body":"Steps to reproduce and we'll reopen.  I'm not sure how much clearer I have to be here."}}
{"actor":{"display_login":"tresf"}}