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

2020-07-04 Thread Jon Davies
On Sat, 4 Jul 2020 at 13:58, Barry Toner  wrote:
> Can someone please tell me how I do this?  I promised some friends in the USA 
> I would grab this show for them.  I need the video and don’t need subtitles 
> or audio description.

This is why I stopped subscribing to this list a couple of years ago -
I've been resubscribed by the old backup, but will be going again.  I
want nothing to do with anyone or anything that promotes violation of
the BBC terms of use.  See
https://www.bbc.co.uk/usingthebbc/terms-of-use/ - particularly 7a, the
bit that says

a. Don’t mess with our services

What do we mean by that? This sort of thing:
...Accessing content from outside the UK that you aren’t allowed to,
or helping others do the same.

So, please just stop using get-iplayer for this sort of thing.  People
have put effort into building get-iplayer to enable fair use within
the UK in circumstances that the BBC's own software doesn't support.

Yes, I'm angry.  I'm angry that people, including you Barry Toner, are
abusing the work others (and to a much lesser extent I) have put into
get-iplayer and the various distribution points for it.

So I'm pulling the plug on what's left of the Ubuntu repository
(though it was getting no further updates for other reasons), and
pulling the plug on the Raspbian repository.  If you don't like this,
tough.  Do your own thing.  I'm having no part in this any more.

Jon

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


Raspbian - expired key for packages.hedgerows.org.uk

2017-01-05 Thread Jon Davies
The repository signing key for packages.hedgerows.org.uk expired a
couple of days ago.  If you use this repository to install get-iplayer
you will need to install an updated key:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 0F5BFDFE

However, you should only do this if you trust the owner of key 0F5BFDFE.

I know I do, because I know it's me ;-)  But if you want to check, you
can find more about the ownership of this key here:
http://keyserver.ubuntu.com:11371/pks/lookup?fingerprint=on=index=0x4C5653EB93401EAECAF6B28E8B07C4FF0F5BFDFE

Regards
Jon

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


Re: Audio encoding changed, truncated audio files

2016-09-13 Thread Jon Davies
On 12 September 2016 at 21:44, artisticforge .  wrote:
> those results would point to a difference in the Perl installation on
> Debian Linux Jessie.

a few questions...
are you running this on a pi or a pc?
what version of atomicparsley do you have installed?

thanks
jon

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


Re: Keep download file before conversion?

2016-09-13 Thread Jon Davies
On 12 September 2016 at 18:08, artisticforge .  wrote:
> i have looked at the long help and do not find what I was looking for.
> Is there a way to keep the raw downloaded file before conversion?
>
> this would be the *.ts or m4a.m4a file.

there's the --raw option: this keeps the unremuxed file, but prevents
any remuxing from happening.

Note that the "conversion" is simply taking the video and audio
streams and putting them into a different, more convenient, container
format - there's no change to the video or audio stream at all.

jon

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


Re: Audio encoding changed, truncated audio files

2016-09-11 Thread Jon Davies
On 11 September 2016 at 14:01, artisticforge .  wrote:
> The downloaded file are within nominal file size, it is after
> conversion that they are truncated.

Please could you email a verbose log of an example that fails?

thanks
jon

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


Re: Web PVR in v2.96 - Recording modes

2016-09-11 Thread Jon Davies
On 11 September 2016 at 15:34, Simon Morgan  wrote:
> I wanted to record the best
> sound while accepting a lower video quality.

If you have a look here:

   
https://github.com/get-iplayer/get_iplayer/wiki/modesref#recording-mode-details

you'll find a list of the modes that get-iplayer can currently
download along with the video and audio bit rates.

I think you probably want a mode that doesn't exist, but the nearest
would be hvfsd (which is also the one you get for --tvmode=better)
which is the lowest resolution stream with 128k audio.

Jon

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


Re: can I populate the download_history without actualy downloading

2016-09-07 Thread Jon Davies
On 6 September 2016 at 14:30, Dave Widgery  wrote:
>... due to a disk crash I have had to rebuild my system.

http://www.worldbackupday.com/en/


> one problem I have is the download_history file is missing a lot of
> entries of programs I have already downloaded.
[...]
> Is there a way to fool get_iplayer to add entries to the
> download_history without actually downloading the program.

you probably don't need to.  If get-iplayer tries to download a
programme that already exists on disk, it won't download it again.

Jon

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


Re: Not working on BASH on Windows

2016-09-07 Thread Jon Davies
On 6 September 2016 at 09:44, Shevek  wrote:
> I can confirm the same happens with other downloads
[...]
>
> So it appears that AtomicParsley is the culprit.

Yes, for some reason atomicparsley doesn't work ubuntu-in-windows-10 -
it just locks up.  If you can work out why I'll happily incorporate a
patch in the ppa build.

Jon

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


Re: episode oddity

2016-08-03 Thread Jon Davies
On 3 August 2016 at 20:12, Shevek  wrote:
> [...]
> "WARNING: Segment not found (xxx)"
> "WARNING: There may be a gap near yyy secs in programme"
>
> If I then retry using FLASHHD the download completes without error.
>
> So, it appears that the beeb's HLS encoding/streaming is producing
> corrupt files.
> [...]

I was just listening to some radio on my iPad using the BBC Radio app,
which I believe downloads/streams hls behind the scenes.  This skipped
in a couple of places, and got stuck in a loop somewhere else.  I'm on
the end of a rock-solid fibre connection with oodles of bandwidth, so
I'm content that it's not a sticky internet connection.

So if the beeb's own applications can't get a solid programme without
gaps and errors, get-iplayer won't be able to either.

Jon

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


Re: Radio Downloads to m4a

2016-07-25 Thread Jon Davies
On 24 July 2016 at 22:10, Vangelis forthnet  wrote:
> For completeness, one should also add .flv (audio-only) files, produced with
> --radiomode=flash --raw
>
> flash(tv|radio) modes were the default on GiP 2.94, so --raw yielded FLV
> files back then...

for info, flash mode is deprecated now, and will disappear probably in
the next release.

Jon

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


Re: Radio Downloads to m4a

2016-07-24 Thread Jon Davies
On 24 July 2016 at 13:25, Mike Casswell  wrote:
> From the release295 release notes:
>
> 'DASH radio downloads are M4A files, but they are still re-muxed with
> ffmpeg by default in order to make the files palatable to AtomicParsley
> for metadata tagging. Downloading with --raw will produce M4A files.'
and the release notes go on to say that HLS radio downloads in raw
produce .ts files.

so, for radio, you have a choice of m4a that doesn't play well, m4a
that does, or .ts.  Not .mp3.

in general, the transcoding options in get-iplayer are deprecated -
get-iplayer is designed to download programmes, not transcode them.

If you want something other than the formats that get-iplayer
produces, you can use the --command option along with your favourite
transcoder to change the format after download.

see
https://github.com/get-iplayer/get_iplayer/wiki/documentation#custom-commands
and also
https://github.com/get-iplayer/get_iplayer/wiki/documentation#substitution-parameters

But for now, the aactomp3 option is still there and will do what you
need, until the next version.

Jon

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


Re: get_iplayer downloads .ts files

2016-07-20 Thread Jon Davies
On 19 July 2016 at 08:02, John Rose  wrote:
> I had --raw in the command. I had that because the --help parameter gives
> that --raw results in "RTMP->FLV". It used to do so, but it no longer does
> so i.e. it gives a .ts which is not obviously processable in terms of
> editing.

from the release notes
(https://github.com/get-iplayer/get_iplayer/wiki/release295):

3. New default streaming formats

TV

HLS (HTTP Live Streaming) is now the default format for on-demand TV
HLS downloads are MPEG-TS (transport stream) files, which can be
played by most media players. The files are re-muxed to MP4 by default
to make them palatable to AtomicParsley for metadata tagging.
Downloading with --raw will produce MPEG-TS files.
RTMP (Flash) format is temporarily still available with
--tvmode=flash. The previous default setting is available with
--tvmode=flashbetter.

and from get-iplayer --help:
 --rawDon't transcode or change the
recording/stream in any way (i.e. RTMP->FLV, HLS->MPEG-TS)

> ...it gives a .ts which is not obviously processable in terms of
> editing.

well, .ts files are most definitely processable and editable, and
avidemux claims to work with .mp4 and .ts files, but I don't use it
and can't really comment.

I'd suggest you just don't use the --raw option: the transcoding that
get-iplayer does just puts the video and audio streams into a more
manageable container (mp4) to make it easier for people to do other
stuff with the files.

Jon

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


Re: get_iplayer downloads .ts files

2016-07-18 Thread Jon Davies
> On 18 July 2016 at 12:26, John Rose <john.aaron.r...@gmail.com> wrote:
> I've just installed get_iplayer v2.95-ppa25~trusty emanating from your ppa.
> It downloads TV programmes as .ts files (e.g. dad's Army and the Proms.

> On 18/07/16 17:00, Jon Davies wrote:
> By default, get-iplayer has produced .mp4 files for a long time, and
> it still does.  So there's something in the way you've configured it
> that's producing .ts files.  most likely you've asked it to produce
> raw files.
>
> what's the result of this command in your configuration?
> $ get_iplayer --prefs-show

On 18 July 2016 at 17:10, John Rose <john.aaron.r...@gmail.com> wrote:
> get_iplayer --prefs-show
>
> shows nothing (i.e. just returns the command prompt).

ok, next question: what command are you using to download programmes?

Jon

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


Re: get_iplayer downloads .ts files

2016-07-18 Thread Jon Davies
On 18 July 2016 at 12:26, John Rose  wrote:

in general, please either post to the get-iplayer mailing list (in cc)
or post a question on the forums at www.squarepenguin.com.
... but having said that...

> I've just installed get_iplayer v2.95-ppa25~trusty emanating from your ppa.
> It downloads TV programmes as .ts files (e.g. dad's Army and the Proms.
> These files play OK, but cannot be edited or converted to .flv or .mpg
> formats either using ProjectX or using Avidemux. Please tell me what's
> happening with the BBC Player and how I may edit these .ts files.

By default, get-iplayer has produced .mp4 files for a long time, and
it still does.  So there's something in the way you've configured it
that's producing .ts files.  most likely you've asked it to produce
raw files.

what's the result of this command in your configuration?
$ get_iplayer --prefs-show

Jon

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


Re: Bl**dy Beeb Truncations on iPlayer

2016-06-30 Thread Jon Davies
On 30 June 2016 at 18:19, CJB  wrote:
> Thank Don
>
> I'll check out others over the weekend. But this has been going on for
> years.The Beeb says that it adds 2 mins to the start and end of a
> prog. but if  programme is say 30 mins long then the file should be 34
> mins not 28 or less etc.!!

This is a pointless conversation.  all get_iplayer does (and can do)
is download the media content that the BBC makes available.

If you don't like the BBC's content, either complain to the BBC or go
somewhere else for tv and radio programmes.

If get_iplayer is downloading content incorrectly, by all means ask
questions here, but if you have issues with the content please take
those conversations somewhere more appropriate.

Jon

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


Re: get_iplayer 2.94-184-gbf6d7eb-ppa23p6 - deprecated options

2016-06-12 Thread Jon Davies
On 9 June 2016 at 14:24, Kevin Lynch  wrote:
> I just noticed my get_iplayer has started  throwing these error
> messages, which I "fixed" by commenting out the lines in the files.
>
> WARNING: Deprecated option in /var/lib/get_iplayer/options: 'rtmpdump
> = /usr/bin/rtmpdump'
[repeated messages deleted]

the messages relating to options in /var/lib and /etc should disappear
in the next couple of days when I get around to pushing the
corresponding updates to the ppa.

> The message that concerns me is
>
> WARNING: Deprecated option in /home/kevin/.get_iplayer/options: 'aactomp3 = 1'
>
> which means my files will no longer be converted to mp3. Did I miss
> the discussion somewhere that concluded conversion to mp3 would be
> removed?

If there was a discussion, I missed it too.

But I'd argue that gip's purpose is to download files - and not to
transcode them.  there are other (usually better) tools for that. (the
problem with including conversion to other formats is that everyone
wants something different, and before you know it you implement all
the options some transcoding tool gives you, making gip excessively
complex.)

> What is regarded as best practice to create mp3 files today? I suspect
> AAC is now the preferred format

It's more that AAC is the native format, rather than preferred, but...

you could use the command option to call ffmpeg on your downloaded
files to transcode into any format you fancy.  See
https://github.com/get-iplayer/get_iplayer/wiki/documentation#custom-commands
for some suggestions.

Hope this helps,
Jon

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


Re: XML::Simple problem

2016-05-16 Thread Jon Davies
On 7 May 2016 at 01:19, John Reay  wrote:
> Suddenly, today, I started getting this error with every attempted
> download. Does anyone have any ideas?

> WARNING: Please download and run latest installer or install the
> XML::Simple Perl module for more accurate programme metadata.

try installing XML::Simple

without knowing what platform you're using I can't be more specific.

cheers
Jon

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


Re: Windows 10

2016-02-15 Thread Jon Davies

> On 15 Feb 2016, at 13:00, Roger Tricker  wrote:
> 
> As someone who only records by entering the PID into the Quick URL box and 
> pressing record, would moving from Windows 7 to Windows 10 affect my ability 
> to record, please?
> 
> Thanks
> RogerWithoutaD
No, it won't make any difference. Nor would changing to any of the other 
supported operating systems.

However, it's looking more and more likely that parts of the BBC website that 
get-iplayer depends upon are going to disappear, so it may become a moot point. 

Jon


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


Re: Windows 10

2016-02-14 Thread Jon Davies
On 13 February 2016 at 14:28, Don Grunbaum  wrote:
> Hi All
>
> Fairly basic question, but I can't find an answer.
>
> I have a brand new Windows 10 PC. I have installed GiP on it and all seems
> well, except when I try to record anything (using the Browser PVR interface)
> I get Recording Complete without any recording having been done, but with a
> command exit code 1.
>
> I know it's pretty basic, but where have I gone wrong?

Likelihood is that you've done nothing wrong - the parts of the BBC
website that get_iplayer uses to find programmes and download them are
all reporting

"This service is currently undergoing a period of downtime for
essential maintenance. Please be advised that the programme
information service which is currently available at this URL will soon
be replaced by a new service from the BBC, at a new set of URLs.
Please contact the following email address for further information:
'programmes-de...@lists.forge.bbc.co.uk'"

So it won't work at the moment.

Since you use Windows, you could always use the BBC's own iPlayer
Downloads app: http://www.bbc.co.uk/iplayer/install

Jon

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


Re: Getting a lot of this lately...

2016-01-23 Thread Jon Davies
On 21 January 2016 at 22:50, John Reay  wrote:
>
> Non-monotonous DTS in output stream 0:1; previous: 59760037, current:
> 59759616; changing to 59760038. This may result in incorrect
> timestamps in the output file
>
> get_iplayer manages to create a mp4 that's playable. Should I be worried.
>
> Ubuntu 14.04.3 get_iplayer 2.94


this has cropped up before, but I don't think anyone established
definitively why this happens sometimes.  I suspect that if rtmpdump
stalls and restarts it sometimes produces this, which in general I've
interpreted as there being either an overlap (when the number goes
backwards) or a gap (when it jumps).  redownloading seems to fix it.
But if the file is playable, I probably wouldn't worry.

Cheers
Jon

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


Re:

2015-11-20 Thread Jon Davies
On 19 November 2015 at 02:32, C E Macfarlane  wrote:
> RTMPDump v2.4
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> ERROR: RTMP_HashSWF: connection lost while downloading swfurl
> http://emp.bbci.co.uk/emp/SMPf/1.11.16/StandardMediaPlayerChromelessFlash.sw
> f
> Connecting ...

Looks to me like rtmpdump failed, which has nothing to do with
anything in perl.  I'd just retry, and if it fails repeatedly only
then start digging.

Jon

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


Re: Need help with "command" function.

2015-11-17 Thread Jon Davies
On 12 November 2015 at 06:06, Vangelis forthnet
 wrote:


a couple of additional observations:

Ubuntu 12.04 ships with avconv and get-iplayer is designed to make use
of this.  You'd do better just writing "avconv" instead of "ffmpeg" in
what you're doing, and it may well work.

but, as someone pointed out in this thread, just adding the option
--aactomp3 would produce mp3 files for you anyway...  (though you'll
get different bit rates for different quality modes)

Cheers
Jon

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


Re: GIP on Western Digital MyCloud

2015-11-17 Thread Jon Davies
On 15 November 2015 at 12:48, hdr.partridge  wrote:
>
> Yes RPi does seem a much smarter idea and I even have one lying around which 
> I can use - thanks to both of you for your responses!

using a pi is certainly easier, and there's a repository available for
it as well (see
https://github.com/get-iplayer/get_iplayer/wiki/raspbian).

I'd point out that in the past many people have had problems with
downloading programmes directly onto network drives - it's usually
worked better if you download to local storage, and then move the
files after download.  you can use the command option to help with
this.  ask if you need help :-)

I've previously managed to get get-iplayer working on a dlink dns-323
nas box, though never really to the point where I was happy that it
was maintainable.  The real challenge was getting rtmpdump,
AtomicParsley and ffmpeg to work.  The perl bit was relatively easy.
So if you (or anyone else) ever go back to trying to build things for
the NAS (and it's not a bad idea) I'd suggest starting with building
ffmpeg.

cheers
jon

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


Re: BBC iPlayer cracks down and blocks VPN users

2015-10-09 Thread Jon Davies
On 9 October 2015 at 10:59, CJB  wrote:
> https://www.vpncompare.co.uk/bbc-iplayer-cracks-down-and-blocks-vpn-users/

so what?

get-iplayer isn't intended to be used to avoid, work-around or breach
the controls that the BBC apply to the content they make available on
iplayer, so the fact that the BBC has enforced those controls in
further ways is somewhat off topic.

Jon

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


Re: Format of BBC Radio 4 .m4a files

2015-09-11 Thread Jon Davies
On 9 September 2015 at 11:05, RS  wrote:
> If I try to play the BBC Radio 4 .m4a files in the Longevity player the 
> player freezes for about 4min.

I recall hearing about similar behaviour with someone's mp3 player -
it appeared that the player was reading through the entire file to
read some metadata at the end before actually playing the audio
stream.  I don't beleive that the m4a files that come out of iplayer
are optimised for streaming, and I believe that some of the metadata
is at the end of the file.  So it's possible that your player is
having a similar problem.

On ubunutu I use "mp4file --optimize" to optimize each m4a file that
pops out of get_iplayer, there are other programs that do similar
things.  You could try this and see if it solves your problem, and if
it does it's possible to write a script that get_iplayer runs after
each download to do this every time.

Jon

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


Re: hlsvhigh4 error

2015-07-13 Thread Jon Davies
On 11 July 2015 at 20:12,  char...@the-heards.com wrote:
 ...but I was wondering if I had done something wrong using
 --mode=hlsvhigh4.

As a general rule of thumb, specifying the particular content server
in the mode is only necessary when you need to force get-iplayer to
use a particular server.So

  --mode=hlsvhigh

is preferable, unless you really need to specify content server 4.

and no, it's not obvious that 4 (or any other numeric suffix)
relates to which particular content server is to be used, and isn't
required, but hey ho.  I believe, but haven't checked, that
somethingvhigh is essentially the same quality regardless of the
something - so flashvhigh modes should be the same quality as
hlsvhigh modes.

(incidentally, for the particular programme in your question,
hlsvhigh4 doesn't work here either, but hlsvhigh tries hlsvhigh1,
which does work here)

Personally I stick with --mode=best all the time, which means I can
forget about which mode is used for download - I just end up with the
best available copy of each programme.

Cheers
Jon

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


Re: Recursive in PVR

2015-07-09 Thread Jon Davies
On 8 July 2015 at 09:03, Don Grunbaum d...@grunbaum.co.uk wrote:

 Windows, GiP 2.93
you'll need to update - 2.93 doesn't work any more

 Is it possible to use the --pid-recursive option (for a series pid) in the
 PVR?

yes, it is.

 I've tried a simple example and that created an entry with proxy
 id-recursive, which, of course, doesn't work.

sounds like you made a typo when putting in the command. (it looks
like you accidentally put a space between the p and i and
pid-recursive).  it should work - I tried (on linux, and it's supposed
to be the same on windows)

   get_iplayer --pid-recursive --pid b05z0vlp --pvr-add pidrecursiveexample

and got this in response:

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

INFO: Saving PVR search 'pidrecursiveexample':
pid b05z0vlp
pidrecursive 1


Cheers
Jon

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


Re: Linux Mint woes

2015-07-09 Thread Jon Davies
On 5 July 2015 at 09:40, Alan Milewczyk a...@soulman1949.com wrote:
 (I'm afraid replies along the
 lines of RTFM/works here aren't helpful when I thought I'd done all that).

I'm glad it's working for you now, but you hadn't done all that.

The reason others (and I) keep referring you to the installation
instructions is that we've already written down the steps you should
go through to get a complete, consistent, and moreover *working*
installation of get-iplayer and its dependencies.  If you follow the
instructions, it works.  There's no value in re-posting those
instructions on this mailing list.

However if those installation instructions don't work, please post
with the error you get when following those instructions.

You've been getting short shrift from some because a conversation on
the lines of aarrgghh it's hard; here try this simple way; oh,
but I insist on doing it the hard way, why is it so hard just doesn't
make sense to some of us.  just follow the instructions *once* and it
works, and updates automatically, and all the other goodness that's
available if you want it.  What you appear to be doing is a bit like
complaining that MS Office is hard to install on Windows because you
have to unpack lots of individual dll files from the installation
CD, and put in lots of complicated registry entries, and run commands
to register individual dlls, and.. and...  I (generally) install
windows applications using the installers provided; similarly I've
built and maintain an installer for ubuntu and mint to make it easy to
install get-iplayer and keep it updated.

rant over.

Jon

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


Re: GetIPlayer PVR not working from cron

2015-06-22 Thread Jon Davies
On 22 June 2015 at 21:01, C E Macfarlane c.e.macfarl...@macfh.co.uk wrote:
 WARNING: Your version of rtmpdump/flvstreamer does not support SWF
 Verification
 WARNING: rtmpdump/flvstreamer 1.8 or later is required - please 
 upgrade

 This is obviously an incorrect error message, because when the same command
 is given when logged in, it works fine.

 Any suggestions as to what to try next?

Looks like a PATH problem.  Check that you've only got one (working)
version of rtmpdump, though that may be a red herring; more
importantly check that the path set in your crontab is the same as the
path you use at the command line.

It's probably just a case of adding

PATH=/whatever/...

at the top of the crontab.

Cheers
Jon

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


Re: Problems with get_iplayer.cgi since 2.94

2015-06-17 Thread Jon Davies
On 10 June 2015 at 22:57, Anthony Kehoe gar...@aloria.net wrote:
 Installed both get_iplayer and get_iplayer.cgi from github using wget

   989  wget https://raw.github.com/get-iplayer/get_iplayer/latest/get_iplayer
   990  wget 
 https://raw.github.com/get-iplayer/get_iplayer/latest/get_iplayer.cgi


 OS is fedora 22.

 Again, this was working fine until 2.94 dropped on the same OS and software.

You could try redownloading get_iplayer - the package Programme is
definitely in there, so I can't see why perl isn't picking it up.

Jon

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


Re: Problems with get_iplayer.cgi since 2.94

2015-06-10 Thread Jon Davies
On 10 June 2015 at 17:46, Anthony Kehoe gar...@aloria.net wrote:
 It seems some of the changes have broken get_iplayer.cgi .. I think
 there is a missing section of get_iplayer that is causing the cgi
 program to have issues:

what operating system are you running on?  what exact version of
get_iplayer do you have?  how did you install it?

Cheers,
Jon

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


Re: My bat_iplayer script now has a problem.

2015-06-07 Thread Jon Davies
On 6 June 2015 at 16:43, batguano999 batguano...@zoho.com wrote:

  On Fri, 05 Jun 2015 00:43:13 + Vangelis 
 forthnetnorthmed...@the.forthnet.gr wrote 
   On Thu Jun 4 09:47:34 BST 2015, Jon Davies wrote:
  
this should work:
   
TITLE=$(wget --quiet -O - http://www.bbc.co.uk/programmes/$PID.rdf |
grep dc:title | sed -re s/ 
 *dc:title(.*?)#92;/dc:title/#92;1/)
  
Hi, Jon!
  
No doubt batguano999 would be thankful for your code...
  

 Not at all, it doesn't work.

then you have a different version of bash or sed to me :-(

Jon

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


Re: My bat_iplayer script now has a problem.

2015-06-04 Thread Jon Davies
On 3 June 2015 at 21:34, batguano999 batguano...@zoho.com wrote:
 Any suggestions how to modify my script (near line 25) to show a descriptive 
 title again ?

It's a bit clunky, but this should work:

TITLE=$(wget --quiet -O - http://www.bbc.co.uk/programmes/$PID.rdf |
grep dc:title | sed -re s/ *dc:title(.*?)\/dc:title/\1/)

Jon

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


Re: [ANN] get_iplayer 2.93 released - Ubuntu/Raspian

2015-06-03 Thread Jon Davies
 On 3 June 2015 at 14:51, Kevin Lynch klyn...@gmail.com wrote:
 Hi Jon

 Just a friendly reminder 2.93 is out - in March you did not notice the
 2.92 release was out for a couple of days. I appreciate your busy but
 if you can let us know when you'll get a chance to package it up that
 would be great

I've just done an update :-)

raspbian will follow later (as will another update).

jon

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


Re: Nitro API

2015-06-03 Thread Jon Davies
On 3 June 2015 at 15:08, Kevin Lynch klyn...@gmail.com wrote:
 Looking at it in glass half full way maybe the use of the nitro API
 could be something that's easily incorporated into get_iplayer if the
 implementation of the API is get_iplayer friendly

The nature of the licensing for Nitro probably makes it unsuitable -
you need an API key to gain access, and so either that API key would
be published in the get-iplayer source, and probably abused and then
disabled, or we'd have to build some server infrastructure between
get-iplayer and Nitro (the intended approach) - which I can't see
being viable.

But the nitro data seems to be appearing at bbc.co.uk/programmes,
which describes itself as a permanent rolling record of everything on
BBC Television and Radio.  Most urls there can be pulled with .xml or
.json suffixes.  e.g.
http://www.bbc.co.uk/programmes/genres/childrens/player/episodes.xml
yields a list of all (tv) episodes currently available on iplayer in
the Children's genre.  I looked briefly at walking the genre tree
(for radio in particular) and it looks like a viable way of getting
some reasonably good metadata in a way that would remove the need to
hard-code either tv/radio channels or genres.  I just keep failing to
find time to do enough to build a working prototype. (I've had a proof
of concept working, but never had time to build the rest of the stuff
to offer a patch for get-iplayer.)  I think, but I'm not entirely
sure, that it would be possible to use the /programmes feeds to build
the indexes, and then use the existing remainder of get-iplayer to
download the actual programmes, and walking the genre tree would make
it straightforward to determine the category of programmes and hence
re-enable searching for radio programmes by category.

Jon

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


Re: Help with Linux installation please

2015-05-30 Thread Jon Davies
On 24 May 2015 at 15:47, Alan Milewczyk a...@soulman1949.com wrote:
 so it's been a case of installing Linux (Mint-17.1 64 bit) onto a different
 PC. Oh boy, I now remember why I loathe Linux so much, it's like pulling
 teeth without anaesthetic. :-(

 I've tried to follow the installation instructions as closely as possible
 bearing in mind I might as well be reading Chinese but after umpteen
 iterations to download and install things that the system seemed to be
 telling me it needed, I'm still hitting a brick wall.

You could try the instructions here:
  https://github.com/get-iplayer/get_iplayer/wiki/ubuntu

(Yeah, I know the URL doesn't mention Mint, but if you start at the
Wiki homepage (https://github.com/get-iplayer/get_iplayer/wiki) and
follow the links for Installation and Ubuntu / Mint that's where
you end up.)

Jon

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


Re: Downloads hanging

2015-05-13 Thread Jon Davies
On 13 May 2015 at 09:27, Jed Robbins jed.robb...@virginmedia.com wrote:

 In the last few weeks my downloads have stopped working. Get_iplayer seems to 
 connect but then nothing happens i.e.
 [snip]

 This happens for tv and radio and on both linux and windows.

 Has anyone else experienced the same issue? Is there a solution?

People have had problems in the past connecting to particular servers
from particular networks.

You could try something like this:
  $ get_iplayer --get --type=radio --pid b05tl3jk --mode flashaacstd2

which would force get-iplayer to use the second content delivery
server it finds (rather than the first, which appears to be getting
stuck for you).

Jon

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


Re: get_iplayer 2.92 on Ubuntu vivid vervet

2015-04-23 Thread Jon Davies
On 22 April 2015 at 09:39, Colin Law clan...@gmail.com wrote:
 Command line get-iplayer working ok for me.  I don't use the web pvr
 so don't know about that.

Thanks for trying that.  That's a good enough result for me :-)  I'll
copy the packages across to the get-iplayer repository now.

Jon

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


Re: get_iplayer 2.92 on Ubuntu vivid vervet

2015-04-23 Thread Jon Davies
On 22 April 2015 at 08:13, Tom madtom1...@googlemail.com wrote:
 I am of the opinion that the best way to do this thing is with git.
 A simple git pull and everything is up to date - unless of course you do
 multiuser machines ...

You're free to install get-iplayer any way that works for you.

I maintain a ppa (and a raspbian repository) because I find it much
easier to install packages the normal way, and apt-get installs the
dependencies for me as well.  And these versions provide some
configuration tweaks to take advantage of the features in the updated
and working versions of things like atomicparsley and rtmpdump, which
are also in the ppa.  Writing some /full/ installation instructions
for a git install as suggested would be considerably more complex than
installation from a ppa...

Cheers
Jon

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


get_iplayer 2.92 on Ubuntu vivid vervet

2015-04-21 Thread Jon Davies
I've built packages for get-iplayer and dependencies for the imminent
Ubuntu Vivid Vervet release, but I haven't tested them...

if anyone has an install of vivid and fancies a go, then follow the
usual instructions at
https://github.com/get-iplayer/get_iplayer/wiki/ubuntu, but substitute
get-iplayer with get-iplayer-testing.

if you do try this out then please let me know whether it works for you.

thanks
jon

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


[ANN] get_iplayer 2.92 released - ubuntu and raspbian packages now updated

2015-03-16 Thread Jon Davies
On 13 March 2015 at 22:14, dinkypumpkin dinkypump...@gmail.com wrote:

 Release notes here:

 https://github.com/get-iplayer/get_iplayer/wiki/release292

it took me three days to notice that 2.92 had arrived, and then my
raspberry pi died, and then I fixed it, and then I ran out of
excuses...

there are updated ubuntu and raspbian packages in their respective
repositories, per the installation guide here:
https://github.com/get-iplayer/get_iplayer/wiki/installation

have fun!
Jon

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


Re: Post-processing

2015-01-08 Thread Jon Davies
On 8 January 2015 at 15:29, Al Feersum al.feer...@gmail.com wrote:
 The generic XML metadata contains a lot more information than the xbmc .nfo 
 files generated with GiP

I've never investigated increasing the amount of data in the nfo files
that xbmc generates, but that could probably be done fairly
straightforwardly if the data exists in get-iplayer anyway.  The
question is what would be useful? and how should it appear in the .nfo
file?

Regards
Jon

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


Re: Post-processing

2015-01-07 Thread Jon Davies
On 6 January 2015 at 14:53, Al Feersum al.feer...@gmail.com wrote:

 Apologies if this has been asked before, but is there a method for adding a
 post-processing command to the download sequence?

Yes, it's the --command option

 Running on 'doze 8.1 x64 with no issues (even AtomicParsley works great).

 I currently use the WebPVR for scheduling and this works fine, and manually
 copy the dumps to a Win2k12R2 Essentials server.  I've now got a RaspBMC
 device which I use to access the library
You could always consider using the raspberry pi to run get-iplayer -
I find it easier to write bash scripts than windows powershell or
command scripts...  but that might be a matter of taste.
(https://github.com/get-iplayer/get_iplayer/wiki/raspbian ought to
work with raspbmc, but I haven't tried.)


 So what I want to do is to get GiP to generate a 'doze event log entry after
 the download process (incl. conversion, tagging and metadata file gen) has
 completed, so I can trigger a task scheduler process to post-process the
 data and move it to the right location.
another message mentioned creating an xbmc metadata file - get-iplayer
can already do this:
--metadata xbmc
works well enough with xbmc for me.
get-iplayer can also create folder structures to put things in the
right place (though I concede that might not work for you, because as
you note it doesn't seem to like downloading to network drives)

a few options that work for tv programmes with xbmc for me include:
--subdirformat nameshort/Series_seriesnum
--subdir
--fileprefix sseriesnumeepisodenum_episode
--metadata xbmc

Regards
Jon

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


Re: one radio program in a series causes ffmpeg to throw an error - is this unusual?

2014-12-23 Thread Jon Davies
On 23 December 2014 at 12:15, Mable Syrup blackonesu...@yahoo.co.uk wrote:

 get_iplayer 2.91-ppa21, Copyright (C) 2008-2010 Phil Lewis
 RTMPDump v2.4-n78-git3a1e20c-ppa8~lucid
 ffmpeg version git-N-30582-gef28c7b, Copyright (c) 2000-2011 the FFmpeg 
 developers

Ah.  You're running lucid.  Oh.

Yes, you have two versions of ffmpeg installed... ffmpeg is whatever
the lucid version is (if you installed it), and ffmpeg-static is the
version installed from my ppa and used by get-iplayer.  ffmpeg was
updated way back when because the version shipping with lucid didn't
work, and avconv wasn't supported at the time.  I don't know if the
version of avconv in lucid works either.

I haven't used lucid in a while - the desktop edition is way out of
support, and I never thought of get-iplayer being a server
application.  You're going to need to update to something a bit newer
by next April - you might want to consider doing that now.

But anyhow I'll have a look - back in a tic.

Jon

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


Re: one radio program in a series causes ffmpeg to throw an error - is this unusual?

2014-12-23 Thread Jon Davies
On 23 December 2014 at 18:33, Jon Davies j...@hedgerows.org.uk wrote:
 On 23 December 2014 at 12:15, Mable Syrup blackonesu...@yahoo.co.uk wrote:

 get_iplayer 2.91-ppa21, Copyright (C) 2008-2010 Phil Lewis
 RTMPDump v2.4-n78-git3a1e20c-ppa8~lucid
 ffmpeg version git-N-30582-gef28c7b, Copyright (c) 2000-2011 the FFmpeg 
 developers

 Ah.  You're running lucid.  Oh.

a quick fix:

$ sudo apt-get install ffmpeg
$ get_iplayer --prefs-add --ffmpeg /usr/bin/ffmpeg

It seems that the version of ffmpeg in lucid-updates
(4:0.5.9-something) works well enough.  I'll update the ppa to remove
ffmpeg-static (which was an update against the original version of
ffmpeg).

Jon

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


Re: [ANN] get_iplayer 2.91 released

2014-12-23 Thread Jon Davies
On 23 December 2014 at 20:20, dinkypumpkin dinkypump...@gmail.com wrote:
 On 23/12/2014 20:09, Peter S Kirk wrote:

 I can confirm all except BBC News result in a 404 Error here too. Perhaps
 it's ISP and/or region issue - Virgin Media cable, Scotchland

 Very possibly, though that would suck for testing. I checked, and some more
 HD streams are available for me via Limelight.  If they still work at next
 release, in they go.

Unlikely an ISP issue - I'm on plusnet fibre here in england (that's a
completely different country to scotland;-), and get the same results.

Jon

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


Re: Strictly causing grief again

2014-11-30 Thread Jon Davies
On 30 November 2014 at 11:04, Michael Pavling pavl...@gmail.com wrote:
 Any thoughts? I just reinstalled rtmp and ffmpeg (on Ubuntu 14.10) but
 no difference. Any alternative options I might try, or elsewhere I
 might get this episode?

I strongly recommend you install get_iplayer using this guide:
   https://github.com/dinkypumpkin/get_iplayer/wiki/ubuntu

You'll find several updates since 2.90 was released, including fixes
for most of the problems people have noted in the last few weeks,
together with reasonably up to date dependencies (that is, up to date
enough to work reliably).

Cheers
Jon

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


Re: ePetition Covering Public Data From The Likes Of The BBC

2014-11-08 Thread Jon Davies
On 5 November 2014 16:40, C E Macfarlane c.e.macfarl...@macfh.co.uk wrote:
 I believe that there is some policy concerning things like word-processor 
 documents and spreadsheets, but I'm not aware of anything that covers 
 publicly available raw electronic data.

You've evidently not seen the open data charter:
https://www.gov.uk/government/publications/open-data-charter

or one of the results of it:
http://data.gov.uk/

I can also say from first-hand knowledge that government agencies have
for several years been mandating open data exchange standards in IT
projects.

But I'm way off the topic of get-iplayer, so I'm going to shut up now ;-)

Cheers
Jon

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


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

2014-11-01 Thread Jon Davies
On 29 October 2014 13:20, dinkypumpkin dinkypump...@gmail.com wrote:
 The BBC have removed the programme data feeds used by get_iplayer

It seems that the programme schedule data feeds are still working
(lots of xml, e.g.
http://www.bbc.co.uk/bbcone/programmes/schedules/hd/2014/10/31.xml)
and these have pids listed for both historic and future programmes.
It doesn't tell you whether a particular programme is actually
available on iplayer, but these would at least provide some data that
could be searched.

Jon

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


[PATCH] Hack to enable finding programmes through programme schedules

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

for Ubuntu users I'm in the process of rolling this into my ppa at
get-iplayer-testing and it should pop out of there in the next couple
of hours.  To use the -testing ppa follow the instructions at
https://github.com/dinkypumpkin/get_iplayer/wiki/ubuntu but substitute
jon-hedgerows/get-iplayer for jon-hedgerows/get-iplayer-testing.

You can download a patched copy of the get_iplayer script here:
http://packages.hedgerows.org.uk/gip/

Jon

diff --git a/get_iplayer b/get_iplayer
index bc2e569..d835b82 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -7414,13 +7414,15 @@ sub get_links {
# Get future schedules if required
# http://www.bbc.co.uk/cbbc/programmes/schedules/this_week.xml
# http://www.bbc.co.uk/cbbc/programmes/schedules/next_week.xml
-   if ( $opt-{refreshfuture} ) {
+   { # hack: always use schedules as feeds no longer work
# Hack to get correct 'channels' method because this
methods is being shared with Programme::radio
my %channels = %{
main::progclass($prog_type)-channels_filtered(
main::progclass($prog_type)-channels_schedule() ) };
# Only get schedules for real channels
@channel_list = keys %channels;
for my $channel_id ( @channel_list ) {
my @schedule_feeds = (
+   # last_week finds some old programmes
through schedules instead of feeds
+
http://www.bbc.co.uk/${channel_id}/last_week.xml;,

http://www.bbc.co.uk/${channel_id}/this_week.xml;,

http://www.bbc.co.uk/${channel_id}/next_week.xml;,
);
@@ -7569,7 +7571,8 @@ sub get_links {

# Don't create this prog
instance if the availablity is in the past
# this prevents programmes
which never appear in iPlayer from being indexed
-   next if
Programme::get_time_string( $available )  $now;
+   # don't skip old programmes,
feeds don't work
+   ###next if
Programme::get_time_string( $available )  $now;

# build data structure
$prog-{$pid} =
main::progclass($prog_type)-new(

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


Re: Help with --command syntax

2014-10-24 Thread Jon Davies
On 23 October 2014 17:38, Vangelis forthnet northmed...@the.forthnet.gr wrote:

 If your path has white space:

 --command cmd /c cd /d F:\Downloads\FLV to MP4remux ^^ remux.bat


 Thanks; dare I be greedy and ask you what the command would be if my batch's
 filename also contained white space (e.g. video remux.bat)?

It's not greedy to ask ;-)

you'd just need to wrap it in three quotes:

--command cmd /c cd /d F:\Downloads\FLV to MP4remux ^^
video remux.bat

(yeah, that's four quotes on the end...!)

Jon

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


Re: [ANN] get_iplayer 2.87 released

2014-10-19 Thread Jon Davies
On 19 October 2014 20:14, dinkypumpkin dinkypump...@gmail.com wrote:

 Release notes here:

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

Thank you for pulling this together, it's much appreciated.  (And
ubuntu and raspberry pi builds are in their respective repositories
;-)

Cheers
Jon

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


Re: Can't locate episodes that I can find through iPlayer

2014-10-03 Thread Jon Davies
On 3 October 2014 10:58, Julian Smith julian.cl.sm...@gmail.com wrote:

 I've been wanting to find episodes of Brian Cox's radio show called
 'Infinite Monkey Cage' via get_iplayer.  However, at the simplest level, I
 cannot find any of these episodes
 [...]


You probably need to add --type podcast to the get-iplayer command
line (episodes might also be available as radio programmes  - add
--type radio - I haven't checked, but all 55 episodes are definitely
available as a podcast).

Or for this particular series you can just download episodes from the
bbc website here: http://www.bbc.co.uk/podcasts/series/timc

Jon

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


Re: Major Close Down

2014-08-08 Thread Jon Davies
On 5 August 2014 20:59, Frankie Higgs frankiehi...@gmail.com wrote:

 (If there's anyone on the list who can explain our exact legal status,
 I'd be grateful

Disclaimer - I am not a lawyer.  Do not rely on anything I say here -
if you're in doubt, consult a lawyer.

But I do a fair amount of contractual stuff as part of my day job.

get_iplayer only downloads media from BBC-controlled sites that is
already available to you from those same BBC-controlled sites.
get_iplayer does not break any encryption, or circumvent any
effective technological measures in order to do so.  effective
technological measures is defined in the EU copyright directive, and
is very very roughly encryption, scrambling or similar.  The BBC
doesn't apply this to their iPlayer content (at least, not the content
downloaded by get_iplayer).

In my view the particular tool you use to download things from
websites doesn't matter. What *does* matter is the permissions and
rights the BBC chooses to grant to you regarding that content.  As
someone else said, it's their content, not yours.  Being able to
download content does not automatically give you any right you might
care to think up.

The terms of use of the BBC's websites set out what you can and cannot
do with their content, and nothing that get_iplayer does violates
those terms.  If you violate the terms, then *you* have violated the
terms, not the get_iplayer software or its many and various authors.

If you're the slightest bit unsure what the BBC's terms are, then you
should read them (in particular see here:
http://www.bbc.co.uk/terms/personal.shtml and here:
http://www.bbc.co.uk/terms/additional_iplayer.shtml).  If you're the
slightest bit unsure what they mean, then you should consult a lawyer.
But the terms are pretty readable and straightforward.

If you're physically outside the UK, then most of the video and some
of the radio content is not available to you.  get_iplayer does not
circumvent the (fairly simplistic) mechanisms for preventing extra-UK
access put in place by the BBC.  If you /are/ outside the UK, and you
can't access content using a conventional web browser and the iPlayer
site, then you're probably not permitted to use that content.  Neither
will get_iplayer help you access it.  And this list is not the place
to discuss how you might circumvent such measures.

If you're within the UK, then get_iplayer simply provides a mechanism
to access content that you /already/ have access to, but does so in a
way that suits some people better than the mechanisms the BBC directly
supports.

And that's pretty much it.

Cheers
Jon

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


Re: Ipod playback truncated at around 20-22 mins

2014-05-17 Thread Jon Davies
On 16 May 2014 20:53, scrofula 101 scrofula...@gmail.com wrote:
 All the radio files I obtain playback fine on the
 computer but when I transfer them to ipod nano using itunes on Windows
 8.1 they cut out at around 20-22 mins and it skips to the next track.

This won't solve your problem, but I've been suffering from this as
well recently.  What's odd is that exactly the same file plays fine on
my iphone, but doesn't on the nano.  what I see with the nano plugged
into my car is that the some way in (anything between about 10 mins
and 20 mins) the track time jumps from something sensible to 99+
minutes.  It usually plays for a little longer, and then stops.

But I don't know why and don't have a fix, sorry.

Jon

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


Re: Override options file entry from command line - how?

2014-05-17 Thread Jon Davies
On 16 May 2014 14:15, Howard Orgel howard.or...@orgels.demon.co.uk wrote:
 It works now.  Thank you.
 I don't know what I must have done wrong a week ago yesterday.

most likely you did
--modes=flashhd

which doesn't override a tvmode set in the options file - because
tvmode is more specific than mode.

Cheers
Jon

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


Re: player.xml broken

2014-05-08 Thread Jon Davies
On 7 May 2014 14:22, Mark Barnes m...@sharonandmark.net wrote:
 I've been using player.xml URLs to download the programmes available in a 
 series or brand. Unfortunately, most of them have stopped working in the last 
 few days, and return Invalid Page Number.

 This doesn't work: 
 http://www.bbc.co.uk/programmes/b006qfz6/episodes/player.xml
 But this one does: 
 http://www.bbc.co.uk/programmes/b006r9xr/episodes/player.xml

 Does anyone know a way in which I get a list of every programme in a series, 
 so I can use get_iplayer to download them?

You could use a command line something like this:

   get_iplayer --type radio Classic Serial --get

which will get all available programmes in the Classic Serial series.
(and similarly get_iplayer --type radio Start the Week --get)

What you can't do is download episodes that are no longer on iPlayer.
So you'll have to run this periodically - or have get_iplayer do it
for you.  (there are too many ways to describe them all here, try
https://github.com/dinkypumpkin/get_iplayer/wiki  and then ask ;-)

Cheers
Jon

A couple of ads (yeah, I'm biased, and I do get referral bonuses)...
- 15GB free cloud storage:  https://copy.com?r=TNZbAJ - use this link
to get an extra 5GB for both of us
- Award winning Broadband from £2.99 a month:
http://www.plus.net/myreferrals/new.html?intReferrerID=00611940

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


Re: Ubuntu 14.04 LTS (Trusty Tahr)

2014-05-02 Thread Jon Davies
On 1 May 2014 21:37, Kevin Lynch klyn...@gmail.com wrote:
 I'm upgrading my Ubuntu 13,10 to 14.04 - I take it I just need to
 follow the instructions in
 https://launchpad.net/~jon-hedgerows/+archive/get-iplayer-testing
 and then install 2.86-2-g969bd34-ppa17~trusty
 Thanks

 Kevin

Yep, that should work perfectly.  If it doesn't, shout!

for broader reference, the instructions at
https://launchpad.net/~jon-hedgerows/+archive/get-iplayer should also
work, and they're all a much abbreviated version of the instructions
here:

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

and for Ubuntu specifically, here:

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

Regards
Jon


A couple of ads (yeah, I'm biased, and I do get referral bonuses)...
- 15GB free cloud storage:  https://copy.com?r=TNZbAJ - use this link
to get an extra 5GB for both of us
- Award winning Broadband from £2.99 a month:
http://www.plus.net/myreferrals/new.html?intReferrerID=00611940

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


Re: 'mv' is not recognized as an internal or external command

2014-04-23 Thread Jon Davies
On 22 April 2014 19:40, Robert Snelling h3...@rcs.me.uk wrote:
 'mv' is a GNU/Linux / UNIX command - it won't work on windoze. If you
 want to run get_iplayer on windoze

if you go and read the code in the MP3::Tag perl library you'll find
that it tries to rename files using perl's rename function, and then
if that fails tries to use the mv command - which as you note
doesn't work in Windows.  This is a feature of MP3::Tag and isn't
anything to do with how get_iplayer was installed.

so I could go and file a bug report on MP3::Tag, but if it got fixed
it might well take a while and in the meantime the user is stuck; or I
can try and help someone work out why the first rename isn't working.
I know which seems more helpful to me.

Jon

Jon Davies

A couple of ads (yeah, I'm biased, and I do get referral bonuses)...
- 15GB free cloud storage:  https://copy.com?r=TNZbAJ - use this link
to get an extra 5GB for both of us
- Award winning Broadband from £2.99 a month:
http://www.plus.net/myreferrals/new.html?intReferrerID=00611940

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


Re: Problem downloading radio programmes

2014-04-22 Thread Jon Davies
On 22 April 2014 12:21, Don Grunbaum d...@grunbaum.co.uk wrote:
 Thanks Andrew, but the problem persists for me.

 I can play and record TV okay, but not radio. I normally use Chrome, but
 I've also tried IE, with the same results.

The Unbelievable Truth downloads fine here, so there's something up
with your particular installation of get_iplayer and/or your network
connection.

- you are in the UK aren't you?
- what's the result of running  get_iplayer --prefs-show in a
get_iplayer command prompt?
- what version of get_iplayer are you running?  (in a get_iplayer
command prompt do get_iplayer -V (that's a capital V))

cheers
jon


Jon Davies

A couple of ads (yeah, I'm biased, and I do get referral bonuses)...
- 15GB free cloud storage:  https://copy.com?r=TNZbAJ - use this link
to get an extra 5GB for both of us
- Award winning Broadband from £2.99 a month:
http://www.plus.net/myreferrals/new.html?intReferrerID=00611940

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


'mv' is not recognized as an internal or external command

2014-04-22 Thread Jon Davies
On 22 April 2014 11:58, Andrew Moore moor...@btinternet.com wrote:
 I don't know if it's significant, but I get all this at the end of the 
 download;

 INFO: Recorded C:\Documents and Settings\andy.moore\Desktop\iPlayer 
 Recordings\T
 he_Unbelievable_Truth_Series_13_-_Episode_3_b0415hbl_default.mp3
 INFO: ID3 tagging MP3 file
 'mv' is not recognized as an internal or external command,
 operable program or batch file.
 Couldn't rename temporary file C:\Documents and 
 Settings\andy.moore\Desktop\iPla
 yer Recordings/TMPxx0.tmp

 along with a file called TMPxx0.tmp @ 28127kb
 The downloaded mp3 is fine though, plays ok etc.

(this problem is unrelated to the rest of the thread in which it was posted)

what seems to be happening is that the MP3 tagging library (MP3::Tag)
can't rename its temporary file to replace the mp3 file that was
downloaded.  Quite why this is happening I don't know, but I have a
couple of guesses:

- make sure that there's no Explorer window showing files in your
iPlayer Recordings folder, and try a radio download.  If it works,
then Explorer is getting in the way. Possibly.  I've had problems with
Explorer opening files to do I-don't-know-what and failing to release
the file.
- try turning off your anti-virus software temporarily (yes, I *know*
this is really bad advice and a really bad idea) while downloading a
radio programme - make sure you turn it on again afterwards.  If this
fixes the problem, then get some new anti-virus software.
- oh, and make sure you're running the latest version of get_iplayer,
but I don't think it's the cause of this particular problem.

I don't use Windows with get_iplayer much, so others might be able to help more.

Jon Davies

A couple of ads (yeah, I'm biased, and I do get referral bonuses)...
- 15GB free cloud storage:  https://copy.com?r=TNZbAJ - use this link
to get an extra 5GB for both of us
- Award winning Broadband from £2.99 a month:
http://www.plus.net/myreferrals/new.html?intReferrerID=00611940

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


[ANN] get_iplayer 2.86 on Ubuntu released, somewhat belatedly...

2014-04-12 Thread Jon Davies
get_iplayer v2.86 packaged for Ubuntu is now available, install as per
the instructions here:
https://github.com/dinkypumpkin/get_iplayer/wiki/ubuntu

If you've already installed using this ppa then just update as usual.

Regards
Jon

A couple of ads (yeah, I'm biased, and I do get referral bonuses)...
- 15GB free cloud storage:  https://copy.com?r=TNZbAJ - use this link
at get an extra 5GB
- Award winning Broadband from £2.99 a month:
http://www.plus.net/myreferrals/new.html?intReferrerID=00611940

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


Re: PVR Search doesn't find programmes

2014-03-01 Thread Jon Davies
On 1 March 2014 09:30, JB Caruth jbc-pub...@caruth.com wrote:
 I have a PVR search file as follows:
[...]
 Which, when I run with --pvr-single it returns 0 programmes.

 When I run the same search from a command line with Sewing Bee it
 returns 2 programmes (as expected).

Check your download history - it's possible that you've downloaded
these programmes before, in which case the pvr search won't try again.
 delete the corresponding lines from ~/.get_iplayer/download_history
and it might wake up again.

Jon

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


Re: Jon Daives' get-iplayer and radio

2014-02-20 Thread Jon Davies
first, it's not Jon Davies' get_iplayer ;-)  There are others who
did/do the /real/ work of writing and maintaining it, I just package
it for ubuntu and raspberry pis (though the latter is stuck since my
pi died a couple of weeks ago).

On 20 February 2014 14:59, Adrian Hicks m...@adrian-hicks.co.uk wrote:
 ...I've been trying to rip some R4 programs this morning though
 nothing seems to be working.

 The link to what I am trying to rip is
 http://www.bbc.co.uk/programmes/b03srqzk is this the new unsupported
 format?

I'd suggest you make things less complicated for yourself - if you
select either by programme name (Nature in this case) or by pid
(b03srqzk in this case) it all works fine.

$ get_iplayer --type radio Nature --get
...downloads all the episodes of Nature, or

$ get_iplayer --type radio --pid b03srqzk
...downloads this specific episode.

or just use the web_pvr interface and pick the programmes from there.

 As an aside, I often get failure at either encoding or copying temp
 file stages, is this common or just down to me using a vm [1GHz, 2Gb
 RAM]

there's no reason to get failures at this stage - some people have had
trouble when using NAS drives rather than local storage.  To diagnose
this we'd need to know what version you're using, on what operating
system, and see the output showing the failure.

cheers
jon

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


Re: Jon Daives' get-iplayer and radio

2014-02-20 Thread Jon Davies
On 20 February 2014 15:22, Nic Siddle nicsid...@gmail.com wrote:
 I too am now struggling with the Radio feeds (TV still seems to be working).
[...]
 This no longer works. I can record the individual programmes (if I
 remember!!) but they are not picked up from the list.
 Any ideas?
 solutions?

Try using programme names.  something like this:

get_iplayer --type radio The Infinite Monkey Cage --pvr_add
The_Infinite_Monkey_Cage

cheers
jon

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


Re: Status of Fedora package?

2014-01-14 Thread Jon Davies
On 14 January 2014 00:54, Peter Oliver lists.infradead@mavit.org.uk wrote:
 Ah, turns out I already had AtomicParsley installed, so I hadn't noticed
 that this functionality would typically be missing.

 I've given it's Fedora review request a nudge
 (https://bugzilla.redhat.com/show_bug.cgi?id=800284) and it seems to be
 moving again :-)

Just had a quick look - Fedora, like Debian (and hence Ubuntu) seems
to be hooked into the version on sourceforge which has stopped
development.  There's a newer version here:
https://bitbucket.org/wez/atomicparsley  which supports some
additional tag types that get-iplayer can make use of.  There is
active development going on here.

Cheers,
Jon

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


Re: Status of Fedora package?

2014-01-13 Thread Jon Davies
On 9 January 2014 21:43, Peter Oliver lists.infradead@mavit.org.uk wrote:

 I notice that the get_iplayer package at RPM Fusion hasn't been updated for 
 several years.  Is there a reason for this?  I could become a co-maintainer 
 if that would help.


one thing that will make your life a little easier is that I notice on the
rtmpdump mailing list that someone has recently picked up rtmpdump, so
that's now up to date on rpmfusion.  I can't comment on the other
dependencies/helper apps (the ones that always seem to be the most out of
date are ffmpeg and atomicparsley).

if you need help updating atomicparsley feel free to ask.

cheers
jon

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


Re: Is HD iplayer and recording worth it? Well, the London fireworks should help answer that one!

2014-01-04 Thread Jon Davies
On 2 January 2014 19:57, Jonathan H lardconce...@gmail.com wrote:
 Could it be that iplayer is serving a
 less HD version to us slowcoaches, and get_iplayer pulled a better
 version?

I believe that's exactly what it's designed to do - it works out how
much bandwidth there is between the server and viewer, and alters the
bit rate (and hence quality) accordingly.  Thus you get a smooth
stream, but with lower quality if there's something limiting the
bandwidth.

Jon

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


Re: Installation from Repository

2014-01-02 Thread Jon Davies
On 31 December 2013 23:48, Martin Powell comput...@windcheetah.org.uk wrote:
 I have tried to follow the instruction from
 https://github.com/dinkypumpkin/get_iplayer/wiki/ubuntu without any joy.

 When I use sudo apt-add-repository ppa:jon-hedgerows/get-iplayer it returns
 the error: sh: 1: /usr/lib/linuxmint/mintSources/mintSources.py: not found

Something appears to be wrong with mint, but I can't help you with
that, sorry.  In the meantime you can work around this by adding these
two lines to /etc/apt/sources.list

deb http://ppa.launchpad.net/jon-hedgerows/get-iplayer/ubuntu precise main
deb-src http://ppa.launchpad.net/jon-hedgerows/get-iplayer/ubuntu precise main

and then continue from step 2 onwards.

Regards
Jon

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


Re: Flashvhigh and Flashhd

2014-01-02 Thread Jon Davies
On 31 December 2013 09:30, Kenny Routledge kennyroutle...@msn.com wrote:
 A follow up to my previous enquiry, I now seem to be unable to capture any HD 
 stream or it is very hit and miss.

 RTMPDump 2.4 git-6230845 2011-9-25

I've had more problems downloading HD stuff recently than I did a
while back, but far less than you seem to be having.

for whatever reason you seem to be using a very old version of
rtmpdump, which makes me think you've installed get-iplayer by hand,
rather than using the windows installer (see here:
https://github.com/dinkypumpkin/get_iplayer/wiki/winsetup)

you could try a more recent version of rtmpdump, such as the one here:

http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.4-git-010913-windows.zip

which is the version installed by the get-iplayer installer.

Cheers
Jon

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


Re: Radio file quality from abroad

2013-12-24 Thread Jon Davies
On 24 December 2013 12:27, Alexis Fotiadis alexisfotia...@hotmail.com wrote:

 I'm currently out of the UK, and found that downloading radio programmes 
 works ok, but for some
 reason the only quality I can get is flashaaclow (48kbps)

That's right, that's all the BBC offers outside the UK.

Jon

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


Re: Bug???

2013-12-08 Thread Jon Davies
On 8 December 2013 12:36, Chris J Brady chrisjbr...@yahoo.com wrote:

 Am running the Windows PVM ...
 Can't call method new on an undefined value at get_iplayer.pl line 1669.


I'm pretty sure you're running an old version of get_iplayer.  check
at the bottom of the web pvr page, if it's not v2.85, then update:
http://www.infradead.org/get_iplayer_win/get_iplayer_setup_latest.exe

Cheers
Jon

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


Re: Accessing Web Interface from another pc

2013-12-07 Thread Jon Davies
On 6 December 2013 18:28, Derek Moss d...@stoptheviolence.co.uk wrote:
 I don't know if you could bind GI to the LAN IP instead of 127.0.0.1

you can, that's exactly what the LISTEN=0.0.0.0 thing does (back at
the beginning of the thread), but as per the notes this opens up
access to anyone who has access to your LAN, and access to doesn't
necessarily equate to being on the LAN.

There are lots of different VPN-like options, something like an ssh
tunnel would probably work better for this particular use.  But it's
not especially easy to setup on windows.

Jon

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


Re: Accessing Web Interface from another pc

2013-12-06 Thread Jon Davies
On 6 December 2013 11:59, Lorenzo Martinelli * lnzli...@googlemail.com wrote:
 If I change LISTEN=0.0.0.0 then I can display the Web Interface from any
 other PC on the same network by entering the address of the computer running
 get_iplayer?
that's right.  But actually, it's not just the same network - it's any
network that can connect to your computer running the web pvr.

 What are the security implications?
the web interface hasn't been designed to be secure - anyone who can
access that interface can do pretty much anything.  In particular the
command option in get_iplayer, which is so useful, opens up the
possibility of unauthenticated users (that is, anybody) doing pretty
much anything to your computer.  That's /very/ insecure.


 What if I change LISTEN to the IP address of the computer I want to display
 the web interface from?
That wouldn't work - the listen address is about what IP address the
web pvr binds itself to on the computer it's running on (let's call
that the server).  127.0.0.1 is the default - this is the local
loopback interface which is accessible only from the same machine;
0.0.0.0 tells it to bind to every available address on the server -
the web pvr is then accessible from any client machine that can
connect to any of the addresses on the server.

if you want to limit access to web_pvr then you will need to install
and configure a firewall on your web pvr computer.

 Would that make it safer?
I suppose less insecure, but I still wouldn't describe it as secure.

regards
Jon

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


Re: Subtitles, Round 2

2013-09-24 Thread Jon Davies
On 24 September 2013 20:50, dinkypumpkin dinkypump...@gmail.com wrote:

 Now this this can of worms has been opened, I decided to mix metaphors and 
 take the bull by horns and iron out some subtitles-related issues raised in 
 the last couple of days.
[...]

   It would be helpful if anyone interested in getting subtitles sorted would 
 have a go at testing this.

We use subtitles all the time here - I give this version a big thumbs
up.  Works well with all the things I've tried it with.

Jon

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


Re: Radio Downloader featured on this week's R4 'Feedback' programme

2013-07-15 Thread Jon Davies
On 13 July 2013 17:53, Jeremy Nicoll - ml get_iplayer
jn.ml.gti...@wingsandbeaks.org.uk wrote:
 (I really don't udnerstand why the beeb take this point of view, since
 anyone recording broadcast programmes in an analogue way can keep stuff for
 ever.)
It's even more absurd:  under copyright law you're *entitled* to
record broadcasts for certain private purposes, and a live stream over
the internet is a broadcast.  So you can use get_iplayer or similar to
record the live stream at the right time, and that's specifically
permitted by copyright law.  And the stop using radio downloader now,
but we won't give you an alternative for six months is kind of lame.

 Does using get_iplayer to fetch radio programmes stay within the limits of
 DRM?
There is no Digital Rights Management on the content downloaded by
get_iplayer (or radio downloader for that matter).

Jon

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


Re: copious verbose debug logs

2013-07-15 Thread Jon Davies
On 12 July 2013 23:20, Robert Snelling h3...@rcs.me.uk wrote:
 I have been using Jon's testing PPA for some time now [...]
[...]
 When I first joined the mailing list I got an modified rtmpdump binary to
 try out from Neill Mitchell. He asked me to get back to him about how I got
 on with it. I have been meaning to do so ever since, but not got round to it
 until now  - sorry for the great delay. I wasn't using Jon's PPA then but I
 do now.

 Back at then, there were concerns about rtmpdump running out of buffer
 space. The modified version seemed to help somewhat, but I can't really be
 objective about it now.

Back then some users were seeing problems with rtmpdump on fast
(mainly fibre) broadband connections.  I've never managed to reproduce
the reported problems despite getting something like 55Mbps here.  But
I did take a version of Neill's patch and incorporate it into the
version of rtmpdump that's in the get-iplayer PPAs.  People stopped
complaining about that particular problem, so I figure something that
changed resolved the problem (there were other changes in the rtmpdump
update I put together).

Jon

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


Re: Problem downloading TV progs

2013-07-05 Thread Jon Davies
On 4 July 2013 06:41, Bailey Peter sundancedi...@yahoo.co.uk wrote:

 Hi everyone.

 Am a new user here  am after a little help.

 I realize the program is quite complicated to use, but basically I'm
 trying to download a couple of TV programs.

 When I try to however, I get the result :-

 INFO: MP4 tagging MP4 file
 APar_readX read failed, expect 12 got 0: end of file
 INFO: Command exit code 1 (raw code = 256)
 WARNING: Failed to tag MP4 file

 and as a consequence I end up with a zero length MP4 file. I've tried
 different --mode parameters  all fail even when the modes are available
 for the program (via --info).


AtomicParsley is dying for some reason.  What operating system and
what versions of get-iplayer and atomicparsley are you using?

Regards
Jon

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


Re: Radio Download Alternatives

2013-07-05 Thread Jon Davies
(please reply to the list, not to me)

On 4 July 2013 15:41,  michael.mpirel...@virgin.net wrote:
 One thing Radio Downloader did that I found useful was to offer a very 
 wide-ranging - maybe
 even comprehensive - list of BBC radio programmes to which one could 
 subscribe on the
 offchance that they might reappear.

 In addition if one subscribed to the News Quiz, say, one's subscription was 
 not restricted to
 the current series.

 Maybe these features are hidden somewhere in get-iplayer but, if so, I have 
 not found them.

I routinely use get-iplayer to do just this.  I use the command line
because that suits me, so something like

   get_iplayer --type radio News Quiz --pvr-add news_quiz

will download everything with News Quiz in the name, regardless of
what series it is.

You can do the same through the web interface by entering some search
terms which match the programme/s youre' interested in (without
specifying the series number) and clicking Add Search to PVR.  (The
Add Series link against a programme picks a search that includes the
series number - which matches what the button says but isn't what you
want ;-)

 One could therefore say that get-iplayer is restricted to the current 
 offerings but Radio
 Downloader could be used to be on the watch for repeats of past favourtes.
there are ways of doing pretty much anything with get_iplayer - the
challenge is almost always working out how to, or finding where in the
rather distributed documentation to find out.

 Many thanks to the maintainers of both programs.
that would be almost entirely dinkypumpkin nowadays.

Regards
Jon

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


Re: Bad News: Radio Downloader and BBC Radio

2013-07-01 Thread Jon Davies
On 29 June 2013 13:56, Jonathan H lardconce...@gmail.com wrote:

 Hope not, but for downloading radio, these three are your friends :)

 http://www.iplayerconverter.co.uk/
 http://www.beebotron.org/
 http://www.xi-soft.com/default.htm

You've forgotten to list get_iplayer :-)  It's done radio for years now...

Cheers
Jon

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


Re: Atomic Parsley Segmentation Fault

2013-06-20 Thread Jon Davies
On 20 June 2013 12:35, Barry Caruth j...@caruth.com wrote:
...
 AtomicParsley /path/to/previously_downloaded_mp4 -T
 Segmentation Fault

Is this with the stock atomicparsley in raspbian, or are you using the
repository at http://packages.hedgerows.org.uk/raspbian/ which has a
later version?  (see http://get-iplayer.hedgerows.org.uk/ for
instructions on setting it up.)

Jon

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


Re: Recording from http://www.bbc.co.uk/music/festivals/glastonbury/archive/

2013-06-13 Thread Jon Davies
On 13 June 2013 09:45, Chris Dunne m...@cdunne.org.uk wrote:
 Thanks a lot for the help but am I making a rookie error here? It is
 finding the video but fails to record it (I've tried it without all
 the commands other than the --pid one)

 get_iplayer v2.80, Copyright (C) 2008-2010 Phil Lewis

update get_iplayer - your version is out of date
  the installation instructions here may help:
  https://github.com/dinkypumpkin/get_iplayer/wiki/installation

and then follow the instructions here:
  https://github.com/dinkypumpkin/get_iplayer/wiki/swfurl

cheers
Jon

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


Re: Can't use get_iplayer

2013-06-13 Thread Jon Davies
On 13 June 2013 18:13, Chris J Brady chrisjbr...@yahoo.com wrote:
 [rant deleted]
 Please can someone suggest a way of downloading this.

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

 I've tried get_iplayer which wont do it using the URL.

get_iplayer can't download things from /programmes/ urls.

 And its not on iPlayer.
yes it is.  The url you posted is for The Captain's Apprentice
episode of Twenty Minutes on radio 3 - it says it was last broadcast
last Friday at 20:20.  The simple expedient of looking on iplayer for
radio 3 last Friday at 8.20pm finds ... Twenty Minutes - The Captain's
Apprentice.

So, you can download it using something like this (these are not the
only ways...):

get_iplayer --type radio Twenty Minutes -g (if you want all the
episodes of Twenty Minutes)

or

get_iplayer --type radio --pid b01m2n8t   (if you want this specific episode)


Regards
Jon

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


Re: radio recording : any news ?

2013-06-13 Thread Jon Davies
On 13 June 2013 16:25,  p...@almereyda.de wrote:
 now, due to the change, also radio streaming/recording seems to be broken.

 updating the rtmp-tv-opts didn't work for the radio recording,

 any ideas?

see this

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

and do the same as you've already done but with  --rtmp-radio-opts

Jon

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


Re: AtomicParsley hanging

2013-06-12 Thread Jon Davies
On 12 June 2013 12:15, Andy Stevens insomniacpeng...@googlemail.com wrote:
 I'm using get_iplayer v2.82-25-g3547d05-ppa8 on Ubuntu 13.04, and
 downloading to a network drive via SMB.
 ... some (not all) of the time AtomicParsley is hanging after the
 INFO: MP4 tagging MP4 file
 line.  I can quit back to the prompt with Ctrl-C, but the AtomicParsley
 process is left running and even kill -9 won't get rid of it.  This then
 appears to hang on to some file lock on the network, which is preventing my
 laptop from hibernating...

I don't think that AtomicParsley is the problem - there are reports of
obscure interactions between samba and linux kernels resulting in
systems and processes locking up.  The end result is that ubuntu
freezes (or individual processes freeze) for no apparent reason when
connecting to samba shares.  this seems to arise with some
combinations of samba server, kernel (at both ends) and samba client.

Is there any other method you can use for mounting your NAS?  Can you
upgrade the samba server on the NAS?

 Is there a newer
 version of AtomicParsley than the one in the PPA that might not have this
 problem? (and if not, where should I report it?)
There are newer versions of AP, but none of the changes address this
problem - nor can they since it's not an AP problem.  the version in
the PPA comes from here: https://bitbucket.org/wez/atomicparsley  but
the changes don't really impact get_iplayer (nor this problem).  I'm
happy to build an update if you'd like to try.

Given that you're using Ubuntu, try reporting the problem at
https://answers.launchpad.net/ubuntu

 Does get_iplayer have any
 alternative to AtomicParsley for the metadata updates that I could use
 instead?  Or is the --no-tag switch my only option?
Not currently.

Sorry this isn't a particularly helpful answer.  If you can mount the
NAS using, say, NFS, then I suspect your problem will go away.

Cheers
Jon

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


Re: get-iplayer on Ubuntu Raring

2013-05-01 Thread Jon Davies
 On 1 May 2013 08:57, Colin Law clan...@googlemail.com wrote:
 apt-cache policy get-iplayer
 will tell you which version is installed and where it came from.

On 1 May 2013 14:34, Andy Stevens insomniacpeng...@googlemail.com wrote:
 Thanks.  That command was informative:
 $ apt-cache policy get-iplayer
 get-iplayer:
   Installed: 2.82-2
   Candidate: 2.82-25-g3547d05-ppa8~raring

 So looks like it installed the default version even though I'd added
 the new source first.  Or perhaps I just needed to reboot in between,

no reboot required, but you do need to update the list of available
software after adding the repository.  Ubuntu does this automatically
sometimes, depending on how you installed it.  You can do the update
manually with:

$ sudo apt-get update

and there's bound to be some way of doing it using the ubuntu software
manager thingy.
(sorry, I'm not an avid user of the software manager - I can't even
remember its name properly ;-) - so I can't tell you which which
buttons to hit in it to do the update.  But it'll be there somewhere,
probably called refresh or update something similar.)

 ...as when I ran the software updater after next restart it showed new
 versions of get-iplayer, rtmpdump, atomicparsley, ...
this is expected - newer versions of these three are in the ppa.

 ... libimage-exiftool-perl  libmp3-tag-perl were available.
these are updates kicking around in raring.  they're not from the ppa,
but that should all be ok anyway.

 Interestingly, the update tool installed the new versions quite
 happily without doing anything about the key you mentioned...
this is because adding a ppa: URL in the GUI is exactly equivalent to
doing add-apt-repository (and it gets and installs the key
automatically, as you might reasonable expect ;-)

Cheers
jon

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


get-iplayer on Ubuntu Raring

2013-04-24 Thread Jon Davies
Ubuntu Raring is due out tomorrow.  get-iplayer works reasonably well
out of the box, but if you want a later (and more functional) build of
get-iplayer, atomicparslet and rtmpdump, then try one of these, both
of which now have builds of everything for raring:

$ sudo add-apt-repository ppa:jon-hedgerows/get-iplayer-testing
or
$ sudo add-apt-repository ppa:jon-hedgerows/get-iplayer

supporting tools are (as of today) the same versions in both
repositories - I tend to let things settle in get-iplayer-testing
before migrating them to get-iplayer.

Regards
Jon

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


Re: UTF8 subs in get_iplayer

2013-03-10 Thread Jon Davies
On 9 March 2013 20:13, Mark Barker mark.bar...@shaw.ca wrote:
 Hi Jon,

please write to the get-iplayer list, not to me directly.

 I was just updating all things get_iplayer on my Win7 x64 setup today. One
 thing I noticed is that your git repo commit:-
... modifies the character encoding used in the .srt files generated by
 get_iplayer - my Notepad++ identifies the encoding of these files as ANSI
 as UTF-8 (I believe this is Notepad++'s nomenclature for a UTF-8 encoding
 without a BOM).

 This actually BREAKS the default behaviour when subsequently muxing these
 .srt files into .mkv containers using mkvtoolnix (mkvmerge GUI)
 i.e. if I mux the .mp4 and .srt (with its new ANSI as UTF-8 .srt output
 format) into an .mkv, I have to take an extra step to manually override the
 character encoding type (charset) for the .srt file in the mkvmerge GUI (to
 UTF-8), else the resultant .mkv will end up have corrupted subs for some of
 the special characters, e.g. £

 I would actually prefer it if this 'new' format change was an option and not
 the default behaviour of get_iplayer, since this has been working without
 incident for me since forever previously! Failing that, a get_iplayer
 cmdline fallback option to the non-UTF-8 original encoding would be much
 appreciated.

seems a reasonable view.  I'll have a think about what makes a
sensible option, and think again what constitutes sensible default
behaviour, and propose a patch.  But I note that mkvmerge converts the
subtitles to UTF-8 if they're not already that.  Unless someone else
gets there before me.

Jon

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


Re: meta-enquiry

2013-03-02 Thread Jon Davies
On 2 March 2013 17:15, stephen s.parry...@btinternet.com wrote:
 I received a response to a post earlier, This post has to be approved by a
 moderator due to suspect headers Could someone explain  please, I don't
 think my email set-up has anything out of the ordinary (?)

It's usually because you've got rich formatting (or whatever your mail
programme calls it) turned on:  change to plain text, and don't attach
anything, and the message should get through.

jon

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


Re: rtmpdump updates for raspberry pi/raspbian

2013-02-24 Thread Jon Davies
On 24 February 2013 19:04, Steve startrek.st...@gmail.com wrote:
 Thanks!
 that works great!

please reply to the list, not to me.

glad you find the repo useful.


 Is there a way to automatically convert the M4a to mp3?
 I currently use AVconc in my own script after running get_iplayer

yes, you need this option:

 --aactomp3   Transcode AAC audio to MP3 with
ffmpeg (CBR 128k unless --mp3vbr is specified)

do
$ get_iplayer --long-help

to get full list of the many and various options that do pretty much
anything you can think of...

jon

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


Re: Ability to specify a temporary directory.

2013-02-20 Thread Jon Davies
On 19 February 2013 22:52, dinkypumpkin dinkypump...@gmail.com wrote:
 On 19/02/2013 22:31, Jon Davies wrote:

 you probably want nameshort instead of episodeshort


 For things like Book at Bedtime, you can use episodeshort to partition
 each work into its own folder, instead of lumping everything under Book at
 Bedtime.

ah, I see.  I'd missed that.  (yet another clever feature that's not obvious :-)

j

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


Re: rtmpdump updates for raspberry pi/raspbian

2013-02-20 Thread Jon Davies
On 23 January 2013 19:38, Jon Davies j...@hedgerows.org.uk wrote:
 This isn't a proper repo, so you can't automagically update it, hence
 it being a temporary home.

well, I've finally sorted out a proper repository for get-iplayer on
raspbian wheezy, which /does/ support all the right things including
automagic updates.

see http://get-iplayer.hedgerows.org.uk/  for installation details.
The repo itself lives at packages.hedgerows.org.uk

this is now a permanent home, feel free to post this info elsewhere
should others find it useful.

Regards
Jon

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


Re: web-settings-and-get_iplayer-defaults-harmonisation

2013-02-20 Thread Jon Davies
On 30 January 2013 22:39, Pete Beardmore pete.beardm...@msn.com wrote:
 #patch attached (hopefully!)
...
 anyway. finally i got up and running and so on to the hackery. the attached
 patch makes the web server work as i want it to with regard to where
 defaults come from. specifically it:

looking at this in a bit more detail has been on my to-do list for a
while, where it still sits. I just wanted to say thanks for the patch
and not leave you hanging and apparently ignored.

I like the principle of what you seem to be trying to do here, and I'd
wondered about doing something similar a long while ago. (I never did,
because I don't use the web interface much, if ever, partly because
like you I don't like the way it handles options ;-)

cheers,
jon

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


Re: Ability to specify a temporary directory.

2013-02-19 Thread Jon Davies
On 19 February 2013 21:27, John G. Dargie john.g.dar...@btinternet.com wrote:
 On both computers the --info command returns The Bell Jar.
 On both computers the subdirectory created is called The_Bell_Jar_Episode_6 
 which is not what I expect.

you probably want nameshort instead of episodeshort

Jon

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


Re: Stream corrupt error and then rtmpdump goes nuts

2013-02-18 Thread Jon Davies
On 4 January 2013 09:51, Neill Mitchell ne...@nlkmitchell.com wrote:
[lots of helpful stuff about rtmpdump going nuts]

I posted a patch on the rtmpdump mailing list, and was asked if I'd
tried a different (not-committed) patch, attached below.

I'm not convinced this will really help, but does someone with even
faster fibre than me care to give it a try? (some judicious
installation of real ethernet cable got mine running reliably at
55Mbps, but I still can't reproduce the problem people were reporting
here.)

if someone doesn't like compiling stuff but is willing to test please
let me know what platform you're using and I will do a test build.

Thanks
Jon


---
 librtmp/rtmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
index b966710..4506732 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
@@ -4998,6 +4998,7 @@ fail:
   memcpy(mybuf, flvHeader, sizeof(flvHeader));
   r-m_read.buf += sizeof(flvHeader);
   r-m_read.buflen -= sizeof(flvHeader);
+  cnt = sizeof(flvHeader);

   while (r-m_read.timestamp == 0)
 {

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


Re: Stream corrupt error and then rtmpdump goes nuts

2013-02-18 Thread Jon Davies
On 18 February 2013 20:21, spam.mc spam...@gmail.com wrote:
 Maybe I'm being thick,  but can't someone setup a server on a local network
 to stream from and then test connecting the rtmpdump client to that?
I guess so, but I can't find one that I can make work... it's just
easier to try it out with someone else's (the beeb's) server.

 What obvious thing am I missing?
just that I'm lazy. :-)

Cheers
Jon

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


Re: get_iplayer hangs after 'Started writing to temp' (Jon Davies)

2013-02-03 Thread Jon Davies
On 3 February 2013 01:04, alan azto...@fastmail.fm wrote:
 In any case, I've now replaced it
 with 12.04 and your ppa is working beautifully. Thank you, and I'm sorry
 to have bothered you with this.

No problem at all.  Glad things are working for you now, which is what
matters :-)

jon

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


Re: get_iplayer hangs after 'Started writing to temp'

2013-02-02 Thread Jon Davies
On 31 January 2013 00:26, dinkypumpkin dinkypump...@gmail.com wrote:
 On 30/01/2013 19:15, alan wrote:

 Does this happen when you run atomicparsley on /any/ mp4 file? or just
 this particular one?  If it's all, then I'd try reinstalling
 atomicparsley:

 Jon - happens on any file, and continued after reinstalling atomicparsley.
 I should have said at the outset that this was on a newly setup vps
 running a minimal version of Ubuntu 10.04. In any case, I've now
 installed a more complete version of Ubuntu 11.04 on the vps and got the
 same problem. I think I'll have to give up on the vps.

 The progress display only gets up to 2% or so for small files like Bells on
 Sunday since it only takes a few buffer writes to complete the temp file,
 so it's possible the tagging phase was completed.

my attempts to reproduce this problem on 10.04 resulted in ap getting
to 100% cleanly.  what I'm left scratching my head about is what's
different between the minimal ubuntu 10.04 virtual server that
alan's using, and the not-so-minimal desktop installation of 10.04 on
my VM, and /why/ the differences matter.  I'll have a go at building a
minimal 10.04 installation and see where I get.  don't hold your
breath.

alan, a stupid question: you're not running out of disk space are you?

jon

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


Re: get_iplayer hangs after 'Started writing to temp file.'

2013-01-29 Thread Jon Davies
On 29 January 2013 18:49, alan azto...@fastmail.fm wrote:
 Jon:
 Thanks for thinking about this but I now see it has nothing to do with
 get_iplayer or the atomicparsley command it builds - I get the same
 result with any simple call to atomicparsley.
 Alan.

I'd got as far as failing to reproduce your problem on precise or
quantal, then tried the lucid VMs I have, and also failed to reproduce
it.  It was evident that atomicparsley was getting stuck, and it's
known to be a tad flaky when presented with even slightly iffy data,
but usually it crashes properly rather than just locking up.

Does this happen when you run atomicparsley on /any/ mp4 file? or just
this particular one?  If it's all, then I'd try reinstalling
atomicparsley:

sudo dpkg --purge --force-depends atomicparsley
sudo apt-get -f install

and it should reinstall 0.9.4-hg91.
does this make any difference?  (has anyone else on the list got any ideas?)

Jon

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


Re: get_iplayer hangs after 'Started writing to temp file.'

2013-01-26 Thread Jon Davies
On 26 January 2013 00:32, alan azto...@fastmail.fm wrote:
 Hi:
 I just installed the jon-hedgerows ppa on Ubuntu 10.04.

Is that ppa:jon-hedgerows/get-iplayer, or ppa:jon-hedgerows/get-iplayer-testing?


 Get_iplayer hangs immediately after 'Started writing to temp file':
I can't see what's breaking - please could you run it again with -v
and post a full log?

Thanks
Jon

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


  1   2   >