Skip to content

can't get it to work #9

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

Open
edgeball opened this issue Apr 28, 2025 · 3 comments
Open

can't get it to work #9

edgeball opened this issue Apr 28, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@edgeball
Copy link

The installation went fine but when I run a manual scan, nothing happens. What am I doing wrong?

here my shell:

#plex-nfs-watchdog --scan --paths /Plex/MOVIES/ --host http://localhost:32400 --token MYTOKEN
INFO:   Found Plex configuration from cache: /root/.local/share/plex_nfs_watchdog_cache/plex_config.json
INFO:   Connected to Plex server
INFO:   Plex version: 1.41.6.9685-d301f511a
INFO:   Found 3 Plex sections:
{'MOVIES': ('Movies', '/Plex/MOVIES'),
 'Plexmusic': ('Music', '/Plexmusic'),
 'TV SHOWS': ('TV Shows', '/Plex/TV SHOWS')}
INFO:   Analyzing /Plex/MOVIES
INFO:   Requesting Plex to scan remote path /Plex/MOVIES
@edgeball edgeball added the bug Something isn't working label Apr 28, 2025
@LightDestory
Copy link
Owner

What do you mean "nothing happens"?

This tool aims to request specific path-scans. You are providing the root folder of a section. By doing this you should trigger a global section scan, you can keep track of such scan via Plex admin view.

@edgeball
Copy link
Author

thank you for your response.
by "nothing happens" I mean the way I unsderstand it is that it should trigger a library scan after I add a new file to the set folder which it doesn't in my case. Is there a verbose log or something where I can see what's happening on my end?

@LightDestory
Copy link
Owner

LightDestory commented Apr 30, 2025

By looking at your log I can see that you are not running the tool as a background service.

You should try with:
plex-nfs-watchdog --daemon --paths /Plex/MOVIES/ --host http://localhost:32400 --token YOUR_TOKEN --interval 150 --listeners move modify create delete

The tool should start as a daemon (looking your terminal). As soon as you add new files in the folder you will see in the locked terminal the logs of what it is happening, like detection and scheduling.

You should use tmux or similar to run the tool on a persistent detchable terminal session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants