{"action":"created","issue":{"url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer/issues/71","repository_url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer","labels_url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer/issues/71/comments","events_url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer/issues/71/events","html_url":"https://github.com/googlesamples/android-UniversalMusicPlayer/issues/71","id":140301321,"number":71,"title":"Music Player Does Not Update MediaMetadataCompat","user":{"login":"izbrannick","id":6357964,"avatar_url":"https://avatars.githubusercontent.com/u/6357964?v=3","gravatar_id":"","url":"https://api.github.com/users/izbrannick","html_url":"https://github.com/izbrannick","followers_url":"https://api.github.com/users/izbrannick/followers","following_url":"https://api.github.com/users/izbrannick/following{/other_user}","gists_url":"https://api.github.com/users/izbrannick/gists{/gist_id}","starred_url":"https://api.github.com/users/izbrannick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izbrannick/subscriptions","organizations_url":"https://api.github.com/users/izbrannick/orgs","repos_url":"https://api.github.com/users/izbrannick/repos","events_url":"https://api.github.com/users/izbrannick/events{/privacy}","received_events_url":"https://api.github.com/users/izbrannick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T21:54:50Z","updated_at":"2016-03-11T22:45:09Z","closed_at":"2016-03-11T22:45:09Z","body":"If data changed, music player would not update displaying data, need to kill app before it takes new values:\r\n\r\nexample:\r\n{ \"title\" : \"Jazz in Paris\",\r\n\t  \"album\" : \"Jazz & Blues\",\r\n\t  \"artist\" : \"Media Right Productions\",\r\n\t  \"genre\" : \"Jazz & Blues\",\r\n\t  \"source\" : \"Jazz_In_Paris.mp3\",\r\n\t  \"image\" : \"album_art.jpg\",\r\n\t  \"trackNumber\" : 1,\r\n\t  \"totalTrackCount\" : 6,\r\n\t  \"duration\" : 103,\r\n\t  \"site\" : \"https://www.youtube.com/audiolibrary/music\"\r\n\t}\r\n\r\nJSON data updated to:\r\n{ \"title\" : \"Other Other\",\r\n\t  \"album\" : \"Jazz & Blues\",\r\n\t  \"artist\" : \"Media Right Productions\",\r\n\t  \"genre\" : \"Jazz & Blues\",\r\n\t  \"source\" : \"Jazz_In_Paris_2.mp3\",\r\n\t  \"image\" : \"album_art.jpg\",\r\n\t  \"trackNumber\" : 2,\r\n\t  \"totalTrackCount\" : 6,\r\n\t  \"duration\" : 203,\r\n\t  \"site\" : \"https://www.youtube.com/audiolibrary/music\"\r\n\t}\r\n\r\nP.S\r\nI want to use is as a radio player, and need to update Title and other data while streaming..."},"comment":{"url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer/issues/comments/195590030","html_url":"https://github.com/googlesamples/android-UniversalMusicPlayer/issues/71#issuecomment-195590030","issue_url":"https://api.github.com/repos/googlesamples/android-UniversalMusicPlayer/issues/71","id":195590030,"user":{"login":"mangini","id":852626,"avatar_url":"https://avatars.githubusercontent.com/u/852626?v=3","gravatar_id":"","url":"https://api.github.com/users/mangini","html_url":"https://github.com/mangini","followers_url":"https://api.github.com/users/mangini/followers","following_url":"https://api.github.com/users/mangini/following{/other_user}","gists_url":"https://api.github.com/users/mangini/gists{/gist_id}","starred_url":"https://api.github.com/users/mangini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangini/subscriptions","organizations_url":"https://api.github.com/users/mangini/orgs","repos_url":"https://api.github.com/users/mangini/repos","events_url":"https://api.github.com/users/mangini/events{/privacy}","received_events_url":"https://api.github.com/users/mangini/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T22:45:09Z","updated_at":"2016-03-11T22:45:09Z","body":"@izbrannick : uAmp was designed to support a static library of songs. You can adapt it to support your use case, though. You might need to change MusicProvider and related /model/ classes, and call mediaSession.updateMetadata whenever the metadata (title/art/etc) changes. I will close this bug as this is out of scope, but feel free to continue the conversation here if you want."}}