{"action":"created","issue":{"url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory/issues/7","repository_url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory","labels_url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory/issues/7/comments","events_url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory/issues/7/events","html_url":"https://github.com/NapoleonWils0n/kodi-playercorefactory/issues/7","id":133514950,"number":7,"title":"Is there a way to record from NHL.TV in Kodi?","user":{"login":"rdwenrich","id":17191322,"avatar_url":"https://avatars.githubusercontent.com/u/17191322?v=3","gravatar_id":"","url":"https://api.github.com/users/rdwenrich","html_url":"https://github.com/rdwenrich","followers_url":"https://api.github.com/users/rdwenrich/followers","following_url":"https://api.github.com/users/rdwenrich/following{/other_user}","gists_url":"https://api.github.com/users/rdwenrich/gists{/gist_id}","starred_url":"https://api.github.com/users/rdwenrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdwenrich/subscriptions","organizations_url":"https://api.github.com/users/rdwenrich/orgs","repos_url":"https://api.github.com/users/rdwenrich/repos","events_url":"https://api.github.com/users/rdwenrich/events{/privacy}","received_events_url":"https://api.github.com/users/rdwenrich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-14T07:14:28Z","updated_at":"2016-02-17T00:23:23Z","closed_at":null,"body":"This is my save url file:\r\n[video-url-02-13-16-18-35.txt](https://github.com/NapoleonWils0n/kodi-playercorefactory/files/129549/video-url-02-13-16-18-35.txt)\r\nI am trying to record this because my internet is not that good for live streaming. I have an NHL.TV account and I can play Ice Hockey games in Kodi with the NHL.TV addon. Thanks.\r\n\r\nDennis"},"comment":{"url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory/issues/comments/184938130","html_url":"https://github.com/NapoleonWils0n/kodi-playercorefactory/issues/7#issuecomment-184938130","issue_url":"https://api.github.com/repos/NapoleonWils0n/kodi-playercorefactory/issues/7","id":184938130,"user":{"login":"rdwenrich","id":17191322,"avatar_url":"https://avatars.githubusercontent.com/u/17191322?v=3","gravatar_id":"","url":"https://api.github.com/users/rdwenrich","html_url":"https://github.com/rdwenrich","followers_url":"https://api.github.com/users/rdwenrich/followers","following_url":"https://api.github.com/users/rdwenrich/following{/other_user}","gists_url":"https://api.github.com/users/rdwenrich/gists{/gist_id}","starred_url":"https://api.github.com/users/rdwenrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdwenrich/subscriptions","organizations_url":"https://api.github.com/users/rdwenrich/orgs","repos_url":"https://api.github.com/users/rdwenrich/repos","events_url":"https://api.github.com/users/rdwenrich/events{/privacy}","received_events_url":"https://api.github.com/users/rdwenrich/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T00:23:23Z","updated_at":"2016-02-17T00:23:23Z","body":"Thank you for helping me to get this to work. I am using Debian Linux testing version.\n\nOn NapoleonWils0n <notifications@github.com>, Feb 17, 2016 4:55 AM wrote:\nHi Dennis\nIt should be possible to record that stream, but i need add some code to the scripts first\nAlso i dont have a NHL.TV account so ill need your help to test everything works\n\nIf you look at the url you'll see its a link to an m3u8 video stream with User-Agent http header and it also uses a cookie for authentication, just like a cookie in a browser\n\nSo the reason its not working at the moment is because of the cookie authentication\nffmpeg can save cookies files so it can record the video stream so it should work\n\nheres what i need to do\n\n1 - create a regular expression to match urls that contain the word cookie\n2 - store the cookie in a variable called cookie\n3 - create a new ffmpeg command  to use the cookie variable and save it in a text files, which fingers crossed should let you record the video\n\nAfter i have created the command ill add it to the git repository\nAs i said i dont have a NHL.TV account so ill need your help to test it works\n\nIll leave a comment here and let you know when ive added the code and then you can do a git pull and test if it works or not\n\nAlso which operating system do you use, windows, macosx or linux\n\n\n---\nReply to this email directly or view it on GitHub:\nhttps://github.com/NapoleonWils0n/kodi-playercorefactory/issues/7#issuecomment-184871756\n"}}