Release Livestream - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release Livestream (/showthread.php?tid=230355) |
RE: Livestream.com - eracknaphobia - 2015-10-02 (2015-10-02, 21:04)siuside Wrote: I looked for it but couldn't find it in settings. Only option was the login username/pass. My bad, I forgot to upload the settings file. It should be there now. RE: Livestream.com - siuside - 2015-10-02 (2015-10-02, 21:10)eracknaphobia Wrote:(2015-10-02, 21:04)siuside Wrote: I looked for it but couldn't find it in settings. Only option was the login username/pass. Thanks ! Tested and confirmed working RE: Livestream.com - eracknaphobia - 2015-10-14 FYI, I've created a repo for speedy updates. I still plan on submitting builds to the official kodi repo as well. https://github.com/eracknaphobia/repo.eracknaphobia/raw/master/repository.eracknaphobia.zip RE: Livestream.com - siuside - 2015-10-14 Installed your repo. Looking forward to the next Livestream test builds/updates coming in automatically now before they get promoted to official Kodi repo RE: Livestream.com - siuside - 2015-10-17 It looks like the JSON feed can be given some parameters to override the defaults of displaying 10 Items. Current Live event is http://livestream.com/bwfbadminton/sspodense2015court2 (EventID = 3709959). JSON Feed is Code: https://api.new.livestream.com/accounts/6523598/events/3709959/feed/ Data from the current feed, edited for brevity Code: { I can see that feed does have a correct "Total" displayed as the first element but the number of video items in the feed is 10, which seems to be the default and that is what we get in the addon. However if we take this Total and pass it on to the feed URL with maxItems=46, then we have all 46 videos come in correctly. Code: https://api.new.livestream.com/accounts/6523598/events/3709959/feed/?maxItems=46 If we don't want to capture the actual Total from the default json, passing arbitrary numbers like maxItems=50 or 100 etc also works. There are several other parameters that can be passed to the JSON feed. The following are the defaults and changing them to reasonable numbers produces valid results. Code: GET https://api.new.livestream.com/accounts/6523598/events/3709959/feed_sync?lastUpdate=1444760683603&updatesPage=1&deletionsPage=1&updatesMaxItems=10&deletionsMaxItems=10 Hope this can help replicate the behavior of webpage adding more videos as you scroll down. (2015-10-02, 20:25)eracknaphobia Wrote:(2015-10-02, 19:08)siuside Wrote:(2015-10-02, 18:37)eracknaphobia Wrote: The beta has been updated to address these issues RE: Livestream.com - danteal - 2015-10-18 Hi guys, very good addon, I have only a problem. I can't find any channel or video stored on "original.livestream.com" How can I do? RE: Livestream.com - Jelf10 - 2015-10-18 Just wanted to say thanks for this making this addon I looked for something last year and ended up when i wanted to watch a live stream i'd look for the m3u8 in the page source then add it into a .strm file to play and have been doing this a couple of times a week since. Thank god I searched again this is going to save me sooo much effort!! RE: Livestream.com - siuside - 2015-10-18 (2015-10-18, 00:01)danteal Wrote: Hi guys, very good addon, Have you tried logging in within the addon? Everything that you have subscribed to on the website should be coming in. original.livestream.com seems to be resolving to same livestream.com load balanced IPs so they should be all the same. Code: Name: original.livestream.com Code: Name: livestream.com RE: Livestream.com - eracknaphobia - 2015-10-20 (2015-10-17, 17:58)siuside Wrote: It looks like the JSON feed can be given some parameters to override the defaults of displaying 10 Items. Current Live event is http://livestream.com/bwfbadminton/sspodense2015court2 (EventID = 3709959). Good find! I'll think I'll set it 100 for now. RE: Livestream.com - siuside - 2015-10-21 Do you think it will hit them hard everytime though if it is hard coded to 100? Most of these providers don't have more than 10 vids in total, let alone across multiple events like BWF Badminton, who seem to be their most advanced client. Maybe it can be a user config item with the default of 10 to match what Livestream has. RE: Livestream.com - siuside - 2015-10-21 @erack I think we should try to mimic the browser scroll experience and not make out of bounds calls that they may not appreciate if they start detecting it (even though it does seem to return complete results). The updatesPage/deletionsPage along with updatesMaxItems and deletionsMaxItems functions will let us achieve that. For the above same event that has now finished and now found under archives ( http://livestream.com/bwfbadminton/sspodense2015court2 (EventID = 3709959)) there are 46 videos as shown on the webpage and also the json feed The following lets us browse a maximum of 10 videos at a time until the "video id"s are exhausted for the event_id. The "lastUpdate" parameter is mandatory and we can pass $epoch_time to get current time Code: https://api.new.livestream.com/accounts/6523598/events/3709959/feed_sync?lastUpdate=$epoch_time&updatesPage=1&deletionsPage=1&updatesMaxItems=10&deletionsMaxItems=10 Since that covers all 46 events, the updatesPage=6 returns blank results/data and the loop can be terminated Code: {"updates":{"total":46,"data":[]},"deletions":[]} Is that doable? RE: Livestream.com - eracknaphobia - 2015-10-21 I decided to use the exact total amount to load the streams for the event since I already had this value available to reference at the point in the code where I build the stream list. I think their servers should be fine with this as json files are very small and lightweight and the video streams are not called until the user selects them from the list. Test code can be downloaded from here: https://github.com/eracknaphobia/plugin.video.livestream/archive/Test_My_Channels.zip RE: Livestream.com - siuside - 2015-10-21 Getting an error at the moment with latest version http://pastebin.com/6F5ptZYC RE: Livestream.com - eracknaphobia - 2015-10-21 (2015-10-21, 17:33)siuside Wrote: Getting an error at the moment with latest version http://pastebin.com/6F5ptZYC Same here, I just got it starting a minute ago: HTTP Error 503: Service Unavailable Based on the definition of the error I'm going with this is a temporary issue "The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state" If you search "BWF" you can still get to the streams EDIT: Working here again... RE: Livestream.com - siuside - 2015-10-21 (2015-10-21, 17:38)eracknaphobia Wrote:(2015-10-21, 17:33)siuside Wrote: Getting an error at the moment with latest version http://pastebin.com/6F5ptZYC Yes I just confirmed going that route just now. For a moment I thought it was the difference in the addon folder name vs the addon_data folder name. Confirmed the updates across multiple events in BWF. Looks good ! Edit: My Channels/login also working now. |