| sp | 3 Posts | |
| wrote on 28.06.15 at 22:52 | | First off, great program, kudos to all involved.
I have a problem with a series of streams with a title format as follows {"ChannelNumber":44,"ChannelName":"80's","SongId":"04400412","Title":"Steal Away","Artist":"Robbie Dupree","Album":"All Night Long (1980)","Extra":"","StartDatetime":"2015-06-28T14:45:40-04:00","GOID":"140758538","Duration":207,"GOIDDuration":207,"EpisodeId":-1,"ThemeId":-1,"ThemeName":"","BlockType":""}
The "140758538" after the "GOID" is apparently some type of trigger to change a photo on an accompanying parallel video stream. As a result, the song is saved in multiple separate pieces as the program is seeing the title change with each GOID change while the song is still playing.
I'm no Regex expert so, my question can the pattern for the filename be written in such a way as to allow the complete song to save as a single file regardless of the GOID changes during the song? |
|
|
|
| Yo24hua | 727 Posts | |
| wrote on 28.06.15 at 23:56 | | Hello sp,
Which stream do you mean? Please write name of the station(s)!
|
| | | | 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 ··· |
|
|
| sp | 3 Posts | |
| wrote on 30.06.15 at 06:19 | | The stream is arcostream.mp3.miisolutions.net:80/musicchoice/80s_Live |
|
|
|
| Yo24hua | 727 Posts | |
| wrote on 30.06.15 at 21:03 last edited by Yo24hua on 30.06.15 at 21:12 | | Hi sp,
RegEx for this:
(.*)"Title":"(?P<t>.*?)","Artist":"(?P<a>.*?)","Album":"(?P<l>.*?)","Extra"(.*)
The "GOID" do nothing made changes anymore now!
|
| | | | 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 ··· |
|
|
| sp | 3 Posts | |
| wrote on 19.07.15 at 04:14 | | Thanks for the help! So far it is only giving me the following for filenames though:
(. ) Title ( P t . ) , Artist ( P a . ) , Album ( P l . ) , Extra (. ).aac |
|
|
|
| Yo24hua | 727 Posts | |
| wrote on 20.07.15 at 19:43 last edited by Yo24hua on 20.07.15 at 20:22 | | Hello sp,
You do something wrong! Stopping Play/Recording. Right click over the stream, select "Settings" then select category "Filenames" set to defaults: %streamname%\%artist% - %title% or what you want.
Then select category "Recordings -> advanced". Copy my new Regular Expression (RegEx) in "Regular Expression to add" field and add this.
|
| | | | 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 ··· |
|