These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Feature Request: load from file or url

user-573

Hi.

What a nice feature it can be
if user stretch its hands, take some valid bbc rtmp(t) DATA container file (or .rdf, or .xml, or valid DATA url)
and tell get_iplayer what to do, ah??

user-2

You can't locate any of those resources unless you already have a programme's PID. As long as you can download via PID with get_iplayer, there is no need for any of the above.

user-573

Friend,
I'm trying to find which way get_iplayer receives media DATA to download. I'm looking for an entry point. Please inform. Let's do business until.

The 1st example.
http://www.bbc.co.uk/iplayer/episode/b04lclfn

Available for 16 days

First, look inside the playlist http://www.bbc.co.uk/iplayer/playlist/b04lclfn
It says: unset
<noItems reason="postAvailability"/>

Although this episode plays on iPlayer!

Occasional error or sheer intention? There are too many similar ones, too many.

Now open the source of it, http://www.bbc.co.uk/iplayer/episode/b04lclfn in the Text Editor
and scroll to the bottom,
you will see some DATA ('pageMediators/episodeMediator':).

I think "vpid" (OR version_pid) is an essential,
it varies from time to time
depending on repeats, prolongations, et cetera.
Each of these times the new version_pid is generated.

See the example
http://www.bbc.co.uk/programmes/b00sfz04.rdf
(scroll to the bottom)
<po:version rdf:resource="/programmes/b00sfyz4#programme" />

<po:version rdf:resource="/programmes/b00x3ndh#programme" />
This time only the 2nd version_pid (version rdf:resource) is available.
See, there are 6 broadcasts were
http://www.bbc.co.uk/programmes/b00sfz04/broadcasts

So you should think and do something.

If this is not enough, let me know.

user-573

It seems that the only reason why get_iplayer can't download some episodes
is the entry point, that is $url = 'http://www.bbc.co.uk/iplayer/playlist/'.$1;

These playlists are fakes by and large.
thus is the result
No programmes are available for this pid with version(s): default

To verify my words
6 episodes are available on iPlayer http://www.bbc.co.uk/programmes/b006wz6r...des/player
.. BUT 5 out of 6 playlists are fakes

http://www.bbc.co.uk/iplayer/playlist/b01jk4jv ;true
Connecting ...
INFO: Connected...

http://www.bbc.co.uk/iplayer/playlist/b01jk4bx ;false
WARNING: No programmes are available for this pid with version(s): default

http://www.bbc.co.uk/iplayer/playlist/b00slpb6 ;false
WARNING: No programmes are available for this pid with version(s): default

http://www.bbc.co.uk/iplayer/playlist/b04lclfn ;false
WARNING: No programmes are available for this pid with version(s): default

http://www.bbc.co.uk/iplayer/playlist/b00sfz04 ;false
WARNING: No programmes are available for this pid with version(s): default

http://www.bbc.co.uk/iplayer/playlist/b007897x ;false
WARNING: No programmes are available for this pid with version(s): default

user-2

Let me save you some time. I am well aware of all the above, and get_iplayer has already been fixed. Just wait for the next release (coming soon) or get the code yourself as instructed elsewhere in the forum.

user-573

These forums are archived

See this post for further info