{"action":"opened","issue":{"url":"https://api.github.com/repos/LA1TV/Website/issues/237","labels_url":"https://api.github.com/repos/LA1TV/Website/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/LA1TV/Website/issues/237/comments","events_url":"https://api.github.com/repos/LA1TV/Website/issues/237/events","html_url":"https://github.com/LA1TV/Website/issues/237","id":59251942,"number":237,"title":"Ability to access media items at secret links when they are not in playlists","user":{"login":"tjenkinson","id":3259993,"avatar_url":"https://avatars.githubusercontent.com/u/3259993?v=3","gravatar_id":"","url":"https://api.github.com/users/tjenkinson","html_url":"https://github.com/tjenkinson","followers_url":"https://api.github.com/users/tjenkinson/followers","following_url":"https://api.github.com/users/tjenkinson/following{/other_user}","gists_url":"https://api.github.com/users/tjenkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/tjenkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjenkinson/subscriptions","organizations_url":"https://api.github.com/users/tjenkinson/orgs","repos_url":"https://api.github.com/users/tjenkinson/repos","events_url":"https://api.github.com/users/tjenkinson/events{/privacy}","received_events_url":"https://api.github.com/users/tjenkinson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LA1TV/Website/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T15:39:07Z","updated_at":"2015-02-27T15:39:07Z","closed_at":null,"body":"You should be able to generate a secret (which is a random string) for a media item which can then be used in a url that will provide access to it.\r\n\r\nThe url should be /player/<secret> for the main site and /<secret> for the embeddable player.\r\n\r\nThe player page will contain everything the normal player page does except the playlist box. Related items can still be shown which would be the related items attached to the media item.\r\n\r\nWhen a media item is accessed at the secret link a flag should be set in the users session so that any assets (from the /files endpoint) can be unlocked for the user that are needed.\r\n\r\nIf the media item later becomes part of a playlist then a redirect response should be returned redirecting the user to the item in the playlist. The embeddable player should redirect to the embeddable version of the item in the playlist."}}