Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - newuser99

Pages: [1]
I just tried to open a link from  - I can\'t get it to open in Itunes and it won\'t work in VLC, and ffmpeg throws an error.

I will try some more options and them take this over to Geek Speak.

Help / Re: How to find Mediaselector ID using Programme ID
« on: February 28, 2015, 12:29:49 AM »
I can confirm adancy\'s suggestion to use for looking up the media selector data required to format a string to record a program, from the USA.  I just finished modifying and testing my application. It works for radio 1-6. I have not tried it on anything else. I am curious how you discovered the url. I used to get them from but those links are still showing the /4/ version.

The link contains a statement the the  that the /pc/ can be replaced with /journalism-http-tablet/ to get the HLS stream info. It works, but I don\'t know how to use the information. It does not work in Chrome 39.0.2171.95 (64-bit) or  VLC 2.0.1 (Mac) does not know what to do with it either.

I use an application i wrote in Smalltalk to create a shell script that looks like this:

 /opt/local/bin/rtmpdump -r \"rtmp://\" -a \"a5999/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=prod_rb2_flv_aac_low_intl/iplayerstream/p02jl7v4_b052hjqb_1424099656057.mp4&et=1425085114&fmta-token=85c25129a7e2d4588bf207c6bfd1bd1d2a9dfa93aa7f4f53a8229470bc7f107d\" -y \"mp4:prod_rb2_flv_aac_low_intl/iplayerstream/p02jl7v4_b052hjqb_1424099656057.mp4\" -o /Volumes/MediaVault/BBC/546704379.flv ; /opt/local/bin/ffmpeg -loglevel quiet  -i /Volumes/MediaVault/BBC/546704379.flv -c copy -copyts /Volumes/MediaVault/BBC/Phonophone.mp4 ; rm /Volumes/MediaVault/BBC/546704379.flv

This is a snippet of the code that produces it:
(connection is a Dictionary that contains the attributes of the connection tag)

dQuote := \'\"\'
defaultDestination =
supplier  := connection at: #supplier.
protocol  := connection at: #protocol.
authExpires   := connection at: #authExpires.
authString  := connection at: #authString.
priority  := connection at: #priority.
server  := connection at: #server.
application  := connection at: #application.
identifier  := connection at: #identifier.
flvFileName := randomString, \'.flv\'.
mp4Filename := fileName.
cmdLine := \'/opt/local/bin/rtmpdump -r \' , dQuote, protocol, \'://\', server, \':1935/\',  application, \'?\', authString, dQuote, \' -a \', dQuote, application, \'?\', authString, dQuote, \' -y \"\', identifier, dQuote,  \' -o \', defaultDestination, flvFileName, \' ; /opt/local/bin/ffmpeg -loglevel quiet  -i \', defaultDestination, flvFileName, \' -c copy -copyts \', defaultDestination, mp4Filename, \' ; rm \', defaultDestination, flvFileName.

I was only able to do this because I saw a command line example somewhere. Note the command line is three separate commands: rtmpdump, ffmpeg, and rm


Help / Re: How to find Mediaselector ID using Programme ID
« on: December 26, 2014, 09:39:53 PM »

For people who are interested in locating a mediaselector for programs that are available for listening from the BBC, This is an example good place to start: \"\". It is an index of programs in the music genra which are currently available. It contains xml program elements for types= episode, brand, and series. You have do additional steps for brand and series, but for episodes you can navigate to the mediaselector like this.

1. From the program tag in the player link above (from 12/26/2014 - the files are updated frequently), copy the value of the episode pid == b04t0syd

(Don\'t Fight It) Feel it - The Sam Cooke Story
Marking the 50th anniversary of the death of Sam Cooke, aka the King of Soul.



2. Use the episode pid to look up the program information by plugging it into a program information link. and finding the tag. Copy the  value of the tag where canonical = \"1\" == b04t0sy9


Original version



Original version


3.   Plug canonical into the mediaselector url

This is what I see in the USA. You can select two different encoding options from the . I have used both. The WMA9 stream can be saved directly to a file, but it is written in real time. The AAC stream has to be processed by a decoding program. I use ffmpeg

4. Copy the href attribute from the connection tag and use it in your favorite listening environment.

Happy Programming!


\"ONLY ISSUE THOUGH, local radio stations, including BBC LONDON, still do not work. I\'m hoping John-Reed will be able to suggest something similar for the local stations too.\"

I believe that the work around I suggested does not work for the local links because a different naming convention is used in the local environment than the one that is used in the national station environment.

The work around is working to redirect the server name, but the path name itself does not resolve.

If I could see an example of a valid link from before this addressing kertuffle began, I might be able to come up with something, but for now I am stimied.

I know that there are a bunch of xml files hiding out in the various BBC station directories, but I am still trying to figure out how they can be used. I do know, however, that it is possible to drill through to find a playable international  link for the national stations so maybe I can find them for local stations as well.

Does anyone else out there have any knowledge or experience with them?

Personal Blog Entry from:
Saturday, July 09, 2011
I am still struggling to figure out the way to get the proper PID for the international links using the XML files provided by the BBC.

Right now it looks like this is as close as I can come:

Because the play it again links are only good for seven days, this details of this example will soon be stale, but it is better than nothing.

On the web site:, there is a link to the program \"Jenny Stephens\' Project Archangel, Episode 4 - The reason for Mike\'s involvement with the Nablovski colony is revealed. (4/4) [6 days 14 hours]\" which is \"\"

On the web site:\" there is a reference to the show, but the pid is listed as b00wmznd. Tantalizingly close, but...

More research has revealed some more information. The link has an entry that displays the value b00wmzn1 in the tag b00wmzn11800Original version.

I think that this is what I need to be able to design an application that will use the data from the BBC XML files to build a command line string to record a show.
--- snip

If anyone finds this interesting, let me know and we can take this particular discussion to a new thread.



Thanks to everyone who is participating in this thread.

My partial work around is to add an entry to my hosts file to redirect the url to the ip address I am running Mac OS X 10.6.8, but the technique should work on any platform on which you have access to the hosts file. I followed instructions from which I found

The entry I added is:
\"\" (Double quote marks are added for clarity only, they are not part of the actual entry.

-- prior to edit change
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=48 time=157.813 ms

PING ( 56 data bytes
Request timeout for icmp_seq 0

-- after edit change

PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=48 time=503.030 ms

-- Discussion

1. The problem that I am experiencing is a result of a change that has been made by the BBC.
2. The International program links are still active and contain correct information

3. From an entry on on 4/1/2012 - 13:00 MST/USA (This is BBC Listen Again - International (not UK!) WMA Links).

Archive on 4, Greece: An Unquiet History  - Writer Maria Margaronis asks if the spectre of Greece\'s past haunts its current nightmares [6 days 2 hours]

The link points to[which contains the following text:
--- start
  (c) British Broadcasting Corporation

--- end

The problem is that the contents of this file refer to to \"wm-acl\". This is the error, the correct string should be \"wm\".

The change that I made to my hosts file forces the address resolution to the correct ip address.

I hope someone finds this information helpful.



Help / BBC 7 Listen Again - Intl Links Incorrect
« on: April 24, 2010, 10:23:26 PM »

I have noticed lately that there a lot of incorrect links on this page:

example: Alistair Cooke - Letter from America, Thu 29 Nov - The legendary broadcaster recalls his friend Groucho Marx and watching Bing Crosby work. [4 days 19 hours]


Pages: [1]