Welcome Guest ( Log In | Register )

> How to filter the output of write-to-file?
lame-name
post Jul 13 2008, 11:55 AM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 13-July 08
Member No.: 557



Hi, i am using the file integration to display my "now playing" info in some games (via the games 'exec file' function). Works like charm, BUT i'd like to filter certain words from the output.

For example some webradios put "WWW.SOME-NAME.STUFF" into the song information. Since that can be a very long text (if in title AND album, for example), i'd like to automatically remove that (or if possible: replace with custom text).

I've been playing around with the reg. expressions of the "Ignore song titles matching pattern" feature, but it looks like it COMPLETELY ignores the songinfo if it matches to the regex. (either that, or i somehow missed something)

Thanks for any help or hint.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
xaxaman
post Jul 15 2008, 09:47 AM
Post #2


Newbie
*

Group: Members
Posts: 2
Joined: 18-June 08
Member No.: 540



QUOTE(lame-name @ Jul 13 2008, 11:55 AM) *

Hi, i am using the file integration to display my "now playing" info in some games (via the games 'exec file' function). Works like charm, BUT i'd like to filter certain words from the output.

For example some webradios put "WWW.SOME-NAME.STUFF" into the song information. Since that can be a very long text (if in title AND album, for example), i'd like to automatically remove that (or if possible: replace with custom text).

I've been playing around with the reg. expressions of the "Ignore song titles matching pattern" feature, but it looks like it COMPLETELY ignores the songinfo if it matches to the regex. (either that, or i somehow missed something)

Thanks for any help or hint.


Yo dude, can i ask in which games it works? Because in my games it does not, i haf found a topic and also gave several hints how to solve this problem, maybe i need send Serge a PM or something.
Whatever, your feature would work if you hear a specific Internet radio all the time, but if u change stations the webadresses and the radio text also changes. Maybe its hard to solve..
Let's see what the master says.. ;]
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: