{"action":"created","issue":{"url":"https://api.github.com/repos/tattwamasi/TeslaTunes/issues/4","repository_url":"https://api.github.com/repos/tattwamasi/TeslaTunes","labels_url":"https://api.github.com/repos/tattwamasi/TeslaTunes/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tattwamasi/TeslaTunes/issues/4/comments","events_url":"https://api.github.com/repos/tattwamasi/TeslaTunes/issues/4/events","html_url":"https://github.com/tattwamasi/TeslaTunes/issues/4","id":75930162,"number":4,"title":"Playlist order is weird, and lists unexpected playlists","user":{"login":"tattwamasi","id":3465489,"avatar_url":"https://avatars.githubusercontent.com/u/3465489?v=3","gravatar_id":"","url":"https://api.github.com/users/tattwamasi","html_url":"https://github.com/tattwamasi","followers_url":"https://api.github.com/users/tattwamasi/followers","following_url":"https://api.github.com/users/tattwamasi/following{/other_user}","gists_url":"https://api.github.com/users/tattwamasi/gists{/gist_id}","starred_url":"https://api.github.com/users/tattwamasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tattwamasi/subscriptions","organizations_url":"https://api.github.com/users/tattwamasi/orgs","repos_url":"https://api.github.com/users/tattwamasi/repos","events_url":"https://api.github.com/users/tattwamasi/events{/privacy}","received_events_url":"https://api.github.com/users/tattwamasi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tattwamasi/TeslaTunes/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"tattwamasi","id":3465489,"avatar_url":"https://avatars.githubusercontent.com/u/3465489?v=3","gravatar_id":"","url":"https://api.github.com/users/tattwamasi","html_url":"https://github.com/tattwamasi","followers_url":"https://api.github.com/users/tattwamasi/followers","following_url":"https://api.github.com/users/tattwamasi/following{/other_user}","gists_url":"https://api.github.com/users/tattwamasi/gists{/gist_id}","starred_url":"https://api.github.com/users/tattwamasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tattwamasi/subscriptions","organizations_url":"https://api.github.com/users/tattwamasi/orgs","repos_url":"https://api.github.com/users/tattwamasi/repos","events_url":"https://api.github.com/users/tattwamasi/events{/privacy}","received_events_url":"https://api.github.com/users/tattwamasi/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-13T10:11:39Z","updated_at":"2016-02-12T12:12:51Z","closed_at":null,"body":"The playlist order doesn't match what is expected from seeing the order in iTunes.\r\nThe app displayed the playlists in the order iTunes gives them to it, but it doesn't match expectations.  Will look at best way to fix it."},"comment":{"url":"https://api.github.com/repos/tattwamasi/TeslaTunes/issues/comments/183298737","html_url":"https://github.com/tattwamasi/TeslaTunes/issues/4#issuecomment-183298737","issue_url":"https://api.github.com/repos/tattwamasi/TeslaTunes/issues/4","id":183298737,"user":{"login":"tattwamasi","id":3465489,"avatar_url":"https://avatars.githubusercontent.com/u/3465489?v=3","gravatar_id":"","url":"https://api.github.com/users/tattwamasi","html_url":"https://github.com/tattwamasi","followers_url":"https://api.github.com/users/tattwamasi/followers","following_url":"https://api.github.com/users/tattwamasi/following{/other_user}","gists_url":"https://api.github.com/users/tattwamasi/gists{/gist_id}","starred_url":"https://api.github.com/users/tattwamasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tattwamasi/subscriptions","organizations_url":"https://api.github.com/users/tattwamasi/orgs","repos_url":"https://api.github.com/users/tattwamasi/repos","events_url":"https://api.github.com/users/tattwamasi/events{/privacy}","received_events_url":"https://api.github.com/users/tattwamasi/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T12:12:51Z","updated_at":"2016-02-12T12:12:51Z","body":"Turned out more complicated than I expected.  iTunes doesn't give it's displayed order really, and includes a bunch of playlists that it itself hides or displays in different areas of it's UI.\r\n\r\nIf I could see an easy way to do it, I would love to display the list using the same graphic style, icons, etc., and same sections and order as the iTunes UI, minus the playlists that can't contain items that make sense to transfer.\r\n\r\nSince I couldn't easily do that, I at least took a shot at making it sort the same way the playlists section of the iTunes UI does while stripping out playlist categories that are obviously not things we should sync. You can't tell that just from the playlist iTunes gives you in the case of user created playlists, but at least we can strip out some of the system created stuff like voice memos, apps, movies, etc. (any that for some reason got converted to user playlists though, smart or not, will still show up)"}}