{"action":"closed","issue":{"url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/982","repository_url":"https://api.github.com/repos/avalonmediasystem/avalon","labels_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/982/comments","events_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/982/events","html_url":"https://github.com/avalonmediasystem/avalon/issues/982","id":166580137,"number":982,"title":"Titles for Newly Created Playlist Items Only Include Media Object Title","user":{"login":"joncameron","id":1406618,"avatar_url":"https://avatars0.githubusercontent.com/u/1406618?v=4","gravatar_id":"","url":"https://api.github.com/users/joncameron","html_url":"https://github.com/joncameron","followers_url":"https://api.github.com/users/joncameron/followers","following_url":"https://api.github.com/users/joncameron/following{/other_user}","gists_url":"https://api.github.com/users/joncameron/gists{/gist_id}","starred_url":"https://api.github.com/users/joncameron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncameron/subscriptions","organizations_url":"https://api.github.com/users/joncameron/orgs","repos_url":"https://api.github.com/users/joncameron/repos","events_url":"https://api.github.com/users/joncameron/events{/privacy}","received_events_url":"https://api.github.com/users/joncameron/received_events","type":"User","site_admin":false},"labels":[{"id":598805904,"url":"https://api.github.com/repos/avalonmediasystem/avalon/labels/1%20%7C%20Playlist%20Improvements","name":"1 | Playlist Improvements","color":"bfdadc","default":false},{"id":670270388,"url":"https://api.github.com/repos/avalonmediasystem/avalon/labels/6.3","name":"6.3","color":"d4c5f9","default":false},{"id":389116518,"url":"https://api.github.com/repos/avalonmediasystem/avalon/labels/enhancement","name":"enhancement","color":"5EBEFF","default":true},{"id":390229991,"url":"https://api.github.com/repos/avalonmediasystem/avalon/labels/in%20progress","name":"in progress","color":"c5def5","default":false},{"id":603065953,"url":"https://api.github.com/repos/avalonmediasystem/avalon/labels/tasked","name":"tasked","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"bkeese","id":7440154,"avatar_url":"https://avatars1.githubusercontent.com/u/7440154?v=4","gravatar_id":"","url":"https://api.github.com/users/bkeese","html_url":"https://github.com/bkeese","followers_url":"https://api.github.com/users/bkeese/followers","following_url":"https://api.github.com/users/bkeese/following{/other_user}","gists_url":"https://api.github.com/users/bkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/bkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkeese/subscriptions","organizations_url":"https://api.github.com/users/bkeese/orgs","repos_url":"https://api.github.com/users/bkeese/repos","events_url":"https://api.github.com/users/bkeese/events{/privacy}","received_events_url":"https://api.github.com/users/bkeese/received_events","type":"User","site_admin":false},"assignees":[{"login":"bkeese","id":7440154,"avatar_url":"https://avatars1.githubusercontent.com/u/7440154?v=4","gravatar_id":"","url":"https://api.github.com/users/bkeese","html_url":"https://github.com/bkeese","followers_url":"https://api.github.com/users/bkeese/followers","following_url":"https://api.github.com/users/bkeese/following{/other_user}","gists_url":"https://api.github.com/users/bkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/bkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkeese/subscriptions","organizations_url":"https://api.github.com/users/bkeese/orgs","repos_url":"https://api.github.com/users/bkeese/repos","events_url":"https://api.github.com/users/bkeese/events{/privacy}","received_events_url":"https://api.github.com/users/bkeese/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/avalonmediasystem/avalon/milestones/59","html_url":"https://github.com/avalonmediasystem/avalon/milestone/59","labels_url":"https://api.github.com/repos/avalonmediasystem/avalon/milestones/59/labels","id":2710160,"number":59,"title":"Sprint 134","description":"","creator":{"login":"mcwhitaker","id":16720883,"avatar_url":"https://avatars1.githubusercontent.com/u/16720883?v=4","gravatar_id":"","url":"https://api.github.com/users/mcwhitaker","html_url":"https://github.com/mcwhitaker","followers_url":"https://api.github.com/users/mcwhitaker/followers","following_url":"https://api.github.com/users/mcwhitaker/following{/other_user}","gists_url":"https://api.github.com/users/mcwhitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/mcwhitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcwhitaker/subscriptions","organizations_url":"https://api.github.com/users/mcwhitaker/orgs","repos_url":"https://api.github.com/users/mcwhitaker/repos","events_url":"https://api.github.com/users/mcwhitaker/events{/privacy}","received_events_url":"https://api.github.com/users/mcwhitaker/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":17,"state":"open","created_at":"2017-08-18T18:44:12Z","updated_at":"2017-08-25T13:42:32Z","due_on":"2017-09-01T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-07-20T13:23:42Z","updated_at":"2017-08-25T13:42:32Z","closed_at":"2017-08-25T13:42:31Z","body":"### Current Behavior\n- Click the \"Add Playlist Item\" icon\n- Look at the Title field. The default title is \"MediaObject_Title -\"\n\n### Possible Changes to Behavior\nExamples would be:\n- \"Parent label - track label\" (idea provided by the IU Music Library)\n- \"track label\"\n- or letting this be user-defined somewhere\n\n### Desired Behavior for Population of Title Field For New Playlist Items\n- If there is only a single section and no structural metadata XML exists, use MediaObject's Title\n- If no structural metadata XML exists or it exists but no structural segment is active, use \"MediaObject_Title - SectionLabel\"\n- If structural metadata XML exists and a segment is currently highlighted, use \"#{Label value of parent node if one exists} - #{Label of span which is currently active}\"\n\n### Done Looks Like\n- The default _Title_ value for a playlist item is populated based on the desired behavior above.\n\n### Real world example\nThe title of this playlist item defaults to the name of the media object, when it could be \"Schuber, Sonata ... Track 3. Allegreto\"\n![screen shot 2017-01-18 at 2 25 25 pm](https://cloud.githubusercontent.com/assets/1406618/22079750/e926dd08-dd8a-11e6-81c5-e1e291246081.png)\n\n### Tasks\n- [ ] Add controller function to masterfile_controller for generating the playlist label.\n- [ ] Add tests for said function\n- [ ] Use function in appropriate views"}}
{"actor":{"display_login":"bkeese"}}