{"action":"created","issue":{"url":"https://api.github.com/repos/jvcleave/ofxOMXPlayer/issues/51","labels_url":"https://api.github.com/repos/jvcleave/ofxOMXPlayer/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jvcleave/ofxOMXPlayer/issues/51/comments","events_url":"https://api.github.com/repos/jvcleave/ofxOMXPlayer/issues/51/events","html_url":"https://github.com/jvcleave/ofxOMXPlayer/issues/51","id":70115557,"number":51,"title":"change which video is playing with loadMovie(string filename) ?","user":{"login":"eloimaduell","id":178728,"avatar_url":"https://avatars.githubusercontent.com/u/178728?v=3","gravatar_id":"","url":"https://api.github.com/users/eloimaduell","html_url":"https://github.com/eloimaduell","followers_url":"https://api.github.com/users/eloimaduell/followers","following_url":"https://api.github.com/users/eloimaduell/following{/other_user}","gists_url":"https://api.github.com/users/eloimaduell/gists{/gist_id}","starred_url":"https://api.github.com/users/eloimaduell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloimaduell/subscriptions","organizations_url":"https://api.github.com/users/eloimaduell/orgs","repos_url":"https://api.github.com/users/eloimaduell/repos","events_url":"https://api.github.com/users/eloimaduell/events{/privacy}","received_events_url":"https://api.github.com/users/eloimaduell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T12:46:48Z","updated_at":"2015-04-22T12:54:37Z","closed_at":null,"body":"hi ofxOMXPlayer !\r\n\r\nI've been succesffully using ofxOMXPlayer but i'm having trouble to change the video which is playing (without stopping the app). \r\n\r\nI tried to make (once an OSC message with a message that tells which video to load ) : \r\n\r\n   /// LOAD MOVIE\r\n    else if(address.find(\"load\")!=-1)\r\n    {\r\n        \r\n        string filename = m->getArgAsString(0);\r\n        int fadeTime = m->getArgAsInt32(1);\r\n        ofVec2f myPos = screenPosition;\r\n        ofVec2f mySize = screenSize;\r\n        \r\n        cout << \"pmOmxPlayer :: OSC :: load : \" << filename << \" : fadeTime : \" << fadeTime << endl;\r\n        \r\n        \r\n        omxPlayer->setPaused(true);\r\n        omxPlayer->close();\r\n\r\n        omxPlayer->loadMovie(filename);\r\n     }\r\n\r\nbut the video doesn't get updated ? The app is not crashing, but the new video is not playing ?\r\nI've looked at the \"playListApp\" example, but seems that is doing basically the same ... so LoadMovie() when needed ? \r\n\r\nAm I missing something ? \r\n(i've checked that all the videos that i'm trying to play have same resolution and they all play nicely in the ofxOMXPlayer )\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/jvcleave/ofxOMXPlayer/issues/comments/95162732","html_url":"https://github.com/jvcleave/ofxOMXPlayer/issues/51#issuecomment-95162732","issue_url":"https://api.github.com/repos/jvcleave/ofxOMXPlayer/issues/51","id":95162732,"user":{"login":"eloimaduell","id":178728,"avatar_url":"https://avatars.githubusercontent.com/u/178728?v=3","gravatar_id":"","url":"https://api.github.com/users/eloimaduell","html_url":"https://github.com/eloimaduell","followers_url":"https://api.github.com/users/eloimaduell/followers","following_url":"https://api.github.com/users/eloimaduell/following{/other_user}","gists_url":"https://api.github.com/users/eloimaduell/gists{/gist_id}","starred_url":"https://api.github.com/users/eloimaduell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloimaduell/subscriptions","organizations_url":"https://api.github.com/users/eloimaduell/orgs","repos_url":"https://api.github.com/users/eloimaduell/repos","events_url":"https://api.github.com/users/eloimaduell/events{/privacy}","received_events_url":"https://api.github.com/users/eloimaduell/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T12:54:37Z","updated_at":"2015-04-22T12:54:37Z","body":"I've also tried without pausing and closing the player and same results ... I get a frozen frame from the video I load when I started the app ... ?¿"}}