Page 1 of 1

Programatically Change "Video Preview | Preview As Thumbnail" Config Setting

Posted: 05 Jan 2025 07:03
by robertoleonardo
Hi -

1. am i correct that there is currently no way to toggle the "Video Preview|Preview As Thumbnail" config setting by script? I see the old posts about the undocumented tweak() script command -- but looks like this isn't among the limited commands for which tweak() works [and i'm not even sure tweak() still works at all -- the posts were 10-15 years old...]

2. assuming there is no way current way to do it -- i don't suppose there's any chance of that being implemented? I am loving the video quick preview feature when i need it. however, except for when i'm actively using autoplay, i prefer my icaros generated system thumbnails to the previews i can achieve with the various settings in xyplorer -- so i find myself frequently toggling 'preview as thumbnail' on and off. i would love to be able to toggle that setting with script so i can call it by keyboard shortcut. i know it might be a hyper specific use case, but if it's easy enough to implement -- i'd love to see this option in teh future. thanks!

Re: Programatically Change "Video Preview | Preview As Thumbnail" Config Setting

Posted: 06 Jan 2025 11:45
by admin
Makes sense. Next beta:

Code: Select all

conf("PreviewVideosAsThumbnail", 1);    //set
conf("PreviewVideosAsThumbnail", 0);    //unset

Re: Programatically Change "Video Preview | Preview As Thumbnail" Config Setting

Posted: 06 Jan 2025 19:47
by robertoleonardo
you are awesome, as always. thank you!

Re: Programatically Change "Video Preview | Preview As Thumbnail" Config Setting

Posted: 06 Jan 2025 23:33
by robertoleonardo
for anyone that might stumble upon this, looks like admin wisely added a third option as well as the two he specified above -- toggle. here are the three options that now work as of today's beta (26.70.0509):

Code: Select all

conf("PreviewVideosAsThumbnail", 1);    //set
conf("PreviewVideosAsThumbnail", 0);    //unset
conf("PreviewVideosAsThumbnail", "");    //toggle
thanks again!