------------------------------------------------------------
commit 24990ac95cb669ba33ed6060285b84ccf172d652
Author: ffff:72.234.190.31 <ffff:72.234.190.31@togger.com> Date: Thu Nov 28 03:36:57 2024 +0000 updated channels/UC5Sl4VbJELXi9SCaWbTdXfA.scroll diff --git a/channels/UC5Sl4VbJELXi9SCaWbTdXfA.scroll b/channels/UC5Sl4VbJELXi9SCaWbTdXfA.scroll index a92fd69..e1bff1f 100644 --- a/channels/UC5Sl4VbJELXi9SCaWbTdXfA.scroll +++ b/channels/UC5Sl4VbJELXi9SCaWbTdXfA.scroll @@ -2,7 +2,7 @@ id UC5Sl4VbJELXi9SCaWbTdXfA url https://www.youtube.com/channel/UC5Sl4VbJELXi9SCaWbTdXfA -status live +status removed channelid UC5Sl4VbJELXi9SCaWbTdXfA channeltitle Jazz Cafe Ambience collections ambience ------------------------------------------------------------
commit 80ef37e32a8c016fea2959d835fa2c9b5ad4d0a7
Author: Breck Yunits <breck7@gmail.com> Date: Wed Nov 27 17:36:50 2024 -1000 diff --git a/todo.scroll b/todo.scroll index 41a2de3..b074e1e 100644 --- a/todo.scroll +++ b/todo.scroll @@ -27,7 +27,7 @@ [] better universal time sync [] show chat counts [x] no broken videos -[] real static +[] real staticnoise [] chat diff --git a/togger.js b/togger.js index 4d08dc1..b61ad66 100644 --- a/togger.js +++ b/togger.js @@ -194,9 +194,8 @@ class Togger { `/edit.html?folderName=togger.com&fileName=channels%2F${this.currentChannel.id}.scroll`, "edit", ) - this.toggleMute() break - case " ": + case "m": this.toggleMute() break case "p": @@ -467,6 +466,7 @@ class Togger { onReady(event) { this.playStream() // Start playing as soon as the player is ready + document.querySelector(".mute").focus() } addVolumeIndicator() { @@ -528,7 +528,7 @@ class Togger { } const muteRow = createButtonRow([ - createButton("MUTE", " ", { isMute: true }), + createButton("MUTE", "m", { isMute: true }), ]) remote.appendChild(muteRow) ------------------------------------------------------------
commit 7ee06628fb6134d6f54c0c85c9d5596fb5cc877b
Author: Breck Yunits <breck7@gmail.com> Date: Wed Nov 27 11:48:59 2024 -1000 diff --git a/togger.js b/togger.js index b307221..4d08dc1 100644 --- a/togger.js +++ b/togger.js @@ -235,16 +235,14 @@ class Togger { this.showCollectionIndicator() } - get volume() { - return this.player?.getVolume ? this.player.getVolume() : 100 - } + volume = 100 - showVolumeIndicator(newVolume) { + showVolumeIndicator() { const { volume, isMuted } = this this.showIndicator( isMuted ? "MUTED" - : `Volume: ${newVolume === undefined ? volume : newVolume}%`, + : `Volume: ${volume}%`, ) } @@ -262,17 +260,21 @@ class Togger { } increaseVolume() { - const currentVolume = this.player.getVolume() - const newVolume = Math.min(100, currentVolume + 10) - this.player.setVolume(Math.min(100, currentVolume + 10)) - this.showVolumeIndicator(newVolume) + let delta = 10 + if (this.volume < 10) + delta = 5 + this.volume = Math.min(100, this.volume + delta) + this.player.setVolume(this.volume) + this.showVolumeIndicator() } decreaseVolume() { - const currentVolume = this.player.getVolume() - const newVolume = Math.max(0, currentVolume - 10) - this.player.setVolume(newVolume) - this.showVolumeIndicator(newVolume) + let delta = 10 + if (this.volume <= 10) + delta = 5 + this.volume = Math.min(100, Math.max(0, this.volume - delta)) + this.player.setVolume(this.volume) + this.showVolumeIndicator() } unmute() { @@ -306,7 +308,7 @@ class Togger { if (current.platform === "youtube") { this.player.mute() this.player.loadVideoById(current.streamLink) - this.player.setVolume(100) + this.player.setVolume(this.volume) this.player.setPlaybackRate(1) if (this.startUpdatingUrl) ------------------------------------------------------------
commit 7f3b2e1837a431f1faf24e51aa6e1de726a79410
Author: ffff:72.234.190.31 <ffff:72.234.190.31@togger.com> Date: Wed Nov 27 21:35:47 2024 +0000 updated channels/gmfarcaster.scroll diff --git a/channels/gmfarcaster.scroll b/channels/gmfarcaster.scroll index 047ff3e..059ff73 100644 --- a/channels/gmfarcaster.scroll +++ b/channels/gmfarcaster.scroll @@ -2,7 +2,7 @@ id gmfarcaster url https://www.youtube.com/@GMFarcaster -status live +status off channelid UChEEElYETR8gpc_RL0GGJng channeltitle GM Farcaster collections warpcast ------------------------------------------------------------
commit 6448f8d3f00337a3722ab03ba4a360cd8e78bcd5
Author: Breck Yunits <breck7@gmail.com> Date: Wed Nov 27 11:10:26 2024 -1000 diff --git a/channels/lolnetwork.scroll b/channels/lolnetwork.scroll new file mode 100644 index 0000000..f2ff16f --- /dev/null +++ b/channels/lolnetwork.scroll @@ -0,0 +1,12 @@ +../channels.parsers + +id lolnetwork +url https://www.youtube.com/@LOLNetwork +status live +channelid UCLRmIdRJgLfmdpJufmBhBuA +channeltitle LOL Stand Up +collections standup +neweststream ctyzvJLoid0 +viewCount 23010 +likeCount 2400 +streamtime 2024-11-25T11:17:13.980Z ------------------------------------------------------------
commit f0ce0db235c42f2432bc7d230bdae90c07d49a61
Author: ffff:72.234.190.31 <ffff:72.234.190.31@togger.com> Date: Wed Nov 27 21:01:09 2024 +0000 updated channels/theprimetimeagen.scroll diff --git a/channels/theprimetimeagen.scroll b/channels/theprimetimeagen.scroll index aa6a0d7..d33e1ef 100644 --- a/channels/theprimetimeagen.scroll +++ b/channels/theprimetimeagen.scroll @@ -2,7 +2,7 @@ id theprimetimeagen url https://www.youtube.com/@ThePrimeTimeagen -status live +status off channelid UC8ENHE5xdFSwx71u3fDH5Xw channeltitle ThePrimeagen collections coding ------------------------------------------------------------
commit dcde2fcfb01d7527b33d310add6d56b0e35bf049
Author: ffff:72.234.190.31 <ffff:72.234.190.31@togger.com> Date: Wed Nov 27 20:23:54 2024 +0000 updated channels/gmfarcaster.scroll diff --git a/channels/gmfarcaster.scroll b/channels/gmfarcaster.scroll index 059ff73..047ff3e 100644 --- a/channels/gmfarcaster.scroll +++ b/channels/gmfarcaster.scroll @@ -2,7 +2,7 @@ id gmfarcaster url https://www.youtube.com/@GMFarcaster -status off +status live channelid UChEEElYETR8gpc_RL0GGJng channeltitle GM Farcaster collections warpcast ------------------------------------------------------------
commit 5b3cc446dcca707bf621bee7a614e6f00843700f
Author: ffff:72.234.190.31 <ffff:72.234.190.31@togger.com> Date: Wed Nov 27 20:23:33 2024 +0000 updated channels/gmfarcaster.scroll diff --git a/channels/gmfarcaster.scroll b/channels/gmfarcaster.scroll index 0481db9..059ff73 100644 --- a/channels/gmfarcaster.scroll +++ b/channels/gmfarcaster.scroll @@ -6,7 +6,7 @@ status off channelid UChEEElYETR8gpc_RL0GGJng channeltitle GM Farcaster collections warpcast -neweststream WGyFaSujUvk +neweststream B04NDEZno0g viewCount 18 likeCount 4 streamtime 2024-11-23T05:22:28Z ------------------------------------------------------------
commit 59819c405b770242c41adf159e7b692e68b6c2d4
Author: ffff:104.28.116.93 <ffff:104.28.116.93@togger.com> Date: Wed Nov 27 18:48:18 2024 +0000 updated channels/brisbanelivestream.scroll diff --git a/channels/brisbanelivestream.scroll b/channels/brisbanelivestream.scroll index 58820cc..db32497 100644 --- a/channels/brisbanelivestream.scroll +++ b/channels/brisbanelivestream.scroll @@ -2,7 +2,7 @@ id brisbanelivestream url https://www.youtube.com/@brisbanelivestream -status live +status removed channelid UCwyuvrVtIg0xjH2qPufk3RQ channeltitle Brisbane Live collections worldcams ------------------------------------------------------------
commit 312462a7ed3fdbe1b9b71f12b8e69eaa0b7c3674
Author: Breck Yunits <breck7@gmail.com> Date: Wed Nov 27 08:46:57 2024 -1000 diff --git a/style.css b/style.css index 54ddb7e..26cc01a 100644 --- a/style.css +++ b/style.css @@ -267,7 +267,7 @@ a.warpcast { position: fixed; bottom: 1rem; right: 1rem; - width: 128px; + width: 156px; background: #1f2937; border-radius: 0.75rem; padding: 1rem; @@ -308,12 +308,15 @@ a.warpcast { .remote-control button { width: 3rem; height: 3rem; - border-radius: 9999px; + min-width: 3rem; + min-height: 3rem; + border-radius: 50%; background: #374151; border: 2px solid #4b5563; box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.25); color: #d1d5db; - font-size: 1.125rem; + font-size: 0.7rem; + padding: 0; display: flex; align-items: center; justify-content: center;