Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update zurg's plex_update.sh post hook script #622

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dashed
Copy link

@dashed dashed commented Jun 20, 2024

The plex_update.sh script seems to be having issues populating the /storage/symlinks/real-debrid-blackhole/ directory, and the cp command was unable to find directories to create symbolic links from in certain circumstances:

cp: cannot stat '/storage/realdebrid-zurg/shows/The quick brown fox jumps over the lazy dog (x265 HEVC 10bit)/*': No such file or directory

In addition, I noticed a broken * (asterisk) symlink file was being created in the /storage/realdebrid-zurg/shows/ folder.


With the changes in this pull request, we get output like this:

Detected update on: __all__/SHOW\ -\ Seasons\ 1\ to\ 25
Absolute path: /storage/realdebrid-zurg/__all__/SHOW\ -\ Seasons\ 1\ to\ 25
Symlinking /storage/realdebrid-zurg/__all__/SHOW - Seasons 1 to 25 to /storage/symlinks/real-debrid-blackhole/__all__/SHOW\ -\ Seasons\ 1\ to\ 25
Encoded argument: %2Fstorage%2Frealdebrid-zurg%2F__all__%2FSHOW+-+Seasons+1+to+25

In addition, I noticed /symlinks/real-debrid-blackhole/__all__/ was finally getting created and populated for me.


This works for me when using debridmediamanager directly, while bypassing overseerr + riven.

Adding media via overseerr + riven still continues to work fine.

@dashed dashed requested a review from funkypenguin as a code owner June 20, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant