mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
• Added a new setting to update YouTube titles on start
• Reduced the number of calls to FetchBroadcast() to optimize API quota usage
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
<div class="broadcast-info">
|
||||
<label class="setting-attribute">
|
||||
<i>YouTube stream info can only be updated while live</i>
|
||||
<br>
|
||||
<i><span id="youtube-title-on-broadcast-start-label"></span></i>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@@ -59,6 +61,17 @@
|
||||
<input type="text" id="all-category-input" placeholder="Leave empty to keep current category">
|
||||
</div>
|
||||
|
||||
<div id="include-youtube-setting-wrapper" class="setting">
|
||||
<div>
|
||||
<div class="setting-label">Include YouTube</div>
|
||||
<div class="setting-description">Update YouTube title as soon as broadcast starts</div>
|
||||
</div>
|
||||
<label class="switch" style="margin-left: auto;">
|
||||
<input type="checkbox" id="include-youtube-setting" name="include-youtube-setting" checked>
|
||||
<span class="slider round"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<button id="all-submit-button" onclick="UpdateAllSubmit()">Update All</button>
|
||||
</div>
|
||||
|
||||
@@ -211,7 +224,7 @@
|
||||
<div class="broadcast-info">
|
||||
<label id="broadcast-title"></label>
|
||||
<label id="broadcast-category" class="setting-description"></label>
|
||||
<label id="kick-warning" class="setting-attribute"><br><i>Stream info only available when live — Showing
|
||||
<label id="kick-warning" class="setting-attribute"><br><i>Most up to date stream info only available when live — Showing
|
||||
last known stream title</i></label>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user