mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-06-01 09:55:34 +00:00
Fix tytd config
This commit is contained in:
@@ -97,7 +97,7 @@ class TYTD.Downloader {
|
||||
{
|
||||
var id = TYTD.GetVideoId(id);
|
||||
if(id != null)
|
||||
PutVideoInfoIfNotExists(id);
|
||||
this.PutVideoInfoIfNotExists(id);
|
||||
}
|
||||
break;
|
||||
case Resolution.LowVideo:
|
||||
@@ -1457,7 +1457,7 @@ class TYTD.Downloader {
|
||||
{
|
||||
this.Muxex.Lock();
|
||||
var db = this.OpenDB();
|
||||
Sqlite.Exec(db, $"INSERT INTO plugin_settings (extension,key,value) VALUES ({Sqlite.Escape(extension)},{Sqlite.Escape(key)},{Sqlite.Escape(value)});");
|
||||
Sqlite.Exec(db, $"INSERT OR REPLACE INTO plugin_settings (extension,key,value) VALUES ({Sqlite.Escape(extension)},{Sqlite.Escape(key)},{Sqlite.Escape(value)});");
|
||||
Sqlite.Close(db);
|
||||
this.Mutex.Unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user