Introduction
This XYScript will display a preview window for code files with Syntax Highlighting, a custom MediaInfo + Screenshots window for video files, and the full MediaInfo text for everything else.
Features
- SyntaxHighlighting: A window displaying full syntax highlighting using the highlight.js script.
- MediaSheet: A custom window for video files that will display a MediaInfo overview and grid of screenshots. Clicking the filename will open the video in your default player, clicking the MediaInfo overview will open the full MediaInfo text, and clicking the screenshots will generate even more screenshots and open them in your default image viewer
- MediaInfo: Display the full MediaInfo text for the selected file.
This script relies on 4 external programs, 3 of which are already bundled with the download...
Instructions
Download the attached
MediaSheet.7z file and extract it to anywhere on your computer.I have included 3/4 of the required programs that MediaSheet uses, but you will have to source
MovieThumbnailer yourself from the link above, as it is a bit too large to include with the download. After you have downloaded it, place the contents in the folder listed below...MediaSheet.ini file so that it points to their absolute paths, but this will of course break portability.Code: Select all
MediaSheet\resources\programs\jq\jq.exe
MediaSheet\resources\programs\mediainfo\MediaInfo.exe
MediaSheet\resources\programs\movieThumbnailer\mtn.exe
MediaSheet\resources\programs\quickjs\qjs.exe
MovieThumbnailer in the appropriate folder, simply select a file and then run the script.If it is code-type file that has been specified in the
MediaSheet.ini file, then you will be presented with a window displaying the Syntax highlighting. Video extensions will display the MediaSheet window and anything else will display the full MediaInfo text.Various options can be configured in the
MediaSheet.ini file. I have specified the more common code-type files so they'll work out of the box, but highlighter.js supports a lot more than what I've included, so you can add more code-type files yourself. Keep in mind that large code files and generating more\larger screenshots will introduce delays.If you're running MediaSheet on a potato, you may want to adjust some of the default settings
Download
XYplorer Beta Club