This plugin shuffles files in a specified directory alphabetically or randomly and sends them to Atom and the plugin.
This allows you to automatically switch images and videos displayed on the ImagePanel, automatically switch between various Presets and SubScenes, and automatically switch wall and floor textures.
This plug-in extracts the file shuffling function of PresetLoader and makes it more versatile.

ShuffleFiles_Top.jpg


How to use:
1) Load this plugin on a suitable Atom.
2) Press the Select Directory button and select the directory containing the file you want to send to Target Atom. When using ShuffleFiles in a scene loaded from var, if the Use Directory in Scene var toggle is on and the same directory as var exists locally, the directory in var will be selected first. If you want to explicitly specify a local directory, turn it off.
3) Select the file type in File Type or press the Load File List button to display the file list. Image, Video, Image & Video, vap (Preset), json (SubScene), All Extensions are defined for File Type. The respective patterns are as follows: The Image and Video patterns were chosen as they can be displayed in the Image Panel. If there is anything else that can be displayed, please let me know.
Image:jpg, jpeg, pne, gif
Video: mp4, avi, wmv, mov
Preset: Preset vap
SubScene: json
4) If necessary, use the Include Subdirectory toggle and Favorites Only toggle to narrow down the target files.
5) Select the Target Atom to send the file with Select Atom. If you add or delete atoms after loading the plugin, please update it using the Refresh Atom List button.
6) Select Receiver and Receiver Target. In the following cases, Receiver and Receiver Target will operate normally if left as None.
i) When sending Image files or Video files to ImagePanel Atom.
ii) When sending the vap (Preset) file to Person Atom.
iii) When sending a json (SubScene) file to SubScene Atom.
7) Set the Select Action as necessary. If it is working properly, leave it as None.
8) Press the Load File button to send the file to Target Atom.
9) Turn off the Enable Shuffle Load toggle if you want to send files in alphabetical order.
10) Turn on the Enable Auto Load toggle if you want to send files automatically. The Load File button will switch to the Start Loop Load button. Please select the transmission interval in Interval. Press the Start Loop Load button to start automatic transmission. During automatic transmission, the button display changes to Stop Loop Load. (Fig.2)
11) Press the Stop Loop Load button or uncheck the Enable Auto Load toggle to end automatic transmission.

Other usage examples:
1) By using this plugin together with AppearanceLoader, you can achieve automatic loading of legacy Look files. Please load AppearanceLoader on the target Person in advance. Please select json (SubScene) for File Type. Select Atom selects the target Person, and Receiver selects AppearanceLoader. Select Set Appearance Filename for Receiver Target and None or Load Appearance from JsonPreset for Select Action. (Fig.3)
2) By using ImagePanel's Video Stop Trigger, you can easily play videos of different lengths continuously. Set Receiver Atom of ImagePanel's Video Stop Trigger to the Atom that loaded this plug-in, Receiver to this plug-in, and Receiver Target to Load File. On the ShuffleLoad plugin side, select the directory containing the video, and select Video as the File Type. Set Select Atom to ImagePanel, and set the others to None. Turn off the Enable Auto Load toggle. When turned on, the next video will start at the specified time before the video ends. Press the Load File button to start continuous video playback. To end continuous playback, switch Select Atom to None. However, the currently playing video will be played until the end. (Fig.4 and Fig.5)

Fig.1 (UI)
ShuffleFiles_UI2.jpg


Fig2 (Stop Loop Load Button)
ShuffleFiles_UI2 stop loop.jpg


Fig.3 (Other usage example 1 setting)
ShuffleFiles_UI2 appearanceLoader.jpg


Fig.4 (ShuffleFiles setting for usage example 2)
ShuffleFiles_UI2 pluginSide image panel.jpg


Fig.5 (ImagePanel setting for usage example 2)
ShuffleFiles_UI2 image panel.jpg
Author
ky1001
Downloads
302
Views
1,040
Packages
1
Total Size
0.01 MB
Version
3
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from ky1001

  • PresetLoader
    Plugins PresetLoader
    Load Clothing/Hair/Pose/Skin/Appearance presets randomly or in order.
  • Appearance Loader
    Plugins Appearance Loader
    You can import morphs, clothes, hair, CUA and more directly from appearance presets and scenes.
  • Searchlight
    Plugins Searchlight
    This is a plugin that directs Atom to the target. You can use the InvisibleLight as a searchlight.
  • HeadLightLink
    Plugins HeadLightLink
    Connect an Atom such as a light source or CUA to the Player's CenterEye, LeftHand, and RightHand.
  • Pose Loader
    Plugins Pose Loader
    Pose Preset containing position data can be applied without moving Person's position.

Latest updates

  1. Bug fix

    Measures against exception errors
Back
Top Bottom