-
Notifications
You must be signed in to change notification settings - Fork 976
YPTStorage Plugin
This plugin is related to the app https://github.com/WWBN/AVideo-Storage
First, you need to install the plugin and click on the Default Storages button
then you will see a page where you can choose the rules for your uploads
In this guide, we will explain how to use the moveAllVideosToStorage.php
script. This script is instrumental in migrating all of your videos to the storage. It will conveniently skip any video already present in the storage.
Location: By default, you can find this script at /var/www/html/AVideo/plugin/YPTStorage/tools/moveAllVideosToStorage.php
. However, this might vary based on your specific installation.
Prerequisites: This script requires the YPTStorage plugin version 4.6 or higher to function correctly.
To execute this script, you will need to use the command line interface (CLI). Please follow these steps:
-
Open your terminal or command line interface.
-
Navigate to the directory where the script is located using the
cd
command. For example:cd /var/www/html/AVideo/plugin/YPTStorage/tools/
-
Once you are in the correct directory, you can run the script by entering the following command:
php moveAllVideosToStorage.php
The script will then begin processing, moving all of your videos to the storage. As mentioned, if a video is already in storage, it will be skipped, preventing any duplication or redundancy.
Please note: This process might take some time depending on the number of videos and their sizes. Ensure that your system has sufficient resources to perform this operation smoothly.