Re: Overwriting lower quality files

2023-10-01 Thread David Cantrell

On 30/09/2023 12:05, MrBrunes wrote:

I've just realised that some of my historical downloads of TOTP are in
SD or non-50fps HD but the download history doesn't seem to note the
quality, so I need to force download them again. Since new programmes
are currently made available each week (for 30d) I thought I could add
"force 1" to the PVR search for that programme, but then this will
obvs download files that are already in 50fps. Also it will keep
downloading files each time they are made available.

I thought of deleting all the TOTP lines in download_history as that
at least would prevent them from being downloaded again subsequently,
but I don't know if this is an easy thing to do (can't see if my text
editor can do this (Notepad++).

Is there a better, more efficient method of doing this?


I have a small script which uses ffmpeg to report what the frame rate 
is, and another similar script to report the resolution. You could use 
these in another small script of your own to conditionally re-download 
only those that aren't in your desired quality:


https://github.com/DrHyde/shellscripts/blob/master/fps
https://github.com/DrHyde/shellscripts/blob/master/ffres

--
David Cantrell

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


Re: LibXML.c: loadable library and perl binaries are mismatched

2022-08-16 Thread David Cantrell

On 15/08/2022 18:16, RS wrote:

Yes, I followed the instructions on that page to do a manual 
installation  for Ubuntu when Jon Hedgerows's PPA was withdrawn.  It 
worked fine then, and has been working fine for the last two years.


It stopped working when I upgraded from Kubuntu 18.04.6 to Kubuntu 
20.04.4.


It looks like the PPA that you downloaded from a third party was built 
for an old version of the OS and wants to link against an old version of 
libxml, so is incompatible with the version that you now have after 
upgrading Ubuntu. You fix this by getting an updated PPA that is 
compatible with the libraries in the new version of Ubuntu.



With most programs you expect deleting and re-installing to be a solution


That's not something I've come across. UPGRADING software to be 
compatible with a new OS is often necessary, but just deleting and 
reinstalling the same software is generally just a waste of time.


--
David Cantrell

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


Re: Remux TV Progs to Matroska Video .mkv

2022-07-09 Thread David Cantrell
As far as I know conversion to mp4 is just changing the container format, 
there’s no recompression.

-- 
David Cantrell

This electrogram was despatched by wireless field telegraph. I would therefore 
ask that the recipient be so kind as to excuse any failures of courtesy or 
linguistic inelegance as an unfortunate side-effect of the technology. I 
remain, Sir, Madam, or Robot, your humble and obedient servant.

> On 9 Jul 2022, at 22:46, Computing  wrote:
> 
> Hi, I'm trying to get programmes from the Beeb into .mkv format.
> 
> I know you can do it by using --command-tv='ffmpeg -i "" -c:v copy 
> -c:a copy  -y "/.mkv"'
> 
> but it still downloads the raw .ts file, converts it to a .mp4, tags it, then 
> converts to a .mkv as required.
> 
> Is there a way to do download  .ts, convert to .mkv, tag .mkv?? I.E. Avoid 
> the mp4 lossy conversion??
> 
> Thanks loads
> 
> Martin
> 
> 
> ___
> 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: Curating "In Our Time" (IOT) downloads.

2022-07-05 Thread David Cantrell

On 05/07/2022 21:04, Budge wrote:

On 05/07/2022 19:00, David Cantrell wrote:

$ AtomicParsley In_Our_Time_-_John_Bull_m0018nsd_other.m4a --textdata
...
Atom "©grp" contains: Factual,History,Discussion & Talk
...
Atom "©gen" contains: Factual


Not now at the machine where my GiP history resides but I have meanwhile 
been confused further by the above reference to "Factual."  I have not 
seen any of my existing files which have been entered into a "Factual" 
subdirectory.  I only have the five directories Culture, History, 
Philosophy, Religion and Science.  Is there another category "Factual?"


Note that there are two fields that contain "Factual".

Back when I worked on the iPlayer back-end, categories were, if I 
remember correctly, a multi-layered beast. I assume that they still are, 
and that "Factual" is the top level, which contains a "History" 
sub-category, which contains a "Discussion & Talk" sub-category.


Of course, that doesn't mean that they still organise things that way. 
But nevertheless, one of the categories you were interested in was 
"History", and that appears in the "©grp" atom for that particular episode.


--
David Cantrell

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


Re: Curating "In Our Time" (IOT) downloads.

2022-07-05 Thread David Cantrell

On 05/07/2022 09:42, Budge wrote:
I have been listening to IOT for years and have these downloads saved 
for use locally.
Through time the BBC have delivered these programmes in slightly 
different formats and I believe they are now also available from an 
archive as podcasts, but I already have my own archive, albeit in 
various formats.


My problem is that in the beginning the downloads were filtered, I think 
by BBC but possibly by my filters long ago, into five categories 
according to subject.  The categories were Culture, History, Philosophy, 
Religion and Science ...
Most media files contain metadata tags, including those downloaded from 
the BBC. For mp3 files use `id3info` to see them. For m4a files use the 
idiotically-named `AtomicParsley`. For example:


$ AtomicParsley In_Our_Time_-_John_Bull_m0018nsd_other.m4a --textdata

Atom "stik" contains: Normal
Atom "cprt" contains: 2022 British Broadcasting Corporation, all rights
  reserved
Atom "©nam" contains: John Bull
Atom "©ART" contains: BBC Radio 4
Atom "aART" contains: BBC Radio
Atom "©alb" contains: In Our Time
Atom "©grp" contains: Factual,History,Discussion & Talk
Atom "©wrt" contains: BBC Sounds
Atom "©gen" contains: Factual
Atom "©cmt" contains: Melvyn Bragg and guests discuss the origins and
  evolution of the satirical everyman figure
Atom "©day" contains: 2022-06-30T09:00:00+01:00
Atom "©lyr" contains: Melvyn Bragg and guests discuss the origin of this
  personification of the English everyman and his development as both
  British and Britain in the following centuries. He first appeared
  blahblahblah ...

--
David Cantrell

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


Re: Is Web PVR installable on a Mac?

2021-07-12 Thread David Cantrell

On 10/07/2021 10:17, Chris Walker wrote:

Paul Phillips  wrote:

Is it possible to install Web PVR on a Mac?  I can see from google
that some people seem to be using it on a Mac, but I can't find any
beginner level guides to install the Web PVR version
thanks


Have you looked at this?
https://github.com/get-iplayer/get_iplayer/wiki/osx#wpm

If you've managed to install get_iplayer then surely you ought to be
able to install the PVR.


It depends on how you installed it. It appears, for example, to not be 
installed if you use homebrew.


--
David Cantrell

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


Re: OT Question on audio downloads from youtube

2020-09-21 Thread David Cantrell
On Mon, Sep 21, 2020 at 10:56:45PM +0100, budge wrote:

> Please forgive the OT question but I am seeking advice on sensible 
> download format for saving the audio from youtube videos which are 
> available to supplement specific items from my early music collection.
> 
> My preferred solution is to download the audio using youtube-dl and I 
> know I could then encode the file as a flac file but this creates huge 
> files, albeit lossless ...

FLAC is a lossless format, true, but if you're starting with
lossily-encoded data in m4a or mp3 format like what youtube gives you
then you won't gain anything, the data has already been lost.

> Also, as a more senior citizen, I believe I 
> am unlikely to be able to hear the difference between the flac and other 
> options.

Even for people with fully functional ears the difference between a
decent mp3 or m4a and lossless is imperceptible. The only reason for
archiving stuff in flac is so that you can produce whatever the
flavour-of-the-decade is in the future when mp3 and m4a have gone out of
fashion, without re-encoding an already lossy file and losing more.
Re-encoding a lossy file to another lossy format is *very* noticeable.

-- 
David Cantrell | Official London Perl Mongers Bad Influence

Erudite is when you make a classical allusion to a
feather.  Kinky is when you use the whole chicken.

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


Re: Demise of get_iplayer PPA

2020-07-17 Thread David Cantrell

On 17/07/2020 20:43, alan wrote:

I was able to install get_iplayer manually following the very helpful 
instructions on the wiki. In my case, on linux mint, all that was involved was 
installing a couple of perl modules. But the instructions don't deal with the 
man page and I haven't been able to get it working. Can anyone help with that?


Something along the lines of ...

wget 
https://raw.githubusercontent.com/get-iplayer/get_iplayer/master/get_iplayer.1


sudo mv get_iplayer.1 /usr/local/man/man1

--
David Cantrell

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


Re: Syntax for grabbing all episodes of the new season of Celebrity Master Chef

2020-07-06 Thread David Cantrell

On 06/07/2020 20:16, Dave Liquorice wrote:


It has potential to be a good litte earner but managing what content was
available to which parts of the world and that the consumer was really where
they claimed to be would be horrendous.


The last bit is fairly easy. Rights holders don't require that you are 
completely accurate at banning people from overseas. Twenty-odd years 
ago when I was asked to look into regional restrictions for Olympic 
content for them banning 90% of people who ought to be banned was 
considered good enough.


Geo-IP libraries are pretty accurate these days. There is of course a 
constant game of whack-a-mole with VPN end-points, but hardly anyone 
actually uses those so blocking them isn't particularly important.


--
David Cantrell

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


Re: OT Downloading BBC radio shows with ANDROID.

2020-06-03 Thread David Cantrell

On 03/06/2020 03:05, Christopher Woods wrote:



On 2 June 2020 14:41:53 CJB  wrote:


YouTube-dl doesn't even work for me on Windows ...

C:\YouTube-dl>youtube-dl
"https://sounds.bl.uk/World-and-traditional-music/Bob-Davenport-Archive/025M-C1047X0003XX-1500V0; 


[generic] 025M-C1047X0003XX-1500V0: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 025M-C1047X0003XX-1500V0: Downloading webpage
[generic] 025M-C1047X0003XX-1500V0: Extracting information
ERROR: Unsupported URL:
https://sounds.bl.uk/World-and-traditional-music/Bob-Davenport-Archive/025M-C1047X0003XX-1500V0 


Did it ever support the British Library site? ;-)


I *think* I've used it to download from there in the past but couldn't 
swear to it.


But in any case, that link doesn't even play in my browser. I didn't try 
creating an account and logging in, maybe I'd have better luck that way 
- and note that youtube-dl does support usernames/passwords for at least 
some sites that require them.


--
David Cantrell

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


Re: OT Help Please with Clicks and Volume Levels

2020-03-30 Thread David Cantrell

On 30/03/2020 15:20, Jeremy Nicoll - ml gip wrote:


Googling for information about Bluetooth interference suggests various
possible causes.  Bearing in mind how many people are now unexpectedly
at home all day, ther emay be a LOT more wifi, microwave use, and - if
affects it (I dunno) other BT communication going on around you.


My experience is that Bluetooth interference makes the signal drop out 
completely, it doesn't add pops and crackles to the sound. That sounds 
more like either the player is sending dodgy data, or the headphones are 
knackered.


--
David Cantrell

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


Re: Slow speed

2020-02-19 Thread David Cantrell
On Wed, Feb 19, 2020 at 03:38:36PM +1100, Paul Thornett wrote:

> Unfortunately the problem certainly doesn't lie with my ISP. I say
> unfortunately, because it's relatively easy to change ISP. But my
> quoted speeds are 100Mbps/40Mbps, and on some sites I get my 10Mbps
> per second. With get_iplayer I have in the past seen speeds up to
> perhaps 8 Mb/s, but nowadays it's far lower. Right now I'm getting 1.1
> Mb/s, and am poised to cancel the download as soon as I get an
> "Unexpected size" error. Which has just occurred, not 2 minutes after
> I wrote the previous sentence.

How do you know that it's not being caused by your ISP? Perhaps they're
throttling some types or sources of traffic.

-- 
David Cantrell | top google result for "internet beard fetish club"

Compromise: n: lowering my standards so you can meet them

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


Re: Podcast - no pid?

2020-02-05 Thread David Cantrell
On Tue, Feb 04, 2020 at 10:33:13PM +, MacFH - C E Macfarlane wrote:

> I thought YouTubeDownloader might have done it, but I couldn't get it to 
> work.

You mean youtube-dl? That was my first instinct too but no luck. They
accept requests for new sites to support via Github.

-- 
David Cantrell | London Perl Mongers Deputy Chief Heretic

 Nuke a disabled unborn gay baby whale for JESUS!

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


Re: Tidying up Radio Downloads

2019-10-15 Thread David Cantrell
On Tue, Oct 15, 2019 at 10:16:04AM +0100, RS wrote:

> get_iplayer --pid b01r1vt2 --info
> displays a lot of metadata including longdesc.  That suggests
> 
> 1.  Vangelis is right that the online sources for metadata stay there 
> for good.
>
> 2.  get_iplayer is able to retrieve metadata even when all streams for a 
> programme have ceased to be available.

Stream availability is part of the metadata. Metadata remains behind
even after streams have become unavailable for two reasons. First, so
iPlayer can show you when something was broadcast; second, to cope with
repeats.

And you will find that metadata usually pops into existence *before*
streams become available*. This is partly because metadata for whole
series are often imported at once, and partly because the back-end isn't
just used by iPlayer, it is (or at least, it was back when I was working
on it) also used to provide data to third-party EPGs and other internal
BBC systems.

* the one real exception I can think of is when stuff goes straight to
  iPlayer without being broadcast, such as when Zoo Quest was imported
  from the archive.

-- 
David Cantrell | Cake Smuggler Extraordinaire

If you can read this, thank a teacher.
If you're reading it in English, thank Chaucer.

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


Re: Goodbye iPlayer Radio

2019-09-06 Thread David Cantrell
On Fri, Sep 06, 2019 at 03:11:35AM +0100, Owen Smith wrote:

> BBC Sounds is new and trendy (to BBC eyes). Podcasts are the up and coming 
> thing (only at least a decade late there chaps, never mind).

The BBC has been doing podcasts for longer than that.

-- 
David Cantrell | top google result for "internet beard fetish club"

Deck of Cards: $1.29.
"101 Solitaire Variations" book: $6.59.
Cheap replacement for the one thing Windows is good at: priceless
-- Shane Lazarus

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


Re: BritBox: BBC and ITV set out plans for new streaming service

2019-07-19 Thread David Cantrell
On Fri, Jul 19, 2019 at 11:22:24AM +0100, Colin Law wrote:
> On Fri, 19 Jul 2019 at 11:17, David Cantrell  wrote:
> > The current caches, which IIRC are for a month's worth of programmes,
> > are 2.3MB for TV and 5.2MB for radio. So around 90MB for a year's worth,
> > which on anything vaguely recent is indistinguishable from zero.
> I think it is the time to download it which may be an issue.  Not
> everyone has even decent speed broadband.  Until recently mine was
> 1.5Mbps on a good day.

If that was a problem for me I'd schedule it to update automatically at
oh dark thirty in the morning when I was asleep and didn't care how long
it took.

-- 
David Cantrell | even more awesome than a panda-fur coat

You are so cynical.  And by "cynical", of course, I mean "correct".
 -- Kurt Starsinic

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


Re: BritBox: BBC and ITV set out plans for new streaming service

2019-07-19 Thread David Cantrell
On Fri, Jul 19, 2019 at 09:57:12AM +0100, CJB wrote:

> Huh - a cache a year old might be a tad large!!

The current caches, which IIRC are for a month's worth of programmes,
are 2.3MB for TV and 5.2MB for radio. So around 90MB for a year's worth,
which on anything vaguely recent is indistinguishable from zero.

-- 
David Cantrell | Nth greatest programmer in the world

You can't spell "slaughter" without "laughter"

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


Re: Just noticed the download title includes [legal]

2019-07-18 Thread David Cantrell
On Wed, Jul 17, 2019 at 10:22:58PM +0100, Budge wrote:

> Just noticed this after pid when getting Men of Rock...  No idea what it
> means or why it is there.  Is it because I have signed up for iPlayer
> and my address is known or something more sinister?

My understanding is that this is what happens when the online version
has been edited either because someone said something they shouldn't
have, or because the BBC doesn't have online rights for some of the
content.

Or of course because someone ticked the wrong box.

-- 
David Cantrell | top google result for "internet beard fetish club"

Planckton: n, the smallest possible living thing

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


Re: New distro.

2019-07-02 Thread David Cantrell
On Tue, Jul 02, 2019 at 02:47:35PM +0200, Peter Corlett wrote:

> It's debatable whether a single ffmpeg instance could take advantage of that
> many cores since Amdahl's Law will kick in as it tries to co-ordinate
> everything. Split it into multiple four- or eight-thread encodes and run them
> in parallel on that monster server, or even better, run them in parallel on a
> fleet of much-cheaper desktop machines.

>From my understanding of how yer typical video codec works (which could
of course be wrong!) I would think it's one of the few common tasks that
can take advantage of that many CPUs, as the parallelisable proportion
is very large.

A video file consists of a list of chunks, each of which consists of one
complete frame followed by a bunch of diffs from one frame to the next.
If you're decoding, hand one chunk to each CPU and process them in
parallel, and hand each CPU a new task when it finishes. There's some
small overhead in figuring out where each chunk begins, and in wrangling
pointers so that you end up with the results in a sequence of decoded
frames. Encoding is of course similar.

-- 
David Cantrell | top google result for "internet beard fetish club"

 I'm in retox

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


Re: New distro.

2019-06-20 Thread David Cantrell
On Thu, Jun 20, 2019 at 12:49:10PM +0100, Jeremy Nicoll - ml gip wrote:

> When I used to run get_iplayer under Windows, I used to install the
> perl of my choice, then ran
> 
>  cpan cpanminus
> 
> to install 'cpanminus', then used that to install the perl modules
> that the g_ip documentation said I'd need.
> 
> A quick google suggests that under linux one might use one's distro's
> package manager (apt or whatever) to install perl, and cpan, but then
> just use cpan to install perl modules (apparently outwith the control
> of apt or whatever).
> 
> How is a perl user supposed to know whether to go to cpan/cpanminus
> route or expect their distro's package manager to deal with this?

Unless you know better, you should use the distribution's package
manager. This applies no matter what you're installing, whether it be
something written in perl, or in python, or it be a video game, or
anything else.

-- 
David Cantrell | A machine for turning tea into grumpiness

I caught myself pulling grey hairs out of my beard.
I'm definitely not going grey, but I am going vain.

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


Re: New distro.

2019-06-19 Thread David Cantrell
On Wed, Jun 19, 2019 at 12:38:48PM +0100, Jim web wrote:

> Following up one of my own emails. I've looked at
> 
> https://github.com/get-iplayer/get_iplayer/wiki/unix
> 
> and that says:
> 
> "For example, to install the packages for get_iplayer in Debian 9+/Ubuntu
> 18.04+/Mint 19+:
> 
> apt install libwww-perl liblwp-protocol-https-perl libmojolicious-perl
> libxml-libxml-perl libcgi-pm-perl"
> 
> Before I try it, and to avoid needless addition of items I might not
> actually need yet get gip working again: Is the above apt install correct
> and should solve the problem? i.e. That's the list of packages I need?

It looks plausible. apt handles dependencies, so when you tell it to
install libxml-libxml-perl it will figure out that it needs libxml2-dev
etc

-- 
David Cantrell | Reality Engineer, Ministry of Information

Anyone willing to give up a little fun for tolerance deserves neither

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


Re: New distro.

2019-06-19 Thread David Cantrell
On Wed, Jun 19, 2019 at 10:52:58AM +0100, Jim web wrote:
> In article , MacFH - C
> E
> Macfarlane  wrote:
> > AFAICR, LibXML is a dependency of XML::Simple, and, as you suggest, on
> > Ubuntu systems you install a module using apt-get.  I setup and
> > configure Ubuntu using a bash script, and its module list contains
> > libxml2 and libxml2-dev, so most probably they're the ones you need.
> 
> limxml2 was installed. 
> 
> I installed libxml2-dev as well, but, alas, it still doesn't work. :-/

libxml2 is a C library that the perl code wants to use.
libxml2-dev is the headers for that C library so that the perl code
knows how to link it.

You'll need both of those in addition to the perl code.

-- 
David Cantrell | Godless Liberal Elitist

EINE KIRCHE! EIN KREDO! EIN PAPST!

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


Re: WS podcast sideffect, was Re: Grenfell Tower podcasts

2019-03-26 Thread David Cantrell
On Tue, Mar 26, 2019 at 06:51:08AM +, S Byers wrote:

> Re: top and tail adverts.
> 
> Surely advertising is against the BBC Charter - in tne UK anyway.

They've always been able to promote their own content.

> But when we were in Malta recently the BBC News website was heavily 
> advertising Vodaphone and even after reporting these intrusions to Google 
> they persisted and took up much of the screen display.

Why on earth would you report them to Google when it's a Vodafone advert
on a BBC site? In any case, they're also allowed to carry advertising on
their website if you're viewing it from outside the UK.

> And I do know that BBC World Service on t.v. is also heavily contaminated by 
> such inane adverts. .

Not intended for UK audiences so again, advertising is fine. Also note
that while the government made the BBC fund the World Service recently,
it has historically not been funded from the licence fee. Now that it
*is* funded by the licence fee we should welcome adverts on it as a way
of offsetting that effective reduction in the funding available to the
BBC.

-- 
David Cantrell | London Perl Mongers Deputy Chief Heretic

Arbeit macht Alkoholiker

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


Re: Radio Comedy: Dad's Army et al ....

2019-03-21 Thread David Cantrell
On Thu, Mar 21, 2019 at 08:24:30AM +, ipla...@nutwood.net wrote:

> I have been able to compare a handful of programmes of the type you 
> describe with the same examples which I downloaded some time ago, using 
> the now defunct 'Radio Downloader'. In these cases, the older downloads 
> were significantly longer due to the inclusion of a 'buffer' at each 
> end. This extra material would contain part of the last/next programme 
> as well as the continuity between.
> 
> I cannot say for certain that this is always the case for 'shortened' 
> programmes, but it seems possible. Was there a point in Iplayer history 
> where cutoff timing was made more accurate?

No, I don't think so. You still occasionally see new stuff appear on
iPlayer with those annoying tops and tails. It's usually stuff that is
broadcast live IME, where the workflow for getting it onto iPlayer
involves recording it off-air. To allow for the schedule going all
wibbly as things occasionally over-run those automated recordings have a
bit of slack at either end.

Pre-recorded stuff and repeats obviously have a different workflow
normally, although they can still be recorded off-air for iPlayer
sometimes.

-- 
David Cantrell | http://www.cantrell.org.uk/david

Arbeit macht Alkoholiker

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


Re: Feature/Changed Behaviour Request To Exclude Option

2019-02-22 Thread David Cantrell
On Fri, Feb 22, 2019 at 12:54:54PM +, MacFH - C E Macfarlane wrote:

> >>--exclude blah # exclude blah and *only* blah
> >>--exclude +blah    # exclude blah in addition to anything else 
> However, there is a problem, perhaps two, with that particular syntax in 
> GiP.  The first is that the exclude option is a Regular Expression, so 
> the + sign has a special meaning, and gives an RE error when used as 
> above.

The + sign's special meaning is "one or more of the preceding character
or group". Which means that if you see it at the beginning it can't
possibly be a valid regex, so *must* have the special meaning of "add
the rest of this to the list of exclusions".

> The possible second is that on Windows machines + is a parameter 
> separator for some commands, for example COPY.

That's a special feature of those commands, not a feature of Windows.

> A tilde ~ might be a good choice for this, as, AFAIK, it is inert in
> most operating systems; that is to say, I'm not aware of any special
> meaning attached to it within > command lines.

On its own it means the current user's home directory. Followed by other
text it means that user's home directory. Followed by nonsense that
doesn't match a username it's just a tilde:

  $ echo ~
    /home/dc
  $ echo ~root
/root
  $ echo ~macfh
~macfh

-- 
David Cantrell | Reality Engineer, Ministry of Information

We found no search results for "crotchet".  Did you mean "crotch"?

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


Re: Feature/Changed Behaviour Request To Exclude Option

2019-02-21 Thread David Cantrell

On 2019-02-21 20:38, MacFH - C E Macfarlane wrote:

Currently, if you specify an --exclude option on the command line, it 
overwrites any exclusions permanently specified in the options file. 
Would it not make more sense that any exclusions specified on the 
command line are *added* to those in the options file?


A common idiom in other tools is to have something like:

--exclude blah # exclude blah and *only* blah
--exclude +blah# exclude blah in addition to anything else already
   #   excluded

Given that --exclude takes a comma-seperated list you can presumably do 
something like this as a work-around for the latter not being present:


get_iplayer --exclude blah,`get_iplayer --prefs-show|grep exclude|sed 
's/.* = //'`


which will extract the relevant line from your config file and massage 
it into the appropriate format.


--
David Cantrell | Minister for Arbitrary Justice

Human Rights left unattended may be removed,
destroyed, or damaged by the security services.

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


Re: Poodcast that isn't a podcast

2019-01-17 Thread David Cantrell
On Thu, Jan 17, 2019 at 04:24:34PM +, Bill Denton wrote:

> I similarly convert radio programmes on Linux (Ubuntu) box to RSS podcasts
> using:
> https://github.com/CiderMan/create_rss
> 
> Declaration: I helped develop it.

If I'd know that existed I would probably have used it instead of
writing mine!

-- 
David Cantrell | even more awesome than a panda-fur coat

If I could read only one thing it would be the future, in the
entrails of the bastard denying me access to anything else.

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


Re: Poodcast that isn't a podcast

2019-01-17 Thread David Cantrell
On Wed, Jan 16, 2019 at 05:51:00PM -, George Eycott wrote:

> Sadly not as simple as that. The last podcast was a short piece telling me
> that it was no longer available as a podcast and was now exclusively through
> BBC Sounds.

What I do for the occasional interesting series that Auntie doesn't make
available as a podcast is I download the episodes using get_iplayer and
make them into a podcast myself.

You may find this useful:
  https://github.com/DrHyde/perlscripts/blob/master/mkpodcasts.pl

Use cron to schedule regular downloaded with --pid-recursive to
automagically pick up any new episodes.

-- 
David Cantrell

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


Re: Joint UK streaming platform

2019-01-14 Thread David Cantrell
On Sun, Jan 13, 2019 at 12:33:26AM +, RS wrote:

> "The BBC, ITV and Channel 4 are already locked in negotiations to create 
> a joint UK streaming platform made up of new content and their back 
> catalogues, through a project known as Kangaroo 2."
> 
> Does anyone know anything about it?  I found this.
> https://www.digitaltveurope.com/2018/05/10/ofcom-predicts-kangaroo-2-collaboration-between-uk-broadcasters/

The original Kangaroo was scaled back (it became Youview) because OFCOM
thought it was anti-competitive. Does Youview even exist any more? I
don't recall ever seeing it in the wild after I did quite a bit of
annoying work to publish programme information to it from the iPlayer
back-end.

-- 
David Cantrell | Hero of the Information Age

Anyone willing to give up a little fun for tolerance deserves neither

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


Re: BBC-wants-shows-available-iPlayer-12-months-bid-compete-rivals

2019-01-10 Thread David Cantrell
On Tue, Jan 08, 2019 at 12:52:28PM +0100, Peter Corlett wrote:

> The BBC already has Redux, which is basically a DVB-T tuner somewhere in 
> London ...
> 
> iPlayer appears to be a client of Redux ...

Pretty sure iPlayer isn't a Redux client. Or at least, if it is it also
gets lots of content from elsewhere. For example, stuff that isn't
broadcast in London:
  https://www.bbc.co.uk/iplayer/episode/b0bwr3wl/

and stuff that was never broadcast:
  https://www.bbc.co.uk/iplayer/episode/p04tspjl/

-- 
David Cantrell | Minister for Arbitrary Justice

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


Re: BBC-wants-shows-available-iPlayer-12-months-bid-compete-rivals

2019-01-08 Thread David Cantrell
On Tue, Jan 08, 2019 at 08:52:54AM +, CJB wrote:

> Massive storage required for this 
> 
> https://www.dailymail.co.uk/news/article-6566501/BBC-wants-shows-available-iPlayer-12-months-bid-compete-rivals.html

They're already storing all of it, this is just about making it
available.

-- 
header   FROM_DAVID_CANTRELLFrom =~ /david.cantrell/i
describe FROM_DAVID_CANTRELLMessage is from David Cantrell
scoreFROM_DAVID_CANTRELL15.72 # This figure from experimentation

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


Re: Slightly OT Video conversion

2018-12-10 Thread David Cantrell
On Sun, Dec 09, 2018 at 12:54:20PM +0100, Dave Widgery wrote:

> Several people have suggested handbrake, I did try this but gave up
> when it wanted to take 7-8 hours to do the conversion, I know my
> notebook is not particularly quick, but I thought that was a bit
> excessive, hence the search for something else.

Handbrake is a bit slow, but it is much easier to drive than ffmpeg, and
seems to work on files that ffmpeg either chokes on or, worse, appears
to succeed but actually produces unwatchable jerykvision.

-- 
David Cantrell | http://www.cantrell.org.uk/david

fdisk format reinstall, doo-dah, doo-dah;
fdisk format reinstall, it's the Windows way

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


Re: Stopping a download but not a PVR run

2018-12-06 Thread David Cantrell
On Thu, Dec 06, 2018 at 01:51:18PM +, CJB wrote:
> The web PVR was downloading a file when the connection broke:
> 
> WARNING: Unexpected size for file segment [232]
> WARNING: Expected: 268088  Downloaded: 203190
> WARNING: This indicates a problem with your network connection to the
> media server
> WARNING: Retrying radio: 
> 
> How can I stop such a download but still let the PVR carry on?

I don't use the PVR, but I occasionally see such messages from the
normal get_iplayer. IME it just retries and I end up with a complete
download. Only very occasionally is there an actual problem, and it
gives up after a few retries.

-- 
David Cantrell | Reality Engineer, Ministry of Information

 Nuke a disabled unborn gay baby whale for JESUS!

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


Re: OT VM or Dual boot and get_iplayer

2018-10-31 Thread David Cantrell
On Wed, Oct 31, 2018 at 05:34:26AM +, Geoff Smith wrote:

> I am at a loss to understand why anyone uses dual-booting, it's an
> archaic method. I gave it up a decade ago to enjoy the advantages of
> using VMs.

It's still useful when you want to run software that really cares about
timing (video games, music and video production, controlling external
hardware), or needs to talk directly to hardware such as drivers for
obscure equipment.

-- 
David Cantrell | http://www.cantrell.org.uk/david

Arbeit macht Alkoholiker

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


Re: Dual boot and get_iplayer

2018-10-31 Thread David Cantrell
On Tue, Oct 30, 2018 at 11:45:02AM +, Charles Johnson wrote:
> On 29/10/2018 20:39, RS wrote:
> >That is not the end of the problem.  Ralph also pointed out that if 
> >Perl thought it was running under Windows
> I know very little Perl, but i'm surprised it should care about line 
> separators. In Java, one of the oldest classes for reading text files 
> (BufferedReader) doesn't care what line separators it finds. Roughly 
> speaking it will split on /[\r\n]+/ (though not via regex) and will will 
> thus read the text files of any platform correctly. Surely there's at 
> least a module that will do the same in Perl?

In perl the default is to assume the local machine's line seperator. You
can of course change this. There's probably something on the CPAN that
will wrap it up all neat and tidy so that you don't have to worry about
writing portable code.

-- 
David Cantrell | Official London Perl Mongers Bad Influence

There are many different types of sausages.  The best are
from the north of England.  The wurst are from Germany.
  -- seen in alt.2eggs...

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


Re: Loss of BBC HD channels on satellite

2018-10-19 Thread David Cantrell
On Thu, Oct 18, 2018 at 03:46:41PM -0400, VeniVidiVideo wrote:
> On Oct 18, 2018, at 3:43 PM, a...@cityscape.co.uk wrote:
> > On Thu 18 Oct 2018 at 20:22:12 +0100, RS wrote:
> >> This is off topic since it does not concern get_iplayer or the iPlayer, so
> >> if you are going to be offended please stop reading.
> > Deconstruction: I know that what I am about to post has nothing to do
> > with get_iplayer but I am going to force you to download it and read it.
> > Don't complain or get shirty; I will ignore you because I know what is
> > best for *me*.
> > I also suspect that many will be offended my temerity but it's for *my*
> > good, so you will have to like it or lump it. I am sure you will be
> > understanding of my needs to impose on you; as you would of anyone else
> > who posts off-topic mails.
> Better deconstruction:

> Original poster politely communicates what could be vital information for 
> people who have a shared interest in BBC programming.
> 
> Second poster has a stick up his butt.

And is a hypocrite who deliberately posted an off-topic message, FORCING
all of us to download it and read it.

-- 
David Cantrell | Cake Smuggler Extraordinaire

Vegetarian: n: a person who, due to malnutrition caused by
  poor lifestyle choices, is eight times more likely to
  catch TB than a normal person

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


Re: pid format changed

2018-08-23 Thread David Cantrell
On Tue, Aug 21, 2018 at 11:13:56PM -0700, r...@kells.com wrote:

> I noticed that today on r3 that the programme pids now start with 'm' 
> and have reset, e.g. 'm6p1'. In the past pids began with 'b' or 'p'

There are also PIDs out there beginning with w, r, and c.

> Just a curiosity, but anybody know why?

Each of the different initial letters corresponds to a different
authoritative source of unique identifiers. A new initial letter means
that there is a new Thingy generating PIDs. That letter being m probably
relates to the name of a piece of software internal to the BBC or to an
organisational unit of the BBC or the name of some third party whose
services they use.

-- 
David Cantrell | Bourgeois reactionary pig

You can't spell "slaughter" without "laughter"

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


Re: No Wimbledon Today?

2018-07-09 Thread David Cantrell
On Fri, Jul 06, 2018 at 05:27:53PM +0100, Alan Milewczyk wrote:
> On 06/07/2018 13:48, David Cantrell wrote:
> >On Thu, Jul 05, 2018 at 05:09:26PM +0100, Alan Milewczyk wrote:
> >>I've never known it so bad.
> >You've obviously not been paying attention to people whining about
> >things not being instantly available before on this very mailing list.
> Uh? Hot weather getting to you? ;-) "It" referred to Wimbledon 
> programmes as that was the subject under discussion.

It's reasonable to have assumed that "it" referred to content taking a
while to show up on iplayer in general, not just restricted to tennis.

-- 
header   FROM_DAVID_CANTRELLFrom =~ /david.cantrell/i
describe FROM_DAVID_CANTRELLMessage is from David Cantrell
scoreFROM_DAVID_CANTRELL15.72 # This figure from experimentation

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


Re: No Wimbledon Today?

2018-07-06 Thread David Cantrell
On Thu, Jul 05, 2018 at 05:09:26PM +0100, Alan Milewczyk wrote:

> It's ridiculous. Day 3 parts 1 and 3 were made available overnight but 
> part 2 took a long time not until the morning. And as you say Day 2 part 
> 1 is still not available.  On the Beeb's programme issues page
> (https://www.bbc.co.uk/iplayer/help/programme-availability/programme-issues/wimbledon_day2):
> 
> "We're aware that *Wimbledon Day 2, Part 1*, broadcast on BBC Two on 
> Tuesday 3 July, is not yet available on BBC iPlayer.
> 
> We're looking into this and we'll update this FAQ with any further 
> information. "
> 
> I've never known it so bad.

You've obviously not been paying attention to people whining about
things not being instantly available before on this very mailing list.

-- 
David Cantrell | Pope | First Church of the Symmetrical Internet

  European immigration: making Britain great since AD43

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


Re: Dr. Who Downloads

2018-06-06 Thread David Cantrell
On Wed, Jun 06, 2018 at 03:26:00AM +0100, michael norman wrote:
> On 05/06/18 21:43, Alan Milewczyk wrote:
> >On 05/06/2018 20:56, Jimmy Aitken wrote:
> >>--pid b0074drw
> >Hmmm, well using "get_iplayer --pid  b0074drw" on GIP3.14 and Win7 x64 
> >Ultimate, that episode downloaded successfully, no problems whatsoever.
> As it did here using GIP3.14 and Linux Mint 18.3.

I've had this happen a few times recently when trying to download radio
stuff, only for it to Just Work a few days later. Not really sure what's
going on.

youtube-dl can also handle iPlayer, so try that instead. You'll probably
want to say this:

$ youtube-dl --list-formats https://www.bbc.co.uk/programmes/b0074drw
[it spews all the available formats, with resolutions]
$ youtube-dl -f your_chosen_format https://...

Note that sometimes it spits out audio-only and video-only formats, as
well as ones that contain both. If you want to pick a particular audio
and video format and combine them ...

$ youtube-dl -f video_format+audio_format https://...

Very occasionally *only* video formats are available for radio
programmes. You want the -x option to make it DTRT with those.

-- 
David Cantrell | Minister for Arbitrary Justice

Do not be afraid of cooking, as your ingredients will know and misbehave
   -- Fergus Henderson

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


Re: Steve Backshall - Nature's Microworlds - 2 Serengeti.mp4, b01l4906

2018-04-06 Thread David Cantrell
On Fri, Apr 06, 2018 at 03:01:11PM +0100, MacFH - C E Macfarlane wrote:

> For many things, that would be true, but for the sort of big Hollywood 
> films that I mentioned, I doubt if there can be any doubt who the 
> current rights holders are. Apart from anything else, the original 
> rights holders are usually in the credits, and thence would be 
> comparatively easy to trace through to the present day,

You must have missed the bit where I wrote about the difficulties of
tracing the heirs of the heirs of rights-holders, and of tracking what
exactly they were able to leave to their heirs and what they had sold
outright and to whom.

And actually the original holders are often *not* in the credits. Most
works don't have the several minutes of lists of names that appear at
the end of modern films. And for content that is made for TV the credits
are even today very incomplete.

>  and, after all, 
> the BBC must have obtained or be obtaining the media copy that they 
> broadcast from somewhere of known provenance, presumably from the rights 
> holders themselves, or someone acting on their behalf.

Wherever they're getting them from may not have rights for online
dissemination to the public, which just gets us back to the previous
problem. Broadcast rights and online rights are not the same thing.

-- 
David Cantrell | Minister for Arbitrary Justice

  Good advice is always certain to be ignored,
  but that's no reason not to give it-- Agatha Christie

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


Re: Steve Backshall - Nature's Microworlds - 2 Serengeti.mp4, b01l4906

2018-04-06 Thread David Cantrell
On Thu, Apr 05, 2018 at 01:45:50PM +0100, Alan Milewczyk wrote:

> Notwithstanding this, Charles was making the point that, from time to 
> time, in a series we might have some programmes at one mode and others 
> at another mode. Some consistency across a series should not be too much 
> to ask for!

Could it be that some episodes contain archive footage that is available
only in some resolutions?

-- 
David Cantrell | Pope | First Church of the Symmetrical Internet

Guns aren't the problem.  People who deserve to die are the problem.

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


Re: Steve Backshall - Nature's Microworlds - 2 Serengeti.mp4, b01l4906

2018-04-06 Thread David Cantrell
On Wed, Apr 04, 2018 at 11:58:44PM +0100, MacFH - C E Macfarlane wrote:

> And that's not to mention the absurdity of not being allowed to download 
> a 40-50 year old B version of 'Pride & Prejudice', or the 50 year old 
> 'Funny Girl' & 43 year old 'Funny Lady',  because of rights issues  -  
> how many extra DVD sales do the rights holders expect to get by 
> disallowing this?

The BBC has no choice but to respect the rights holders rights, and if
they didn't get online rights for the content then they *can't* put the
stuff online. You could argue that they jolly well ought to get those
rights, but then you have three issues.

First, the owner of those rights can say "ooh, we never knew this was
worth anything to anybody, we demand one blion spondulicks" and
refuse to see reason and accept that Grandpa's work is just not worth
much.

Second, tracking down the current owner of the rights is Hard after that
long, given that companies have been liquidated, gone out of business,
been bought and sold, and that people have died and left their rights
(often not listed in detail) to heirs who will often have died
themselves (leaving even fewer details about the rights they inherited
from their parents).

Third, the BBC doesn't have complete records of who owned the rights
half a century ago which makes the second problem even harder. Back then
no-one knew that anyone would care. And when they do have records
they've probably not been digitised so they don't know that they have
the records or where they are and certainly can't find them.

That second one in particular is a major pain in the arse. I've been
trying off and on for several years to track down the current owners of
the copyright in a particular out of print book that I would like to
re-publish. And for a book with only two authors and one publisher it
should be easy compared to a TV programme with writers, actors,
directors, composers, ...

-- 
David Cantrell | Enforcer, South London Linguistic Massive

Anyone who cannot cope with mathematics is not fully human.
At best he is a tolerable subhuman who has learned to wear
shoes, bathe and not make messes in the house.
   -- Robert A Heinlein

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


Re: FAO BBC: Same Series and Episode, Differents PIDs and Description.

2018-03-08 Thread David Cantrell
On Thu, Mar 08, 2018 at 10:02:30AM +, Ralph Corderoy wrote:

> There's been much weirdness recently in get_iplayer's tv.cache due to
> what's being published by the BBC AFAICS.
> 
> The latest example, I have some older more complex ones to write up, is
> PIDs b09wc2m1 and b09wbylq are both S02E01 of _The Repair Shop_, but
> with different descriptions.  The `short' one is
> 
> b09wc2m1: Antique photography expert Brenton West repairs a camera
> that survived World War I.
> 
> b09wbylq: A Boulle-work clock, a much-loved wheeled elephant and a
> 300-year-old desk are in the shop

My assumption would be that they are different versions of the same
episode, with one cut for length for eg a repeat.

-- 
David Cantrell | Nth greatest programmer in the world

You may now start misinterpreting what I just
wrote, and attacking that misinterpretation.

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


Re: Format of options file

2018-03-06 Thread David Cantrell
On Mon, Mar 05, 2018 at 08:04:09PM +, RS wrote:

> It's worse than I thought.  I had got the impression from the perlport 
> perldoc that if replaced \n with \012 in a print statement I would get a 
> LF on its own in Windows.  I don't.  If I insert \015 I can have a CR on 
> its own, but \012 is still replaced with CR LF.
> 
> This article
> http://www.perlmonks.org/?node=binmode
> says I can use binmode, so that may be an answer.  It's quite old, so it 
> may no longer apply.

binmode does still work AFAIK, but a more modern and flexible method is
to use the crlf I/O layer, which is documented here:
  https://perldoc.perl.org/PerlIO.html

Note however that an awful lot of perl code just doesn't bother. Windows
is very much a second-class citizen in the perl world.

-- 
David Cantrell | Nth greatest programmer in the world

If you can read this, thank a teacher.
If you're reading it in English, thank Chaucer.

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


Re: Format of options file

2018-03-05 Thread David Cantrell
On Mon, Mar 05, 2018 at 09:52:53AM +, RS wrote:

> Essentially you seem to be saying I can't have a CR in a Linux text file 
> because it is non-standard.  It seems a strange standard that prevents 
> data interchange rather than facilitates it.

Yes, it is strange that Microsoft chose a non-standard line ending
convention. In this case though we can't really blame them as they were
just copying CP/M. CP/M chose its line ending convention in 1974, a few
years after Unix chose its convention.

-- 
David Cantrell | semi-evolved ape-thing

Immigration: making Britain great since AD43

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


Re: Format of options file

2018-03-05 Thread David Cantrell
On Sun, Mar 04, 2018 at 07:59:52PM +, RS wrote:

> You're right I am a bit confused, but not about the line termination 
> conventions for each OS, although I can't speak for the Mac.

Macs use \n like normal Unix machines. They used to use \r in the bad
old days before they went Unixy.

-- 
David Cantrell | Bourgeois reactionary pig

  You know you're getting old when you fancy the
  teenager's parent and ignore the teenager
-- Paul M in uknot

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


Re: Downloading Podcast?

2018-01-02 Thread David Cantrell
On Tue, Jan 02, 2018 at 09:26:48AM +, RS wrote:

> That is my recollection too, although I think the ability to download 
> clips was removed more recently than that to download podcasts.

IIRC clips can still be downloaded, just not clips of podcasts.

As far as iPlayer is (well, was when I worked on it, IIRC, BBQ, LOLCATS)
concerned, a clip is just an episode with the 'is_clip' attribute set.

-- 
David Cantrell | http://www.cantrell.org.uk/david

Arbeit macht Alkoholiker

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


Re: ffmpeg issue?

2017-10-09 Thread David Cantrell
On Mon, Oct 09, 2017 at 01:28:18PM +0100, Hugh Reynolds wrote:
> Using PVR on Windows I get:
> 
> WARNING: Your version of ffmpeg () does not support conversion of hvf

Judging from the empty brackets where I would expect to see the version
number I imagine that it can't find your ffmpeg.

> But my ffmpeg is much newer than that.
> Inspecting ffmpeg I get:
> C:\Program Files (x86)\get_iplayer\utils>ffmpeg - version
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>   built with gcc 7.1.0 (GCC)
> 
> Is there a simple way to resolve this?

I expect that that directory isn't in your $PATH, or whatever the
Windows equivalent is.

-- 
David Cantrell | London Perl Mongers Deputy Chief Heretic

Did you know that shotguns taste like candy canes?  Put the barrel in
your mouth and pull the trigger for an extra blast of minty goodness!

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


Re: Channel 4 downloading OT

2017-09-20 Thread David Cantrell
On Wed, Sep 20, 2017 at 12:10:05PM +0200, Dave Widgery wrote:

> I I know that this is slightly OT but I have noticed that the new
> Android "All 4" now supports downloading programs, I was just
> wondering if this opens an opportunity for using a modified version of
> get_iplayer to download Channel 4 programs.

FWIW I just opened a ticket with Youtube-dl to support Channel 4:

https://github.com/rg3/youtube-dl/issues/14276

-- 
David Cantrell | Cake Smuggler Extraordinaire

There are two kinds of security, the one that keeps your sister
out, the one that keeps the government out and the one that
keeps Bruce Schneier out.

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


Re: A few ffmpeg queries

2017-09-13 Thread David Cantrell

On 2017-09-11 15:41, Jeremy Nicoll - ml gip wrote:

On 2017-09-08 00:07, Alan Milewczyk wrote:

 ... as I can access my home PC during my annual 4
months in the Philippines I am able to organise recording schedules
from over 7000 miles away!)


How on earth do you catch up with 4 months' worth of unwatched programmes
when you come back, though?


I dunno about Alan, but I too have remote access to the machine I use 
for recording TV stuff. And having remote access to make it record stuff 
also means I have remote access to watch the results.


On which subject - there's a new channel on Freeview called FreeSports. 
But it doesn't show up in EyeTV on my Mac, using an Elgato Diversity 
tuner. Anyone have any suggestions to fix that? No, re-scanning the 
channel list didn't help.


--
David Cantrell

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


Re: recording quality and vpn

2017-08-27 Thread David Cantrell

On 27/08/2017 14:18, cc wrote:


can the use of a vpn limit the number of  recording qualities available?
Although I managed to get1280.x720  def  on 25 aug with - -tvdefault in
the command line, it is now proving impossible for the various downloads
I have tried.


Only if the BBC are deliberately breaking it for customers of your VPN 
provider.


--
David Cantrell


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


Re: New radio PIDs, more than 8 characters - "solved"

2017-08-16 Thread David Cantrell
On Wed, Aug 16, 2017 at 04:57:30PM +0100, C E Macfarlane wrote:

> But, since you are obviously spoiling for a fight, why should anyone listen
> to someone who has confessed to being a part of putting all that massive
> bloat in BBC web pages

[citation needed]

> presumably therefore you will feel at home
> bloating my spam folder henceforth.  Bye, bye.

Awww, poor baby who can't bear to hear that he's wrong.

-- 
David Cantrell | Bourgeois reactionary pig

I think the most difficult moment that anyone could face is seeing
their domestic servants, whether maid or drivers, run away
  -- Abdul Rahman Al-Sheikh, writing on 25 Jan 2004 at
 http://www.arabnews.com/node/243486

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


Re: New radio PIDs, more than 8 characters - "solved"

2017-08-16 Thread David Cantrell
On Wed, Aug 16, 2017 at 04:16:33PM +0100, C E Macfarlane wrote:

> as for arcane-ness of language and difficulty in reading
> it's about on a par with The Bible!

That's what everyone thinks about languages that they are too damned
lazy to learn.

-- 
David Cantrell | Nth greatest programmer in the world

Erudite is when you make a classical allusion to a
feather.  Kinky is when you use the whole chicken.

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


Re: New radio PIDs, more than 8 characters - "solved"

2017-08-16 Thread David Cantrell
On Tue, Aug 15, 2017 at 03:06:51PM +0100, C E Macfarlane wrote:

> Yes, I was aware of \b support in some languages, but RE support varies
> across languages, and, knowing this but not being experienced in PERL, I
> checked at least two online sources for PERL REs and could find no evidence
> of support for it.

The first two google results for "perl regular expression" not good
enough for you :-)

BTW, it's Perl or perl, not PERL. Perl is the name of the language, perl
is the name of the interpreter.

-- 
David Cantrell | Hero of the Information Age

If you have received this email in error, please add some nutmeg
and egg whites, whisk, and place in a warm oven for 40 minutes.

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


Re: A bug in get_iplayer-3.01?

2017-06-07 Thread David Cantrell
On Wed, Jun 07, 2017 at 01:03:26PM +0100, Ralph Corderoy wrote:
> Hi Richard,
> 
> > The function/procedure/subroutine parameters I have difficulty with
> > are ones of the form
> > my $string = shift;
> > I am inclined to agree with MrBrightside's comment in stackoverflow.
> > https://stackoverflow.com/questions/7082811/what-does-assigning-shift-to-a-variable-mean
> > "Forgive me but this seems like the worst convention ever for code
> > readability."
> No, it's fine if you know the Unix programming environment.

Never mind the Unix programming environment, it's fine if you have even
the slightest familiarity with perl. Shift is a keyword in the language.
You might as well complain about a C program using 'void' or 'case'.

As for readability, would you prefer this?

my $string = $_[0]; @_ = @_[1 .. $#_];

cos that's how you avoid using shift.

-- 
David Cantrell | Hero of the Information Age

What is the difference between hearing aliens through the
fillings in your teeth and hearing Jesus in your heart?

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


Re: Help text query

2017-05-11 Thread David Cantrell
On Tue, May 09, 2017 at 06:22:35PM +0100, Ralph Corderoy wrote:
> Hi David,
> > > If your distribution handles PPAs, there is little point, but if it
> > > does not, it could be very handy.
> > Not really. I have no idea what a PPA is so I presume that my OSes
> > don't handle them. I just regularly 'brew update;brew upgrade' on OS X
> > and 'apt-get update;apt-get upgrade' on Linux.
> A PPA is one place for apt-get to fetch packages from.
> If you find apt-get update gives you 3.00, 3.01, etc., soon after
> they're released, then you pulling their packages from somewhere other
> than a stable Ubuntu 2016-10, etc., that wouldn't update much once
> released;  that might be a PPA you've told it about in the past.

Oh, so it's just Hipster for "third-party repository".

-- 
David Cantrell | Cake Smuggler Extraordinaire

One person can change the world, but most of the time they shouldn't
-- Marge Simpson

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


Re: Help text query

2017-05-09 Thread David Cantrell
On Tue, May 09, 2017 at 01:56:03PM +0100, Martin Powell wrote:

> Does anyone think reinstating the -u flag would be a good idea??

No.

> If your distribution handles PPAs, there is little point, but if it does 
> not, it could be very handy.

Not really. I have no idea what a PPA is so I presume that my OSes don't
handle them. I just regularly 'brew update;brew upgrade' on OS X and
'apt-get update;apt-get upgrade' on Linux.

> I'm in the process of moving from Mint (with PPAs) to PCLinuxOS (No 
> PPAs) so the update would be nice.

PCLinuxOS's web page is confusing, it says that it uses APT (from
Debian) but also that they have loads of RPM packages. Either way,
better to just add a suitable package repository and use that instead of
each application supplying its own update tool.

-- 
David Cantrell | Pope | First Church of the Symmetrical Internet

Vegetarian: n: a person who, due to poor lifestyle choices,
  is more likely to get arse cancer than a normal person

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


Re: Can't download with GiP 3.00

2017-05-08 Thread David Cantrell
On Sun, May 07, 2017 at 11:16:20PM +0100, RS wrote:

> The BBC and other broadcasters transmit many films on HD satellite channels 
> at 1080i 25fps with AC3 sound at bit rates up to 9Mbit/s if my satellite 
> receiver is to be believed.  I don't recall having seen any 50fps films 
> being broadcast.  Why not, if increasing the frame rate yields greater 
> improvement than increasing resolution on large screens?

I would presume that that's because the source material isn't available
in anything approaching 50fps.

-- 
David Cantrell | Enforcer, South London Linguistic Massive

  While researching this email, I was forced to carry out some
  investigative work which unfortunately involved a bucket of
  puppies and a belt sander
-- after JoeB, in the Monastery

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


Re: Problems downloading subtitles

2017-05-02 Thread David Cantrell
On Sat, Apr 29, 2017 at 09:14:04PM -0500, artisticforge . wrote:

> It would appear that when the BBC killed XML files, subtitles were also 
> killed.

They're still available on the iPlayer website, so hopefully someone
will be able to work out where they're coming from and update get_iplayer.

-- 
David Cantrell | Pope | First Church of the Symmetrical Internet

Guns aren't the problem.  People who deserve to die are the problem.

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


Re: The XML feeds are dead.

2017-04-26 Thread David Cantrell
On Wed, Apr 26, 2017 at 01:17:48PM +0100, Roger Tricker wrote:

> I hoped my limited downloads would work. I entered the PID in the Quick URL
> box, selected radio and clicked the record button.
> This is what I got. Is that it?
> 
> WARNING: Could not download programme metadata from
> http://www.bbc.co.uk/programmes/b006qjnv.xml
> 
> ERROR: Failed to get version pid metadata from iplayer site

That appears to be a series or brand pid. If you supply the pid of an
individual episode it still works.

-- 
David Cantrell | top google result for "topless karaoke murders"

You can't spell AWESOME without ME!

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


Re: BBC RSS adaptor changes

2017-03-16 Thread David Cantrell
On Tue, Mar 14, 2017 at 10:25:38AM +0100, Mike Ralphson wrote:

> Following the BBC's (temporary?) disabling of the /programmes API JSON feed, 
> I've moved the BBC-RSS adaptor here (https://bbc-rss.herokuapp.com) to a new, 
> but slower, feed (thankfully not having to resort to scraping).

How did you manage to get a Nitro API key?

https://developer.bbc.co.uk/nitro still says that it's only open for
registration to BBC employees.

-- 
David Cantrell | http://www.cantrell.org.uk/david

Deck of Cards: $1.29.
"101 Solitaire Variations" book: $6.59.
Cheap replacement for the one thing Windows is good at: priceless
-- Shane Lazarus

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


Re: BBC Licensing Expose

2017-02-27 Thread David Cantrell
On Mon, Feb 27, 2017 at 08:57:10AM +, Chris J Brady wrote:

> If you thought that the BBC employed th*gs to collect licence fees then you 
> are right.
>  
> http://www.dailymail.co.uk/news/article-4262202/BBC-s-TV-licence-bullies-exposed.html

Do you have an actual news source instead of a rabidly anti-BBC
scandal-sheet that likes to publish pictures of scantily-clad young
teenage girls who are "all grown up now"?

-- 
David Cantrell | top google result for "topless karaoke murders"

Us Germans take our humour very seriously
  -- German cultural attache talking to the Today Programme,
 about the German supposed lack of a sense of humour, 29 Aug 2001

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


Re: [OT] Crystal Palace transmitter problems?

2017-01-03 Thread David Cantrell
On Tue, Jan 03, 2017 at 03:55:51PM -, RS wrote:

> check your aerial.  Try retuning channel 23 manually.

Tried that, doesn't help. But I also see in EyeTV that while I'm getting
a really strong signal it's very low quality, so I suppose there must be
something interfering locally. Bugger. I'll try moving the aerial around
and stuff when I get home.

-- 
David Cantrell | Reality Engineer, Ministry of Information

There are two kinds of security, the one that keeps your sister
out, the one that keeps the government out and the one that
keeps Bruce Schneier out.

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


[OT] Crystal Palace transmitter problems?

2017-01-03 Thread David Cantrell
Does anyone know if there are problems with the Crystal Palace
transmitter at the moment? I can't receive any of BBC 1/2/4, and haven't
been able to for a coupla days now. The ITV channels seem to be OK
(apart from the content, of course, which is all terrible :-) so if
there is a problem it looks like it's just the BBC's multiplex that's
affected.

-- 
David Cantrell | London Perl Mongers Deputy Chief Heretic

  Longum iter est per praecepta, breve et efficax per exempla.

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


Re: BBC Pay to Hear

2016-11-24 Thread David Cantrell
On Wed, Nov 23, 2016 at 08:50:21AM +, CJB wrote:

> http://www.dailymail.co.uk/

No, the BBC did not conspire with immigrants to cause house price
cancer.

-- 
David Cantrell | Godless Liberal Elitist

What a lovely day!  Now watch me spoil it for you.

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


Re: BBC iPlayer RSS feeds including signed/audio-described

2016-10-26 Thread David Cantrell

On 2016-10-26, 18:34, Mike Ralphson wrote:

David Cantrell wrote:

Even better, looks like I won't have to write any code :-)
Except that ...



https://bbc-rss.herokuapp.com/rss/custom/ancient%20greece.rss



gives ...



Application Error



Sorry if it was me what broke it!


Hmm, that link seems to be working fine now. Can you re-test it?


Yep, working now.

--
David Cantrell | Reality Engineer, Ministry of Information

Vegetarian: n: a person who, due to poor lifestyle choices,
  is more likely to get arse cancer than a normal person

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


Re: BBC iPlayer RSS feeds including signed/audio-described

2016-10-26 Thread David Cantrell
On Wed, Oct 26, 2016 at 04:44:10PM +0200, Mike Ralphson wrote:
> David Cantrell wrote:
> >And thanks for publishing the source too - I expect I'll be able to use
> >that to resurrect my keyword search RSS feeds.
> You can generate any keyword-search based RSS feed dynamically at
>   https://bbc-rss.herokuapp.com/rss/custom/search%20term.rss
> Just remember to URL encode the search term as above (i.e. replacing spaces 
> with %20).

Even better, looks like I won't have to write any code :-)

Except that ...

https://bbc-rss.herokuapp.com/rss/custom/ancient%20greece.rss

gives ...

" Application Error

  An error occurred in the application and your page could not be
  served. Please try again in a few moments.

  If you are the application owner, check your logs for details. "

Sorry if it was me what broke it!

-- 
David Cantrell | Official London Perl Mongers Bad Influence

Hail Caesar!  Those about to vi ^[ you!

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


Re: BBC iPlayer RSS feeds including signed/audio-described

2016-10-26 Thread David Cantrell
On Tue, Oct 25, 2016 at 07:57:24PM +0200, Mike Ralphson wrote:

> ... unofficial BBC iPlayer RSS adaptor ...

Oh wow, how did I miss these? Thanks!

> Please report any issues at https://github.com/mermade/bbc-rss

And thanks for publishing the source too - I expect I'll be able to use
that to resurrect my keyword search RSS feeds.

-- 
David Cantrell | http://www.cantrell.org.uk/david

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


Re: BBC iPlayer login will be required from 2017

2016-10-01 Thread David Cantrell

On 2016-10-01, 10:58, Peter Corlett wrote:

On Tue, Sep 27, 2016 at 12:02:55PM +0100, Jim web wrote:

It is the responsibility of the *vendor* of closed commerial items to ensure
what you buy works as it should. They may 'subcontract' that to the makers,
who in turn may commission someone else to deal with it.



The BBC try to give info well in advance to makers and those who offer 'smart
TV' boxes. Its then their job to handle it. Not the BBC's.


I must disagree.

The BBC has historically maintained broadcasting in standards long after they
had become obsolete. BBC2 launched in the new 625 line service in 1964 and the
BBC had internally migrated everything to this new standard by 1969. The BBC
maintained a downconverted 405 line service until 1985. It was supposedly only
scrapped because they needed to bring the service down for maintenance for a
while, and received no complaints.


On the other hand they stopped broadcasting analogue TV signals, and 
some people complained, and those complaints were ignored. Some people 
received help converting, but that was a DCMS scheme, the BBC was only 
the administrator of the scheme.


Maintaining and running a a large number of versions of a piece of 
software and everything that surrounds it for long periods of time while 
also upgrading it to provide new features for new users is just not 
practical.


--
David Cantrell | Enforcer, South London Linguistic Massive

Please stop rolling your Jargon Dice and explain the problem
you are having to me in plain English, using small words.
  -- John Hardin, in the Monastery

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


Re: [Get-iPlayer] Re: BBC iPlayer login will be required from 2017

2016-10-01 Thread David Cantrell

On 2016-09-29, 17:19, RS wrote:

From: David Cantrell

As far as I am aware there are no regional or local television or
radio stations which serve a single post code.

You're right, but you are also, I think, deliberately missing the point.
Each station serves a long list of postcodes, and you can't use anything
else that people are expected to know, like the name of their home town,
to reliably pick a local radio station.

I find it difficult to understand how anyone would want to catch up from
a radio station whose name he or she did not know.


Did you not know that iPlayer also lets you listen/watch live? It's not 
just for catch up.


Personally I don't understand why anyone would want to listen to *any* 
local radio, but given that some people do, I expect that there exist 
people who want to listen to their local radio station online.


--
David Cantrell | London Perl Mongers Deputy Chief Heretic

Arbeit macht Alkoholiker

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


Re: [Get-iPlayer] Re: BBC iPlayer login will be required from 2017

2016-09-29 Thread David Cantrell
On Thu, Sep 29, 2016 at 03:22:57PM +0100, RS wrote:
> >From: David Cantrell
> >Sent: Thursday, September 29, 2016 14:07
> >>Asking for location makes no sense to me.
> >Ah, right, so just because it isn't helpful for your particular unusual
> >case they shouldn't do it.
> It makes no sense for the purposes set out on the registration page because 
> the iPlayer  already has a much more useful facility to allow the user to 
> select which regional or local programmes are to be presented regardless of 
> location.  In addition it makes a fairly good guess at location.  As far as 

This isn't an iPlayer login though, it's used in lots of other bits of
the BBC's online stuff. It makes sense for the iPlayer people to re-use
what already exists.

And I can't see where it makes a guess at location at all. All I can get
out of it is a list of stations. For those who are into crappy radio I
expect it would be useful for it to at least be able to pick a sensible
default while also letting them pick something else if they wish.
Bearing in mind that most people don't want to listen to Radio Cumbria
one day then Radio Kent the next.

> I am aware there are no regional or local television or radio stations 
> which serve a single post code. 

You're right, but you are also, I think, deliberately missing the point.
Each station serves a long list of postcodes, and you can't use anything
else that people are expected to know, like the name of their home town,
to reliably pick a local radio station.

-- 
David Cantrell | Enforcer, South London Linguistic Massive

The word "urgent" is the moral of the story "The boy who cried wolf". As
a general rule I don't believe it until a manager comes to me almost in
tears. I like to catch them in a cup and drink them later.
   -- Matt Holiab, in the Monastery

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


Re: BBC iPlayer login will be required from 2017

2016-09-29 Thread David Cantrell
On Thu, Sep 29, 2016 at 12:05:01AM +0100, Peter S Kirk wrote:

> "I fetch items with gip. Play them with VLC. Update things as and when I
> decide."

And then there are normal people who aren't geeks. They're who smart
TVs exist for.

-- 
David Cantrell | Reality Engineer, Ministry of Information

The Law of Daves: in any gathering of technical people, the
number of Daves will be greater than the number of women.

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


Re: [Get-iPlayer] Re: BBC iPlayer login will be required from 2017

2016-09-29 Thread David Cantrell
On Wed, Sep 28, 2016 at 04:36:19PM -0500, artisticforge . wrote:

> I listen to BBC Radio off the internet.
> As to which stations it depends on the day of the week and the time of day.
> Sunday is Radio Cumbria, Radio Kent, Radio Lincolnshire, Radio Stoke and
> Radio Wales.
> 
> Asking for location makes no sense to me.

Ah, right, so just because it isn't helpful for your particular unusual
case they shouldn't do it.

By the same argument they should close down all of those radio stations
because of the unusual case of someone who is completely deaf.

-- 
David Cantrell | Hero of the Information Age

Computer Science is about lofty design goals and careful algorithmic
optimisation.  Sysadminning is about cleaning up the resulting mess.

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


Re: So what does this really mean

2016-09-16 Thread David Cantrell

On 2016-09-16, 21:03, michael norman wrote:


Are we not OT with this ?


Hi, welcome to the internet. It's a place where people talk about things 
and there is topic drift. I'm afraid that if you don't learn to put up 
with it you're going to get very upset very quickly.


(Why is this the only one out of hundreds of mailing lists I'm on where 
people care so much about topic drift?)


--
David Cantrell | Pope | First Church of the Symmetrical Internet

People from my sort of background needed grammar schools to
compete with children from privileged homes like ... Tony Benn
 -- Margaret Thatcher

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


Re: So what does this really mean

2016-09-16 Thread David Cantrell

On 2016-09-16, 19:16, RS wrote:


I am not convinced by the argument that European copyright licences
would be much more expensive because 38% of the EU population speak
English as an additional language.   People want to watch television in
their mother tongue.  13% of the EU population have English as their
mother tongue, the same as Italian.  For German the figure is 18%.
German broadcasters are very liberal at making their television channels
freely available.  The Italians make SD RA1, RAI2 and RAI3 available
unencrypted.


Have you seen the quality of TV programming in Italian and German? THAT 
is why they want English content, and also why their own content is not 
worth protecting.


--
David Cantrell | Bourgeois reactionary pig

  NANOG makes me want to unplug everything and hide under the bed
-- brian d foy

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


Re: So what does this really mean

2016-09-16 Thread David Cantrell
On Fri, Sep 16, 2016 at 04:39:53PM +0200, Dave Widgery wrote:

> I realise that there is are rites issues and it is not just the BBC or tv, 
> they tried region coding dvds it doesn't work, with gobal movement of people 
> the whole rites thing needs a rethink.

Actually it does work. It doesn't need to be 100% effective, it just
needs to be *sufficiently* effective.

Many years ago, for example, I worked for the BBC on some very early
Olympic online streaming. The International Olympic Committee were happy
if our geographic blocking had an error rate of 10%. That is, if someone
from outside the area we had rights for tried to access it they were
happy with a 90% change of them being blocked.

If a tiny number of geeks can circumvent the restrictions by using VPNs,
or hiring a server in the UK, or using VLC to watch a DVD, that really
doesn't matter. What matters is blocking the masses.

-- 
David Cantrell | semi-evolved ape-thing

There is no one true indentation style,
But if there were K would be Its Prophets.
Peace be upon Their Holy Beards.

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


Re: Replacement for "aactomp3" option?

2016-09-01 Thread David Cantrell
On Thu, Sep 01, 2016 at 06:31:37AM +0100, skyma...@gmail.com wrote:

> I understand that the "aactomp3" option is being removed in the next release 
> of GiP. I rely on this to download audio drama in MP3 format. Can anyone 
> advise me what it can be replaced by, please? I run GiP on Windows 10.

If you can't use AAC format files (typically ending in .m4a) then there
are a zillion different tools for converting to mp3.

-- 
David Cantrell | Minister for Arbitrary Justice

"IMO, the primary historical significance of Unix is that it marks the
time in computer history where CPUs became so cheap that it was possible
to build an operating system without adult supervision."
 -- Russ Holsclaw in a.f.c

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


Re: Audio/Video Out of Sync

2016-08-18 Thread David Cantrell
On Tue, Aug 16, 2016 at 09:44:43PM +0200, iz wrote:
> > >From: David Cantrell
> > >> >I'd like to rate-limit get_iplayer so that other things on the same
> > >> >machine that are also talking to the internet don't run like stunned 
> If you are using OS X, this approach worked for me:
> https://dreness.com/blog/archives/843
> 
> Just change "dummynet out" to "dummynet in" and change the bandwidth limit to 
> desired value.

Excellent, thanks! That looks like a very nice solution.

-- 
David Cantrell | top google result for "topless karaoke murders"

If you have received this email in error, please add some nutmeg
and egg whites, whisk, and place in a warm oven for 40 minutes.

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


Re: Audio/Video Out of Sync

2016-08-18 Thread David Cantrell
On Tue, Aug 16, 2016 at 10:03:20PM +0100, RS wrote:

> Maybe I'm missing something, but I find that incredible.  The Mac is sold 
> as a machine which allows creative people to create without having to 
> bother with technicalities.

And a Ferrari is sold as something that will turn you into a racing god
and attract members of the appropriate sex, even though it actually does
neither. Please don't confuse marketing with reality :-)

As far as I'm concerned a Mac is a good compromise between Unix, doing
A/V playback reliably, and having commercial desktop software available.

> If I search for Linux traffic management or 
> Windows traffic management I can see that there are programs which do that 
> sort of thing, but they are only needed if I want to do clever things like 
> running a heavily loaded server where the load has to be balanced between 
> processes. I have 5 programs open on my task bar and 58 processes.  Windows 
> allocates resources between them as they demand them

OS X does that too. It's just that in this rare case I know better than
the OS does. Exactly the same problem would arise if I used Linux or
FreeBSD or Solaris instead. It's the problem that the --bwlimit option
on rsync exists to solve.

-- 
David Cantrell | Enforcer, South London Linguistic Massive

If you have received this email in error, please add some nutmeg
and egg whites, whisk, and place in a warm oven for 40 minutes.

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


Re: Audio/Video Out of Sync

2016-08-16 Thread David Cantrell
On Tue, Aug 16, 2016 at 12:46:51PM +0100, RS wrote:
> >From: David Cantrell Sent: Monday, August 15, 2016 23:37
> >I'd like to rate-limit get_iplayer so that other things on the same 
> >machine that are also talking to the internet don't run like stunned slugs 
> >in treacle.
> >Second, I'm not using Linux.
> You don't say which non-Linux operating system you are using.  Your 
> description doesn't correspond with any version of Windows, 32 bit or 64 
> bit

Yes, it does. This would affect Windows just as much as any other OS.

> I have used except maybe Windows 3.1.  Here downloading HLSHD with 
> get_iplayer at speeds up to 80Mbit/s on an elderly 2.33GHz Core 2 Duo with 
> 4GByte of RAM in 64 bit Windows 10 Home and a 10/100 LAN card gave a CPU 
> usage of between 20% and 52% and memory usage barely above background.  How 
> much RAM have you got?

CPU and RAM are not the limiting factors. Network bandwidth is. Other
stuff is slowing down because it's waiting to send or receive packets.

-- 
David Cantrell | Cake Smuggler Extraordinaire

fdisk format reinstall, doo-dah, doo-dah;
fdisk format reinstall, it's the Windows way

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


Re: Audio/Video Out of Sync

2016-08-15 Thread David Cantrell

On 2016-08-15, 18:08, John Bingham wrote:

On 15/08/16 17:42, David Cantrell wrote:

I think that's unlikely. That said, if someone were to add rate-limiting
options to get_iplayer I'd be very happy.

Fairly easy to slow down everything on a Linux interface.  If anyone has
the time/inclination, maybe worth investigating the tc command.


Two things.

First, slowing down *an entire interface* is exactly what I don't want. 
I'd like to rate-limit get_iplayer so that other things on the same 
machine that are also talking to the internet don't run like stunned 
slugs in treacle.


Second, I'm not using Linux.

--
David Cantrell | Minister for Arbitrary Justice

  Longum iter est per praecepta, breve et efficax per exempla.

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


Re: Audio/Video Out of Sync

2016-08-15 Thread David Cantrell
On Mon, Aug 15, 2016 at 03:52:52PM +0100, George Eycott wrote:

> Having a thought about this, when you stream something through IPlayer or on
> a device of any sort to watch as it streams, it pulls data at a far lower
> rate than when we try and download the whole programme in one hit. I wonder
> whether it is this attempt to get the data quickly that is causing the
> problem. If I were wearing a tin hat I would say it could have been a
> deliberate change to cause problems to people using get_iplayer :-)

I think that's unlikely. That said, if someone were to add rate-limiting
options to get_iplayer I'd be very happy.

-- 
David Cantrell | A machine for turning tea into grumpiness

[OS X] appeals to me as a monk, a user, a compiler-of-apps, a
sometime coder, and an easily amused primate with a penchant
for those that are pretty, colorful, and make nice noises.
-- Dan Birchall, in The Monastery

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


Re: Olympics 2016 RedButton content, offered as catch-up

2016-08-12 Thread David Cantrell

On 2016-08-12, 00:22, RS wrote:


My approach was
bbc.co.uk
Sport
Olympic Games
Sport by Sport -> http://www.bbc.co.uk/sport/olympics/rio-2016/sports

There is then a table of black and white logos.  If I click Equestrian I
get taken to what looks like a page of news items.  If I scroll down
below the fold there is an item
iPlayer catch ups for every Rio event


There's less faffing about if you go to the iplayer main page at 
bbc.co.uk/iplayer and put "olympic equestrian" (or whatever) into the 
search box.


That quickly gets you the parent pid so you can use pid-recursive to 
download all the coverage of that sport so far, and links to individual 
programmes if you only want some of them.


--
David Cantrell | top google result for "internet beard fetish club"

  NANOG makes me want to unplug everything and hide under the bed
-- brian d foy

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


Re: Olympics Might be hvf Only

2016-08-11 Thread David Cantrell
On Mon, Aug 08, 2016 at 02:46:24PM +0100, RS wrote:
> From: David Cantrell
> >At least after the previous Olympics *everything* was available for 
> >download on iPlayer.
> I must be being very stupid then, because I can't find it.  If I go to a 
> day in the Schedule which has already happened I just get a table of 
> results, not an opportunity to watch the event.

Use the iplayer search thingy to look for, eg, "olympic weightlifting"
and then click on the bit where it says something like "12 available
episodes" on the right, which takes you to ...
  http://www.bbc.co.uk/iplayer/episodes/b00cn1xm

-- 
David Cantrell | Enforcer, South London Linguistic Massive

"There's a hole in my bucket, dear Liza, dear Liza."
"WHAT MAKES YOU SAY THERE IS A HOLE IN YOUR BUCKET?"

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


Re: Olympics Might be hvf Only

2016-08-08 Thread David Cantrell

On 2016-08-06, 10:50, RS wrote:


As for downloading from the iPlayer, my experience has been that only
the main channels are put on iPlayer,  and that red button streams are
only available while the live event is being shown on a red button
channel.


At least after the previous Olympics *everything* was available for 
download on iPlayer.


--
David Cantrell | Hero of the Information Age

"There's a hole in my bucket, dear Liza, dear Liza."
"WHAT MAKES YOU SAY THERE IS A HOLE IN YOUR BUCKET?"

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


Re: OT: why were BBC archives deleted or destroyed?

2016-08-05 Thread David Cantrell

On 2016-08-04, 19:04, Mark Carroll wrote:

On 04 Aug 2016, artisticforge . wrote:

This is off-topic but it is of importance to the people who listen to
the BBC.

  please, some of us subscribe to this
list to follow get_iplayer stuff specifically.


I wonder why this is the only one out of a hundred or so mailing lists 
that I'm on where people get so pissy about stuff being on-topic.


--
David Cantrell | Enforcer, South London Linguistic Massive

Please stop rolling your Jargon Dice and explain the problem
you are having to me in plain English, using small words.
  -- John Hardin, in the Monastery

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


Re: OT: why were BBC archives deleted or destroyed?

2016-08-04 Thread David Cantrell
On Thu, Aug 04, 2016 at 03:52:35PM +0100, Chris Woods wrote:

> I don't think the future will really see any cultural benefit from 
> twenty years of Pointless or Gardeners Question Time.

People said the same about Dr Who.

And I'm quite sure that people said the same in the 1830s about the
"penny dreadfuls". Their cultural benefit nearly 200 years later
includes the character Sweeney Todd, but more importantly having access
to a culture's mass entertainment tells us about that culture things
that we wouldn't know if we just looked at what people of quality
enjoyed.

-- 
David Cantrell | top google result for "internet beard fetish club"

People from my sort of background needed grammar schools to
compete with children from privileged homes like ... Tony Benn
 -- Margaret Thatcher

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


Re: Future of get-iplayer when BBC changes licence

2016-08-03 Thread David Cantrell
On Mon, Aug 01, 2016 at 06:52:14PM +0100, John Bray wrote:

> Do you know how the BBC will enforce there new online licence rules?

I expect that they'll enforce it the same way as they do now for live
streaming via iPlayer, and the same way as they do for receiving
broadcast television. That is, they'll rely on honesty.

> If they introduce an account system where you have quote an address,
> licence, or over 75 dispensation, how can the program continue to work
> from the Linux command line, as I've so enjoyed using it for a decade.

If they were to demand all that information before allowing people to
use iPlayer in a web browser it would then set a cookie. Receiving,
recording, and using a cookie in a command line program is trivial
although it would of course require changes to allow you to submit the
necessary information.

-- 
David Cantrell | Minister for Arbitrary Justice

  Your call is important to me.  To see if it's important to
  you I'm going to make you wait on hold for five minutes.
  All calls are recorded for blackmail and amusement purposes.

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


Re: [ANN] get_iplayer 2.95 released

2016-07-04 Thread David Cantrell
On Sun, Jul 03, 2016 at 08:03:58PM +0100, Owen Smith wrote:

> Another piece of software dropping Vista support almost a year before the end 
> of official Microsoft support, sigh. Well I haven't used get_iplayer for 
> several months, this probably means I never will.
> 
> What annoys me is XP was well supported by third parties for several years 
> after Microsoft ceased support. Whereas Vista is being dropped by third 
> parties long before Microsoft support ceases. Why?

Because you neglected to pay the vendors for a support contract.

-- 
David Cantrell | Reality Engineer, Ministry of Information

  Sobol's Law of Telecom Utilities:
Telcos are malicious; cablecos are simply clueless.

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


Re: Android Smart Phone

2016-06-14 Thread David Cantrell
On Tue, Jun 14, 2016 at 04:33:40PM +0100, CJB wrote:

> Is it possible to download programmes directly to an Android smart
> phone? Or is it best to do this on a laptop / PC first and then copy
> said files to the phone. Just asking. Thanks - Chris B.

There's an official iPlayer app in the Google online shop. That can
download programmes.

-- 
David Cantrell | Bourgeois reactionary pig

Wow, my first sigquoting! I feel so special now!
-- Dan Sugalski

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


Re: Offtopic noise: Re: BBC iPlayer viewers now need a...

2016-05-23 Thread David Cantrell
On Mon, May 16, 2016 at 07:32:44PM +0100, David Woodhouse wrote:

> However... it seems that this list is mostly used these days for
> offtopic crap, and for technical queries which get referred to the
> forums.

People need to learn that mailing lists *always* have some off-topic
content, partly because topics drift, partly because people have
different notions of what, precisely, is on-topic, and partly because
people are lazy and/or arseholes. The amount of traffic on this list is
so low that what off-topic stuff we get just doesn't matter. Learn to
ignore it if you don't care about it, just like I ignore anything about
Windows.

> Is there still a benefit to having this list at all? Would we be better
> off shutting it down entirely?

Yes. No. Better to shut down the forums, as mailing lists are always a
better way of communicating than web forums are.

-- 
David Cantrell | Bourgeois reactionary pig

There are many different types of sausages.  The best are
from the north of England.  The wurst are from Germany.
  -- seen in alt.2eggs...

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


Re: Spurious write permission error

2016-05-03 Thread David Cantrell
On Tue, May 03, 2016 at 03:55:48PM +0100, C E Macfarlane wrote:
> From: artisticforge . [mailto:artisticfo...@gmail.com]
> > First a request. can you refrain from inserting your web page with
> > every post? it is annoying
> Tough shit.  It's my standard email sig, and I'm not changing it just for you.

It is customary to put signatures at the end of messages, not the
beginning. I'm sure that if you put it at the end no-one would object.

-- 
David Cantrell | http://www.cantrell.org.uk/david

Please stop rolling your Jargon Dice and explain the problem
you are having to me in plain English, using small words.
  -- John Hardin, in the Monastery

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


Re: Spurious write permission error

2016-05-03 Thread David Cantrell
On Tue, May 03, 2016 at 08:48:47AM -0500, artisticforge . wrote:

> second, I do not do "Windows". That said, any operating system should
> prevent the deletion of a file that is in use.

Indeed. However, Unix-a-likes do let you delete directory entries for
files that are in use - the file is only deleted when there are no
directory entries for it and no open file handles left. That's not
quite the same, of course, but in unless one is being unnaturally
precise in one's writing it is rare for people to discriminate between
them.

On Windows, on the other hand, my understanding is that you can't delete
a dirent for a file that is in use.

> MacOSX & Linux will not let me delete a directory if that directory is
> the "current working directory" for a process.

This is technically true - if you 'rmdir' a directory that is some
process's cwd then the dirent will go away but the inode will remain
until it is no longer in use. However, you won't be able to do anything
meaningful with it.

-- 
David Cantrell | Enforcer, South London Linguistic Massive

I think the most difficult moment that anyone could face is seeing
their domestic servants, whether maid or drivers, run away
  -- Abdul Rahman Al-Sheikh, writing on 25 Jan 2004 at
 http://www.arabnews.com/node/243486

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


Re: Spurious write permission error

2016-05-03 Thread David Cantrell
On Mon, May 02, 2016 at 10:40:01PM +0100, C E Macfarlane wrote:

> 1)The OS  -  the OP was working with Windows, while all none of his 
> respondents are.  It might be that Windows is less forgiving of attempts by 
> one process to access a file that is currently being updated by another 
> process.

File locking semantics are completely different on Windows compared to
Unix, and get_iplayer is written in perl, which has very much a Unixy
background. I've not looked at the code, but unless there's extra
special Windows sauce in there it might not work.

-- 
David Cantrell | semi-evolved ape-thing

 I'm in retox

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


Re: I deleted my preferences file - re-created it and have a Tele problem

2016-04-21 Thread David Cantrell
On Wed, Apr 20, 2016 at 09:29:22PM +0100, Clive wrote:

> I stupidly cleared my preferences file, tried to recreate it ...

Take this as a lesson in why you should have backups!

-- 
David Cantrell | Cake Smuggler Extraordinaire

Arbeit macht Alkoholiker

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


Re: Setting Locale in UK

2016-03-19 Thread David Cantrell
On Tue, Mar 15, 2016 at 09:56:26PM -, Peter S Kirk wrote:

> PS:
> 
> Copy.com closes May 2016 - backup files elsewhere.
> 
> I have ~700GB on copy.com Free. Any suggestions where to move the files 
> to, preferably free.

A 1TB disk attached to a Raspberry Pi running Bittorrent Sync. It's
almost free but not quite.

-- 
David Cantrell | A machine for turning tea into grumpiness

What plaything can you offer me today?

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


Re: BBC 3 goes off-air tonight.

2016-02-17 Thread David Cantrell

On 2016-02-17, 21:19, Peter S Kirk wrote:


Show some manners and do not post expletives.


Show some class and don't just dismiss stuff as "arty rubbish".

--
David Cantrell

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


Re: [OT] TOTPs not offered in HD (720p)

2016-01-12 Thread David Cantrell
On Sun, Jan 10, 2016 at 10:42:27PM +0200, Vangelis forthnet wrote:
> On Sun Jan 10 18:18:13 GMT 2016, CJB wrote:
> 
> >I guess that the HD torrent versions were capped
> >'live' / off-air using HD digital recorders.
> 
> The issue here, Chris, is not how Torrent Release Groups do it
> (probably by intercepting relay land/satellite Live TV feeds
> for which they possess leaked decryption keys

You make it sound far fancier than it really is. They don't intercept
anything or (for BBC content) decrypt anything. They just record the raw
broadcast. In the past I've used EyeTV and an Elgato DTT USB thingy for
that. I never bothered with HD myself, but the hardware supported it.

-- 
David Cantrell | Official London Perl Mongers Bad Influence

We found no search results for "crotchet".  Did you mean "crotch"?

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


Re: BBC Web Documentary: Heroes ....

2015-11-25 Thread David Cantrell
On Wed, Nov 25, 2015 at 02:15:51PM +, CJB wrote:

> Hi guys. Any idea hoe to download these 4 eps. please:
> 
> http://www.bbc.co.uk/news/world-us-canada-34698246

All four parts together <http://www.bbc.co.uk/programmes/b06q770g> so
this should do the trick:

$ get_iplayer --pid b06q770g

-- 
David Cantrell

Human Rights left unattended may be removed,
destroyed, or damaged by the security services.

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


  1   2   >