NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 115 116 117 118 119 … 433 Next »
XMLTV and NPVR, how to get episode numbers in EPG?

XMLTV and NPVR, how to get episode numbers in EPG?
leChat
Offline

Junior Member

Posts: 14
Threads: 2
Joined: Aug 2016
#21
2016-10-01, 02:40 AM
Thanks, will I find the post/example by clicking your name and following where you posted?


As for the reason behind the extension change, I am using a moving script that monitors the folder for .mpg and moves them to a different folder on another machine where encoding takes place. If I leave all the extensions the same, I would have to either parse the filename for a "cleansed" in it or risk having uncleaned file bugging down my encoding machine. So I took the lazy route and just changed the extension as part of the script.
leChat
Offline

Junior Member

Posts: 14
Threads: 2
Joined: Aug 2016
#22
2016-10-01, 05:02 PM
I think I found something.

Would this work?I don't understand the purpose of the for loop though.


cd "C:\Program Files (x86)\NPVR"
set newfile=
FOR /F "tokens=*" %%i in ('imageGrabLite --oid %3 --zap2it --rename') do SET newfile=%%i
if not exist "%newfile" goto end
SET newfile=%3
echo %newfile
:end
'do rest of stuff using newfile instead of %3
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,000
Threads: 956
Joined: May 2006
#23
2016-10-01, 05:15 PM
Should work, except you don't need to cd for iGL

Martin
leChat
Offline

Junior Member

Posts: 14
Threads: 2
Joined: Aug 2016
#24
2016-10-03, 02:45 PM
Thanks for the help, it's working!

In case anyone is looking for a solution, here is what I did in my postProcessing script:

"C:\comskip\comskip.exe" %1

cscript //nologo "C:\Program Files (x86)\VideoReDoTVSuite4\vp.vbs" "%~dpn1.VPrj" "%~dpn1.mpg" /p:"MPEG2 Program stream" /q

cd "C:\Program Files (x86)\NPVR"
set newfile=
FOR /F "tokens=*" %%i in ('imageGrabLite --oid %3 --rename') do SET newfile=%%i
if not exist "%newfile%" goto end
REN "%~dpn1.mpg" "%newfile%.mpeg"
:end

Cheers!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,000
Threads: 956
Joined: May 2006
#25
2016-10-03, 03:28 PM
Don't you end end up with .ts.mpeg as the filename if so maybe "%newfile:~0,-3%.mpeg" is better

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 141,932 2024-01-29, 01:07 AM
Last Post: stoenjes44
  Add Series/Episode Info to Recording Metadata andrewj 2 1,093 2023-11-20, 03:42 PM
Last Post: sub
  npvr is not responding johndutcher 3 1,505 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,890 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,296 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,718 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,725 2021-01-04, 02:58 AM
Last Post: tesla1886
  EPG XMLTV problem DBHall 8 3,816 2021-01-01, 12:34 PM
Last Post: Graham
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,091 2020-12-27, 02:27 AM
Last Post: sub
  xmltv and EPG channel icons HaTaX 5 4,126 2020-10-28, 04:25 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

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

Linear Mode
Threaded Mode