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 … 13 14 15 16 17 … 433 Next »
postprocessing batch to escape special characters

postprocessing batch to escape special characters
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#1
2019-11-06, 12:29 AM
Any ideas on a windows 10 batch file to escape special characters in show titles?

For instance a show title might have "&" in it.  Unless this is escaped comcut truncates the title and then returns a fatal error.

For some crazy reasons I am recording TV on windows then moving them to a Ubuntu machine to be processed with Comcut.  Comcut is a bash script that combines comskip and ffmpeg to remove ads.

If I had any idea what I was doing I could probably insert some code using sed into Comskip
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,121
Threads: 957
Joined: May 2006
#2
2019-11-06, 01:04 AM
Sounds more like the comcut bash script is what you should change. Consider v5 on linux too to save the move.

Martin
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#3
2019-11-06, 02:15 AM
I have V5 on linux, the problem is my my card has become unreliable and I would still have to escape the characters.
I was just hoping somebody has run into the problem and solved it. I haven't given up lerarning how to do it myself.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2019-11-06, 11:29 PM (This post was last modified: 2019-11-06, 11:30 PM by JavaWiz.)
I vaguely remember running into this problem ages ago...  If you are an windows, you might take a look @ a tool called fart (find and replace text).

Also, if you post your batch file (and supply a sample filename that it breaks on), there are probably folks in this forum who could help you work thru the code...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Now and Next Popup Escape Silas 1 1,136 2020-03-06, 12:00 AM
Last Post: mvallevand
  PostProcessing.bat not executing MiyoshiSaki 13 4,858 2019-09-03, 10:36 PM
Last Post: sub
  Can no longer select a batch file as Blaster executable? jksmurf 3 1,562 2019-08-06, 01:23 PM
Last Post: jksmurf
  Illegal Characters in path robbyp 14 3,624 2019-03-10, 07:01 PM
Last Post: robbyp
  Recordings with Unicode characters in the name faile to record. volfin 4 1,649 2018-09-24, 11:20 PM
Last Post: volfin
  PostProcessing and PostCancel.bat being triggered but not working antenna 4 1,898 2018-08-05, 07:40 PM
Last Post: antenna
  Changing channels in a batch file - how to add a delay wtg 13 5,615 2018-01-04, 02:42 PM
Last Post: PRBUK
  3.9.2 Using escape to exit a LIVE TV sometimes causes NPVR to hang on a blank screen eastavin 9 3,243 2017-04-23, 08:57 PM
Last Post: scJohn
  Update EPG script...what should i write in my batch file ?? patchboy 2 2,227 2016-09-01, 12:52 PM
Last Post: mvallevand
  Filtering "Illegal characters in path"? notasage 7 2,654 2016-08-04, 04:39 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