[ANN] get_iplayer 2.90 released

2014-11-02 Thread dinkypumpkin
Forgot to fix the damned Web PVR Manager for damned ancient Perls. 
Upgrade from 2.89 isn't an immediate concern for you unless you use the 
Web PVR manager with perl 5.10.0 or below.


Release notes are the same:

https://github.com/dinkypumpkin/get_iplayer/wiki/release289

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Windows Installer: AtomicParsley download location changed due to download failure

2014-11-02 Thread dinkypumpkin
BitBucket borked the AtomicParsley download used by the Windows 
installer.  It looks like they've blocked it unless you download from 
their site, but I'm not sure what is going on.  It could just be some 
temporary problem.  They've broken the download before, so I've 
relocated AtomicParsley and it appears to be working again.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: [ANN] get_iplayer 2.89 released

2014-11-02 Thread Owen Smith
I'm intrigued about the lack of episode thumbnails for radio. Looking in my 
iPlayer plugin for Logitech Media Server (aka Squeezebox Server) there are 
episode thumbnails shown next to all episodes bar one on a random selection of 
days of Radio 3. This is public domain third party code, nothing to do with the 
BBC, so there are thumbnails available somewhere. I've been told the plugin 
uses the officially supported xml schedule feed.

-- 
Owen Smith 
Cambridge, UK

On 2 Nov 2014, at 23:06, dinkypumpkin  wrote:

> get_iplayer 2.88 was withdrawn due to a bug found after it was released for 
> Homebrew.  v2.89 is the successor to v2.87.
> 
> Release notes here:
> 
> https://github.com/dinkypumpkin/get_iplayer/wiki/release289
> 
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: [ANN] get_iplayer 2.89 released

2014-11-02 Thread Madeline
I've often wondered, and I suspect you're now in a position to know,
when you walk on water, do your feet still get wet?

Excellent stuff ... I am in awe.

On Mon, Nov 3, 2014, at 12:06 PM, dinkypumpkin wrote:
> get_iplayer 2.88 was withdrawn due to a bug found after it was released 
> for Homebrew.  v2.89 is the successor to v2.87.
> 
> Release notes here:
> 
> https://github.com/dinkypumpkin/get_iplayer/wiki/release289
> 
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

-- 
  Madeline
  madel...@operamail.com

-- 
http://www.fastmail.fm - IMAP accessible web-mail


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


duplicated pid

2014-11-02 Thread Mable Syrup
So, trying to download "in search of professor moriarty": 
(http://www.bbc.co.uk/programmes/b0080rwc)

get_iplayer --get --type=radio --pid b0080rwc

and get error message
"INFO: Sherlock Holmes - The Adventure of the Veiled Lodger - Sherlock Holmes - 
The Adventure of the Veiled Lodger (b0080rwc) Already in history 
(/home/administrator/.get_iplayer/download_history) - use --force to override"

i.e., a different, but related, programme.  Added the --force and get
"INFO: Trying flashaacstd1 mode to record radio: Sherlock Holmes - In Search of 
Professor Moriarty"

and the right programme comes down the pipe.

Has anyone seen duplicated pids before - I thought they were unique?


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: [ANN] get_iplayer 2.89 released

2014-11-02 Thread Paul Phillips
Cache loaded in seconds. I tried radio and tv shows, worked
flawlessly. This is on Windows/web pvr

A big thank you for fixing it so quickly.


On 2 November 2014 23:06, dinkypumpkin  wrote:
> get_iplayer 2.88 was withdrawn due to a bug found after it was released for
> Homebrew.  v2.89 is the successor to v2.87.
>
> Release notes here:
>
> https://github.com/dinkypumpkin/get_iplayer/wiki/release289
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
Paul Phillips

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: [ANN] get_iplayer 2.89 released

2014-11-02 Thread SquarePenguin

On 2 Nov 2014, at 23:06, dinkypumpkin wrote:

get_iplayer 2.88 was withdrawn due to a bug found after it was 
released for Homebrew.  v2.89 is the successor to v2.87.


Release notes here:

https://github.com/dinkypumpkin/get_iplayer/wiki/release289


Great work, thanks for your efforts.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: confirm & excessive bounces

2014-11-02 Thread Roger Bell_West
On Sun, Nov 02, 2014 at 11:18:56PM +, Mable Syrup wrote:
>Anyone any suggestions as to what in particular is being bounced and if 
>there's any way I can tell yahoo not to bounce? 

Very quickly because it's off-topic: probably the daft Yahoo DMARC
policy (see
http://www.pcworld.com/article/2141120/yahoo-email-antispoofing-policy-breaks-mailing-lists.html
for example).

Yahoo will not change this. I fear you'll need to find a competent
email provider.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


confirm & excessive bounces

2014-11-02 Thread Mable Syrup
Received a message from get_iplayer-requ...@lists.infradead.org starting:

"Your membership in the mailing list get_iplayer has been disabled due
to excessive bounces The last bounce received from you was dated
31-Oct-2014"

Anyone any suggestions as to what in particular is being bounced and if there's 
any way I can tell yahoo not to bounce? 

Ta
Mable

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: some insights and thoughts

2014-11-02 Thread Peter Corlett
On Sun, Nov 02, 2014 at 11:56:38AM -0600, artisticforge . wrote:
[...]
> There are numerous other examples. Neil Gaiman's Neverwhere, Ben Moor's
> Undone series, EarthSearch series 1 & 2, The Paul Temple series, The Charles
> Paris Mysteries, and the Lord Peter Wimsey series, Doctor Who Audio Books
> from Big Finish Productions, Sebastian Bacziewicz's Pilgrim series and
> others.

> We both wonder how many users of get_iplayer also support the BBC with
> purchases of CDs and/or DVDs.  I tend to think that I am one of few.

I have been doing so in a fairly extensive manner, but BBC Worldwide are
currently not doing itself any favours by being hopeless at actually making
things available to buy. Indeed, it feels like if it's not Doctor Who or Top
Gear, they're just not interested in anything more than a token effort.

Take Neverwhere. Broadcast in April 2013 and Amazon informs it it was released
on CD in September 2013. Not exactly going out of their way to exploit the
post-broadcast buzz there, but not too bad so far.

Undone was broadcast in March 2006. It's still not available to buy. By April
2013 -- long after anybody but hardcore fans, who will have already torrented
it years beforehand -- it became available to rent and play a poor-quality
version on a restricted set of devices from Audible. For this user-hostile
service, Audible often even charge a premium over what I'd typically expect to
pay for CD audiobooks, whereas I'd expect something like a 70+% discount given
how restrictive it is on use.  I did enjoy listening to that when it was on,
but if the BBC expect me to buy a copy for a re-listen, they'd better hurry up
pressing some CDs or at least offer up some FLACs for sale.

EarthSearch. Only the first series is available on CD, with the second series
having been deleted. You can buy a second-hand copy from chancers on Amazon for
a mere sixty quid, none of which the BBC, actors, or authors will ever
see. I'll pass.

Paul Temple stuff is effectively also absent from Amazon. The usual second-hand
chancers at silly prices, plus Amazon saying "Not in stock; order now and we'll
deliver when available" which is code for "we've reordered from the BBC but
they failed to deliver". *Some* of it is on Audible at their usual rip-off
rental prices.

Charles Paris. Amazon is listing the CD at a quite reasonable £10.41 and with
Prime it would be in my hands on Tuesday. Audible too for the suckers at
£11.54.  Another success in actually offering stuff for sale -- except I'm not
interested in this genre.

I could check on the others, but I'm not actually interested in buying (or
pirating!) any of those either. The picture is going to be fairly similar
though.

Now, I'm more into comedy and I've got many crates of DVDs and CDs, primarily
of BBC content. But the BBC only release radio series in a haphazard fashion
and it's typically impossible for me to wave cash and complete a series. For
example, I can't buy CDs of the last series of Old Harry's Game or the last two
series of Nebulous to complete my collection of those. Other things I don't
bother buying at all because the availability of episodes is so haphazard. When
the only thing on offer is a handful of non-sequential loose episodes out of
the dozens broadcast or even just a single CD with a heavily-edited compilation
of programme fragments, I may as well just turn on the radio or fire up the
iPlayer website and take pot luck on what's currently in rotation.

But maybe Amazon are just being evil and artificially limiting supplies of
spoken-word CDs to push their Audible product? So let's potter over to
http://www.bbcshop.com/ which is run by BBC Worldwide itself. Go on, try and
find anything on that badly-designed site. Its over-reliance on JavaScript
makes navigation so brittle that one is often presented with a blank page. Or
the search "helpfully" corrects to things you don't want:

  "Search results for nebulous was corrected to fabulous"

Thanks, but I already have the AbFab DVDs. It has its moments, but it's no
Graham Duff and Mark Gatiss. I can't even idly rifle categories for things I
might be interested in because they're so broad that it's lost amongst stuff
I've already got or don't want, and even a determined exhaustive search would
be foiled by the brittle JavaScript. Unless it's bloody Doctor Who or Top Gear,
which have their own special top-level navigation, you can forget having a
stress-free direct purchase from the BBC. I've never gotten as far as
check-out, but I bet it's just as customer-hostile as the rest of it.
Half-jobbed sites like that are the reason why Amazon dominate online sales.

Now, some of this availability mess is due to AudioGO going bust last year
rather than the BBC's fault, so the spotty availability is down to whatever
happens to be still in the distribution channel, but its replacement of "BBC
Physical Audio" isn't exactly picking up where it left off. There has been a
burst of enthusiasm to get a whole load of new s

Re: We should be grateful ( was Re: A message from Auntie )

2014-11-02 Thread artisticforge .
Hello;

I remember valves (tubes) and discrete transistors. ;-)
best wireless i had was valves (tubes)


On Sun, Nov 2, 2014 at 2:55 PM, Peter S Kirk  wrote:
> On 1 Nov 2014 at 22:27, Owen Smith Owen Smith 
> wrote:
>
>> This is a problem the BBC should have foreseen. As soon as you put software 
>> into embedded devices like TVs or PVRs,
>> either you have to support it for at least 10 years or you will break 
>> someone's viewing experience. It appears to me
>> that insufficient thought was given to this. I've been in the software 
>> industry for nearly 30 years and I foresaw
>> problems like this about 3 years ago.
>
> Very true and the main reason I delay purchasing any new devices until the
> technology, software etc has matured. We've seen this before with early
> Freeview boxes becoming obsolete due to EPG and other changes. Prior to
> that the change from analogue to digital made millions (?) of satellite
> receivers obsolete. Plus the obsolescence of tied hardware such as
> OnDigital and Maxwell's BSB squariel receivers and dishes.
>
> Even if some manufacturers do release a firmware update, a significant
> proportion of owners will never know and even if they do the instructions
> to apply it will be gobbledygook for them (eg my mum and brother)
>
> Your "been in the software industry for nearly 30 years" made me think.
> Same here, been in IT since 1984.
>
> Cheers,
>
> Peter
>
> 15GB + 5GB bonus Free cloud storage, no credit card details required.
> 5GB bonus for both for using NEW referal link https://copy.com?r=ccgBsB
>
> Cloud storage space and app provided by https://www.barracuda.com
> Files are stored on Barracuda's own servers, not amazon/aws or other third
> party as most including Dropbox use
>
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


[ANN] get_iplayer 2.89 released

2014-11-02 Thread dinkypumpkin
get_iplayer 2.88 was withdrawn due to a bug found after it was released 
for Homebrew.  v2.89 is the successor to v2.87.


Release notes here:

https://github.com/dinkypumpkin/get_iplayer/wiki/release289

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: some insights and thoughts

2014-11-02 Thread Peter S Kirk
On 2 Nov 2014 at 22:43, Budgie Budgie  wrote:

> There are 
> likely to be an increasing number of younger viewers who will however 
> latch on to the time shift loophole and cease paying for licence. I 
> remember when I was a student, friends using similar dodges to avoid 
> trunk telephone calls etc.

Military too, when TV licensing turn up at a barracks they are admitted 
after senior officer on duty has approved. In the meantime, an annoucement 
is made for all persoanel to return to their rooms/dorms for a TV License 
inspection.

Cheers,

Peter

15GB + 5GB bonus Free cloud storage, no credit card details required.
5GB bonus for both for using NEW referal link  https://copy.com?r=ccgBsB

Cloud storage space and app provided by https://www.barracuda.com
Files are stored on Barracuda's own servers, not amazon/aws or other third 
party as most including Dropbox use



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: some insights and thoughts

2014-11-02 Thread Budgie

On 02/11/14 17:56, artisticforge . wrote:

Hello

I have been talking with a friend, who is a presenter on BBC Radio 4
Extra. about the changes at the BBC.

For the past year I have noticed that changes have been made to
provide information where program episodes may be purchased.

Music programs have the "Playlist" detailing the music played and
where it may be purchased.

We both agree that the BBC archives are a Treasury trove that is worth
a good deal of £.

I have purchased many audiobooks off iTunes and amazon.co.uk.

We both are of the opinion that the BBC is making changes to protect
the archives from being blundered.

who is going to purchase the "Journey into Space - Operation Luna",
"Journey into Space - The Red Planet" and "Journey into Space - The
World in Peril"  series when they can download it off numerous web
sites? what is scary is that I can remember when the they were first
broadcast. ;-)

There are numerous other examples. Neil Gaiman's Neverwhere, Ben
Moor's Undone series, EarthSearch series 1 & 2, The Paul Temple
series, The Charles Paris Mysteries, and the Lord Peter Wimsey series,
Doctor Who Audio Books from Big Finish Productions, Sebastian
Bacziewicz's Pilgrim series  and others.

We both wonder how many users of get_iplayer also support the BBC with
purchases of CDs and/or DVDs.

I tend to think that I am one of few.

I too remember the excitement of listening to the original broadcasts of 
Journey Into Space (well some of them) and have recently purchased the 
CD.  Sadly the original first series recording was lost I understand but 
a revised edition made some time later.  Still not had time to listen to 
the CD!!!


I understand your point about the value of the archives and the threat 
of them being blundered (sic) but we GiP fans are a small group and I 
feel do not represent a threat.  I believe it is the licence fee leakage 
that is the issue.  BBC will not wish to seek a change in legislation as 
that will open up a debate they do not want about the fee.   There are 
likely to be an increasing number of younger viewers who will however 
latch on to the time shift loophole and cease paying for licence. I 
remember when I was a student, friends using similar dodges to avoid 
trunk telephone calls etc.


Budgie


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Pids Not

2014-11-02 Thread Computing

Hi, I'm sorry, I seem to have got the wrong end of the stick.
Yes, various Hancock stuff downloads fine, but then I found
--pid-recursive, that I'd never seen before, it looked like it could 
scoop up loads of Hancocks.


Sorry again as this message has been posted under "Pids Not Downloading" 
as well

Martin
--
Please can you join the campaign
 
to save the weekly bus to Keswick.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Pids Not Downloading

2014-11-02 Thread Computing

Hi, I'm sorry, I seem to have got the wrong end of the stick.
Yes, various Hancock stuff downloads fine, but then I found
--pid-recursive, that I'd never seen before, it looked like it could 
scoop up loads of Hancocks.


Sorry again as this message has been posted under "Pids not" as well
Martin
--
Please can you join the campaign
 
to save the weekly bus to Keswick.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: We should be grateful ( was Re: A message from Auntie )

2014-11-02 Thread Peter S Kirk
On 1 Nov 2014 at 22:27, Owen Smith Owen Smith  
wrote:

> This is a problem the BBC should have foreseen. As soon as you put software 
> into embedded devices like TVs or PVRs,
> either you have to support it for at least 10 years or you will break 
> someone's viewing experience. It appears to me
> that insufficient thought was given to this. I've been in the software 
> industry for nearly 30 years and I foresaw
> problems like this about 3 years ago.

Very true and the main reason I delay purchasing any new devices until the 
technology, software etc has matured. We've seen this before with early 
Freeview boxes becoming obsolete due to EPG and other changes. Prior to 
that the change from analogue to digital made millions (?) of satellite 
receivers obsolete. Plus the obsolescence of tied hardware such as 
OnDigital and Maxwell's BSB squariel receivers and dishes.

Even if some manufacturers do release a firmware update, a significant 
proportion of owners will never know and even if they do the instructions 
to apply it will be gobbledygook for them (eg my mum and brother)

Your "been in the software industry for nearly 30 years" made me think. 
Same here, been in IT since 1984.

Cheers,

Peter

15GB + 5GB bonus Free cloud storage, no credit card details required.
5GB bonus for both for using NEW referal link https://copy.com?r=ccgBsB

Cloud storage space and app provided by https://www.barracuda.com
Files are stored on Barracuda's own servers, not amazon/aws or other third 
party as most including Dropbox use


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Dirk Husemann

On 2014-11-02 20:22, Jeremy Nicoll - ml get_iplayer wrote:
> Dirk Husemann  wrote:
>
>> On 2014-11-02 19:49, Jeremy Nicoll - ml get_iplayer wrote:
>>> Interesting, but not a schedule.  You already knew the pid...
>> which you can get from the iplayer guide page:
>> http://www.bbc.co.uk/iplayer/guide/bbc/20141029
> Yes, but the point of the thread is finding ways to extract all this info
> from the bbc (to build a searchable list of available programmes, which is
> what get_iplayer's radio.cache and tv.cache files were) without scraping
> complicated and - potentially - ever-changing internal format webpages.
exactly, so we should take a look at how the iplayer webapp is working -
the feeds will be gone sooner rather than later, the iplayer webapp is
probably going to stay, so..

% http://www.bbc.co.uk/iplayer/guide/bbc/20141029 | grep /iplayer/episode

this will return all iplayer hrefs for 29 october, from which we can
extract the PID and then access the JSON info.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Charles Johnson
On 02/11/14 18:47, Sharon Kimble wrote:
> --8<---cut here---start->8---
> wget -q -O - 
> http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq '.[] 
> | .[] | .[] | .[] | .programme as $P | 
> $P.display_titles.title,$P.short_synopsis,$P.pid' | tail - 6
>
> --8<---cut here---end--->8---
Sharon - have a look at your tail command - it's missing an 'n'. Should be

wget -q -O - http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json 
| jq '.[] | .[] | .[] | .[] | .programme as $P | 
$P.display_titles.title,$P.short_synopsis,$P.pid' | tail -n 6

You might like to try the following, which will produce pipe-delimited
csv, which is like a mini version of the cache index:

 wget -q -O - 
http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq '.[] | 
.[]  | .[] | .[] as $B | $B.programme as $P | 
$P.display_titles.title+"|"+$B.start+"|"+$B.end+"|"+$P.short_synopsis+"|"+$P.pid'
 | tr -d '"'

Having said all that, it looks like this is redundant really as
http://packages.hedgerows.org.uk/gip/get_iplayer.pl provides a patch
that uses the schedules to build an index. I have symlinked to that pro-tem.

Charles

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
Dirk Husemann  wrote:

>On 2014-11-02 19:49, Jeremy Nicoll - ml get_iplayer wrote:

>> Interesting, but not a schedule.  You already knew the pid...
>
>which you can get from the iplayer guide page:
>http://www.bbc.co.uk/iplayer/guide/bbc/20141029

Yes, but the point of the thread is finding ways to extract all this info
from the bbc (to build a searchable list of available programmes, which is
what get_iplayer's radio.cache and tv.cache files were) without scraping
complicated and - potentially - ever-changing internal format webpages.

-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Dirk Husemann

On 2014-11-02 19:49, Jeremy Nicoll - ml get_iplayer wrote:
> Dirk Husemann  wrote:
>
>> this one seems to work:
>>
>> % curl -v -v http://www.bbc.co.uk/iplayer/js/episode/b04nhkz9
>>
>> GET /iplayer/js/episode/b04nhkz9 HTTP/1.1
> Interesting, but not a schedule.  You already knew the pid...

which you can get from the iplayer guide page:
http://www.bbc.co.uk/iplayer/guide/bbc/20141029


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: some insights and thoughts

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
"artisticforge ."  wrote:

> We both wonder how many users of get_iplayer also support the BBC with
> purchases of CDs and/or DVDs.

I don't but then in the days of using a VCR I didn't buy BBC tapes either
and I often recorded bits of radio output on my own cassettes.

OTOH I do pay the licence fee, and personally I think it's far too little
for the vast amount of material that we all get for it.

Compare that with, say, the cost of a single cinema ticket.

-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
Sharon Kimble  wrote:


>Thanks for this Charles. With your last command
>
>--8<---cut here---start->8---
>wget -q -O -
http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq '.[]
| .[] | .[] | .[] | .programme as $P |
$P.display_titles.title,$P.short_synopsis,$P.pid' | tail - 6
>
>--8<---cut here---end--->8---
>
>It is failing for me  saying
>
>╭
>│parse error: Invalid numeric literal at line 1, column 10
>╰
>
>Presumably its referring to "-O", but what should it be please to
>get it working properly?

Are you sure that the " tail - 6" is right?  It looks different from the
OP's "| tail -n 6"

Though if that's the problem I don't quite see why the parse error would
mention column 10.

Do the separate stages of the command work for you, before pipelineing them
together?

-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Multiple pids - another way, in some cases

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
roadcone  wrote:

> ...  then it tells me that they are all in my download history.

You'd need to code  --force   to stop get_iplayer from stopping because it
found (from the download history) that you've already downloaded those
items.
 
-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
Dirk Husemann  wrote:

>this one seems to work:
>
>% curl -v -v http://www.bbc.co.uk/iplayer/js/episode/b04nhkz9
>
>GET /iplayer/js/episode/b04nhkz9 HTTP/1.1

Interesting, but not a schedule.  You already knew the pid...

-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Sharon Kimble
Charles Johnson  writes:

> On 02/11/14 08:52, Chris Allison wrote:
>> Peter,
>>
>> some good ideas there, but there is no need to scrape the web pages
>> when all the schedule info you could possibly need is available in
>> xml, json and yaml files at urls of this form:
>>
>> www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
>> www.bbc.co.uk/radio4extra/programmes/schedules/2014/11/1.json
>> www.bbc.co.uk/bbcfour/programmes/schedules/last_week.json
>>
>> etc.
> Thanks for that Chris. Have been excited enough by that first link into
> experimenting with the json parsing utility called 'jq'.
>
> A pipeline like the following will produce all the titles, pids and
> synopses:
>
> wget -O -
> http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq
> '.[] | .[] | .[] | .[] | .programme as $P |
> $P.display_titles.title,$P.short_synopsis,$P.pid'
>
> So, just a 6-line tail with
>
> wget -q -O -
> http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq
> '.[] | .[] | .[] | .[] | .programme as $P |
> $P.display_titles.title,$P.short_synopsis,$P.pid' | tail -n 6
>
> will get you the following:
>
> 
> "The Film Programme"
> "Director Mike Leigh discusses art and movie-making in his latest film
> Mr Turner."
> "b04mgxtq"
> "Something Understood"
> "Mark Tully debates the cultural benefits of classical music with
> composer James MacMillan."
> "b04n2fmh"
> 
>
Thanks for this Charles. With your last command

--8<---cut here---start->8---
wget -q -O - http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json 
| jq '.[] | .[] | .[] | .[] | .programme as $P | 
$P.display_titles.title,$P.short_synopsis,$P.pid' | tail - 6

--8<---cut here---end--->8---

It is failing for me  saying

╭
│parse error: Invalid numeric literal at line 1, column 10
╰

Presumably its referring to "-O", but what should it be please to
get it working properly?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0


signature.asc
Description: PGP signature
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Multiple pids - another way, in some cases

2014-11-02 Thread roadcone

On 02/11/14 00:18, Nick Payne wrote:

That method doesn't seem to work for me - for TV, anyway. For example,
BBC4 have a number of blues programs available in their archive (see



). If I try to use the

p01m79bn pid, I get the following:

 >get_iplayer --pid=p01m79bn --pid-recursive --output
D:\Users\Nick\Videos --tvmode=best

get_iplayer v2.87, Copyright (C) 2008-2010 Phil Lewis
   This program comes with ABSOLUTELY NO WARRANTY; for details use
--warranty.
   This is free software, and you are welcome to redistribute it under
certain
   conditions; use --conditions for details.

WARNING: rdf URL contained no data
WARNING: PID URL contained no RDF data. Trying to record PID directly.
INFO: Trying pid: p01m79bn using type: tv
INFO: Trying to stream pid using type tv
INFO: pid not found in tv cache
Matches:

INFO: 1 Matching Programmes
ERROR: Failed to get version pid metadata from iplayer site


Hello Nick,

Not tried this out lately on TV, but only on radio. If I try it on
Peaky Blinders:

http://www.bbc.co.uk/iplayer/episodes/b045fz8r

It lists both series, and provides a pid for each. If it try my
suggested command using the series 2 pid b04kkm8q then it tells
me that they are all in my download history.

If I try your pid then it fails, as you say.

So this is a mystery to me but it may be that the web page
you list is not a series page but a collection of several separate
programs, connected only by the subject matter.

Sorry I can't help further.

Clive



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: some insights and thoughts

2014-11-02 Thread Tom

On 02/11/14 17:56, artisticforge . wrote:

Hello

I have been talking with a friend, who is a presenter on BBC Radio 4
Extra. about the changes at the BBC.

For the past year I have noticed that changes have been made to
provide information where program episodes may be purchased.

Music programs have the "Playlist" detailing the music played and
where it may be purchased.

We both agree that the BBC archives are a Treasury trove that is worth
a good deal of £.

I have purchased many audiobooks off iTunes and amazon.co.uk.

We both are of the opinion that the BBC is making changes to protect
the archives from being blundered.

who is going to purchase the "Journey into Space - Operation Luna",
"Journey into Space - The Red Planet" and "Journey into Space - The
World in Peril"  series when they can download it off numerous web
sites? what is scary is that I can remember when the they were first
broadcast. ;-)

There are numerous other examples. Neil Gaiman's Neverwhere, Ben
Moor's Undone series, EarthSearch series 1 & 2, The Paul Temple
series, The Charles Paris Mysteries, and the Lord Peter Wimsey series,
Doctor Who Audio Books from Big Finish Productions, Sebastian
Bacziewicz's Pilgrim series  and others.

We both wonder how many users of get_iplayer also support the BBC with
purchases of CDs and/or DVDs.

I tend to think that I am one of few.



I paid my license at the time. Should I have to pay again?
I have a feeling they, like many others, will spend more money on 
attempting to control things that they cant - once its transmitted its 
out there. And more importantly more money spent tying things down they 
will bring in in revenue.
I can record things directly through iPlayer (or I could if my ADSL was 
up to it) but its very easy to run up a VM (kind of a computer within a 
computer) and record the screen and audio from that. They are fighting a 
loosing battle and we license payers are paying for their  stupidity.

Tom

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Dirk Husemann
this one seems to work:

% curl -v -v http://www.bbc.co.uk/iplayer/js/episode/b04nhkz9

GET /iplayer/js/episode/b04nhkz9 HTTP/1.1
> User-Agent: curl/7.37.1
> Host: www.bbc.co.uk
> Accept: */*
>
< HTTP/1.1 200 OK
* Server Apache is not blacklisted
< Server: Apache
< Content-Type: application/json
< Etag: "0336180592c132763a48612b843431b3"
< X-PAL-Host: pal120.telhc.bbc.co.uk:80
< X-Ua-Compatible: IE=edge
< Content-Length: 224
< Date: Sun, 02 Nov 2014 18:15:34 GMT
< Connection: keep-alive
< X-Cache-Action: MISS
< X-Cache-Age: 0
< Cache-Control: private, max-age=0, must-revalidate
< Vary: X-CDN,Accept-Language,Accept-Encoding
<
{ [data not shown]
100   224  100   2240 0858  0 --:--:-- --:--:--
--:--:--   864
* Connection #0 to host www.bbc.co.uk left intact
{"id":"b04nhkz9","title":"The Apprentice: You're
Fired","subtitle":"Series 10: Episode 4","synopsis":"Dara O Briain is
joined by Radio 1's Matt Edmondson and comedian Romesh
Ranganathan.","tleo":"b007qgcl","versions":["HD"]}

no deprecation warning there...


On 2014-11-02 17:24, artisticforge . wrote:
> hello;
>
> JSON, XML and YAML, all have the following in the header sent by the
> server which most people would never see.
>
> HTTP/1.1 200 OK
> Server: Apache
> Content-Type: application/x-yaml
> Access-Control-Allow-Origin: *
> X-PAL-Host: pal131.telhc.bbc.co.uk:80
> X-UA-Compatible: IE=edge
> X-Aps-Deprecation-Notice: APS is soon to be deprecated. It will first
> of all cease to be supported on a 24/7 basis, and will then cease
> responding entirely. Nitro is the BBC's new API for programme data,
> and can provide all the information previously provided by APS. Go
> here to read more: http://developer.bbc.co.uk/nitro
> Cache-Control: private, max-age=0, no-store
> Content-Length: 495441
> Date: Sun, 02 Nov 2014 16:17:13 GMT
> Connection: keep-alive
> X-Cache-Action: MISS
> X-Cache-Age: 0
> Vary: X-CDN,Accept-Encoding
>
> Basically, JSON, XML and YAML, may disappear at any time. We are then
> left in the same position that we have recently
> found ourselves.
>
> So one viable long term option is to start parsing the HTML version of
> the programme schedules.
>
> In my opinion it is better to start now than wait for "the sky is
> falling the sky falling we are doomed"
>
>
> On Sun, Nov 2, 2014 at 9:52 AM, Jeremy Nicoll - ml get_iplayer
>  wrote:
>> "Terry L. Ridder"  wrote:
>>
>>> Hello
>>>
>>> I may have missed something , but where is there any mention of the
>> www.bbc.co.uk website programme schedules going away?
>>
>> You've missed this: if a computer program grabs website pages and 'scrapes'
>> them, which is to say wades through all the rubbish that's there to make the
>> page look pretty, trying to extract only the data that says what the
>> tv/radio programmes are, their pids etc... it's
>>
>>   - complicated
>>   - slow
>>   - unreliable because as soon as the BBC alter how the webpages
>> work, the scraping programs might need altered
>>
>> So instead, programmers are concentrating on finding resources that contain
>> data without frills.  The stuff at:
>>
>>  www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
>>
>> and
>>
>>  www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.yaml
>>
>> and
>>
>>  www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.xml
>>
>>
>> (those three URLs are the same except for the last .xxx part) all yield data
>> that's much more immediately useful to programmers.  The first two are nasty
>> for a human to look at, the third is easier on the eye.  But as someone said
>> these simpler-to-use files are going to cease to exist; they're 'deprecated'
>> which is the term programmers use to mean "something that works now but soon
>> won't".
>>
>> --
>> Jeremy Nicoll - my opinions are my own.
>>
>> ___
>> get_iplayer mailing list
>> get_iplayer@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>
>


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


some insights and thoughts

2014-11-02 Thread artisticforge .
Hello

I have been talking with a friend, who is a presenter on BBC Radio 4
Extra. about the changes at the BBC.

For the past year I have noticed that changes have been made to
provide information where program episodes may be purchased.

Music programs have the "Playlist" detailing the music played and
where it may be purchased.

We both agree that the BBC archives are a Treasury trove that is worth
a good deal of £.

I have purchased many audiobooks off iTunes and amazon.co.uk.

We both are of the opinion that the BBC is making changes to protect
the archives from being blundered.

who is going to purchase the "Journey into Space - Operation Luna",
"Journey into Space - The Red Planet" and "Journey into Space - The
World in Peril"  series when they can download it off numerous web
sites? what is scary is that I can remember when the they were first
broadcast. ;-)

There are numerous other examples. Neil Gaiman's Neverwhere, Ben
Moor's Undone series, EarthSearch series 1 & 2, The Paul Temple
series, The Charles Paris Mysteries, and the Lord Peter Wimsey series,
Doctor Who Audio Books from Big Finish Productions, Sebastian
Bacziewicz's Pilgrim series  and others.

We both wonder how many users of get_iplayer also support the BBC with
purchases of CDs and/or DVDs.

I tend to think that I am one of few.


-- 
terry l. ridder ><>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Pids not

2014-11-02 Thread gerry smithson
You probably mean "The Missing Hancocks"

http://www.bbc.co.uk/programmes/b04ly39j



From: Computing 
To: get_iplayer@lists.infradead.org 
Sent: Sunday, 2 November 2014, 16:26
Subject: Pids not


Hi, I'm trying to download the Tony Hancock bits.

I've tried

get_iplayer --type=radio --output=Hancock --radiomode=best --get 
--pid=b009t2ld --pid-recursive --force

but it does not save any files, but generates the following message at 
the start.

get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
   This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
   This is free software, and you are welcome to redistribute it under 
certain
   conditions; use --conditions for details.

INFO: Brand pid detected
INFO:  Brand: 'Hancock's Half Hour' (b009t2ld)
INFO:Series: 'Series 5' (b01msflf)
INFO:  Episode 'The New Radio Series' (b007x041)
INFO:  Episode 'The Scandal Magazine' (b007jnbl)

and when it tries to download it fails with

INFO: Trying pid: b007x041 using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache
Matches:

INFO: 1 Matching Programmes
WARNING: No programmes are available for this pid with version(s): default
INFO: Trying pid: b007jnbl using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache

And carries on for all the programs that I was hoping to get.

Single Pids fail with

martin@martin-desktop:~$ get_iplayer --pid=b007jnbl --type=radio --force 
--get
get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
   This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
   This is free software, and you are welcome to redistribute it under 
certain
   conditions; use --conditions for details.

INFO: Episode-only pid detected
INFO: Trying pid: b007jnbl using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache
Matches:

INFO: 1 Matching Programmes
WARNING: No programmes are available for this pid with version(s): default

Can anyone offer any help??

Thanks for all the efforts of the get_iplayer team
Martin
-- 
Please can you join the campaign

to save the weekly bus to Keswick.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Pids Not Downloading

2014-11-02 Thread artisticforge .
hello

he is looking to bulk dowload hancock's half hour

there are no episodes available.

Hancock's Half Hour
http://www.bbc.co.uk/programmes/b009t2ld/episodes/guide

On Sun, Nov 2, 2014 at 10:58 AM, Jeremy Nicoll - ml get_iplayer
 wrote:
> Computing  wrote:
>
>>Hi, I'm trying to download the Tony Hancock bits.
>
> I've had a quick explore of the BBC website and can't find any such
> programme listed there...
>
> So... what radio station, and what programme name?
>
> If there's no programme offered on the website for a 'normal' user to use to
> listen to the programme, get_iplayer has no hope of downloading it.
>
>
>
> --
> Jeremy Nicoll - my opinions are my own.
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Pids Not Downloading

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
Computing  wrote:

>Hi, I'm trying to download the Tony Hancock bits.

I've had a quick explore of the BBC website and can't find any such
programme listed there...

So... what radio station, and what programme name?

If there's no programme offered on the website for a 'normal' user to use to
listen to the programme, get_iplayer has no hope of downloading it.



-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Pids not

2014-11-02 Thread artisticforge .
Hello

the answer is simple. there are no episodes available.

it is working exactly as it should.


On Sun, Nov 2, 2014 at 10:26 AM, Computing  wrote:
> Hi, I'm trying to download the Tony Hancock bits.
>
> I've tried
>
> get_iplayer --type=radio --output=Hancock --radiomode=best --get
> --pid=b009t2ld --pid-recursive --force
>
> but it does not save any files, but generates the following message at the
> start.
>
> get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
>   This program comes with ABSOLUTELY NO WARRANTY; for details use
> --warranty.
>   This is free software, and you are welcome to redistribute it under
> certain
>   conditions; use --conditions for details.
>
> INFO: Brand pid detected
> INFO:  Brand: 'Hancock's Half Hour' (b009t2ld)
> INFO:Series: 'Series 5' (b01msflf)
> INFO:  Episode 'The New Radio Series' (b007x041)
> INFO:  Episode 'The Scandal Magazine' (b007jnbl)
>
> and when it tries to download it fails with
>
> INFO: Trying pid: b007x041 using type: radio
> INFO: Trying to stream pid using type radio
> INFO: pid not found in radio cache
> Matches:
>
> INFO: 1 Matching Programmes
> WARNING: No programmes are available for this pid with version(s): default
> INFO: Trying pid: b007jnbl using type: radio
> INFO: Trying to stream pid using type radio
> INFO: pid not found in radio cache
>
> And carries on for all the programs that I was hoping to get.
>
> Single Pids fail with
>
> martin@martin-desktop:~$ get_iplayer --pid=b007jnbl --type=radio --force
> --get
> get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
>   This program comes with ABSOLUTELY NO WARRANTY; for details use
> --warranty.
>   This is free software, and you are welcome to redistribute it under
> certain
>   conditions; use --conditions for details.
>
> INFO: Episode-only pid detected
> INFO: Trying pid: b007jnbl using type: radio
> INFO: Trying to stream pid using type radio
> INFO: pid not found in radio cache
> Matches:
>
> INFO: 1 Matching Programmes
> WARNING: No programmes are available for this pid with version(s): default
>
> Can anyone offer any help??
>
> Thanks for all the efforts of the get_iplayer team
> Martin
> --
> Please can you join the campaign
> 
> to save the weekly bus to Keswick.
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Updated version of Get_Iplayer

2014-11-02 Thread Alan Milewczyk

On 02/11/2014 15:19, Jeremy Nicoll - ml get_iplayer wrote:

Alan Milewczyk  wrote:


I haven't seen one released since v2.79.

Is that a typo?  There's announcement messages posted to this mail list each
time there's a new release.

So - for the last few -

  v 2.85 on  6 Nov 2013
  v 2.86 on  6 Apr 2014
  v 2.87 on 19 Oct 2014


Oops sorry I was thinking of the release version of another totally 
unrelated program which is being updated!


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Pids Not Downloading

2014-11-02 Thread Computing

Hi, I'm trying to download the Tony Hancock bits.

I've tried

get_iplayer --type=radio --output=Hancock --radiomode=best --get 
--pid=b009t2ld --pid-recursive --force


but it does not save any files, but generates the following message at 
the start.


get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
  This is free software, and you are welcome to redistribute it under 
certain

  conditions; use --conditions for details.

INFO: Brand pid detected
INFO:  Brand: 'Hancock's Half Hour' (b009t2ld)
INFO:Series: 'Series 5' (b01msflf)
INFO:  Episode 'The New Radio Series' (b007x041)
INFO:  Episode 'The Scandal Magazine' (b007jnbl)

and when it tries to download it fails with

INFO: Trying pid: b007x041 using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache
Matches:

INFO: 1 Matching Programmes
WARNING: No programmes are available for this pid with version(s): default
INFO: Trying pid: b007jnbl using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache

And carries on for all the programs that I was hoping to get.

Single Pids fail with

martin@martin-desktop:~$ get_iplayer --pid=b007jnbl --type=radio --force 
--get

get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
  This is free software, and you are welcome to redistribute it under 
certain

  conditions; use --conditions for details.

INFO: Episode-only pid detected
INFO: Trying pid: b007jnbl using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache
Matches:

INFO: 1 Matching Programmes
WARNING: No programmes are available for this pid with version(s): default

Can anyone offer any help??

Thanks for all the efforts of the get_iplayer team
Martin
--
Please can you join the campaign

to save the weekly bus to Keswick.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

--
Please can you join the campaign

to save the weekly bus to Keswick.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Pids not

2014-11-02 Thread Computing

Hi, I'm trying to download the Tony Hancock bits.

I've tried

get_iplayer --type=radio --output=Hancock --radiomode=best --get 
--pid=b009t2ld --pid-recursive --force


but it does not save any files, but generates the following message at 
the start.


get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
  This is free software, and you are welcome to redistribute it under 
certain

  conditions; use --conditions for details.

INFO: Brand pid detected
INFO:  Brand: 'Hancock's Half Hour' (b009t2ld)
INFO:Series: 'Series 5' (b01msflf)
INFO:  Episode 'The New Radio Series' (b007x041)
INFO:  Episode 'The Scandal Magazine' (b007jnbl)

and when it tries to download it fails with

INFO: Trying pid: b007x041 using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache
Matches:

INFO: 1 Matching Programmes
WARNING: No programmes are available for this pid with version(s): default
INFO: Trying pid: b007jnbl using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache

And carries on for all the programs that I was hoping to get.

Single Pids fail with

martin@martin-desktop:~$ get_iplayer --pid=b007jnbl --type=radio --force 
--get

get_iplayer 2.87-3-g0ce62ba-ppa19a, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use 
--warranty.
  This is free software, and you are welcome to redistribute it under 
certain

  conditions; use --conditions for details.

INFO: Episode-only pid detected
INFO: Trying pid: b007jnbl using type: radio
INFO: Trying to stream pid using type radio
INFO: pid not found in radio cache
Matches:

INFO: 1 Matching Programmes
WARNING: No programmes are available for this pid with version(s): default

Can anyone offer any help??

Thanks for all the efforts of the get_iplayer team
Martin
--
Please can you join the campaign

to save the weekly bus to Keswick.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread artisticforge .
hello;

JSON, XML and YAML, all have the following in the header sent by the
server which most people would never see.

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-yaml
Access-Control-Allow-Origin: *
X-PAL-Host: pal131.telhc.bbc.co.uk:80
X-UA-Compatible: IE=edge
X-Aps-Deprecation-Notice: APS is soon to be deprecated. It will first
of all cease to be supported on a 24/7 basis, and will then cease
responding entirely. Nitro is the BBC's new API for programme data,
and can provide all the information previously provided by APS. Go
here to read more: http://developer.bbc.co.uk/nitro
Cache-Control: private, max-age=0, no-store
Content-Length: 495441
Date: Sun, 02 Nov 2014 16:17:13 GMT
Connection: keep-alive
X-Cache-Action: MISS
X-Cache-Age: 0
Vary: X-CDN,Accept-Encoding

Basically, JSON, XML and YAML, may disappear at any time. We are then
left in the same position that we have recently
found ourselves.

So one viable long term option is to start parsing the HTML version of
the programme schedules.

In my opinion it is better to start now than wait for "the sky is
falling the sky falling we are doomed"


On Sun, Nov 2, 2014 at 9:52 AM, Jeremy Nicoll - ml get_iplayer
 wrote:
> "Terry L. Ridder"  wrote:
>
>>Hello
>>
>>I may have missed something , but where is there any mention of the
> www.bbc.co.uk website programme schedules going away?
>
> You've missed this: if a computer program grabs website pages and 'scrapes'
> them, which is to say wades through all the rubbish that's there to make the
> page look pretty, trying to extract only the data that says what the
> tv/radio programmes are, their pids etc... it's
>
>   - complicated
>   - slow
>   - unreliable because as soon as the BBC alter how the webpages
> work, the scraping programs might need altered
>
> So instead, programmers are concentrating on finding resources that contain
> data without frills.  The stuff at:
>
>  www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
>
> and
>
>  www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.yaml
>
> and
>
>  www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.xml
>
>
> (those three URLs are the same except for the last .xxx part) all yield data
> that's much more immediately useful to programmers.  The first two are nasty
> for a human to look at, the third is easier on the eye.  But as someone said
> these simpler-to-use files are going to cease to exist; they're 'deprecated'
> which is the term programmers use to mean "something that works now but soon
> won't".
>
> --
> Jeremy Nicoll - my opinions are my own.
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread artisticforge .
Hello;

checking with wireshark, only the json and xml versions have the warning.

so yes, JSON and XML may go away at anytime but HTML will still be there.

So parsing the HTML will not as easy as JSON or XML; the parsing should still
provide the same results. So using the schedules is still a viable option.



On Sun, Nov 2, 2014 at 9:17 AM, Roger Bell_West  wrote:
> On Sun, Nov 02, 2014 at 09:10:57AM -0600, Terry L. Ridder wrote:
>>I may have missed something , but where is there any mention of the 
>>www.bbc.co.uk website programme schedules going away?
>
> As I said in the mail that you quoted, it's in the HTTP headers when
> you request the actual schedules. It's not announced on the web site
> itself as far as I know.
>
> (Please don't reply both to the list and to me. I read the list.)
>
> Roger
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
terry l. ridder ><>

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
"Terry L. Ridder"  wrote:

>Hello
>
>I may have missed something , but where is there any mention of the
www.bbc.co.uk website programme schedules going away?

You've missed this: if a computer program grabs website pages and 'scrapes'
them, which is to say wades through all the rubbish that's there to make the
page look pretty, trying to extract only the data that says what the
tv/radio programmes are, their pids etc... it's

  - complicated
  - slow
  - unreliable because as soon as the BBC alter how the webpages
work, the scraping programs might need altered

So instead, programmers are concentrating on finding resources that contain
data without frills.  The stuff at:

 www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json

and

 www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.yaml

and

 www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.xml


(those three URLs are the same except for the last .xxx part) all yield data
that's much more immediately useful to programmers.  The first two are nasty
for a human to look at, the third is easier on the eye.  But as someone said
these simpler-to-use files are going to cease to exist; they're 'deprecated'
which is the term programmers use to mean "something that works now but soon
won't". 

-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: [PATCH] Hack to enable finding programmes through programme schedules

2014-11-02 Thread Ian Smith

On 01/11/14 15:14, Jon Davies wrote:

below is a hack that uses last week's schedules (and stuff before
today in this week's schedules) to enable some degree of searching for
tv programmes.  Dinkypumpkin's proposed updates will almost certainly
provide a better solution, but this seems to be making the pvr work
again for me.  YMMV


I tried this and while it updated the radio cache it added
some index numbers over 2, which given that the search
only works up to 1, wasn't a total success. Increased
index_max to 2 and all worked fine.

Ian

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Updated version of Get_Iplayer

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
Alan Milewczyk  wrote:

> I haven't seen one released since v2.79.

Is that a typo?  There's announcement messages posted to this mail list each
time there's a new release.

So - for the last few -

 v 2.85 on  6 Nov 2013
 v 2.86 on  6 Apr 2014
 v 2.87 on 19 Oct 2014


-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Roger Bell_West
On Sun, Nov 02, 2014 at 09:10:57AM -0600, Terry L. Ridder wrote:
>I may have missed something , but where is there any mention of the 
>www.bbc.co.uk website programme schedules going away?

As I said in the mail that you quoted, it's in the HTTP headers when
you request the actual schedules. It's not announced on the web site
itself as far as I know.

(Please don't reply both to the list and to me. I read the list.)

Roger

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Terry L. Ridder
Hello

I may have missed something , but where is there any mention of the 
www.bbc.co.uk website programme schedules going away?

This will be sorted out. 
I am a happy camper, the Sunday morning programs came down as normal  and pain 
levels are manageable today, so all is good with the world.


Sent from my iPad
terry l. ridder ><>

> On Nov 2, 2014, at 7:17, Roger Bell_West  wrote:
> 
>> On Sun, Nov 02, 2014 at 08:52:09AM +, Chris Allison wrote:
>> some good ideas there, but there is no need to scrape the web pages
>> when all the schedule info you could possibly need is available in
>> xml, json and yaml files at urls of this form:
>> 
>> www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
>> www.bbc.co.uk/radio4extra/programmes/schedules/2014/11/1.json
>> www.bbc.co.uk/bbcfour/programmes/schedules/last_week.json
> 
> Please check the headers you get back from any such request, though:
> 
> X-Aps-Deprecation-Notice: APS is soon to be deprecated. It will first
> of all cease to be supported on a 24/7 basis, and will then cease
> responding entirely. Nitro is the BBC's new API for programme data,
> and can provide all the information previously provided by APS. Go
> here to read more: http://developer.bbc.co.uk/nitro
> 
> It's nice to have for now, but I wouldn't go building any serious
> infrastructure on it.
> 
> Roger
> 
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Updated version of Get_Iplayer

2014-11-02 Thread Jon Davies
On 2 November 2014 13:49, Alan Milewczyk  wrote:
> On 02/11/2014 13:18, Steve wrote:
>>
>> Ok,
>> I got the new version Get_Iplayer.pl and all seems well again, I only use
>> it for Radio 4 but all my PVR's jumped back into action and started
>> downloading again - Great Work DinkyPumpkin!
>> Is this a permanant fix, or will there be any more problems in the future?
>> Steve
>>
> What new version? I haven't seen one released since v2.79. I knew DP was
> going to release it sometime today but haven't yet seen this on the website
> and no official announcement here, unless I blinked and missed it!

I'm not sure either, unless he means the messy hack I released in my
email yesterday "[PATCH] Hack to enable finding programmes through
programme schedules".

that message, which includes a link to a sort-of-working get_iplayer,
is here: 
http://lists.infradead.org/pipermail/get_iplayer/2014-November/006393.html

I can't make "official" releases (I don't have access to the git
repository, and dp's been doing a really good job of maintaining
quality there), but I've rolled this patch into the ubuntu and
raspbian repositories I look after as a quick workaround.

For anyone else, see the links to a complete copy of the get-iplayer
script in the message.

Jon

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Solutions to loss of RSS feed

2014-11-02 Thread Jeremy Nicoll - ml get_iplayer
Budgie  wrote:

> If any of the team here knows whether the Favourites page can provide what
> I want please let me know.

I have no idea... but I do remember reading a lot of complaints when the
last big website revision happened, and the BBC didn't migrate all the info
people had stored in their old favourites mechanism into the new one.

So I'd suggest you keep notes of what you add, to reduce the pain if it all
suddenly goes missing.

-- 
Jeremy Nicoll - my opinions are my own.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Updated version of Get_Iplayer

2014-11-02 Thread Alan Milewczyk

On 02/11/2014 13:18, Steve wrote:

Ok,
I got the new version Get_Iplayer.pl and all seems well again, I only 
use it for Radio 4 but all my PVR's jumped back into action and 
started downloading again - Great Work DinkyPumpkin!
Is this a permanant fix, or will there be any more problems in the 
future?

Steve

What new version? I haven't seen one released since v2.79. I knew DP was 
going to release it sometime today but haven't yet seen this on the 
website and no official announcement here, unless I blinked and missed it!


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: PVR List

2014-11-02 Thread Mike Casswell
J wrote:

> The collection of simple text files are on my Win7 system at 
> C:\Users\[username]\.get_iplayer\pvr

Doh! I had assumed that the data was buried away in a file.

Thanks for that. I can now make a list of important stuff and be sure that 
I don't miss anything.

-- 
Mike Casswell



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Updated version of Get_Iplayer

2014-11-02 Thread Steve

Ok,
I got the new version Get_Iplayer.pl and all seems well again, I only 
use it for Radio 4 but all my PVR's jumped back into action and started 
downloading again - Great Work DinkyPumpkin!

Is this a permanant fix, or will there be any more problems in the future?
Steve

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Roger Bell_West
On Sun, Nov 02, 2014 at 08:52:09AM +, Chris Allison wrote:
>some good ideas there, but there is no need to scrape the web pages
>when all the schedule info you could possibly need is available in
>xml, json and yaml files at urls of this form:
>
>www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
>www.bbc.co.uk/radio4extra/programmes/schedules/2014/11/1.json
>www.bbc.co.uk/bbcfour/programmes/schedules/last_week.json

Please check the headers you get back from any such request, though:

X-Aps-Deprecation-Notice: APS is soon to be deprecated. It will first
of all cease to be supported on a 24/7 basis, and will then cease
responding entirely. Nitro is the BBC's new API for programme data,
and can provide all the information previously provided by APS. Go
here to read more: http://developer.bbc.co.uk/nitro

It's nice to have for now, but I wouldn't go building any serious
infrastructure on it.

Roger

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: searching the archives

2014-11-02 Thread Steven Maude

On 02/11/2014 11:13, Anthony Griffiths wrote:

can anyone tell me if there is a search function connected to the
get_iplayer mailing list archives? I want to search the archives for
info but all I can find so far is this:
http://lists.infradead.org/pipermail/get_iplayer/
which imho is not much help.


https://www.mail-archive.com/get_iplayer@lists.infradead.org/ will let 
you search the list. Alternatively, your preferred search engine likely 
supports: " site:lists.infradead.org/pipermail/get_iplayer".


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: PVR List

2014-11-02 Thread J

Mike Casswell wrote:

I have a large number of series and programmes saved in my PVR List.
Given the present circumstances, I would be grateful for any tips as to
a method for the extraction and stripping of all the

xxx_name_radio

and

_xx_name_radio

entries to a csv file or other usable format.

I'm using Windows 7.

The collection of simple text files are on my Win7 system at 
C:\Users\[username]\.get_iplayer\pvr


I just open one in Notepad++ then edit the search term and save under a 
revised name to create new pvr entries.



I would like to add my thanks to dinkypumpkin and others for all their
efforts. Much appreciated.


+1

Jon

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Solutions to loss of RSS feed

2014-11-02 Thread Budgie

On 02/11/14 06:42, Rob Dixon wrote:

On 01/11/2014 16:32, Budgie wrote:


Hi Rob,
Because I never use iPlayer I am not sure what functionality the BBC
offer but I have found the GiP PVR function invaluable for grabbing
radio programmes which I wish to hear but which are not necessarily on
at specific times.  I do not have time to pour over schedules.

Take for example Trollopes' Barchester Chronicles.  These are being
broadcast from time to time in groups according to length.  Having the
PVR set up for these I do not have to search through the schedules and
the episodes appear in my file from time to time.  I have a few other
likely candidate programmes which I download by default and then delete
the rubbish when I have time to listen.

I do not recall a similar functionality being available on iPlayer but
it is the only intelligent means of catering for people who are busy or
away from their computers for days at a time.  I wonder if this might
form the basis of an argument for gaining a Nitro Key to create an app
which provides a similar service?


Thank you, that's very helpful. It looks like the Nitro interface is a
BBC-only thing until next year at least, but I've tagged your email and
will use it for ammunition.

Rob



---
This email is free from viruses and malware because avast! Antivirus
protection is active.
http://www.avast.com



Hi Rob,
Thanks for the reply and glad my experience was helpful if not profound. 
 (I am still trying to keep up with the discussion at the same time as 
doing my books ready for the accountant.)


I later went back to the BBC site and noticed the tab for "Favourites" 
which looked as though it would serve my needs.  Enrolled as required 
and then tried to set up "Opera on 3" and "Afternoon on 3 - Thursday 
Opera Matinee", both of which worked (with correct syntax) on PVR.


I still have not worked out how to set this up using BBC Favourites. The 
BBC site is a nightmare; confusing issues with clips and excerpts and 
graphics I do not need and then not providing the simple feature I do 
want.  I shall refrain from a rant!!!


If any of the team here knows whether the Favourites page can provide 
what I want please let me know.  It would be really neat, and in keeping 
with everyones' objectives if one could use the BBC's own tools to give 
us at least part of what we need.


Budgie

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Charles Johnson
On 02/11/14 08:52, Chris Allison wrote:
> Peter,
>
> some good ideas there, but there is no need to scrape the web pages
> when all the schedule info you could possibly need is available in
> xml, json and yaml files at urls of this form:
>
> www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
> www.bbc.co.uk/radio4extra/programmes/schedules/2014/11/1.json
> www.bbc.co.uk/bbcfour/programmes/schedules/last_week.json
>
> etc.
Thanks for that Chris. Have been excited enough by that first link into
experimenting with the json parsing utility called 'jq'.

A pipeline like the following will produce all the titles, pids and
synopses:

wget -O -
http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq
'.[] | .[] | .[] | .[] | .programme as $P |
$P.display_titles.title,$P.short_synopsis,$P.pid'

So, just a 6-line tail with

wget -q -O -
http://www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json | jq
'.[] | .[] | .[] | .[] | .programme as $P |
$P.display_titles.title,$P.short_synopsis,$P.pid' | tail -n 6

will get you the following:


"The Film Programme"
"Director Mike Leigh discusses art and movie-making in his latest film
Mr Turner."
"b04mgxtq"
"Something Understood"
"Mark Tully debates the cultural benefits of classical music with
composer James MacMillan."
"b04n2fmh"


Regards,

Charles


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


searching the archives

2014-11-02 Thread Anthony Griffiths
can anyone tell me if there is a search function connected to the
get_iplayer mailing list archives? I want to search the archives for
info but all I can find so far is this:
http://lists.infradead.org/pipermail/get_iplayer/
which imho is not much help.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


PVR List

2014-11-02 Thread Mike Casswell
I have a large number of series and programmes saved in my PVR List. 
Given the present circumstances, I would be grateful for any tips as to 
a method for the extraction and stripping of all the

xxx_name_radio

and

_xx_name_radio

entries to a csv file or other usable format.

I'm using Windows 7.

I would like to add my thanks to dinkypumpkin and others for all their 
efforts. Much appreciated.

-- 
Mike Casswell



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: [ANN] get_iplayer search and PVR functions no longer work - no fix available

2014-11-02 Thread Peter Oliver
This reminds me: A while back I looked at making it possible to
download programmes with get_iplayer on Linux by clicking the
"Download Programme" link on the iPlayer website, but haven't yet got
around to polishing it up to the point where it would be ready to
merge.  It seems like this would now be especially useful.

If anyone has time to look at
https://github.com/dinkypumpkin/get_iplayer/pull/30, particularly if
they know how to plumb this in on Windows or MacOS, that would be
great.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Solutions to loss of RSS feed

2014-11-02 Thread Ian Sharp
Interesting...  The BBC respondent states:  "Public access is limited", which, 
if intended, is stepping down a little from the idea of 'BBC only'.

Ian.


> On 31 Oct 2014, at 23:55, David Lake (dlake)  wrote:
> 
> Check the banner at the top of the page.
> 
> 
> "Beta The BBC Developer site is currently open for registration to BBC 
> Employees. Account requests from other users are not currently being 
> activated. Please check back soon for more info."
> 
> Then check this post in the forum:
> 
> https://developer.bbc.co.uk/content/how-long-does-approval-process-take-nitro-app
> 
> -Original Message-
> From: get_iplayer [mailto:get_iplayer-boun...@lists.infradead.org] On Behalf 
> Of Rob Dixon
> Sent: 31 October 2014 16:52
> To: Stuart Henderson
> Cc: get_iplayer
> Subject: Re: Solutions to loss of RSS feed
> 
>> On 31/10/2014 23:12, Stuart Henderson wrote:
>>> On 2014/10/31 21:21, Rob Dixon wrote:
>>> - Write a new application that uses the Nitro API, ostensibly to 
>>> provide a different and more flexible way of viewing the BBC 
>>> schedule, but capable of exporting the information for use in 
>>> get_iplayer. This could even reconstruct the old XML RSS feeds, but I 
>>> don't see a reason to add such an awkward intermediate format.
>>> 
>>> This last option seems to me to be the most likely to succeed. I have 
>>> applied for a licence for my own use and I shall be experimenting 
>>> with what is possible. After some experimentation I will be glad to 
>>> add an export along the lines I have described, to be specified by 
>>> those responsible for get_iplayer.
>> 
>> Whether or not this could export something that would be useful to 
>> get_iplayer, it would be useful in itself. I've certainly used 
>> get_iplayer a few times to look for programmes of interest because the 
>> search facilities areslightly better than the BBC's website ;)... 
>> and then gone to watch them using a BBC-Approved Method.
> 
> Precisely, and I assume I would have no problem getting a licence to write 
> something of that sort. The fact that it may export something that could be 
> useful for get_iplayer is incidental.
> 
> Rob
> 
> 
> 
> ---
> This email is free from viruses and malware because avast! Antivirus 
> protection is active.
> http://www.avast.com
> 
> 
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
> 
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: is get_iplayer dead?

2014-11-02 Thread Roger Bell_West
On Sun, Nov 02, 2014 at 09:56:29AM +, Anthony Griffiths wrote:
>what's the situation? is there a replacement program that works?
>thanks for  any advice.

Please read recent list traffic where this has all been discussed at
some length. If you're new to the list, you could start at
http://lists.infradead.org/pipermail/get_iplayer/2014-October/006240.html
.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


is get_iplayer dead?

2014-11-02 Thread Anthony Griffiths
hi, I used get_iplayer a couple of years ago but today I downloaded
v2.87 on centos 6 and all I get is:
"BBC iPlayer feeds are no longer available."...blah-de-blah..."INFO: 0
Matching Programmes".

what's the situation? is there a replacement program that works?
thanks for  any advice.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: Shell script to get PIDs from schedules

2014-11-02 Thread Chris Allison
Sorry, google switched back to html without me noticing, resending this.

Peter,

some good ideas there, but there is no need to scrape the web pages
when all the schedule info you could possibly need is available in
xml, json and yaml files at urls of this form:

www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
www.bbc.co.uk/radio4extra/programmes/schedules/2014/11/1.json
www.bbc.co.uk/bbcfour/programmes/schedules/last_week.json

etc.

see this page for further info:
http://www.bbc.co.uk/blogs/legacy/radiolabs/2008/05/helping_machines_play_with_pro.shtml

the :outlet part is 'fm' for radio4, 'england' for bbcone and two and
not needed for radio 4 extra/bbc four etc.

hope this helps.

Chris

On 1 November 2014 14:39, Peter Scott  wrote:
> Apologies if this arrives twice -- I forgot to send it as plain text the first
> time.
>
> I rarely used get_iplayer's searches and I only use Linux and the
> command line. I have a script to get the PIDs from the radio4 schedule;
> I have modified it to do TV too. It is very crude but someone may find it
> useful. You can get it here:
> http://www.apxd65.dsl.pipex.com/freeScripts/#getPids
> (It is not polished enough for my github page.)
> --
> email: p.sc...@shu.ac.uk
> website: http://peterscott.eu
> NB: My mobile is a "not at home" phone; I don't hear or see it at home.
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
 _  o  ,   ,
/   |  |  |_| / \_/ \_|  |
\__/ \/ \/  |/ \/  \/  \/|/
(|

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: BBC Radio Downloads

2014-11-02 Thread Simon Morgan

> -Original Message-
> From: get_iplayer [mailto:get_iplayer-boun...@lists.infradead.org] On
> Behalf Of Tim Errington
> Sent: 02 November 2014 01:04
> To: get_iplayer@lists.infradead.org
> Subject: BBC Radio Downloads
> 
> Hello,
> 
> And firstly, thanks for all of your efforts so far that has made it
> possible for me and many others to listen to BBC radio here in New
> Zealand and around the world. This ability has allowed me and my family
> to keep up with what is happening back home for the last few years and
> its now something that I consider invaluable to me when driving to work
> to be able to listen to downloads of my favourite BBC radio programmes.
> 
> Unfortunately, I gather that this has now been made imposable by recent
> changes to the BBC I Player (thanks BBC, what about all the UK expats
> around the world!). I would be most grateful if you could somehow work
> around this problem and restore the ability to listen to downloads of
> the BBC while overseas.
> 
> Thanks, Tim


It's a bit of a pig, isn't it! I have used the web GUI PVR for years now and
have found it wonderful. It fulfilled all my needs.

As no one else better qualified than me i.e. almost anyone, has answered
your problem. There have been many posts in the past few days about this
with lots of scripts and examples but at its most simple try this.

Open the CLI (command line interface - always make sure you have latest
version)

At the prompt >get_iplayer --type=radio --pid=

Get the pid value to insert by looking up the programme in the iPlayer Radio
web page (it is the value beginning with a "b"). For a single programme it
is as quick as the old PVR. There are suggested scripts for multiple pids
and series so if this is what you want you will have to look through the
posts of the past 3 or 4 days.

I understand that dinkypumpkin is going to upload a patched version today
(Sunday) which should overcome some of the limitations created by the BBC.

One suggestion for TV is below. Modify it for radio and it should work.

Regards
Simon Morgan

PS I thought people went to NZ to get away from Chris Evans !!! (LOL)


-Original Message-
From: Tony Spearshaker
Sent: Saturday, November 01, 2014 9:01 AM
To: get_iplayer@lists.infradead.org
Subject: Downloading multiple pids

>Hi
>
>Now that we are forced into using pids, does anyone know how to 
>download more than one at the same time?  I haven't yet >managed to 
>find a way that works.  (I am using Windows 7 with Windows Installer 
>4.9.)

>Use the "for" command.

>Eg:

>for %F in (b04n8rx0, b04n9831, b04n69xt) do get_iplayer --mode=flashhigh
--pid=%F

>Will download all three programmes, one after the other.

>Regards,

>Chris


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: BBC Radio Downloads

2014-11-02 Thread Ian McDonald
I was away from home when this item started, and probably should not 
comment since I opted out of Get_iPlayer when I switched to a mac about 
three years ago and failed miserably to get the programme running on 
it.  Thankfully a kind soul pointed me to Get iPlayer Automator, and I 
have been using it ever since.  my current version is 1.8.1 (1710)

On 
Friday I ran the PVR as soon as I got home, and it collected all the 
items I was expecting. On Saturday, having read the email trail, I 
refreshed the cache and downloaded the two outstanding episodes of Rule 
Britannia, and this morning I have downloaded both Pipeline and Take 
the Floor.

As far as I can tell nothing has changed except that I have 
lost the double brackets around flashvhigh and flashaudio in the 
downloaded titles.  If Get iPlayer Automator can access the data surely 
the basic programme has a snag, not the BBC.

Ian McDonald

>
Original Message
>From: terring...@ihug.co.nz
>Date: 02/11/2014 1:
03 
>To: 
>Subj: BBC Radio Downloads
>

>Hello,
>
>And firstly, thanks for all of your efforts so far that has 
made it possible
>for me and many others to listen to BBC radio here in 
New Zealand and around
>the world. This ability has allowed me and my 
family to keep up with what is
>happening back home for the last few 
years and its now something that I
>consider invaluable to me when 
driving to work to be able to listen to
>downloads of my favourite BBC 
radio programmes.
>
>Unfortunately, I gather that this has now been 
made imposable by recent
>changes to the BBC I Player (thanks BBC, what 
about all the UK expats around
>the world!). I would be most grateful 
if you could somehow work around this
>problem and restore the ability 
to listen to downloads of the BBC while
>overseas.
>
>Thanks, Tim
>
>

>---
>This email is free from viruses and malware because avast! 
Antivirus protection is active.
>http://www.avast.com>
>

>___
>get_iplayer mailing 
list
>get_iplayer@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/get_iplayer>



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer