NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Portal

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,404
» Latest member: caasulaitos
» Forum threads: 65,339
» Forum posts: 602,631

Full Statistics

Online Users
There are currently 6651 online users.
» 1 Member(s) | 6645 Guest(s)
Applebot, Baidu, Bing, Facebook, Google, Ajoyner

Latest Threads
Sort Recordings by Episod...
Forum: Wishlist
Last Post: mvallevand
Yesterday, 08:49 PM
» Replies: 17
» Views: 1,559
Upcoming NextEnd addon an...
Forum: Add-ons (3rd party plugins, utilities and skins)
Last Post: mvallevand
Yesterday, 03:33 PM
» Replies: 5
» Views: 1,185
dfw ch 8 changes to abc 1...
Forum: Windows
Last Post: mvallevand
2026-11-11, 11:58 PM
» Replies: 1
» Views: 91
Using my Sky Q dish for F...
Forum: Hardware
Last Post: gEd
2026-11-11, 12:16 PM
» Replies: 48
» Views: 15,342
iptv-epg.org
Forum: Docker amd64
Last Post: mvallevand
2026-11-10, 06:44 PM
» Replies: 3
» Views: 144
.net 8 end of life today
Forum: NextPVR Support
Last Post: mvallevand
2026-11-10, 06:12 PM
» Replies: 1
» Views: 106
NPVR Red System Tray Icon
Forum: Windows
Last Post: mvallevand
2026-11-08, 05:19 PM
» Replies: 5
» Views: 183
Service/Server automatic ...
Forum: Windows
Last Post: mvallevand
2026-11-07, 05:26 PM
» Replies: 3
» Views: 1,683
Can't download recordings...
Forum: Windows
Last Post: mvallevand
2026-11-07, 05:25 PM
» Replies: 1
» Views: 143
[Failed: No errors, but n...
Forum: Windows
Last Post: Petrovski
2026-11-07, 10:45 AM
» Replies: 2
» Views: 282

 
  NPVR Rename Recordings Batch File
Posted by: raceviper13 - 2011-03-16, 04:32 PM - Forum: Community Announcements - Replies (8)

I have created a batch file to rename recordings to the following format:

1. Title (YYYY-MM-DD HHMM) Subtitle
or if the Subtitle is blank or the same as the title
2. Title (YYYY-MM-DD HHMM) Description

This seems to work well with me to be called out in the postprocessing.bat.

Comments are welcomed.

The tools necessary to run this are: sqlite3.exe and replace.vbs.

-------------beginning of replace.vbs--------------
Const ForReading = 1
Const ForWriting = 2

strFileName = Wscript.Arguments(0)
strOldText = Wscript.Arguments(1)
strNewText = Wscript.Arguments(2)

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(strFileName, ForReading)

strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, strOldText, strNewText)

Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
objFile.WriteLine strNewText
objFile.Close
----------------end of replace.vbs-----------------

--------------beginning of batch file----------------
@ECHO OFF
TITLE NPVR Automatic Recording File Rename

SETLOCAL

IF [%1]==[] GOTO END

::====== Program locations ====
SET DB=C:\Users\Public\NPVR\npvr.DB3
SET SQLITE3="C:\Users\Public\NPVR\Rename Recordings\SQLITE3.exe"
SET REPLACE="C:\Program Files (x86)\CLI\REPLACE.vbs"

::====== File locations ====
SET PROGINFO=%TEMP%\%RANDOM%%RANDOM%.TXT
SET TEMPFILE=%TEMP%\%RANDOM%%RANDOM%.TXT
SET OLDFNAME=%~dpnx1
SET NPVRLOG="C:\Users\Public\NPVR\Rename Recordings\NPVR Rename Log.txt"

::====== Begin Log file ===========
ECHO ORIGINAL FILE: %1>>%NPVRLOG%

::====== Query SQLite3 to dump Title, Date, Description and Subtitle to text file ====
%SQLITE3% "%DB%" "SELECT event_details from SCHEDULED_RECORDING where status = '2' and filename = '%OLDFNAME%';">%PROGINFO%

::====== Capture Title ===
FOR /F "tokens=3 delims=<>" %%a IN ('FIND "/Title" %PROGINFO%') DO ECHO %%a>%TEMPFILE%

::========= Log Results ====
FOR /F "tokens=3 delims=<>" %%a IN ('FIND "/Title" %PROGINFO%') DO ECHO RENAMED WITH TITLE: %%a>>%NPVRLOG%

::====== Replace HTML tags and DOS filename and batch problem characters with corresponding acceptable characters ===
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&apos;" "'"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&amp;" "and"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&quot;" "'"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&gt;" "["
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&lt;" "]"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "\" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "/" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% ":" " -"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "*" "#"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "?" "!"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "<" "{"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% ">" "}"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "|" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&" "and"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "%" "percent"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "''" "'"
SET /P TITLE=<%TEMPFILE%
IF "%TITLE%"=="" GOTO END
ECHO Title: %TITLE%

::====== Capture Subtitle ====
FOR /F "tokens=3 delims=<>" %%a IN ('FIND "/SUBTITLE" %PROGINFO%') DO ECHO %%a>%TEMPFILE%

::========= Log Results =======
FOR /F "tokens=3 delims=<>" %%a IN ('FIND "/SUBTITLE" %PROGINFO%') DO ECHO RENAMED WITH SUBTITLE: %%a>>%NPVRLOG%

::====== Replace HTML tags and DOS filename and batch problem characters with corresponding acceptable characters ===
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&apos;" "'"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&amp;" "and"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&quot;" "''"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&gt;" "["
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&lt;" "]"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "\" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "/" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% ":" " -"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "*" "#"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "?" "!"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "<" "{"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% ">" "}"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "|" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&" "and"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "%" "percent"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "''" "'"
SET /P SUBTITLE=<%TEMPFILE%
IF "%SUBTITLE%"=="" GOTO END
ECHO Subtitle: "%SUBTITLE%"

::====== Capture Description ======
FOR /F "tokens=3 delims=<>" %%a IN ('FIND "/Description" %PROGINFO%') DO ECHO %%a>%TEMPFILE%

::========= Log Results ========
FOR /F "tokens=3 delims=<>" %%a IN ('FIND "/Description" %PROGINFO%') DO ECHO RENAMED WITH DESCRIPTION: %%a>>%NPVRLOG%

::====== Replace HTML tags and DOS filename and batch problem characters with corresponding acceptable characters =====
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&apos;" "'"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&amp;" "and"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&quot;" "''"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&gt;" "["
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&lt;" "]"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "\" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "/" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% ":" " -"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "*" "#"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "?" "!"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "<" "{"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% ">" "}"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "|" "-"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "&" "and"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "%" "percent"
CSCRIPT.EXE //NoLogo %REPLACE% %TEMPFILE% "''" "'"
SET /P DESCRIPTION=<%TEMPFILE%
IF "%DESCRIPTION%"=="" GOTO END
ECHO Description: "%DESCRIPTION%"

::====== Capture Date & Time ======
FOR /F "tokens=3-7 delims=>T:-" %%a IN ('FIND "/StartTime" %PROGINFO%') DO SET DATETIME=%%a-%%b-%%c %%d%%e

::========= Log Results =====
ECHO RENAMED WITH DATE/TIME: %DATETIME%>>%NPVRLOG%
IF "Date/Time: %DATETIME%"=="" GOTO END

::======== Set intial value for counter ======
SET /A i=1

::======== Route to desired naming format depending on subtitle and description values ===
IF "%SUBTITLE%" NEQ "" GOTO SUBNUL
IF "%SUBTITLE%" NEQ "%TITLE%" GOTO SUBNEQTITLE
IF "%SUBTITLE%" EQU "%TITLE%" GOTO SUBEQUTITLE

::======== If Subtitle is not blank ======
:SUBNUL
IF "%SUBTITLE%" EQU "%TITLE%" GOTO SUBEQUTITLE

ECHO %TITLE% (%DATETIME%) %DESCRIPTION%%~x1>%TEMPFILE%
SET /P NEWFNAME=<%TEMPFILE%
ECHO %~dp1%NEWFNAME%>%TEMPFILE%
SET /P NEWFNAMEPATH=<%TEMPFILE%
IF EXIST "%NEWFNAMEPATH%" GOTO SUBNULDUP
IF NOT EXIST "%NEWFNAMEPATH%" GOTO NAMEDONE

:SUBNULDUP
ECHO %TITLE% (%DATETIME%) (%i%) %DESCRIPTION%%~x1>%TEMPFILE%
SET /P NEWFNAME=<%TEMPFILE%
ECHO %~dp1%NEWFNAME%>%TEMPFILE%
SET /P NEWFNAMEPATH=<%TEMPFILE%
SET /A i=%i%+1
IF EXIST "%NEWFNAMEPATH%" GOTO SUBNULDUP
IF NOT EXIST "%NEWFNAMEPATH%" GOTO NAMEDONE

::======== If Subtitle and Title are not equal ====
:SUBNEQTITLE
ECHO %TITLE% (%DATETIME%) %SUBTITLE%%~x1>%TEMPFILE%
SET /P NEWFNAME=<%TEMPFILE%
ECHO "%~dp1%NEWFNAME%>%TEMPFILE%">%TEMPFILE%
SET /P NEWFNAMEPATH=<%TEMPFILE%
IF EXIST "%NEWFNAMEPATH%" GOTO SUBNEQTITLEDUP
IF NOT EXIST "%NEWFNAMEPATH%" GOTO NAMEDONE

:SUBNEQTITLEDUP
ECHO %TITLE% (%DATETIME%) (%i%) %SUBTITLE%%~x1>%TEMPFILE%
SET /P NEWFNAME=<%TEMPFILE%
ECHO %~dp1%NEWFNAME%>%TEMPFILE%
SET /P NEWFNAMEPATH=<%TEMPFILE%
SET /A i=%i%+1
IF EXIST "%NEWFNAMEPATH%" GOTO SUBNEQTITLEDUP
IF NOT EXIST "%NEWFNAMEPATH%" GOTO NAMEDONE

::======== If Subtitle and Title are equal ====
:SUBEQUTITLE
ECHO %TITLE% (%DATETIME%) %DESCRIPTION%%~x1>%TEMPFILE%
SET /P NEWFNAME=<%TEMPFILE%
ECHO %~dp1%NEWFNAME%>%TEMPFILE%
SET /P NEWFNAMEPATH=<%TEMPFILE%
IF EXIST "%NEWFNAMEPATH%" GOTO SUBEQUTITLEDUP
IF NOT EXIST "%NEWFNAMEPATH%" GOTO NAMEDONE

:SUBEQUTITLEDUP
ECHO %TITLE% (%DATETIME%) (%i%) %DESCRIPTION%%~x1>%TEMPFILE%
SET /P NEWFNAME=<%TEMPFILE%
ECHO %~dp1%NEWFNAME%>%TEMPFILE%
SET /P NEWFNAMEPATH=<%TEMPFILE%
SET /A i=%i%+1
IF EXIST "%NEWFNAMEPATH%" GOTO SUBEQUTITLEDUP
IF NOT EXIST "%NEWFNAMEPATH%" GOTO NAMEDONE

:NAMEDONE

::========= Ensure that the target file name doesnt already exist (again) and then rename to new file name =====
IF NOT EXIST "%NEWFNAMEPATH%" RENAME %1 "%NEWFNAME%"

::========= Ensure that the target file name does exist now and then update the SQLite3 database ====
IF EXIST "%NEWFNAMEPATH%" %SQLITE3% %DB% "update scheduled_recording SET filename = '%NEWFNAMEPATH%' where status = '2' and filename = '%OLDFNAME%';"

::========= Log Results ======
IF EXIST "%NEWFNAMEPATH%" ECHO RENAMED TO: "%NEWFNAME%">>%NPVRLOG%

:END

::========= Delete temp files =======
IF EXIST %PROGINFO% DEL %PROGINFO%
IF EXIST %TEMPFILE% DEL %TEMPFILE%

Print this item

  Next PVR crash on recording.
Posted by: bigstusexy - 2011-03-16, 03:28 PM - Forum: Legacy (v4.x and earlier) - Replies (15)

NPVR has been working for about a week just fine in win7 for me.

I went to manually record a program today and because we can not specify the time directly I choose 6:20 for the program to start recording, it was already 6:21. Immediately after hitting okay the service changed the channel and the Next PVR interface crashed. I thought that was all, seems the service crashed as well. I restarted the service from the try icon and it changed channels again. I went to look for the file and could not find it.

After looking I looked at the service directly and noticed it not running, when I ran it, it would change channels and then stop again and windows would tell me so.

win7, UAC on
pvr 350
HD-PVR installed and not setup in nextPVR

P.S. I got a prompt that that next PVR wanted to access the network, this is most likely because a few days ago I enabled the web portal, I did allow access to private and public networks. Also while I'm at it does or will Next PVR support Colossus?

P.P.S. Sorry I saw this post http://forums.nextpvr.com/showthread.php...post406854 , Should I apply this patch as well, I believe I'm using version 2.0.3

Print this item

  Updated from PVRX2 to NPVR - folder icons
Posted by: garymeds - 2011-03-16, 02:20 PM - Forum: Legacy (v4.x and earlier) - Replies (2)

hi - since getting a recording device from my cable provider, my pvr has (just) been a media player so PVRX2 has been more than adequate for what i need.

I upgraded my old NPVR install to the latest non-beta version and am amazed! it is absolutely brilliant! Sub - you have played a blinder with this version - it's fantastic.
I particularly like the menu bar at the top, the settings right click bit and how easy it is to setup (i've not done anything complex - just 2 freeview tv cards using the dvb epg - can't be bothered setting up my hauppauge PVR-150).

My only question is on the folder icons when looking at pictures (within folders) - the icon seems to have a folder image in the background with an image over the top which doesn't cover up the other image...hard to describe! i'll post a pic when i get home if no-one knows what i'm on about. (i have searched forum, but get a lot of results for 'folder icon').

cheers
gary

Print this item

  Recording problem with Hauppauge Nova-S USB2 ...
Posted by: softfoot - 2011-03-16, 01:08 PM - Forum: GB-PVR Support (legacy) - Replies (4)

I am running the last released copy of GBPVR under XP+SP3.

I only have one PCI slot in the machine so I have a Hauppauge Nova-S PCI card in that and a Hauppauge Nova-S USB2 plugged into a USB port to provide a second tuner.

I use "Hibernator" to put the system into hibernation (duh) when it becomes idle.

All works well after a reboot but after coming out of hibernation the USB tuner records videos that have horizontal stripes (a bit like pixelation).

Rebooting the machine fixes the problem, but of course it goes bad again the next time the system goes into hibernation.

I tried "DEVCON.EXE" to "restart" the USB device - but that says that "a reboot is necessary".

It looks as though the USB tuner needs a reset/reload after waking.

Anyone know of a fix for this ??

nPVR isn't really an option at the moment because (for me at least) there are some missing features that I need.

TIA
Dave

Print this item

  uiButtonStrip.Visible
Posted by: mvallevand - 2011-03-16, 04:02 AM - Forum: Developers - Replies (1)

I always get a False from uiButtonStrip.Visible so I have to use

uiButtonStrip.VisibleUntil != DateTime.MinValue

to test if the menu buttons are visible. Is that the expected behaviour?

Martin

Print this item

  forums.gbpvr.com ip in the spamhaus blocklist
Posted by: skippy_nz - 2011-03-16, 03:32 AM - Forum: General Discussion - Replies (2)

Hi Sub

As per the subject line your ip 76.76.102.42 for the forums is in a range that is spammer friendly - so people that use spamhaus for blocklists etc are going to pickup that emails from the forums are spam and potentially get blocked

Code:
http://www.spamhaus.org/sbl/sbl.lasso?query=SBL96233

is your hosting with gogax by any chance ? it sounds they are spammer friendly.

i ask cause i have a mail server and this is whats coming up when i get in the header of emails that come from the forum

Code:
X-hMailServer-Spam: YES X-hMailServer-Reason-1: Sender domain does not have any MX records. - (Score: 2) X-hMailServer-Reason-2: Rejected by Spamhaus. - (Score: 3) X-hMailServer-Reason-Score: 5

Print this item

  Recording service not running at recording time
Posted by: stoenjes - 2011-03-16, 02:39 AM - Forum: Legacy (v4.x and earlier) - Replies (11)

npvr has been working fine for a week, with several back-to-back recordings using both of my recorders.

Tonight, Glee stopped recording (with the titled error) at 7:58 pm just as 'V' started recording at 7:58 pm (I have 2 min buffer before and after recordings). There was only ~5 seconds of 'V' recorded.

In addition, right-clicking on the tray icon did not result in any options (show status/star npvr/restart). I had to stop then start the npvr service to start 'V' again at ~ 08:16 pm.

The 2 shows are on different channels. Other back to back recordings that worked earlier in the week were on the same channel. Logs attached.

Stan

Print this item

  Missing Time Bar and Description
Posted by: jcjefferies - 2011-03-15, 06:32 PM - Forum: Legacy (v4.x and earlier) - Replies (11)

The "Time Bar" and "Description" have recently gone missing on my NPVR V2 Client when playing Recordings such as during a "Pause". I could not see anything in "Settings" so deleted the Data Directory and did a reinstall but this has not cured the problem.

Print this item

  Will GBPVR(nPVR) do what I am hoping for?
Posted by: elsmandino - 2011-03-15, 01:56 PM - Forum: General Discussion - Replies (20)

Hi there,

I am ultimately hoping to create the following:

A dedicated server that will host eight tuner cards - 1 TBS DVB-S2 Quad Tuner Card and 2 Blackgold BGT3620 cards (this will give 4 DVB-T2 signals and 4 DVB-S2 signals) and server will do all my recording and serving to three clients.

In terms of the clients, I shall have three acer revos aspires.

All computers, including the server will be running Windows 7.

There were a couple of things that I wanted to be able to do with the setup in particular.

Have a dedicated hard disk just for time shifting that all the clients could use for pausing live TV.

The ability to have a centralised EPG on the server itself rather than on each client (meaning that if I could set a recording from any client and this will show up on the EPG on any of the other clients).

Watch live TV on any of the clients

Ability to record more than one channel from a single tuner if it is on the same MUX.

At the moment, I have an HTPC in my living room that is acting as both a server and client and a single Revo in my bedroom that acts as a client. I have a hvr-2200 dual DVB-T and a Nova single DVB-S2 card in the HTPC.

I have been using Windows 7 for well over 18 months and it has been great but for the fact that there are lots of limitations that I am beginning to dislike, now I am thinking about piping live TV round the house (e.g. limits on numbers of tuners, not sharing EPGs etc).

I then gave Media Portal a go and it did exactly what I wanted to do except for it being unbelievably slow and crashed a couple of times.

Someone recommended that GBPVR would be a perfect solution for what I am trying to achieve, but I need to make sure before I start adding yet another PVR program.

Thanks very much.

A

Print this item

  Audio popping/clicking with AC3Filter?
Posted by: SickBoy - 2011-03-15, 11:13 AM - Forum: Hardware - Replies (3)

I have played around a bit with AC3Filter and ffdshow for audio decoding on my setup and I can't shake this popping and clicking I get with the channels (only a subset of the, at that) from my HDHR. It's beginning to drive me batty. ffdshow doesn't pop or click but has this raw, ripp-y sound to it and I haven't figured out how to successfully preamp the volume (the volume on those channels is super quiet if I don't).

Any tips?

Print this item

Pages (6430): « Previous 1 … 1736 1737 1738 1739 1740 … 6430 Next »
Jump to page 

© Designed by D&D, modified by NextPVR - Powered by MyBB