Could it be a good idea to make a common VFS (Virtual File System) client for Kodi out of “libcloudstorage” to support multiple cloud storage services?
libcloudstorage is a cross-platform C++ library providing access to files located in cloud storage services, and it is licensed under LGPLv2.1
https://code.videolan.org/videolan/libcloudstorage
https://code.videolan.org/videolan/libcloudstorage.git
This lib is developed by the VLC (VideoLAN Client) team for its VLMC media player and supported cloud storage providers is so far these:
- GoogleDrive
- OneDrive
- Dropbox
- AmazonDrive
- AmazonS3
- box.com
- YandexDisk
- OwnCloud
- mega.nz
VideoLAN also have plans to add support for many more cloud storage providers to this one library.
Quote:Supported operations on files:
- list directory
- download file
- upload file
- get thumbnail
- delete file
- create directory
- move file
- rename file
- fetch direct, preauthenticated url to file
Requirements:
- libmicrohttpd
- jsoncpp
- tinyxml2
- cURL (with OpenSSL/c-ares, optional)
- libcryptopp (optional)
- mega (optional, only required for mega.nz)
Platforms:
The library can be build on any platform which has a proper C++11 support.
It was tested under the following operating systems:
- Ubuntu 16.04
- Windows 10
- Android 5.0.2