Welcome Guest ( Log In | Register )

> Template not processing %1, %2, etc
stoff3
post Feb 21 2009, 04:58 PM
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 21-February 09
Member No.: 684



Hi,

I'm using the latest AMIP (I think) with Foobar 0.9.6.2, with the following Play & change callback:

CODE
/template:(input.txt) out.bat
/exec:(out.bat)


input.txt looks like this:
CODE
mysql --user=XXXXXX --password=XXXX --execute="INSERT INTO songs VALUES ('%1','%2',%sl,1) ON DUPLICATE KEY UPDATE plays = plays+1;" foobar


And when the template is processed, here's what out.bat looks like:

CODE
mysql --user=XXXXXX --password=XXXX --execute="INSERT INTO songs VALUES ('','',1564697344,1) ON DUPLICATE KEY UPDATE plays = plays+1;" foobar


I don't know if it's something obvious I'm missing, but it looks to me like it's not processing the tags correctly. Any ideas?


User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: