Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

[feat]: Script Incompatibility when Plex not in Docker #178

Open
JacquelineHyde opened this issue Jan 7, 2023 · 1 comment
Open

[feat]: Script Incompatibility when Plex not in Docker #178

JacquelineHyde opened this issue Jan 7, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@JacquelineHyde
Copy link

The PlexNotify & MetadataPostProcess bash files aren't accounting for the mapped volumes in the docker-compose.

To Reproduce
Steps to reproduce the behavior:

  1. Test script
  2. See error

Expected behavior
lidarrRootFolderPath="$(dirname "$lidarr_artist_path")" should pick up on the volume mount from the docker container mapping (e.g. /volume3/data:/data).

Log Data
2023-01-06 19:45:13 :: MetadataPostProcess :: 1.0.015 :: Processing :: . :: ERROR :: /data/media/music/General/They Might Be Giants not found within "." :: Exiting...

Docker Info:

  • Docker Version: 20.10.3, build 55f0773
  • Extended Script Version [e.g. 22]

Additional context
When I changed the PlexNotify script line nine to lidarrRootFolderPath="/volume3$(dirname "$lidarr_artist_path")" it worked.
Unfortunately, I'm not familiar enough with .bash scripting to fix the Metadata one for my machine, though. Changing line 43 didn't work.

@RandomNinjaAtk
Copy link
Owner

RandomNinjaAtk commented Jan 8, 2023

This is only designed to work with Plex in a container.

Edit: I don’t have a personal use case for this, so I will not be implementing this… However, PR welcome for a fix that also maintains existing compatibility…

@RandomNinjaAtk RandomNinjaAtk added the enhancement New feature or request label Jan 8, 2023
@RandomNinjaAtk RandomNinjaAtk changed the title [Bug]: Script Incompatibility when Plex not in Docker [feat]: Script Incompatibility when Plex not in Docker Jan 8, 2023
@RandomNinjaAtk RandomNinjaAtk added the help wanted Extra attention is needed label Jan 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants