-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Bug: plex_update.sh - 19: Bad substitution - Ubuntu - Non-Docker #125
Comments
Try changing this line in config.yml from:
|
changing the So changing sh to bash removes the error but the logs do not show anthing is happening at all when I add to watch list. |
That scripts job is only to trigger a partial Plex library updates for a list of file paths zurg sends as newly added content, when new staff is added to your RD Cloud. You keep mentioning Plex Watchlist, so someting other then zurg has to do that job (of adding stuff to RD Cloud based on new stuff added to Plex Watchlist). If when you manually add stuff using debridmediamanager web page that stuff appears in your Plex library couple of seconds later then zurg and its 'plex_update.sh' script have done their job correctly. And that would mean that your problems are in some other part of your whole setup. I had that "bad substitution" problem and fixed it the way I already stated (by replacing "sh" with "bash"). Can't help you further with using Plex Watchlist to populate Plex library with RD cached content since I never used plex_debrid nor Riven. I just search for stuff on DMM and add them from there. |
Thank you for the reply. Thank you for the clarification. |
Nope, other program / scripts do that (like mentioned "plex_debrid" [now deprecated / unmaintained] or "Riven"). Zurg just monitors RD Library content, groups that chaos into categories (movie, show, music, anime..) needed for Plex and with the help from rclone "mounts" that into a folder/directory that you then add to your Plex server. When new stuff appears on RD Cloud zurg adds it into mounted folder and triggers a Plex scan using Plex's API. Zurg doesn't monitor Plex Watchlist. So, you're missing one more part of the puzzle in order to achieve that goal of automating adding videos into Plex Library by adding shows/movies to Plex Watchlist. |
Expected Behavior
Describe what you expect to happen.
Click add to watch list on plex, the show adds.
Actual Behavior
Describe what is actually happening.
Detailed Steps
Detail out everything that you did leading up to the issue.
Include any relevant setup information that we should know about.
Operating System
What OS are you running? (e.g., Windows, macOS, Linux)
If on Windows, are you using Windows Subsystem for Linux (WSL)?
Ubuntu Server 24.04LTS
Environment Setup
Are you using Docker, or are you using Zurg's binary?
If Docker, please include your
docker-compose.yml
.If Zurg's binary, specify the version by running
./zurg version
Logs
Upload your logs by going to http://ZURGIP:9999/logs/upload and paste the link here
If you are running it in Docker, your container logs will also help.
Rclone Configuration
Attach or detail your
rclone.conf
.Zurg Configuration
Include your config.yaml or any other relevant configuration files.
plex_update.sh
Changing line 19 from
parsed_arg="${arg//\\}"
toparsed_arg=$(echo "$arg" | sed 's/\\//g')
allowed debridmediamanager to add content but not from plex just from https://debridmediamanager.com. I do not know what the new code means or why it workd that code was chatgpt and about 2 hours of testing and errors and reddit/github issues.The text was updated successfully, but these errors were encountered: