SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2009, 11:57 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
HD-200 Standalone Parsing Error

I'm pulling my hair out doing some mods to the HD-200 Standalone STV and don't understand why I'm getting some parsing errors.
Code:
Tue 1/1 0:30:38.992 [ActiveRender-001d6a4cf5a6] Parsing Error: Unexpected "," at column 58.
Expression: bytes = java_lang_String_replaceFirst(new_java_lang_String(bytes), "(?s)\\A.*\\-+[\r\n]+", "")

...and...

Tue 1/1 0:30:50.686 [ActiveRender-001d6a4cf5a6] Parsing Error: Unexpected "," at column 56.
Expression: bytes = java_lang_String_replaceAll(new_java_lang_String(bytes), "0[\r\n]", "")
Both of these work fine in a normal STV and the syntax of replaceAll is pretty simple (I thought even I understood it). This modded STV works OK if I load it on my PC.

Any ideas?

John
Reply With Quote
  #2  
Old 05-06-2009, 12:06 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
You can't use regular expressions on the HD200 in standalone mode. Some of the calls using regex can be used with plain text instead. I think this info was posted somewhere, but I'll have to look for it tomorrow if you don't find it before then.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 05-06-2009, 12:47 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Thanks Andy, that's a curse. I've survived with blindly copying this code for a long time, now I'm going to have to figure out what this stuff does.

John
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
6.1.4 Metadata Properties Parsing JREkiwi SageTV Beta Test Software 35 03-10-2007 08:39 PM
Two Questions. H.264 and Tag Parsing kranzel SageTV Software 0 01-16-2007 04:20 AM
XML Parsing Library (Exist?) Necro SageTV Studio 3 10-18-2006 03:50 PM
Parsing XML guide data? is it possible? steingra SageTV Customizations 0 11-11-2005 12:00 AM
XMLTV Parsing Software... pawn SageTV EPG Service 0 01-13-2004 03:00 PM


All times are GMT -6. The time now is 12:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.