{"action":"opened","issue":{"url":"https://api.github.com/repos/scottschiller/SoundManager2/issues/121","labels_url":"https://api.github.com/repos/scottschiller/SoundManager2/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/scottschiller/SoundManager2/issues/121/comments","events_url":"https://api.github.com/repos/scottschiller/SoundManager2/issues/121/events","html_url":"https://github.com/scottschiller/SoundManager2/issues/121","id":127248310,"number":121,"title":"bar-ui, how to refresh playlistController elements after changing DOM playlist?","user":{"login":"tchoulihan","id":930215,"avatar_url":"https://avatars.githubusercontent.com/u/930215?v=3","gravatar_id":"","url":"https://api.github.com/users/tchoulihan","html_url":"https://github.com/tchoulihan","followers_url":"https://api.github.com/users/tchoulihan/followers","following_url":"https://api.github.com/users/tchoulihan/following{/other_user}","gists_url":"https://api.github.com/users/tchoulihan/gists{/gist_id}","starred_url":"https://api.github.com/users/tchoulihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchoulihan/subscriptions","organizations_url":"https://api.github.com/users/tchoulihan/orgs","repos_url":"https://api.github.com/users/tchoulihan/repos","events_url":"https://api.github.com/users/tchoulihan/events{/privacy}","received_events_url":"https://api.github.com/users/tchoulihan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-18T15:23:10Z","updated_at":"2016-01-18T15:23:10Z","closed_at":null,"body":"So I'm using [jquery-sortable](http://jqueryui.com/resources/demos/sortable/placeholder.html) with bar-ui to be able to rearrange items in the playlist(Pretty neat huh, being able to drag and drop songs in that playlist container). The rearranging is working well, but after I've moved an item, lets say to play next, it skips over it.\r\n\r\nI try doing `playlistController.refresh()`, but it doesn't fix the problem. Oddly, if I click another song, which I think runs the [playLink](https://github.com/scottschiller/SoundManager2/blob/master/demo/bar-ui/script/bar-ui.js#L337) function, it **does** update the playlist and fixes the problem. I've tried to go through that function, but can't figure out what its doing differently that causes it to update from the DOM.\r\n\r\nBasically, I need a programmatic way to update the playlistController from the DOM, because playlistController.refresh() doesn't seem to work.\r\n\r\n"}}