diff --git a/README.md b/README.md index e0cc502..739374d 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,15 @@ -Chrome Extension to list and watch twitch.tv vods (past broadcasts) with recorded chat. +Chrome Extension to list and watch twitch.tv vods (past broadcasts) with recorded chat. +Live Streams also work for the most part. # General -All media data is loaded from twitch.tv. Api calls are used to collect varous datasets from twitch.tv. +All media data is loaded from twitch.tv. Api calls are used to collect various datasets from twitch.tv. This extension uses the hls streaming library hls.js from https://github.com/video-dev/hls.js. After installing the List page will open. Otherwise click on the new extension icon to load the List. I recommend saving this site as a bookmark. -Right now you need to provide your own twitch.tv client ID or OAuth for it to work (you will be prompted on first start). -## List -Enter a channel name to see recent vods of that channel. By clicking a thumbnail the player will open. - -Entered channels will be saved for quick access. - -### Keybindings - -* ```tab``` select the next video in the list -* ```shift+tab``` select the previous video in the list - -Press ```Enter``` open the selected video. - -## Player - -### Keybindings +# Player Keybindings * ```f``` enter/leave fullscreen * ```space``` play/pause @@ -38,7 +24,7 @@ Press ```Enter``` open the selected video. While holding ```Alt``` and pressing ```+/-``` you can go forward/backwards multiples of 30secs. -### Chat +# Chat You can move and resize the chat window. Use "Sync Time" in the chat Options (top right in the chat window) to sync the chat with the video. @@ -46,9 +32,3 @@ This is usually only needed for IRL streams that lagged during live broadcast. If you increase the time the chat will catch up to the video. Values < 0 are almost never needed unless you want to see chat with a delay. - - -# Known Issues - -* Memory consumption can get very high over time. Especially when alot of vods where opened. Close all extension pages and wait 5 seconds to clear memory. -* Some Badges and Bit Emotes are missing diff --git a/extension/js/background.js b/extension/js/background.js index 33d946b..726daaf 100755 --- a/extension/js/background.js +++ b/extension/js/background.js @@ -110,7 +110,7 @@ chrome.runtime.onInstalled.addListener(function (object) { let ready = false; class Storage{ constructor(){ - this.maxResumePositions = 1000; + this.maxResumePositions = 10000; this.maxFavourites = 200; this.data = { "userIds": {}, diff --git a/extension/js/chat/ui/chat.js b/extension/js/chat/ui/chat.js index 129a446..de49af1 100755 --- a/extension/js/chat/ui/chat.js +++ b/extension/js/chat/ui/chat.js @@ -289,7 +289,7 @@ class ReChatInterface extends ChatInterface{ this.revertUntilAlign(secs+syncTime); } else if(0 < diff && diff < 33){ - this.addNewMsgs(secs); + this.addNewMsgs(secs+syncTime); } else{ this.chat.seek(secs+syncTime); diff --git a/extension/list.html b/extension/list.html index d196417..6bc4dd3 100755 --- a/extension/list.html +++ b/extension/list.html @@ -15,14 +15,14 @@