{"action":"created","issue":{"url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/74","labels_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/74/comments","events_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/74/events","html_url":"https://github.com/Shani-08/ShaniXBMCWork/issues/74","id":42673254,"number":74,"title":"GLARAB servers, quality & channels","user":{"login":"emadmahdi","id":7454511,"avatar_url":"https://avatars.githubusercontent.com/u/7454511?v=3","gravatar_id":"","url":"https://api.github.com/users/emadmahdi","html_url":"https://github.com/emadmahdi","followers_url":"https://api.github.com/users/emadmahdi/followers","following_url":"https://api.github.com/users/emadmahdi/following{/other_user}","gists_url":"https://api.github.com/users/emadmahdi/gists{/gist_id}","starred_url":"https://api.github.com/users/emadmahdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emadmahdi/subscriptions","organizations_url":"https://api.github.com/users/emadmahdi/orgs","repos_url":"https://api.github.com/users/emadmahdi/repos","events_url":"https://api.github.com/users/emadmahdi/events{/privacy}","received_events_url":"https://api.github.com/users/emadmahdi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":68,"created_at":"2014-09-12T21:37:44Z","updated_at":"2015-01-22T09:26:42Z","closed_at":"2014-11-15T04:44:56Z","body":"Hi Shani,\r\n\r\nI hope everything is ok with you ... I know I've been away for couple of months ... and I am sorry for that ... but i was really busy.\r\n\r\nAnyway I noticed Yesterday that all GLARAB channels had stopped working suddenly and after investigating I had found that the session ID used in all the URL's had expired.\r\n\r\nI did some investigations and experiments and I would like to share what I found ... I am sure you will find a good solution that can cover all the below findings to improve the GLARAB function in your SHAHID plugin ... I also found some new glarab channels and will add them later to your files ... here is what I found:\r\n\r\n1- GLARAB supports three stream qualities these are:\r\nLow (300kbps)\r\nMed (500kbps)\r\nHD (900kbps)\r\n\r\n2- The GLARAB servers for the Low stream quality are:\r\n38.99.146.40\t::\tserver needs Session ID (& HLS ID)\r\n38.99.146.42\t::\tserver needs session ID (& HLS ID)\r\n38.99.146.43\t::\tserver needs session ID (& HLS ID)\r\n38.99.146.44\t::\tserver needs session ID (& HLS ID)\r\n\r\n3- For the Med stream and for the HD stream qualities the servers are:\r\n38.99.146.36\t::\tserver does not need Session ID (nor HLS ID)\r\n38.99.146.37\t::\tserver needs session ID (& HLS ID)\r\n\r\n4- The file naming used in the URL's is as follows:\r\nLow quality : xxxxxxxx.m3u8\r\nMed quality : xxxxxxxx_Med.m3u8\r\nHD quality : xxxxxxxx_HD.m3u8\r\n\r\n5- The session ID can simply be obtained by using the GLARAB xbmc plugin (plugin.video.glarab) after providing a username & a password obtained from www.glarab.com ... this plugin can login to GLARAB and then by opening any GLARAB channel then this plugin will simply generate a URL that have the session ID which is related to the account used ... and then place that URL in the log file of XBMC (from the whole URL only the session ID is needed).\r\n\r\n6- The HLS ID ... I still does not know what it is exactly ... but it looks using any number will do the trick or even removing the whole thing 'hlsid=xxxx' completely from the URL will also do the trick.\r\n\r\n7- Sample URLs:\r\nhttp://glarab.LOW.quality.server:7777/channelname.m3u8?session=sessionID\r\nhttp://glarab.MED.quality.server:7777/channelname_Med.m3u8?session=sessionID\r\nhttp://glarab.HD.quality.server:7777/channelname_HD.m3u8?session=sessionID\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/comments/70992893","html_url":"https://github.com/Shani-08/ShaniXBMCWork/issues/74#issuecomment-70992893","issue_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/74","id":70992893,"user":{"login":"ehaab","id":10651230,"avatar_url":"https://avatars.githubusercontent.com/u/10651230?v=3","gravatar_id":"","url":"https://api.github.com/users/ehaab","html_url":"https://github.com/ehaab","followers_url":"https://api.github.com/users/ehaab/followers","following_url":"https://api.github.com/users/ehaab/following{/other_user}","gists_url":"https://api.github.com/users/ehaab/gists{/gist_id}","starred_url":"https://api.github.com/users/ehaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehaab/subscriptions","organizations_url":"https://api.github.com/users/ehaab/orgs","repos_url":"https://api.github.com/users/ehaab/repos","events_url":"https://api.github.com/users/ehaab/events{/privacy}","received_events_url":"https://api.github.com/users/ehaab/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T09:26:42Z","updated_at":"2015-01-22T09:26:42Z","body":"Glarab not working. Did any one find new hd ip address for it?"}}