Files
newznab-tmux/resources/db/patches/mysql/0155~settings.sql
T
2016-09-21 12:34:07 +02:00

9 lines
358 B
SQL
Executable File

INSERT IGNORE INTO settings (name, value, hint, setting)
VALUES (
'processthumbnails', 0,
'Whether to attempt to process a video thumbnail image. You must have ffmpeg for this.',
'processthumbnails'
);
UPDATE settings SET value = 1
WHERE setting = 'processthumbnails' AND (SELECT * FROM (SELECT value FROM settings WHERE setting = 'ffmpegpath') s) != '';