Changes to clone19ab1.togger.com

ffff:80.39.43.30
ffff:80.39.43.30
1 month ago
updated channels/bravadamike.scroll
channels/bravadamike.scroll
Changed around line 2
- status live
+ status removed
ffff:102.22.168.2
ffff:102.22.168.2
1 month ago
updated channels/homewebserver.scroll
channels/homewebserver.scroll
Changed around line 2
- status live
+ status removed
ffff:38.40.6.149
ffff:38.40.6.149
1 month ago
updated channels/UCuJMRZh0c4jaQsE7IYpAqUA.scroll
channels/UCuJMRZh0c4jaQsE7IYpAqUA.scroll
Changed around line 2
- status live
+ status off
ffff:38.40.6.149
ffff:38.40.6.149
1 month ago
updated channels/UCjkLYVF8Up8zt9ZQNLpR_TQ.scroll
channels/UCjkLYVF8Up8zt9ZQNLpR_TQ.scroll
Changed around line 2
- status live
+ status removed
Breck Yunits
Breck Yunits
1 month ago
Better custom jams
.gitignore
Changed around line 6
+ .*
togger.js
Changed around line 10: class Togger {
+ this.initChannels()
+ this.maybeAddCustomChannels()
+
Changed around line 21: class Togger {
+
Changed around line 167: class Togger {
- maybeAddCustomChannel() {
+ maybeAddCustomChannels() {
+ const customJamTitle = params.get("jam") || "customjam"
+
- this._channels.unshift({
- id: "custom",
- youtube: "https://www.youtube.com/watch?v=" + customVideoId,
- channelid: "",
- channeltitle: "",
- status: "off",
- jams: "customjam",
- neweststream: customVideoId,
+
+ // Split video IDs by comma and create a channel for each
+ const videoIds = customVideoId
+ .split(",")
+ .map((id) => id.trim())
+ .filter((id) => id)
+
+ videoIds.forEach((videoId, index) => {
+ this._channels.push({
+ id: `custom-${index}`,
+ youtube: "https://www.youtube.com/watch?v=" + videoId,
+ channelid: "",
+ channeltitle: "",
+ status: "off",
+ jams: customJamTitle,
+ neweststream: videoId,
+ })
- // const timestamp = params.get("t")
- if (this._channels) return this._channels
+ return this._channels
+ }
+
+ initChannels() {
- this.maybeAddCustomChannel()
- return this._channels
Changed around line 544: class Togger {
+ get fullTitle() {
+ const { videoData } = this.player.playerInfo
+ return [videoData.author, videoData.title].join(".")
+ }
+
Changed around line 558: class Togger {
- const title = [this.jamName, current.channeltitle].join(".")
+ const title = [this.jamName, current.channeltitle || this.fullTitle].join(
+ ".",
+ )
ffff:73.222.56.100
ffff:73.222.56.100
1 month ago
updated channels/okbangershow.scroll
channels/okbangershow.scroll
Changed around line 2
- status removed
+ status off
ffff:174.219.56.17
ffff:174.219.56.17
1 month ago
updated channels/okbangershow.scroll
channels/okbangershow.scroll
Changed around line 2
- status live
+ status removed
ffff:38.40.6.149
ffff:38.40.6.149
1 month ago
updated channels/UCoOu4D7foJWfKvcDLxqrF2Q.scroll
channels/UCoOu4D7foJWfKvcDLxqrF2Q.scroll
Changed around line 2
- status live
+ status off
ffff:38.40.6.149
ffff:38.40.6.149
1 month ago
updated channels/UCnejwhgQB5D_H7envJJgbXQ.scroll
channels/UCnejwhgQB5D_H7envJJgbXQ.scroll
Changed around line 2
- status live
+ status off
ffff:38.40.6.149
ffff:38.40.6.149
1 month ago
updated channels/rainsoundnatural2612.scroll
channels/rainsoundnatural2612.scroll
Changed around line 2
- status live
+ status off