{"action":"created","issue":{"url":"https://api.github.com/repos/caprica/vlcj/issues/501","repository_url":"https://api.github.com/repos/caprica/vlcj","labels_url":"https://api.github.com/repos/caprica/vlcj/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/caprica/vlcj/issues/501/comments","events_url":"https://api.github.com/repos/caprica/vlcj/issues/501/events","html_url":"https://github.com/caprica/vlcj/issues/501","id":167566959,"number":501,"title":"PLease clarify VLCJ + plugins + auto discovery issue in 3.10.1","user":{"login":"aklisanic","id":5956204,"avatar_url":"https://avatars.githubusercontent.com/u/5956204?v=3","gravatar_id":"","url":"https://api.github.com/users/aklisanic","html_url":"https://github.com/aklisanic","followers_url":"https://api.github.com/users/aklisanic/followers","following_url":"https://api.github.com/users/aklisanic/following{/other_user}","gists_url":"https://api.github.com/users/aklisanic/gists{/gist_id}","starred_url":"https://api.github.com/users/aklisanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklisanic/subscriptions","organizations_url":"https://api.github.com/users/aklisanic/orgs","repos_url":"https://api.github.com/users/aklisanic/repos","events_url":"https://api.github.com/users/aklisanic/events{/privacy}","received_events_url":"https://api.github.com/users/aklisanic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caprica/vlcj/labels/Support","name":"Support","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T09:50:49Z","updated_at":"2016-07-26T15:59:27Z","closed_at":null,"body":"Can anyone clarify this problem to me:\r\n\r\nI downloaded VLCj source and JavaFX-VLCJ tests. Copied test classes into VLCJ project so they find all needed classes. I saw numerous posts stating that Tests are working but they do not. I definitely need to add these lines at the start of each test:\r\n\r\n`        NativeLibrary.addSearchPath(RuntimeUtil.getLibVlcLibraryName(), \"D:\\\\Work\\\\vlcj-master\\\\vlc-2.2.3\");\r\n        LibC.INSTANCE._putenv(\"VLC_PLUGIN_PATH=D:\\\\Work\\\\vlcj-master\\\\vlc-2.2.3\");\r\n        Native.loadLibrary(RuntimeUtil.getLibVlcLibraryName(), LibVlc.class);\r\n        LibXUtil.initialise();`\r\n\r\nAfter this everything is fine. Can someone from support team confirm that this is OK and I am not missing something else (like correct way of configuring this)? I am asking this because in 3.10.1 release notes is stated that this problem is fixed but I still have it. My system is Win 8.1 + java 8.\r\n\r\nI have both 32 and 64 bit versions installed for testing and when I point to them - everything is fine, just Native Discovery never finds them. Same is with plugins. I need to create ENV variable or to add that line of code. "},"comment":{"url":"https://api.github.com/repos/caprica/vlcj/issues/comments/235315404","html_url":"https://github.com/caprica/vlcj/issues/501#issuecomment-235315404","issue_url":"https://api.github.com/repos/caprica/vlcj/issues/501","id":235315404,"user":{"login":"aklisanic","id":5956204,"avatar_url":"https://avatars.githubusercontent.com/u/5956204?v=3","gravatar_id":"","url":"https://api.github.com/users/aklisanic","html_url":"https://github.com/aklisanic","followers_url":"https://api.github.com/users/aklisanic/followers","following_url":"https://api.github.com/users/aklisanic/following{/other_user}","gists_url":"https://api.github.com/users/aklisanic/gists{/gist_id}","starred_url":"https://api.github.com/users/aklisanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklisanic/subscriptions","organizations_url":"https://api.github.com/users/aklisanic/orgs","repos_url":"https://api.github.com/users/aklisanic/repos","events_url":"https://api.github.com/users/aklisanic/events{/privacy}","received_events_url":"https://api.github.com/users/aklisanic/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T15:59:27Z","updated_at":"2016-07-26T15:59:27Z","body":"It's installed using win installer (several times different versions). \r\n\r\nIn my example I gave up with those installed versions and  used portable version.\r\n\r\nError is that installed VLC is not found. After I add \r\n`NativeLibrary.addSearchPath(RuntimeUtil.getLibVlcLibraryName(), \"D:\\\\Work\\\\vlcj-master\\\\vlc-2.2.3\");`\r\nIt finds it but then complain abut plugins.\r\nThat is solved with:\r\n`LibC.INSTANCE._putenv(\"VLC_PLUGIN_PATH=D:\\\\Work\\\\vlcj-master\\\\vlc-2.2.3\");`\r\n\r\nSo, my question is how to make VLCJ actually finds installed VLC."}}
{"actor":{"display_login":"aklisanic"}}