{"action":"created","issue":{"url":"https://api.github.com/repos/radiant-player/radiant-player-mac/issues/536","repository_url":"https://api.github.com/repos/radiant-player/radiant-player-mac","labels_url":"https://api.github.com/repos/radiant-player/radiant-player-mac/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/radiant-player/radiant-player-mac/issues/536/comments","events_url":"https://api.github.com/repos/radiant-player/radiant-player-mac/issues/536/events","html_url":"https://github.com/radiant-player/radiant-player-mac/issues/536","id":145447653,"number":536,"title":"Lyrics work in progress","user":{"login":"BarakaAka1Only","id":2947494,"avatar_url":"https://avatars.githubusercontent.com/u/2947494?v=3","gravatar_id":"","url":"https://api.github.com/users/BarakaAka1Only","html_url":"https://github.com/BarakaAka1Only","followers_url":"https://api.github.com/users/BarakaAka1Only/followers","following_url":"https://api.github.com/users/BarakaAka1Only/following{/other_user}","gists_url":"https://api.github.com/users/BarakaAka1Only/gists{/gist_id}","starred_url":"https://api.github.com/users/BarakaAka1Only/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarakaAka1Only/subscriptions","organizations_url":"https://api.github.com/users/BarakaAka1Only/orgs","repos_url":"https://api.github.com/users/BarakaAka1Only/repos","events_url":"https://api.github.com/users/BarakaAka1Only/events{/privacy}","received_events_url":"https://api.github.com/users/BarakaAka1Only/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-03T03:07:56Z","updated_at":"2016-04-05T03:24:24Z","closed_at":null,"body":"I've seen this post: https://github.com/radiant-player/radiant-player-mac/issues/267\r\n\r\nAnd i wanted to try to implement this i am not a full ended coder when it comes to making os x applications but i do know my way around js, css etc\r\n\r\nSo I went ahead and played around with the source code and Google and got this:\r\n\r\n<img src=\"http://i.imgur.com/r9YnnO5.jpg\"> \r\n\r\n<img src=\"http://i.imgur.com/Y4ogayA.png\">\r\n\r\n<img src=\"http://i.imgur.com/VzEwXYz.jpg\">\r\n\r\n<img src=\"http://i.imgur.com/QQvEJTm.png\">\r\n\r\nnow this is a work in progress nothing fancy, what it's using at the moment is Google Lyrics.\r\n\r\nGoogle Lyrics are Lyrics that Google put up themselves inside the play store when viewing music. It obtains it by the song data-id and matches it as if you were previewing the song and what not\r\n\r\nFor an example: Google something like \"ariana grande almost is never enough lyrics\" and you will see the lyrics with a link to see the full lyrics\r\n\r\nGoogle doesn't have every single song with lyrics its \"random?\"  either it has it or not simple as that.\r\n\r\nI tried to implement other services like AZ Lyrics and i couldn't because since the WebView is on https:// (https://play.google.com/music/) i couldn't get past the header access-control-allow-origin so that was a bust which is why i am using Google Lyrics. \r\n\r\nWhat it is using:\r\n\r\njQuery ( i know not the best thing but it works couldn't get past the finding of selectors without it )\r\nGithub Fetch\r\nand my own spin to get the lyrics ;)\r\n\r\nBut again this was just a test / random thing but it works :)\r\n\r\nIf you guys want to give it a shot here you go:\r\n\r\n~~https://www.dropbox.com/s/rhorpgmvit8gc2v/Baraka%20Lyrics%20Radiant%20Player.app.zip?dl=0~~\r\n\r\nLet me know what you guys think and again this is just a test / work in progress nothing official i suppose?\r\n\r\n\r\n**Note: There will be times when the button will not show, its because the dataid in the url was not found therefore there is a \"404\" but keep trying other songs it will show up with available or not**\r\n "},"comment":{"url":"https://api.github.com/repos/radiant-player/radiant-player-mac/issues/comments/205623226","html_url":"https://github.com/radiant-player/radiant-player-mac/issues/536#issuecomment-205623226","issue_url":"https://api.github.com/repos/radiant-player/radiant-player-mac/issues/536","id":205623226,"user":{"login":"BarakaAka1Only","id":2947494,"avatar_url":"https://avatars.githubusercontent.com/u/2947494?v=3","gravatar_id":"","url":"https://api.github.com/users/BarakaAka1Only","html_url":"https://github.com/BarakaAka1Only","followers_url":"https://api.github.com/users/BarakaAka1Only/followers","following_url":"https://api.github.com/users/BarakaAka1Only/following{/other_user}","gists_url":"https://api.github.com/users/BarakaAka1Only/gists{/gist_id}","starred_url":"https://api.github.com/users/BarakaAka1Only/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarakaAka1Only/subscriptions","organizations_url":"https://api.github.com/users/BarakaAka1Only/orgs","repos_url":"https://api.github.com/users/BarakaAka1Only/repos","events_url":"https://api.github.com/users/BarakaAka1Only/events{/privacy}","received_events_url":"https://api.github.com/users/BarakaAka1Only/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T03:24:24Z","updated_at":"2016-04-05T03:24:24Z","body":"UPDATE:\r\n\r\nI wanted to extend it more for lyrics that aren't available making it more of a chance to get lyrics\r\n\r\nBy doing this increases the chances more than getting nothing\r\n\r\nChange Log:\r\n* Fixed when modal is open and `change:playback` event occurs such as pause / play it now will hide / show\r\n* Changed the eventListeners to a self function so it will get called independently\r\n* Added Genius.com for additional lyric searching \r\n\r\nHere is the new version:\r\nhttps://www.dropbox.com/s/qsfhmggemo0ttpz/BarakaLyrics%20v4%20Radiant%20Player.app.zip?dl=0\r\n\r\nLet me know what you guys think :)"}}