NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 … 4 5 6 7 8 … 20 Next »
ImageGrabLite and the ampersand

 
  • 0 Vote(s) - 0 Average
ImageGrabLite and the ampersand
ttfitz
Offline

Senior Member

Posts: 285
Threads: 46
Joined: Sep 2008
#1
2015-12-03, 08:19 PM
I recently had a television show where the title of the episode included an ampersand. All the files were renamed properly, but with the "&" in the title, the VideoReDo file would not load in VRD. After I went in and escaped it - "&" - it loaded fine.

Don't know how hard it might be to have IGL do this, but thought I should pass this info on.

Thanks.
Tim
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#2
2015-12-03, 11:05 PM
ttfitz Wrote:I recently had a television show where the title of the episode included an ampersand. All the files were renamed properly, but with the "&" in the title, the VideoReDo file would not load in VRD. After I went in and escaped it - "&" - it loaded fine.

Don't know how hard it might be to have IGL do this, but thought I should pass this info on.

Thanks.

Yes igL renames inside a vprj files but it is a straight text copy of the string. If it is just an xml file name vprj then I guess it needs to be xml encoded. I can contemplating dropping iGL with the next version of NextPVR but if I do update it I will make the fix.

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#3
2015-12-03, 11:32 PM (This post was last modified: 2015-12-04, 12:04 AM by JavaWiz.)
I've accomplished this in the post processing script by using FART :eek: (Find And Replace Text).

Command:
Code:
F:/Utils/FART.exe "%~dpn1.VPrj" "& " "& "

Where %1 is the filename
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#4
2015-12-03, 11:37 PM
JavaWiz, that's good but if I do fix it in iGL you will end up with &&amp. I will remember to put a warning out.

Martin
ttfitz
Offline

Senior Member

Posts: 285
Threads: 46
Joined: Sep 2008
#5
2015-12-03, 11:47 PM
JavaWiz Wrote:I've accomplished this in the post processing script by using FART :eek: (Find And Replace Text).

Command:
Code:
F:/Utils/FART.exe "%~dpn1.VPrj" "& " "& "
Where %1 is the filename

Yeah, I do some post processing on my vprj file already, and was going to add similar code to my routine.
Tim
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#6
2015-12-04, 12:02 AM
mvallevand Wrote:JavaWiz, that's good but if I do fix it in iGL you will end up with &&. I will remember to put a warning out.

Martin
Perfect, one less step in the process!

Thanks.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#7
2016-05-09, 12:54 AM
mvallevand Wrote:JavaWiz, that's good but if I do fix it in iGL you will end up with &&. I will remember to put a warning out.

Martin
Martin, any chance you will be making this change to IGL? I've recently had to rebuild my machine due to a SSD drive failure, and did not have my scripts backed up. I am in the process of updating with this fix, however, I'll hold off if IGL will be updated. (also am moving my scripts to a backed up area off of the system drive).
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#8
2016-05-25, 08:32 PM
Here you go http://forums.nextpvr.com/showthread.php...post503612

I didn't test it, but this code should do what you want, I just used System.Security.SecurityElement.Escape(original_name) so it seems safe enough.

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#9
2016-05-26, 11:56 PM
Thanks! I'll try it out.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  imageGrabLite update mvallevand 20 13,655 2020-04-04, 02:42 AM
Last Post: jksmurf
  ImageGrabLite "Read Error Object reference not set to an instance of an object." mjccox 6 5,096 2017-04-11, 07:07 AM
Last Post: rinomasaya
  imageGrabLite episode rename (Super Why) sosuke3 4 3,353 2016-11-24, 10:38 PM
Last Post: sosuke3
  Imagegrablite and NCIS Los Angleles/New Orleans robokd 5 4,011 2016-03-02, 02:40 PM
Last Post: mvallevand
  ImageGrabLite Issues bigjess007 11 7,267 2016-01-08, 01:13 PM
Last Post: jksmurf
  ImageGrabLite Setup hootie318 8 5,876 2015-11-28, 11:32 PM
Last Post: pBS
  Imagegrablite renaming of continuation episode jghanisco 5 3,374 2015-11-26, 10:25 PM
Last Post: mvallevand
  ImageGrabLite problem with new Daily Show ttfitz 5 3,117 2015-11-17, 11:48 PM
Last Post: ttfitz
  ImageGrabLite - name change while watching recording liteswap 2 2,814 2015-11-06, 11:29 AM
Last Post: liteswap
  imagegrablite not renaming with no episode information JohnnyPicnic 10 5,076 2015-10-30, 03:04 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode