PDA

View Full Version : Replay Media Catcher and Regex?


Erica!
05-13-2014, 10:32 PM
I am using Replay Media Catcher, and rtmpdump.exe as an external executable. These are my parameters:

-r "{url}" -o "{file}" --app "{app}" --flashVer "{flashVer}" --swfUrl "{swfUrl}" --tcUrl "{tcUrl}" --pageUrl "{pageUrl}" --playpath "{playPath}"

It used to work perfectly fine, but they changed something. Now it fails because of the {playPath} which I believe remains undefined. The good news is the playPath is in the URL, but just the end part of it. I need to take all of the text after the <break> tag, and pass it as the playPath. Here are the relevant logs of the stream failing, as well as what I need the playPath to become:

-r "RTMP://theurlofthestream.com/streaming<break>DynamicTextHere123"

Currently (bad):
--playpath "{playPath}"

Needed:
--playpath "DynamicTextHere123"

Any help would greatly be appreciated! Thanks!