Syncs all media data in the library with the storage controller. Stores all media data in the library using the storage controller. Removes media that are not in the library. Initiates a batch operation, attempts to store each media asynchronously, removes media that are not in the library asynchronously, and ensures that all operations are completed. If any error occurs during the process, it logs the error. Finally, it ends the batch operation.
Static
deserialize
Deprecated
Use syncAllMedia instead, that will also remove media that are not in the library Stores all media data in the library using the storage controller. Initiates a batch operation, attempts to store each media asynchronously, and ensures that all operations are completed. If any error occurs during the process, it logs the error. Finally, it ends the batch operation.