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

Filewatch not triggering a command. #46

Open
tyleroriondo opened this issue Apr 5, 2024 · 0 comments
Open

Filewatch not triggering a command. #46

tyleroriondo opened this issue Apr 5, 2024 · 0 comments

Comments

@tyleroriondo
Copy link

I have an issue where occasionally, filewatch will detect a change in file, but will not proceed to perform any action against the change. This happens randomly.

Here’s the entry in the log

2024-04-04 23:42:25 INFO Filter: The match pattern '.mkv' is a match for file Barbie The Pearl Princess (2014)\Barbie The Pearl Princess (2014) {imdb-tt3504064} [WEBDL-1080p][AC3 2.0][h264]-TWA.mkv.
2024-04-04 23:42:26 INFO Filter: The match pattern '
.mkv' is a match for file Barbie The Pearl Princess (2014)\Barbie The Pearl Princess (2014) {imdb-tt3504064} [Bluray-1080p][EAC3 5.1][x265]-iVy.mkv.

if it works, it looks like this

2024-04-04 10:15:26 INFO Filter: The match pattern '*.mp4' is a match for file Godzilla The Planet Eater (2018)\Godzilla The Planet Eater (2018) {imdb-tt8478602} [Bluray-1080p][AC3 5.1][x264]-BHDStudio.mp4.
2024-04-04 10:15:26 INFO Waiting for 30000 milliseconds.
2024-04-04 10:15:57 INFO Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or
2024-04-04 10:15:57 INFO Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
2024-04-04 10:15:57 INFO At C:\FileWatcher\startscan-movies.ps1:29 char:16
2024-04-04 10:15:57 INFO + $results = Invoke-WebRequest -Uri $plexURI -Method 'GET'
2024-04-04 10:15:57 INFO + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-04-04 10:15:57 INFO + CategoryInfo : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException
2024-04-04 10:15:57 INFO + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestComman
2024-04-04 10:15:57 INFO d
2024-04-04 10:15:57 INFO
2024-04-04 10:15:57 INFO The execution 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file C:\FileWatcher\startscan-movies.ps1 "Godzilla The Planet Eater (2018)"' has exited. Exit code: 0.

the xml looks like this

C:\FileWatcher\logs\filewatcher.log 2 5 F:\ServerFolders\data\Media\Audiobooks\Books *.mp3 *.m4b *.m4a Create Change C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file C:\FileWatcher\startscan.ps1 "[path]" 300000 F:\ServerFolders\data\Media\Movies\Network *.mkv *.avi *.m4v *.mp4 Create Change C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file C:\FileWatcher\startscan-movies.ps1 "[path]" 30000
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

No branches or pull requests

1 participant