Solved Locast
#1
Anyone working on add-on or is there a way to integrate Locast into Kodi?
Reply
#2
Looks interesting; I'll let you know... Moving to requests
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#3
Thanks Lunatixz -  If you do decide you are interested and need a beta tester I'm available Wink
Reply
#4
I hand made a m3u file that works for the NYC. when you click it fetches an m3u file that is related to the channel that it fetches with different qualities, I basically clicked on all of them took the last link and put it into its own m3u file with some meta data for the epg to attach to.. So far the streams are working. Not sure if they cycle the stream locations.
Reply
#5
(2018-08-24, 05:02)digioi Wrote: I hand made a m3u file that works for the NYC. when you click it fetches an m3u file that is related to the channel that it fetches with different qualities, I basically clicked on all of them took the last link and put it into its own m3u file with some meta data for the epg to attach to.. So far the streams are working. Not sure if they cycle the stream locations

I recall seeing a token attached to the stream, meaning at some point it will expire and you will have to recreate your m3u. I'm working on a plugin... its on my todo list Smile
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#6
Looks like you are right.
A POST to https://www.locast.org/wp/wp-admin/admin-ajax.php with username/password + action=member_login gets you a token 

then https://www.locast.org/wp/wp-admin/admin...40&lon=-73 with a cookie sent like 
_member_token=<token>; _member_role=1; that willl get you the individual stream than send that same cookie with the streamUrl on the returned json..... I wish i was more skilled with plugin develoment.
Reply
#7
@digioi I'll probably have a plugin ready by Monday... depending on my weekend.

As for plugin development its really easy... check out https://kodi.wiki/view/Add-on_development
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#8
Moving to https://forum.kodi.tv/showthread.php?tid=334947
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
Locast0