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,398
» Latest member: camachocamacho
» Forum threads: 65,338
» Forum posts: 602,636

Full Statistics

Online Users
There are currently 4796 online users.
» 0 Member(s) | 4791 Guest(s)
Applebot, Baidu, Bing, Facebook, Google

Latest Threads
Using my Sky Q dish for F...
Forum: Hardware
Last Post: gEd
2 hours ago
» Replies: 50
» Views: 15,255
Sort Recordings by Episod...
Forum: Wishlist
Last Post: davidparker
10 hours ago
» Replies: 16
» Views: 1,462
RSS support?
Forum: Forum Issues & Documentation
Last Post: davidparker
Today, 02:33 AM
» Replies: 1
» Views: 1,224
UK XMLTV recommendations?
Forum: General Discussion
Last Post: camachocamacho
Yesterday, 10:16 PM
» Replies: 16
» Views: 10,272
iptv-epg.org
Forum: Docker amd64
Last Post: mvallevand
Yesterday, 06:44 PM
» Replies: 3
» Views: 96
.net 8 end of life today
Forum: NextPVR Support
Last Post: mvallevand
Yesterday, 06:12 PM
» Replies: 2
» Views: 55
Add "Continue Watching" s...
Forum: Wishlist
Last Post: davidjones
Yesterday, 05:27 PM
» Replies: 4
» Views: 178
Upcoming NextEnd addon an...
Forum: Add-ons (3rd party plugins, utilities and skins)
Last Post: davidjones
Yesterday, 02:38 PM
» Replies: 6
» Views: 1,134
Licensing enquiry
Forum: Developers
Last Post: davidjones
Yesterday, 02:24 PM
» Replies: 2
» Views: 480
NPVR Red System Tray Icon
Forum: Windows
Last Post: mvallevand
2026-11-08, 05:19 PM
» Replies: 5
» Views: 140

 
  Powershell for postprocessing
Posted by: SickBoy - 2014-10-07, 04:13 PM - Forum: Legacy (v4.x and earlier) - No Replies

I use a bit of powershell for work, so when it came to configuring postprocessing stuff for a freshly installed OS and new configuration of NPVR, I opted to rewrite in Powershell.

Not so much looking for support (I have everything in my configuration working (knock on wood) that I can tell) - but I figured I'd post up what I wrote just in case anyone else is interested. As usual, use at your own risk. Oh, and I wrote and tested all of this on Powershell 4 in Windows 7.

Here's what my main postprocessing.bat file looks like:

Code:
REM use the below line for logging output REM powershell -NonInteractive -ExecutionPolicy unrestricted -NoLogo -NoProfile -f "C:\Users\Public\NPVR\Scripts\StreamFix.ps1" %1 >> C:\logs\postprocessing.log REM Use this one for no log powershell -NonInteractive -ExecutionPolicy unrestricted -NoLogo -NoProfile -f "C:\Users\Public\NPVR\Scripts\StreamFix.ps1" %1 SET _oldfile=%1 SET _newfile=%_oldfile:.ts=.mpg% REM Comskip powershell -NonInteractive -ExecutionPolicy unrestricted -NoLogo -NoProfile -f "C:\Users\Public\NPVR\Scripts\Comskip.ps1" %_newfile% %2

StreamFix.ps1: This one runs the .ts files generated by my HDHR through VideoRedo to fix junky timelines and kicks out a .mpg file.

Code:
trap { Write-Host $_ exit 1 } $ErrorActionPreference = "Stop" #stop on all errors #Make sure this path is correct $vrdPath = "C:\Program Files (x86)\VideoReDoPlus" $vpPath = $vrdPath + "\vp.vbs" $origFile = $args[0] $newFile = $args[0].split('.') $newFileFull = $newFile[0] + ".mpg" $renamedFile = $newFile[0] + "_orig.ts" Write-Host "Original File:" $origFile Write-Host "New File:" $newFileFull #$nologo = "//nologo" cscript.exe //nologo $vpPath $origFile $newFileFull /t1 /q /na Write-Host "Exit Code:" $LASTEXITCODE #Check that the output file exists before continuing $fileExists = Test-Path $newFileFull if ($fileExists -eq $true) { Rename-Item $origFile $renamedFile Write-Host "Deleting renamed original ts file:" $renamedFile Remove-Item $renamedFile } Write-Host " "

and Comskip.ps1:

Code:
trap { Write-Host $_ exit 1 } $ErrorActionPreference = "Stop" #stop on all errors $file = $args[0] $channel = $args[1] $comskipExe = "C:\comskip\comskip.exe" #Functions function numInstances([string]$process) { @(Get-Process $process -ErrorAction 0).Count } #Main script execution starts here #Skipping channels that don't need comskip, i.e. PBS if ($channel -match "21" -or $channel -match "22" -or $channel -match "23" -or $channel -match "24") { Write-Host "Not running Comskip on channel" $channel Write-Host "Exiting..." break } #Sleep a number of seconds equal to the channel nbr, #prevents multiple postprocessing files from running at exactly the same time Write-Host "Sleeping" $channel "seconds before starting comskip" Start-Sleep -s $channel #Check if comskip is running $comskips = 2 while ($comskips -gt "1") { $comskips = numInstances comskip Write-Host "Two or more comskip instances running, sleeping 15 seconds" Start-Sleep -s 15 } $curDatetime = Get-Date Write-Host $curDatetime Write-Host "Invoking comskip on" $file & $comskipExe $file $curDatetime = Get-Date Write-Host "Comskip finished." Write-Host $curDatetime

Print this item

  Customize Nextpvr
Posted by: djevil - 2014-10-07, 12:38 PM - Forum: Legacy (v4.x and earlier) - Replies (1)

Hi there, at first I think Nextpvr is the best media center i ve tested since now.

i like its simplicity.
But because of that I miss some things.

At first I need something to shutdown the pc when a recording is done.
I like to see animations(animated video) when I listen to music, (like in XBMC).
When I start livetv I dures a while , can I accelerate it somehow?
Is there a german lanuage pack?

I have not much time in the moment to search about, thats why I ask.

Regards djevil

Print this item

  Limiting saved searches
Posted by: mvallevand - 2014-10-07, 02:00 AM - Forum: NextPVR Enhanced Web Admin (NEWA) - Replies (7)

Could NEWA saved searches be restricted to once per unique ID like NextPVR rules do. In this example, the same show Meredith Viera gets recorded many times, and I have to wait to actual day to delete them.

Martin

Print this item

  <VolumeControl> options? win7
Posted by: pBS - 2014-10-06, 08:47 PM - Forum: Legacy (v4.x and earlier) - Replies (2)

what are the options for <volumecontrol> in config? set to master, but wanted 'application'...doesn't seem to do anything in win7..

Print this item

  Minimal media centre setup suggestions needed.
Posted by: bgowland - 2014-10-06, 08:05 PM - Forum: General Discussion - Replies (21)

I'm posting in General Discussion as I'm open to any suggestions which may or may not include NextPVR - I'll explain.

I'm looking into providing a media centre / entertainment system for a family friend who is severely disabled. He's 27 and has cerebral palsy (quadriplegic) and lives in a care home with his own room with TV and DVD player and spends much of his life watching TV or DVDs (mostly the latter). Obviously because of his lack of mobility he has to rely on care workers to switch is TV on, load DVD etc etc

So...cut to the chase...

Funding is available but limited. I've been asked to look into something for a budget Android tablet as a control unit (using wifi) but after that we need the media source and some sort of extender attached to the TV.

The initial idea is to start with ripping his DVDs (or as many as possible) to a NAS box but at that point is where the ideas of how to link that to a TV with a usable touch screen as a remote control are needed. The less "tech" involved is essential as the family and care workers aren't going to want to deal with technical problems if they arise.

If anyone has any ideas I'd be grateful to hear them.

Cheers,
Brian

Print this item

  h55m-usb3 Wake on Lan doesn't work
Posted by: jam_zhou - 2014-10-06, 07:29 PM - Forum: Hardware - Replies (3)

I've been trying to get wake on lan working on my NPVR box for a while now with no success.

I've applied the settings in Windows and I think I've set it up properly in the bios disabling the EuP.

I've even installed a new NIC and that still didn't work. I did verify that when the computer is in sleep mode that the NIC light is still on.

Note that I have never explicitly sent a magic packet. I'll try that later this week though.

In the meantime, any other tricks to get WOL working?

This is for a win 7 64 bit machine.

Print this item

  Mitigating ATSC reception blips - client streaming
Posted by: SickBoy - 2014-10-06, 05:11 PM - Forum: Legacy (v4.x and earlier) - Replies (9)

Is there any common set of ideas for dealing with ATSC OTA channels that don't have *perfect* reception, when it comes to streaming live TV to a NPVR client computer?

For recordings - this AM I got a postprocessing script worked out to run VideoRedo's stream fix automatically to resolve timeline issues. That seems to work relatively well. Playback still has blips in reception but it doesn't disrupt the navigation of the file & play/pause.

Some channels - the ones with good reception on my current antenna alignment - seem to livestream nearly without issues at all. Others - where the reception isn't perfect - seem to freeze after experiencing too many signal interruptions within a certain amount of time.

Right now I'm only running one client, which is a TV and is also directly connected to the antenna - so with some channels I know it's just a better idea to skip straight to using the TV rather than going through NPVR. I'd like to add at least one network client in a spot where I won't be able to connect to antenna, so I'd like to resolve this (as best I can) before committing the financial resources to acquiring hardware for the new client.

Print this item

  SchedulesDirect major changes
Posted by: drmargarit - 2014-10-06, 04:03 PM - Forum: Legacy (v4.x and earlier) - Replies (31)

I was changing my lineup on SchedulesDirect and there's an announcement about them changing listing providers and consequently making major changes to the service. The new feeds will include season/episode info (yay!).
This all happens November 1.
Hopefully sub is already aware of this?!

Jim Margarit

Print this item

  turning up logging on postprocessing
Posted by: SickBoy - 2014-10-06, 11:58 AM - Forum: Legacy (v4.x and earlier) - Replies (4)

Is there a way to get NPVR to write the output (which is getting written to stdout) in my PostProcessing.bat to the NPVR or NRecord logs?

I'm attempting to debug some issues with a homebrewed postprocessing script, and it doesn't seem to write the same output to the log that I get when I run my postprocessing script manually from the console.

Print this item

  Need to adjust xmltv data by 1 hour
Posted by: shaunpatrick77 - 2014-10-06, 07:15 AM - Forum: Legacy (v4.x and earlier) - Replies (3)

Hi

Does anyone know of any apps that can adjust the time base of an xmltv file?

My Foxtel data has not corrected for daylight saving time properly.
There used to be a program called 'xmltvalter' but that expired when epgstream.net went belly up.

Thanks!

Print this item

Pages (6430): « Previous 1 … 1127 1128 1129 1130 1131 … 6430 Next »
Jump to page 

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