Olelsii
2 Posts
wrote on 24.04.16 at 19:51
Link to this post
Hello.
Please, help with regexp or may be something else.
The title, of my recorded song, has some addition at the end " Is Now Playing On Station"
Example: Kda Ft Tinie Tempah - Turn The Music Louder Is Now Playing On Station

How can i remove it?
I tried to add rules on Settings - Recording -Advanced - Ignore the following stream title …
such us:
Is Now Playing On Station
Is Now Playing On Station$

but it did't work for me
 
Yo24hua
727 Posts
wrote on 24.04.16 at 20:33 last edited by Yo24hua on 24.04.16 at 20:44
Link to this post
.
Hello Olelsii,

Add the following line in to "Stream settings -> Recordings -> Advanced: Regular expression to add":

(?i)(?P<a>.*) - (?P<t>.*)\s*(is now playing).*

And remove rules from "Ignore the following stream title…" list.


Please can you say me the radio-station name !
Is it "NonStopPlay.com Dance Radio" ?
.
Legalität, Radio Verzeichnisse, Diskographie Verzeichnisse, Reguläre Ausdrücke, Videos...:
Yo24hua's streamWriter Special: > > > https://sites.google.com/site/yo24hua < < <

Alles mit Ruhe & Muse, denn Unmöglich sind nur die Dinge, die man nicht tut!
Befreie dich, Befreie dich, Befreie dich und du wirst deinen Weg finden!
··· ¥oæhua ···
 
Olelsii
2 Posts
wrote on 24.04.16 at 21:03
Link to this post
Thanks a lot. Your rule works well.
Add the following line in to "Stream settings -> Recordings -> Advanced: Regular expression to add":
(?i)(?P<a>.*) - (?P<t>.*)\s*(is now playing).*

Yes, it is.
Please can you say me the radio-station name !
Is it "NonStopPlay.com Dance Radio" ?
 
Yo24hua
727 Posts
wrote on 24.04.16 at 21:21
Link to this post
.
Ok!

Greetings and Have nice day!
.
Legalität, Radio Verzeichnisse, Diskographie Verzeichnisse, Reguläre Ausdrücke, Videos...:
Yo24hua's streamWriter Special: > > > https://sites.google.com/site/yo24hua < < <

Alles mit Ruhe & Muse, denn Unmöglich sind nur die Dinge, die man nicht tut!
Befreie dich, Befreie dich, Befreie dich und du wirst deinen Weg finden!
··· ¥oæhua ···
 
piezanno
3 Posts
wrote on 22.11.17 at 15:38 last edited by piezanno on 22.11.17 at 15:41
Link to this post
Hi, StreamWriter is saving some files saved with the leading character of "-" or with character "-" followed by a space.
I made up this regular expression to remove either case:
^-(\s*)|^(\s*)
But I can't seem to get it to work in streamwriter. Can anyone show me how to get it to work.
Thanks, Karl