{"action":"created","issue":{"url":"https://api.github.com/repos/MaxKellermann/MPD/issues/17","repository_url":"https://api.github.com/repos/MaxKellermann/MPD","labels_url":"https://api.github.com/repos/MaxKellermann/MPD/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/MaxKellermann/MPD/issues/17/comments","events_url":"https://api.github.com/repos/MaxKellermann/MPD/issues/17/events","html_url":"https://github.com/MaxKellermann/MPD/pull/17","id":182278695,"number":17,"title":"add playnext and playnextid - jump in playlist after current track finishes","user":{"login":"hawken93","id":1411903,"avatar_url":"https://avatars.githubusercontent.com/u/1411903?v=3","gravatar_id":"","url":"https://api.github.com/users/hawken93","html_url":"https://github.com/hawken93","followers_url":"https://api.github.com/users/hawken93/followers","following_url":"https://api.github.com/users/hawken93/following{/other_user}","gists_url":"https://api.github.com/users/hawken93/gists{/gist_id}","starred_url":"https://api.github.com/users/hawken93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawken93/subscriptions","organizations_url":"https://api.github.com/users/hawken93/orgs","repos_url":"https://api.github.com/users/hawken93/repos","events_url":"https://api.github.com/users/hawken93/events{/privacy}","received_events_url":"https://api.github.com/users/hawken93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-11T14:27:53Z","updated_at":"2016-10-20T13:10:04Z","closed_at":"2016-10-20T13:01:44Z","pull_request":{"url":"https://api.github.com/repos/MaxKellermann/MPD/pulls/17","html_url":"https://github.com/MaxKellermann/MPD/pull/17","diff_url":"https://github.com/MaxKellermann/MPD/pull/17.diff","patch_url":"https://github.com/MaxKellermann/MPD/pull/17.patch"},"body":"I was trying to convert my friend from foobar2000 when he noticed that MPD doesn't allow you to automatically jump in the playlist after the current track finishes playing.\r\nThe important changes here are in Queue.cxx and Queue.hxx, both of which may seem like an ugly hack if you know better ways to do this. Improvements could be to try to keep track of where the next track is going to be after either positions or the order changes.\r\nAnother way to do this could be to rewrite the order map."},"comment":{"url":"https://api.github.com/repos/MaxKellermann/MPD/issues/comments/255100987","html_url":"https://github.com/MaxKellermann/MPD/pull/17#issuecomment-255100987","issue_url":"https://api.github.com/repos/MaxKellermann/MPD/issues/17","id":255100987,"user":{"login":"hawken93","id":1411903,"avatar_url":"https://avatars.githubusercontent.com/u/1411903?v=3","gravatar_id":"","url":"https://api.github.com/users/hawken93","html_url":"https://github.com/hawken93","followers_url":"https://api.github.com/users/hawken93/followers","following_url":"https://api.github.com/users/hawken93/following{/other_user}","gists_url":"https://api.github.com/users/hawken93/gists{/gist_id}","starred_url":"https://api.github.com/users/hawken93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawken93/subscriptions","organizations_url":"https://api.github.com/users/hawken93/orgs","repos_url":"https://api.github.com/users/hawken93/repos","events_url":"https://api.github.com/users/hawken93/events{/privacy}","received_events_url":"https://api.github.com/users/hawken93/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T13:10:04Z","updated_at":"2016-10-20T13:10:04Z","body":"I agree that my implementation is bad but I don't think the concept is bad.\r\nYou may prefer to sort your playlist by album and wish to temporarily enqueue things without having to break your playlist..\r\nThe fact that other players have the feature and people actually use it, suggests that the feature would not be useless..\r\nWould it be okay to open this as a feature request?"}}
{"actor":{"display_login":"hawken93"}}