masonr / PLEXiDRIVE

Scripts to facilitate the use of cloud storage (such as Google Drive) as storage for Plex media server
MIT License
145 stars 19 forks source link

[Feature Request] Concurrent (parallel) uploads #10

Closed masonr closed 7 years ago

masonr commented 7 years ago

Look into implementing parallel uploads.

Options:

  1. If there's multiple Drive accounts, upload same file to all Drive accounts concurrently.
  2. Spawn off x number of uploads at a time (different files).
masonr commented 7 years ago

Implemented parallel uploads to all google drive accounts when uploading a tv show file. Tested and working. Still need to do the same to the movies script and to also look into uploading multiple files at once (not just the same file to all accounts).

masonr commented 7 years ago

Implemented parallel uploads in order to upload movies to all google drive accounts simultaneously.

masonr commented 7 years ago

Option 2 is infeasible without adding much complexity, as it would mean needing to keep track of the currently uploading files and getting the file names and statuses of uploads that finish. Could be accomplished if another script is created to do single file uploads and fork individual upload processes off of this script. May revisit in the future.