Re: Audio Offset

2017-11-06 Thread Ralph Corderoy
Hi, > YellowYeti wrote: > > Is anyone else experiencing an offset between audio & video lately? I hadn't when he asked, but have since noticed it on last Thursday night's _This Week_ downloaded on Friday. I adjusted the syncing between the audio and video streams within the file to fix with

Re: 3.06 and 25fps/50fps modes

2017-11-06 Thread Ralph Corderoy
Hi Nick, > D:\Users\Nick>get_iplayer --pid=b09bdyrl --info > get_iplayer 3.06.0, Copyright (C) 2008-2010 Phil Lewis Mine differ on the version. [] is yours, {} is mine. get_iplayer [-3.06.0,-] {+v3.06,+} Copyright (C) 2008-2010 Phil Lewis > Matches: > > brand:  The Vietnam War

Re: Still No Listings with PVR v3.06

2017-11-04 Thread Ralph Corderoy
Hi Chris, > > Right, so why doesn't searching for "everything" with the `^' regexp > > as a second command achieve that listing of new programmes to > > eyeball? > > Sorry - I'm not sure how to use "the `^' regexp as a second command" > with the PVR. And I seldom use CLS. Oh, I've never seen the

Re: --no-hq-audio

2017-11-04 Thread Ralph Corderoy
Hi Richard, > I can turn it off by default by including --no-hq-audio in my > preferences. Although there is a hqaudio variable in the script, > there does not appear to be a --hq-audio option. Try --no-no-hq-audio? That's based on the description of `!' at

Re: Still No Listings with PVR v3.06

2017-11-04 Thread Ralph Corderoy
Hi Richard, > I have just tried [the regexp ^] > again with > --refresh --since=1 > and without --verbose > and I got a list of 40 added programmes. > Whether the programmes were all > added in the last hour is a bit difficult to tell. It seems unlikely since > there were 4 News programmes.

Re: Still No Listings with PVR v3.06

2017-11-03 Thread Ralph Corderoy
Hi Chris, > > ./get_iplayer --future --since 1 ^ > > The issue for me is - yes I can do a PVR search if I know what I am > looking for. But for new programmes I prefer to do an eyeball on the > listing. Right, so why doesn't searching for "everything" with the `^' regexp as a second command

Re: Still No Listings with PVR v3.06

2017-11-03 Thread Ralph Corderoy
Hi Lorenzo, > > > I used to find the list of additions to the cache tremendously > > > useful. An essential feature, even. And I would use it to find > > > programs I wanted to watch or hear very quicky. Can't you let the cache update happen as normal, and then search it with a regular

Re: parser error

2017-11-03 Thread Ralph Corderoy
Hi Richard, > http://www.bbc.co.uk/iplayer/subtitles/ng/modav/bUnknown-5df25dc8-d38f-43e5-93a2-38b6c778f852_b09c79wx_1509625417009.xml ... > I may be slightly wrong about that. The problem subtitles file began > That's fine. https://www.w3.org/TR/xml/#NT-XMLDecl > - > where - is a dash

Re: parser error

2017-10-27 Thread Ralph Corderoy
Hi Richard, > As I shall be saying in another reply, I suspect it may be possible to > configure XML::LibXML to be more error tolerant. get_iplayer should fail hard if the XML parser it uses complains as there's no good reason for it to expect poor XML and to recover from errors. If the BBC

Re: BBC Collections

2017-10-09 Thread Ralph Corderoy
Hi Vangelis, > just examining page source of > http://www.bbc.co.uk/iplayer/group/p056n6px > I'm seeing href="*" URIs with "#group=p056n6px" > appended to them... That's the ones containing the PIDs. Here in Unix-land, renowned for its text processing... $ g=p056n6px $ curl -sS

Re: Radio 1 Vintage

2017-09-30 Thread Ralph Corderoy
Hi Vangelis, > 21888: Radio 1 Vintage - Kenny Everett, Radio 1 Vintage, p059kfxn I really enjoyed his TV programme when I was a kid, but never heard him on the radio. Have just got hold of this, and looking forward to hearing it. Thanks! (No patch needed, in case others would like to do the

Re: Top of the Lake China Girl episode 5 download problems

2017-08-23 Thread Ralph Corderoy
Hi Dave, > I am having problems downloading the following episode of the Top of > the Lake I just watched S01 because they repeated it what with S02 coming along. I watched _The Night Of_ instead of S02. :-) >

Re: Tidying up Radio Downloads

2017-08-22 Thread Ralph Corderoy
Hi Vangelis, > Be sure to include -vn in the command if the output file extension is > ".m4a" Ah, this is to avoid attempting to copy any "video" album sleeve, etc? I didn't know of this option, always using -map 0:0 or similar to pluck just the audio in those cases. Thanks. -- Cheers, Ralph.

Re: Quacks - iPlayer release before broadcast

2017-08-21 Thread Ralph Corderoy
Hi RS, > Any thoughts? I've lost the plot a bit. You're saying that your tv.cache contains all the episodes of _Quacks_ and that you can download any of them now if you explicitly give the --pid $pid? Episode two here says it's available tomorrow, but if it could be downloaded now then you

Re: Quacks - iPlayer release before broadcast

2017-08-20 Thread Ralph Corderoy
Hi RS, > so it is no hardship to download by PID or wait for the broadcast If you --pvr-queue them all then do they all download when you run the queue as they're all available, even though some are before their broadcast date? -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy

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

2017-08-17 Thread Ralph Corderoy
Hi C. E., > for a high-level language, [Perl's] syntax is unnecessarily difficult > and obscure. Perl's syntax is heavy on notation, but then notation is powerful compared to the long-hand alternatives, and that's why it's fine in maths, chemistry, and Perl. For the occasional visitor, Python's

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

2017-08-16 Thread Ralph Corderoy
Hi C. E., > So, yielding to your superior knowledge of PERL, for the sake of > clarity for the benefit of those who may have had difficulty in > following the nuances of the argument, or been confused by the > multiple suggestions, would we both agree with?: > \b[bpw][0-9][a-z0-9]{7,13}\b

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

2017-08-15 Thread Ralph Corderoy
Hi C. E., > it might be necessary to bracket it at the beginning and end with > non-capturing non-word meta- or pseudo-characters Rather than \W, representing a single non-word character, \b would be better, meaning a zero-width boundary between a word, \w, and non-word, \W, character, or the

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

2017-08-14 Thread Ralph Corderoy
Hi M, > I'm horrified by the code repetition. Doesn't Perl allow 'functions'? Yes, that's those sub foo { ... } you see. It can also hold a regexp in a variable so a `$pid_regexp' could be defined once and used repeatedly. $ perl -e ' > $re =

Re: New radio PIDs

2017-08-14 Thread Ralph Corderoy
Hi Vangelis, > On Sun Aug 13 19:51:22 BST 2017, James Scholes wrote: > > ^[0-9b-df-hj-np-tv-z]{8,}$ Very useful, though I'm surprised they dropped the vowels but left in `y'. Having an alleged PID and checking it's syntactically correct, i.e. matches the regexp, is distinct from hunting for a

Re: New radio PIDs, more than 8 characters

2017-08-13 Thread Ralph Corderoy
Hi M, > > ^(?:[bp]0|w3)[a-z0-9]{6}$ > > Thanks for coding help but, the problem is worse (for me...), PID > w172vg029mkl852 Business Matters - Former US Vice President Al Gore on > Climate Change (w172vg029mkl852) More samples would allow the regexp to reject invalid ones, but perhaps

Re: New radio PIDs

2017-08-13 Thread Ralph Corderoy
Hi Vangelis, > ...to begin with either "b0" or "p0". > > New radio PIDs like "w3csv1y9" or "w3csvnyc", beginning with "w3", ... > [bp]0[a-z0-9]{6} > with > [bpw][a-z0-9]{7} Other approaches, getting gradually more specific. ^[bpw][03][a-z0-9]{6}$ But this allows b3.

Re: Strange CodePage Error in GiP2.99 On XP

2017-08-03 Thread Ralph Corderoy
Hi Vangelis, > > Try using "--encoding-console-out cp1252" option > > Of course Ralph is a code wizard, so he could possibly enlighten us > further, but according to --longhelp, "cp1252" is the value used as a > default fallback when autodetection fails in the cases of > --encoding-locale &

Re: Strange CodePage Error in GiP2.99 On XP

2017-08-02 Thread Ralph Corderoy
Hi C.E., > Cannot find encoding "cp850" at C:\Programs\GetIPlayer\get_iplayer.pl > line 323. Try using `--encoding-console-out cp1252' option at the start of the options. Only a quick guess; I don't have Windows. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy

Re: A bug in get_iplayer-3.01?

2017-07-06 Thread Ralph Corderoy
Hi Graham, > I have received nothing from the list since 18/6. Can I be added back > on to the mailing list please? AFAIK you're still on it, and there hasn't been anything on the mailing list since then. See http://lists.infradead.org/mailman/listinfo/get_iplayer and

Re: A bug in get_iplayer-3.01?

2017-06-18 Thread Ralph Corderoy
Hi Richard, > I was frantically reading about the scope of variables. My background > is Algol 60 and PLI where a block is a compound statement with local > declarations. I gather in Perl it's the other way round. No, I think it's the same as those language, C. Running $n = 1; sub

Re: A bug in get_iplayer-3.01?

2017-06-17 Thread Ralph Corderoy
Hi Richard, > if ($opt->{subdirformat} != '') { > my $subdir = $prog->substitute($opt->{subdirformat}, 1) > }; > else { > $subdir = $prog->substitute ('', 0) > }; > > I need to get some help to get the syntax right. Try my $subdir; if

Re: A bug in get_iplayer-3.01?

2017-06-07 Thread Ralph Corderoy
Hi Richard, > The function/procedure/subroutine parameters I have difficulty with > are ones of the form > my $string = shift; > I am inclined to agree with MrBrightside's comment in stackoverflow. > https://stackoverflow.com/questions/7082811/what-does-assigning-shift-to-a-variable-mean >

Re: A bug in get_iplayer-3.01?

2017-06-05 Thread Ralph Corderoy
Hi Richard, > In another part of the code there is a variable sanitize_mode which > can have values between 0 and 4 to denote different treatment for > sanitising file and directory names, and I haven't worked out how that > gets set. $sanitize_mode is set at the start of substitute() from the

Re: bigger files

2017-06-04 Thread Ralph Corderoy
Hi Graham, > This doesnt seem to have been circulated is there something wrong with > it? ... > get_iplayer mailing list > get_iplayer@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/get_iplayer That URL gives access to the list's archives so one can check without asking the

Re: Refresh cache problems ...

2017-05-16 Thread Ralph Corderoy
Hi Chris, > The path "C:\Users\CHRISJ~1\AppData\Local\Temp\mojo.tmp" exists - its > full of junk. Then what is it about it that makes get_iplayer think there are permission problems? Have you inspected the permissions of that file? Or its containing `Temp' directory? > The path does not

Re: Refresh cache problems ...

2017-05-16 Thread Ralph Corderoy
Hi Chris, > Mojo::Reactor::Poll: I/O watcher failed: Can't open file > "C:\Users\CHRISJ~1\AppData\Local\Temp\mojo.tmp": Permission denied at > Mojo/Asset/Memory.pm line 18. Why doesn't it have permission on that location? Does directory C:\Users\CHRISJ~1\AppData\Local\Temp exist? Is mojo.tmp

More than 9,999 Indexes in tv.cache Overlaps radio.cache.

2017-05-15 Thread Ralph Corderoy
Hi, I just tried to add TV programme `1' to the PVR. $ ./get_iplayer --nopurge -e 31536000 --future --modes best \ > --subtitles --versions default,audiodescribed 1 get_iplayer v3.01, Copyright (C) 2008-2010 Phil Lewis This program comes with ABSOLUTELY NO WARRANTY;

Re: Cache no-refresh and regexes

2017-05-14 Thread Ralph Corderoy
Hi Howard, > I use --refreshexclude .* on the command line to suppress automatic > cache refreshes. It works very well. This still has get_iplayer go through the motions of refreshing the cache, it's just there are never any channels to update when it gets to the `for every channel...' point.

Re: youtube-dl

2017-05-13 Thread Ralph Corderoy
Hi Charles, > ..works on pid urls (i was much amused to find) > > youtube-dl 'http://www.bbc.co.uk/programmes/b08pgswt' Yes, it's this extractor https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/bbc.py -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy

Re: Cache no-refresh and regexes

2017-05-12 Thread Ralph Corderoy
Hi Mark, > I guess I could use 2^24 or something All my scripts that run get_iplayer pass `-e 31536000', that being a year's seconds, apart from the script that explicitly refreshes. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy ___

Re: Help text query

2017-05-09 Thread Ralph Corderoy
Hi David, > > If your distribution handles PPAs, there is little point, but if it > > does not, it could be very handy. > > Not really. I have no idea what a PPA is so I presume that my OSes > don't handle them. I just regularly 'brew update;brew upgrade' on OS X > and 'apt-get update;apt-get

Re: Help text query

2017-05-09 Thread Ralph Corderoy
Hi Martin, > Does anyone think reinstating the -u flag would be a good idea?? I don't think it will happen. Presumably, it was removed to encourage one to read the upgrade and installation notes and follow them, rather than just assume it's all automatic? An option that was silent unless a new

Re: Help text query

2017-05-09 Thread Ralph Corderoy
Hi Andy, > Yes, the --force option is described in the recording options but it > mentions -u which I can't see referenced anywhere else. In 2.90, one of the old version I have here, -u is present. update => [ 2, "update|u!", 'Config', '--update, -u', "Update get_iplayer if a newer

Re: Release 3.01 error, using huge amounts of memory

2017-05-08 Thread Ralph Corderoy
Hi Jimmy, > Does anyone know if this need to be raised on the Wiki/support forums, > or is the fact that it's in the mailing list sufficient for it to be > looked at for future releases and hopefully fixed? I've also wondered that and just had a look. "ALL... problem reports should go to the

Re: Release 3.01 error, using huge amounts of memory

2017-05-07 Thread Ralph Corderoy
Hi Jimmy, > WARNING: Invalid attributes in HLS playlist: > BANDWIDTH=979000,CODECS="mp4a.40.5 > (http://vod-hls-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_sd_ad/ab83dd-b08pq8jz/vf_b08pq8jz_c46b7e01-c3af-44fe-ad32-d4 >

Re: Programme in Series has `firstbcast' But no `available'.

2017-05-07 Thread Ralph Corderoy
Hi Vangelis, > I have never claimed to be infallible and have welcome anybody who > have spotted something out of place in my posts to say so, for it to > be fixed... No, no, I agree. I hope it didn't come across that I was complaining. I have scripts to `get', `info', etc., that kick off

Re: GiP v3.01 --cache-rebuild failed at line 18

2017-05-07 Thread Ralph Corderoy
Hi Chris, Vangelis wrote: > Hello Chris - as you say, it's the same error as in > > http://lists.infradead.org/pipermail/get_iplayer/2017-May/010586.html :Reactor::Poll: I/O watcher failed: Can't open file "C:\Users\CHRISJ~1\AppData\Local\Temp\mojo.tmp": Permission denied at

Re: Programme in Series has `firstbcast' But no `available'.

2017-05-06 Thread Ralph Corderoy
Hi Vangelis, > > It seems to have. > > > I have done ./get_iplayer --quiet --refresh --refresh-future > > "--refresh --refresh-future" won't help you in this case; your > tv.cache gap for pid=b08nyc9z is for a broadcast date more than a week > in the past; "--refresh --refresh-future" will index

Re: Programme in Series has `firstbcast' But no `available'.

2017-05-05 Thread Ralph Corderoy
Hi Vangelis, > Apparently it is: If you remove it from the cache by deleting that line, does --info then obtain the availabledate from what's now out on the Internet to retrieve? > Have you performed --cache-init immediately after you updated to GiP > 3.00? Yes, I did and read all the 3.00

Re: Programme in Series has `firstbcast' But no `available'.

2017-05-05 Thread Ralph Corderoy
Hi Vangelis, > > With 3.00, programme PID b08nyc9z has no `available' field when I > > > > ./get_iplayer --no-purge --future -e 31536000 -i --pid b08nyc9z > > Can't repro here ... > I get the same when omitting --future switch. $ ./get_iplayer --no-purge --future -e 31536000 -i --pid

Programme in Series has `firstbcast' But no `available'.

2017-05-04 Thread Ralph Corderoy
Hi, With 3.00, programme PID b08nyc9z has no `available' field when I ./get_iplayer --no-purge --future -e 31536000 -i --pid b08nyc9z Here's some of the interesting fields it does have. dldate: 2017-05-04 dltime: 08:22:19 episodenum: 8 expires:in

Re: VERSION-get_iplayer Says 2.94.

2017-03-17 Thread Ralph Corderoy
Hi terry, > get_iplayer-2.94 is the last version to update with '-u' > all versions after 2.94 must be updated manually. Thanks. It's a shame -u wasn't deprecated for one version so I would have been upgraded to 2.95 which then tells me -u no longer works. I've been happily using -u

VERSION-get_iplayer Says 2.94.

2017-03-14 Thread Ralph Corderoy
Hi, I'm using 2.94 and finding --pid does not work now the BBC data has gone AWOL again. Examining recent archives of this list suggest 2.99 is required. But I'd already used `get_iplayer -u'. INFO: Current version is 2.94 INFO: Checking for latest version from www.infradead.org

Re: Someone unsubscribed me

2016-04-21 Thread Ralph Corderoy
Hi Andrew, > Has anyone else received such a message? Yes, they have. See the mailing list archives to catch up. I think it's just the thread that starts with http://lists.infradead.org/pipermail/get_iplayer/2016-April/008930.html Cheers, Ralph.

Re: GiP-2.95-develop & list archives

2016-04-07 Thread Ralph Corderoy
Hi John, > What's happening is that the programme that began as 50 half-frames > (i.e. fields) is now being sent as 50 full frames per second, with > interpolation being used to create the missing lines. Does this explain why I normally see BBC credits as double-vision when I pause; every one

Re: Test from Outlook Express 6.00.2900.5512

2016-04-06 Thread Ralph Corderoy
Hi David, > Not trivially, no. Otherwise I'd have done it long ago. We do expect > people to be able to use email properly, unfortunately. ... > ___ > get_iplayer mailing list > get_iplayer@lists.infradead.org >

Re: Kim Philby, British double agent, reveals all in secret video

2016-04-06 Thread Ralph Corderoy
Hi Chris, > I don't think GiP will get this though. > > http://www.bbc.co.uk/news/uk-35943428 Sorry, why is this posted to the list? :-) There seems to be a lot of off-topic noise here. Could the list moderator please fill in the "About get_iplayer" section of

Re: Channel 4

2015-09-15 Thread Ralph Corderoy
Hi CJB, > Any ideas how I can download this programme please: > http://www.channel4.com/info/press/news/channel-4-commemorates-battle-of-britain-with-aerial-spectacular Perhaps http://code.google.com/p/get-flash-videos/ Cheers, Ralph. ___ get_iplayer

Re: Inconsistencies

2015-08-31 Thread Ralph Corderoy
Hi, C E Macfarlane wrote: > Vangelis wrote: > > PID strings which begin with "b0xx" 99.9% of times > > correspond to (full) broadcast episodes/shows - these do come > > into HD versions (as a rule of thumb; exceptions may apply...). > [snip] > > PID strings that begin with

Re: pop art

2015-08-23 Thread Ralph Corderoy
Hi Jim, The bbc.co.uk /popart URL took me to a /programmes/p02yt4dz page. To save those playing along at home to have to manually do it: http://www.bbc.co.uk/programmes/p02yt4dz But others have different articles/. formats with lng 'random' alphanumeric sequences.

Re: No categories in tv.cache file

2015-06-28 Thread Ralph Corderoy
Hi Dave, My browser doesn't like the certificate that https://squarepenguin.co.uk presents it thinks it is invalid or corrupted error code -8182, squarepenguin is not unique in this but it's not very common. My browser, Mozilla 1.7.12 running under OS/2 Warp 3 with Warp 4's TCP/IP stack, so

Re: Available Programme has `available' in the Future.

2015-05-31 Thread Ralph Corderoy
Hi Vangelis, and hope that no ill sentiment exists on your part... Nope, none at all. :-) I realise different conventions exist in different communities; just wanted to point out my motivations. And on the short time I've been on this list, I've already seen how much you chip in with the

Re: Available Programme has `available' in the Future.

2015-05-30 Thread Ralph Corderoy
Hi Mark, If people [change the subject in a reply] on this list, it will actually reject their message automatically? No, as I found, their email will be automatically held for moderation and they'll be emailed that this has happened. I assumed list moderator(s) would release it to the list

Re: Available Programme has `available' in the Future.

2015-05-30 Thread Ralph Corderoy
Hi Vangelis, I received this private e-mail from Ralph Corderoy: (I think it's widely considered impolite to make private emails public. :-) Ralph wrote to the list owner: I replied to Vangelis's http://lists.infradead.org/pipermail/get_iplayer/2015-May/007595.html changing

Suggestion: Indicate PVR Match when Listing Programmes.

2015-05-03 Thread Ralph Corderoy
Hi, I made a small change to ./get_iplayer locally. When listing all that's new, e.g. ./get_iplayer --future --since 2 I find it useful to see those that are already marked for PVR download, perhaps because I've already done more specific searches and added them. This lets me skim the larger

Available Programme has `available' in the Future.

2015-05-02 Thread Ralph Corderoy
Hi, With get_iplayer 2.92, I find the PVR doesn't always download programmes that are available, e.g. PID b05t2dkd. It plays fine in the browser at http://www.bbc.co.uk/iplayer/episode/b05t2dkd/the-beechgrove-garden-2015-episode-5 Here's what I think are relevant lines from --info. $

<    1   2