Allow Disabling the Thumbnail for Videos List
parent
393ca95e8f
commit
b0523293c1
|
|
@ -198,11 +198,13 @@
|
|||
"Number of Days to keep": "Number of Days to keep",
|
||||
"Monitor Groups": "Monitor Groups",
|
||||
"Group Name": "Group Name",
|
||||
"Show Thumbnails in Video List": "Show Thumbnails in Video List",
|
||||
"WebDAV": "WebDAV",
|
||||
"Backblaze B2": "Backblaze B2",
|
||||
"Backblaze Error": "Backblaze Error",
|
||||
"Could not create Bucket.": "Could not create Bucket.",
|
||||
"Amazon S3": "Amazon S3",
|
||||
"Database Not Found": "Database Not Found",
|
||||
"Save Links to Database": "Save Links to Database",
|
||||
"Bucket": "Bucket",
|
||||
"Region": "Region",
|
||||
|
|
@ -425,6 +427,7 @@
|
|||
"Discord Alert on Trigger": "Discord Alert on Trigger",
|
||||
"Allow Next Email": "Allow Next Email <small>in Minutes</small>",
|
||||
"Allow Next Discord Alert": "Allow Next Discord Alert <small>in Minutes</small>",
|
||||
"DiscordLoggedIn": "Discord Bot Authenticated",
|
||||
"DiscordFailedText": "Sending to Discord Failed",
|
||||
"DiscordErrorText": "Sending to Discord caused an Error",
|
||||
"DiscordNotEnabledText": "Discord Bot Not Enabled, Enable it in your Account Settings.",
|
||||
|
|
|
|||
|
|
@ -142,7 +142,13 @@ module.exports = function(s,config,lang){
|
|||
){
|
||||
s.group[user.ke].discordBot = new Discord.Client()
|
||||
s.group[user.ke].discordBot.on('ready', () => {
|
||||
console.log(`${user.mail} : Discord Bot Logged in as ${s.group[user.ke].discordBot.user.tag}!`)
|
||||
s.userLog({
|
||||
ke: user.ke,
|
||||
mid: '$USER'
|
||||
},{
|
||||
type: lang.DiscordLoggedIn,
|
||||
msg: s.group[user.ke].discordBot.user.tag
|
||||
})
|
||||
})
|
||||
s.group[user.ke].discordBot.login(ar.discordbot_token)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -471,6 +471,14 @@
|
|||
</select></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label><div><span><%-lang['Show Thumbnails in Video List']%></span></div>
|
||||
<div><select class="form-control" localStorage="showThumbnail">
|
||||
<option value="1"><%-lang.Yes%></option>
|
||||
<option value="0" selected><%-lang.No%></option>
|
||||
</select></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label><div><span><%-lang['Themes']%></span></div>
|
||||
<div><select class="form-control" detail="theme">
|
||||
|
|
|
|||
Loading…
Reference in New Issue