Plex 1.13.2.5102 Windows 10 64bit
tried vbs and bat niether are executing.
Other issues with this release:
Metadata stopped downloading correctly posters/backgrounds
upcomming shows are having incorrect show thats actually on. However live show information is correct.
@LordProgrammer said:
Plex 1.13.2.5102 Windows 10 64bit
tried vbs and bat niether are executing.
I would suggest verifying your post processing. Plex is still executing my script with each recording. Check logs after a recording finishes to see if Plex is calling your script.
Other issues with this release:
Metadata stopped downloading correctly posters/backgrounds
I saw on another thread that someone mentioned TVDB was having issues at some point this week. Are you still having the problem? I personally switched all of my library agents to The Movie Database a long time ago.
upcomming shows are having incorrect show thats actually on. However live show information is correct.
No clue what you are even saying here.
movies stopped working right too.
the guide is showing shows to record, the show recorded is completely different then what the guide says.
However if you click a live guide item the show matches what is on.
and this is only true some of the time.
I switched out of beta back to public release and will see what happens.
I can confirm its not calling the post processing scipt. simple script that creates a file called success.
which log?
oh i found it.
Jun 02, 2018 15:31:17.943 [9376] DEBUG - Job running: C:\hbprocess\hbprocess.vbs “E:\Media\TV Shows.grab\ad0fc0d6aa3ae9bfbb3e5db0c663a59f965a806e\Renta congelada (2018) - 2018-06-02 15 00 00 - Episode 06-02.ts”
Jun 02, 2018 15:31:17.958 [9376] ERROR - JobRunner: exec of C:\hbprocess\hbprocess.vbs failed: error 0xc1.
is this a permissions thing?
So it is trying to execute your script but is receiving an error. You can’t call a vbs script directly like that. need to call it from within a bat file but will need to ensure that the bat file does not end while the script is running or you might find Plex moving the recording while your vbs script is still trying to process it.
i believe you can call vbs or bat I think this is the issue:
If there are any files with the same name in the directory as the the first word in the directory name, it will fail with the above error.
C:\hbprocess\hbprocess.vbs failed: error 0xc1.
I am unaware of anyway to call a vbs script directly. You have to call it from within a bat file from my experience. I created a simple vbs script called summer.vbs which is placed in a folder with no reference to summer in the folder structure. I can execute the script successfully from command line but get the same exact error when trying to execute the vbs script directly as part of post processing. You will need to create a bat file that contains code such as:
@echo off
pushd %~dp0
start /wait "" cmd /c cscript hbprocess.vbs
place the bat file in the same directory as your vbs script and execute the bat file in your post processing. From reading on Stack Overflow the code above is supposed to cause the bat file to wait to continue processing until after the vb script finishes. I have not tested this out though so make sure you test this on some unimportant recordings.
I’ll have to try bat again if I can get my tuners back. After windows feature update last night my tuners are gone.
originally i created just a bat that wouldnt run.
@echo off
REM -----------------------------------------------------------------------------------
REM Change this to the location of handbrakecli.exe
set pathtohandbrakecli=c:\hbprocess\handbrakecli.exe
REM -----------------------------------------------------------------------------------
For %%A in (“%1”) do (
set plexfilepath=%%~dpA
set plexname=%%~nA
)
For %%B in (“pathtohanbrakecli”) do (
set hbfilepath=%%~dpB
)
%pathtohandbrakecli% -i %1 -o %hbfilepath%%plexname%.mp4
del %1
move %hbfilepath%%plexname%.mp4 %plexfilepath%%plexname%.mp4
exit
then created a vbs that wouldnt run
Set objShell = CreateObject(“Wscript.Shell”)
PlexFile = WScript.Arguments(0)
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
PlexFileName = objFSO.GetBaseName(PlexFile)
PlexFilePath = objFSO.GetParentFolderName(PlexFile) & “"
ProcessingDir = objFSO.GetAbsolutePathName(”.“) & “"
TranscodeParams = ProcessingDir & “handbrakecli -i " & “””” & ProcessingDir & PlexFileName & “.ts” & “””" & " -o " & “”“” & ProcessingDir & PlexFileName & “.mp4” & “”“”
objFSO.MoveFile PlexFile , ProcessingDir & PlexFileName & “.ts”
return = objShell.Run (TranscodeParams, 2,TRUE)
objFSO.DeleteFile ProcessingDir & PlexFileName & “.ts”
objFSO.MoveFile ProcessingDir & PlexFileName & “.mp4” , PlexFilePath & PlexFileName & “.mp4”
@johnm_ColaSC Thanks for the help man. My bat file was not written correctly.