2019-09-09, 09:32 PM
Search out BurntToastNotification and you might have better luck. I can kick this off from my hidden task.
Martin
Martin
2019-09-09, 09:32 PM
Search out BurntToastNotification and you might have better luck. I can kick this off from my hidden task.
Martin
2019-09-10, 09:58 PM
mvallevand Wrote:Search out BurntToastNotification and you might have better luck. I can kick this off from my hidden task. Thanks! I found it and got it working like I want.
Intel Core i7-4790 / 32GB RAM / Windows 10 Pro 64 bit / HDHomeRun CONNECT DUO Model: HDHR5-2US
2020-02-15, 02:08 PM
I seem to have an issue with postprocessing and the file move I do in the .bat file.
Getting this error: "The specified server cannot perform the requested operation." If I do the move in a CMD windows all is fine. I assume it is some type of file protection issue within the script. Any ideas? Thanks Steve The commandline used was: 2020-02-15 00:43:33.412 [DEBUG][188] C:\Users\Public\NPVR-data\scripts\comskip.exe "V:/\Gold Rush\Gold Rush_20200214_20002310.ts" 2020-02-15 00:43:33.413 [DEBUG][188] 2020-02-15 00:43:33.413 [DEBUG][188] Using C:\Users\Public\NPVR-data\scripts\comskip.ini for initiation values. 2020-02-15 00:43:33.413 [DEBUG][188] Commercials were found. 2020-02-15 00:43:33.451 [DEBUG][135] 2020-02-15 00:43:33.451 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:33.452 [DEBUG][188] 2020-02-15 00:43:33.452 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:33.452 [DEBUG][188] 2020-02-15 00:43:33.452 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>mkdir "\\DISKSTATION\DS_Videos\\Gold Rush\" 2020-02-15 00:43:33.577 [ERROR][163] The specified server cannot perform the requested operation. 2020-02-15 00:43:33.577 [DEBUG][188] 2020-02-15 00:43:33.577 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:33.577 [DEBUG][188] 2020-02-15 00:43:33.577 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem Original File to Server 2020-02-15 00:43:33.577 [DEBUG][188] 2020-02-15 00:43:33.577 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:33.577 [DEBUG][188] 2020-02-15 00:43:33.578 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>move "V:/\Gold Rush\Gold Rush_20200214_20002310.ts" "\\DISKSTATION\DS_Videos\\Gold Rush\" 2020-02-15 00:43:33.723 [ERROR][190] The specified server cannot perform the requested operation. 2020-02-15 00:43:33.724 [DEBUG][188] 2020-02-15 00:43:33.724 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>move "V:\Gold Rush\Gold Rush_20200214_20002310.txt" "\\DISKSTATION\DS_Videos\\Gold Rush\" 2020-02-15 00:43:33.859 [ERROR][163] The specified server cannot perform the requested operation. 2020-02-15 00:43:33.861 [DEBUG][188] 2020-02-15 00:43:33.861 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>move "V:\Gold Rush\Gold Rush_20200214_20002310.log" "\\DISKSTATION\DS_Videos\\Gold Rush\" 2020-02-15 00:43:34.004 [ERROR][135] The specified server cannot perform the requested operation. 2020-02-15 00:43:34.005 [DEBUG][188] 2020-02-15 00:43:34.005 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>move "V:\Gold Rush\Gold Rush_20200214_20002310.logo.txt" "\\DISKSTATION\DS_Videos\\Gold Rush\" 2020-02-15 00:43:34.130 [ERROR][135] The specified server cannot perform the requested operation. 2020-02-15 00:43:34.132 [DEBUG][188] 2020-02-15 00:43:34.133 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>move "V:\Gold Rush\Gold Rush_20200214_20002310.jpg" "\\DISKSTATION\DS_Videos\\Gold Rush\" 2020-02-15 00:43:34.261 [ERROR][38] The specified server cannot perform the requested operation. 2020-02-15 00:43:34.262 [DEBUG][188] 2020-02-15 00:43:34.262 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:34.262 [DEBUG][188] 2020-02-15 00:43:34.263 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem some files mess up comskip 2020-02-15 00:43:34.264 [DEBUG][188] 2020-02-15 00:43:34.264 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>del "\\DISKSTATION\DS_Videos\\Gold Rush\\Black*.txt" 2020-02-15 00:43:34.397 [ERROR][38] The specified server cannot perform the requested operation. 2020-02-15 00:43:34.397 [DEBUG][188] 2020-02-15 00:43:34.398 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>del "\\DISKSTATION\DS_Videos\\Gold Rush\\Black*.log" 2020-02-15 00:43:34.519 [ERROR][163] The specified server cannot perform the requested operation. 2020-02-15 00:43:34.520 [DEBUG][188] 2020-02-15 00:43:34.520 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:34.520 [DEBUG][188] 2020-02-15 00:43:34.520 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem .edl seems to mess up kodi 2020-02-15 00:43:34.520 [DEBUG][188] 2020-02-15 00:43:34.520 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem 2020-02-15 00:43:34.521 [DEBUG][188] 2020-02-15 00:43:34.521 [DEBUG][188] C:\Users\Public\NPVR-data\scripts>rem move "V:\Gold Rush\Gold Rush_20200214_20002310.edl" "\\DISKSTATION\DS_Videos\\Gold Rush\"
2020-02-15, 02:39 PM
2020-02-15, 02:40 PM
This could mean V: is not available to the system process. You could try running the service as a user. V:/\ is also weird.
Martin
2020-02-15, 10:30 PM
Hi Martin, yes running the service as a user fixed the file move issues.
Thanks Steve
I would love to see how this bat file looks like now...automatically moving recordings elsewhere is very useful, can you possibly share it? Tht would help resolve my wish....
(https://forums.nextpvr.com/showthread.php?tid=60312) And does Nextpvr automatically recognize the new location of the file after the move?
NPVR doesn't keep tract of where the file get moved to.
I think under GBPVR someone wrote a much better script that moved files and updates the database. But that was beyond something I couldn't understand or maintain. The only reason I did it this way, is if the network or NAS has issues, the NPVR will record locally, and I can move them later. <code> rem rem "C:\Users\Public\NPVR-data\scripts\comskip.exe" %1 rem rem mkdir "\\DISKSTATION\DS_Videos\%~p1" rem rem Original File to Server rem move %1 "\\DISKSTATION\DS_Videos\%~p1" move "%~dpn1.txt" "\\DISKSTATION\DS_Videos\%~p1" move "%~dpn1.log" "\\DISKSTATION\DS_Videos\%~p1" move "%~dpn1.logo.txt" "\\DISKSTATION\DS_Videos\%~p1" move "%~dpn1.jpg" "\\DISKSTATION\DS_Videos\%~p1" rem rem some files mess up comskip del "\\DISKSTATION\DS_Videos\%~p1\Black*.txt" del "\\DISKSTATION\DS_Videos\%~p1\Black*.log" rem rem .edl seems to mess up kodi rem rem move "%~dpn1.edl" "\\DISKSTATION\DS_Videos\%~p1" <code end>
2020-02-16, 12:52 AM
(2020-02-16, 12:02 AM)steve232 Wrote: NPVR doesn't keep tract of where the file get moved to.
2020-02-16, 05:47 AM
Or I might try to create mine to update db recordings table via command line sqllite3...
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Recording Auto Transcode Problem and HDHR Viewing Problems in v7 | Metroid | 7 | 214 |
2024-11-15, 10:11 PM Last Post: mvallevand |
|
Problem losing thumbnail display. | Bobins | 4 | 170 |
2024-11-09, 12:07 PM Last Post: Bobins |
|
Help with PostProcessing.bat and Episode names | TVHelp | 3 | 179 |
2024-10-06, 10:16 PM Last Post: mvallevand |
|
Problem XMLTV epg download | Mastericarus333 | 3 | 869 |
2024-01-04, 12:47 PM Last Post: Mastericarus333 |
|
New problem with IPTV channels in NZ | PeterWeb | 36 | 7,224 |
2023-11-07, 02:48 AM Last Post: PeterWeb |
|
EPG Update problem | jcjefferies | 4 | 841 |
2023-10-25, 08:21 PM Last Post: jcjefferies |
|
PostProcessing.bat, Can I do this? | three6zerocool | 15 | 1,303 |
2023-09-26, 11:39 AM Last Post: three6zerocool |
|
NextPVR 6.14.230625 - Custom Skin Problem | meccano | 9 | 1,039 |
2023-07-03, 06:38 PM Last Post: sub |
|
PostProcessing.bat | Boots315 | 6 | 732 |
2023-06-26, 01:08 AM Last Post: Boots315 |
|
.TS File Problem | geobrick | 24 | 4,182 |
2023-06-25, 01:03 AM Last Post: jobby99 |