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

set permissions on Plex Transcoder Temp Directory #387

Merged
merged 4 commits into from
Jan 9, 2024
Merged

Conversation

nemchik
Copy link
Member

@nemchik nemchik commented Jan 9, 2024

If TranscoderTempDirectory is set in Preferences.xml recursively chown (lsiown) it on init. TranscoderTempDirectory is only set when a value is assigned in Plex settings, and may not be a path inside /config (ex: /transcode).

Our documentation no longer recommends setting TranscoderTempDirectory as plex defaults to /config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions if the user does not set a value in their settings, so this is mostly to cover users who intentionally set the value.

Aside from that, this PR has various shellcheck corrections.

@nemchik nemchik requested a review from a team January 9, 2024 03:25
@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/plex/1.32.8.7639-fb6452ebf-pkg-4b34e666-dev-56562f49564b5b6b1a4e251c8790b38d80771a25-pr-387/index.html
https://ci-tests.linuxserver.io/lspipepr/plex/1.32.8.7639-fb6452ebf-pkg-4b34e666-dev-56562f49564b5b6b1a4e251c8790b38d80771a25-pr-387/shellcheck-result.xml

Tag Passed
amd64-1.32.8.7639-fb6452ebf-pkg-4b34e666-dev-56562f49564b5b6b1a4e251c8790b38d80771a25-pr-387
arm64v8-1.32.8.7639-fb6452ebf-pkg-4b34e666-dev-56562f49564b5b6b1a4e251c8790b38d80771a25-pr-387

@nemchik nemchik merged commit 72b6c45 into master Jan 9, 2024
7 checks passed
@nemchik nemchik deleted the chown-transcode branch January 9, 2024 13:05
nemchik added a commit that referenced this pull request Jan 9, 2024
@nemchik nemchik mentioned this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants