Author Topic: Need some more "cut after and including" fields  (Read 5303 times)

joelwitkowski

  • Newbie
  • *
  • Posts: 13
Need some more "cut after and including" fields
« on: February 05, 2013, 09:35:52 pm »
OK,

I need some advice which will prevent me from having to make some tedious entries in the "Text Replacing" fields.

I have a station which is airing Cumulus Classic Hits format, which we get from an XDS sat tuner.  There is data coming from the PAD port, the output looks like this:

CurrentEvent:CHL,CHL100-16,PROMOS-WKND & IWT,

CurrentEvent:

CurrentEvent:CHM,CH1004-96,My Eyes Adored You,Frankie Valli

CurrentEvent:CHL,CHL907-56,08 CHR TALK BED n6,08 CHR TALK BED n6

CurrentEvent:COM,999,2 Min. of Silence ( W/Tone),DO NOT DELETE

CurrentEvent:

CurrentEvent:CHJ,CHJ100-1,8 Second Liner Bed,

CurrentEvent:CHM,CH1002-17,I'll Be Around,Spinners

CurrentEvent:CHM,CH1034-51,I'm Alright,Kenny Loggins

CurrentEvent:CHO,CHO101-20,Spinning Wheel,Blood Sweat & Tears

CurrentEvent:

CurrentEvent:CHJ,CHJ100-1,8 Second Liner Bed,

CurrentEvent:CHM,CH1032-27,Carry On My Wayward Son,Kansas

CurrentEvent:CHL,CHL100-35,09 DEWAYNE DANCER1 LIVE Pre-Sell BED,DEWAYNE DANCER TALKOVER BED

So, I want to show song title and artist in DPS but not anything else.

It would be helpful if in the Text Sources area, I had more "cut after and including" fields.  Is there a special character which can be entered to delineate entries, to make multiple entries, so that I could "Cut after and including"

CurrentEvent:COM:     -ALSO-   CurrentEvent:CHJ     -ALSO-     CurrentEvent:CHL, etc?

I have grabbed a couple of days worth of output whilst a generic message shows in the DPS field and sat down to add a buncha stuff into the Text Replacing boxes but think, there has to be a better way! 

Any help anyone can offer is appreciated greatly.

Thanks!

-Joel

Jan

  • Hero Member
  • *****
  • Posts: 1056
Re: Need some more "cut after and including" fields
« Reply #1 on: February 06, 2013, 01:33:09 pm »
Similar to the case here http://pira.cz/forum/index.php?topic=161.0 the sample text can be processed this way:

Cut everything before (and including):-

Text replacing:
%S%CurrentEvent:%CLEAR%
Liner Bed%CLEAR%
, -

More options:
Remove song numbering ENABLED

Resulting output is following:
DPS1ENQ=PROMOS-WKND & IWT -
DPS1ENQ=
DPS1ENQ=My Eyes Adored You - Frankie Valli
DPS1ENQ=08 CHR TALK BED n6 - 08 CHR TALK BED n6
DPS1ENQ=
DPS1ENQ=I'll Be Around - Spinners
DPS1ENQ=I'm Alright - Kenny Loggins
DPS1ENQ=Spinning Wheel - Blood Sweat & Tears
DPS1ENQ=
DPS1ENQ=Carry On My Wayward Son - Kansas
DPS1ENQ=09 DEWAYNE DANCER1 LIVE Pre-Sell BED - DEWAYNE DANCER TALKOVER BED

joelwitkowski

  • Newbie
  • *
  • Posts: 13
Re: Need some more "cut after and including" fields
« Reply #2 on: February 07, 2013, 06:15:21 pm »
This doesn't quite get all of what I want to omit, and I am not sure I understand fully how the wildcard entries remove some of what I want to remove.  I want only the music song title and artist, I want to omit all the talk bed stuff and promos from the DPS.  Also, with remove song numbering enabled, I still get the numbers, and had to enter digits 0-9 in the Text Replacing field to kill those.

Jan

  • Hero Member
  • *****
  • Posts: 1056
Re: Need some more "cut after and including" fields
« Reply #3 on: February 07, 2013, 07:24:18 pm »
I fully agree. However I don't know any better solution for that case. I respect entirely if someone creates an own standard for text output. But I'm missing a description of that standard. Anything that enables us to really work, not only guess and attempt. Finally I don't think that there's a lack of features in the Magic RDS software for reading various text sources. Of course this does not mean that there always will be perfect text output from systems where any kind of meaningful text output has never been implemented or if the song database is obviously filled incompletely and without respecting of key rules.

I want to omit all the talk bed stuff and promos from the DPS.

Just enter the word " bed" (incl. the space) into the text replace tool. That also solves a lot of the numbering problems.

Final result:
DPS1ENQ=PROMOS-WKND & IWT -
DPS1ENQ=
DPS1ENQ=My Eyes Adored You - Frankie Valli
DPS1ENQ=
DPS1ENQ=I'll Be Around - Spinners
DPS1ENQ=I'm Alright - Kenny Loggins
DPS1ENQ=Spinning Wheel - Blood Sweat & Tears
DPS1ENQ=
DPS1ENQ=Carry On My Wayward Son - Kansas

I have no idea what can be done better on this side.