Version 2
Version 2 is finalized
Available @ https://github.com/MrSprigster/Twitch-on-Kodi/releases/tag/2.0.0
I've been actively testing v2 (alpha4) for the past 5 days and all seems good. I particularly like the new features (in add-on Follow is a God send).
Thanks @anxdpanic , keep up the amazing work.
Same for me with alpha4. Looks promising. So far no serious problem if any. The only one I've encountered was lack of userdata\addon_data\plugin.video.twitch creation upon installing, which threw exceptions and did not allow to use the addon. After manually creating folder - no problems.
File "C:\Users\x360\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\addon\common\json_store.py", line 33, in save
with open(self.filename, 'wb') as jsonfile:
IOError: (2, 'No such file or directory', u'C:\\Users\\x360\\AppData\\Roaming\\Kodi\\userdata\\addon_data\\plugin.video.twitch\\storage.json')
Thanks :) Directory creation should be fixed in dev branch now along with minor fix to search
Awesome! I am looking forward to this release. Is there any ETA? Will the 1.x line upgrade to the 2.x, or will it be a new addon?
Hello @anxdpanic, i am testing your releases (plugin.video.twitch-1.4.6-alpha1 and plugin.video.twitch-2.0.0~alpha4) In 1.4.6 i test the high, medium, low quality, but it always runs on 1080. In contrast, i try to install 2.0.0 but its drops me dependency error on installation.
Thanks for your work
@cmsimike no ETA as of yet still working on a few things between the add-on and module. It will update to the new version and will install the required module during the update as well.
@cesarDevOp 1.4.6 was working when I tested, should be more than 1080 for sure. I re-labeled the qualities to show where 'high', 'medium', etc.. are triggered. As for dependency error, script.module.python.twitch needs to be installed first. The easiest way to do that would be to just install repository zip and update the Twitch add-on.
@anxdpanic I continue testing and I surprised myself when you released 2.0.0-alpha5. It promises a lot. I have some bad experiences, because I have a rpi 1, they crash kodi and restart my rpi. This is the reason because I am focusing on the possibility of changing the video quality.
Now, I am going to put my efforts on 1.4.6-alpha, and I reproduced the quality problem. It works fine on a live channel, but when I try a "past broadcast", it omits the quality i set.
Tell me if I can help you in some approach.
@anxdpanic thank you! I look forward to the release.
Been having no issues with version 2 so far. Only complaint is that it's very slow on the Raspberry Pi, with it having to go through all the new sub-menus and having to refresh the menus when you go back (via ..)
@anxdpanic I have news about the problem of changing resolution (I think video attribute), I get urls from firebug and I get:
which works
#EXTM3U
#EXT-X-TWITCH-INFO:ORIGIN="swift",CLUSTER="akamai_vod",REGION="EU",MANIFEST-CLUSTER="akamai_vod",USER-IP="xx.xx.xx.xxx"
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="chunked",NAME="Source",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4751178,CODECS="avc1.428020,mp4a.40.2",RESOLUTION="1280x720",VIDEO="chunked"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/chunked/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="144p30",NAME="144p30",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=120293,CODECS="avc1.42C00C,mp4a.40.2",RESOLUTION="256x144",VIDEO="144p30"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/144p30/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="240p30",NAME="240p30",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=181990,CODECS="avc1.42C015,mp4a.40.2",RESOLUTION="426x240",VIDEO="240p30"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/240p30/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="360p30",NAME="360p30",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=336841,CODECS="avc1.42C01E,mp4a.40.2",RESOLUTION="640x360",VIDEO="360p30"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/360p30/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="480p30",NAME="480p30",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=783176,CODECS="avc1.42C01E,mp4a.40.2",RESOLUTION="852x480",VIDEO="480p30"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/480p30/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="540p30",NAME="540p30",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=525592,CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION="960x540",VIDEO="540p30"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/540p30/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="720p30",NAME="720p30",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=928919,CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION="1280x720",VIDEO="720p30"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/720p30/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="720p60",NAME="720p60",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1998133,CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION="1280x720",VIDEO="720p60"
https://vod046-ttvnw.akamaized.net/v1/AUTH_system/vods_ddc2/riotgames_24903185760_625119605/720p60/index-dvr.m3u8
and which not works:
#EXTM3U
#EXT-X-TWITCH-INFO:ORIGIN="swift",CLUSTER="akamai_vod",REGION="EU",MANIFEST-CLUSTER="akamai_vod",USER-IP="xx.xx.xx.xxx"
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="chunked",NAME="Source",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=8277558,CODECS="avc1.64002A,mp4a.40.2",RESOLUTION="1920x1080",VIDEO="chunked"
https://vod189-ttvnw.akamaized.net/v1/AUTH_system/vods_6606/lvpes_24908471216_625449946/chunked/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="high",NAME="high",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1140030,CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION="1280x720",VIDEO="high"
https://vod189-ttvnw.akamaized.net/v1/AUTH_system/vods_6606/lvpes_24908471216_625449946/high/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="low",NAME="low",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=503876,CODECS="avc1.42C01E,mp4a.40.2",RESOLUTION="640x360",VIDEO="low"
https://vod189-ttvnw.akamaized.net/v1/AUTH_system/vods_6606/lvpes_24908471216_625449946/low/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="medium",NAME="medium",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=614649,CODECS="avc1.4D401E,mp4a.40.2",RESOLUTION="852x480",VIDEO="medium"
https://vod189-ttvnw.akamaized.net/v1/AUTH_system/vods_6606/lvpes_24908471216_625449946/medium/index-dvr.m3u8
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="mobile",NAME="mobile",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=177967,CODECS="avc1.42C00D,mp4a.40.2",RESOLUTION="400x226",VIDEO="mobile"
https://vod189-ttvnw.akamaized.net/v1/AUTH_system/vods_6606/lvpes_24908471216_625449946/mobile/index-dvr.m3u8
edit: removed ip
@cesarDevOp thanks, should be resolved in master if any follow up please use #225 so we can keep this to version 2.
@Giacom thanks for the feedback. my main use device is an rpb2 too. So far only the api requests are cached. When new additions are done will also be going back through for some performance/cosmetic updates. * seems api requests weren't being cached either, fixed now.
Just added the last new feature I can think of or that has been suggested. Over the next few days will make a pass to make any changes that may cause breakage. After that will bump to beta for performance and bug fixes.
Pushed to beta1 today, creating new favorites etc should be safe now. There were some bugs fixed in this push that should also improve performance.
If you run into any bugs please post a debug log with version along with any contextual information you feel may be relevant. Thanks!
Hooray for in-addon follow!
Not sure how current my version is (probably about a year out of date now), so forgive me if these have already been addressed. (Phone makes searching old issues and separating these difficult.)
-
Chat overlay gets stuck open if login fails. Ignores clicking close button.
-
No indication of how to reopen chat if closed.
-
Followed games list displays all games rather than only ones with current streams.
Love the plugin, keep up great work!
Thanks. Not much can be done with chat, that project itself would require some updates. Games no longer just returns live channels there is also a section for Clips, so that behavior for followed games hasn't changed.
Shooting for end of this week for release point, so there may be a few quicker version bumps for any bugs to ensure fixes get tested.
@Giacom Things are running better on my rbp, has this improved for you as well? and you are also now able to control which items(all main sub menus) are on the main menu. You can go as far to remove all the default main menu items and add all sub menus to the main menu.
Thanks again everyone for testing. 👍
@anxdpanic You've done a great job with this! Thanks again.
When you feel it's ready for release, feel free to move it to the main branch and create a release and I'll process the submission to the Official Kodi Addon repository.
~~Forgot to add, I have not been able to find a stream/vod that uses the Audio Only transcode, if anyone has an example of a stream/vod that does it would be appreciated~~
Audio only added now
@anxdpanic Thanks, I'll test out the customisation menu system.
Found an issue whilst quickly testing the latest version, related to external requests to play a twitch stream. The chrome extension "Play to Kodi" is no longer compatible and can no longer tell the plugin to watch a Twitch stream. Perhaps there an API change that broke compatibility or it could be something else?
It has already been resolved in Play to Kodi and will be included with their next update. Was reported by another user to them. Reference to that report is included above.