plexguide / PlexGuide.com

PlexGuide is a comprehensive Docker container management solution designed for Ubuntu & Debian OS. While it specializes in deploying media server applications like Plex, the platform incorporates Traefik as a reverse proxy and offers CloudFlare tunnel integration to access to your containerized services.
https://plexguide.com
1.72k stars 257 forks source link

Moving .inProgress directory with PGMove during plex optimize #695

Closed samspade21 closed 5 years ago

samspade21 commented 5 years ago

Describe the bug When running plex optimize, and storing the file in the same directory as the source (stored in unionfs and thus in google drive) - an interum directory is created (.inProgress) within the directory of that media. PGMove will grab that file and begin moving it, even though it is not complete. Files within (and including that directory) should be excluded from PGMove.

To Reproduce Steps to reproduce the behavior: Setup with Plex app, PGMove

  1. Go to Plex and choose to optimise a piece of media.
  2. Choose to store the media with the original.
  3. While converting, you will see that a directory called "Media Name\Plex Versions\Version Quality.inProgress" is created. This is where the in progress file is being kept by default.
  4. If PGMove happens to run while optimizing, the convert will fail.

Expected behavior Allow the file to be created and moved by Plex automatically. Then have PGMove move the file as intended when complete.

What is affected by this bug? Users can not store optimized media with the originals for plex.

Please tell us about your environment: (REPLACE EXAMPLE VALUES BELOW WITH YOUR ACTUAL VALUES)

Additional context

Recommend adding a pgmove exclude for .inProgress/*

Admin9705 commented 5 years ago

ya pg is not designed to use optimize and see no way for it to work with pgmove.