From jeremy.bartle at gmail.com  Tue May  1 08:22:52 2012
From: jeremy.bartle at gmail.com (Jeremy Bartle)
Date: Tue, 1 May 2012 19:22:52 +0700
Subject: -map_metadata fails in WinFF 1.4.2
In-Reply-To: <4F91A371.2090801@gmail.com>
References: <CACnvhFcb9O4rhDUPoAxeHu_=yNL_qfBa6mgMA5bd_6zoF29e8A@mail.gmail.com>
 <DUB113-W14F3ED3E60F8B47BEABA9EF33D0@phx.gbl>
 <DUB113-W1144C805DE32FDA330DA5D4F3220@phx.gbl>
 <4F91651B.5010800@gmail.com> <4F916822.6040605@gmail.com>
 <DUB113-W4693693D2EC2084B9D85BDF3220@phx.gbl>
 <DUB113-W2944C0F8FD7060DCD184A6F3220@phx.gbl>
 <4F91A371.2090801@gmail.com>
Message-ID: <CACnvhFf8xvD3sG5Uah5wX88g_0nyOEoVgPG39E4E8Qw2uRtesg@mail.gmail.com>

Hi All,

Many thanks for all the help.  Dinkypumpkin's advice to use
-id3v2_version 3 as a WinFF parameter has solved my problem (I'm not
bothered about the cover art, only the tags).


From c.s.reed at bbr-online.co.uk  Thu May  3 06:22:01 2012
From: c.s.reed at bbr-online.co.uk (Chris Reed, BBR)
Date: Thu, 3 May 2012 11:22:01 +0100
Subject: flashhd not downloading, with solution
Message-ID: <F3EC814F-AE16-4591-82F5-8AB447DD11B2@bbr-online.co.uk>

Hi there,

This week I've started having trouble with flashhd not downloading,  
for example:

> INFO: Search args: '.*'
> INFO: Will try prog types: tv
> INFO: Got 948 file cache entries for tv
> INFO: Getting page http://www.bbc.co.uk/programmes/b01hbmsp.rdf
> INFO: Episode-only pid detected
> INFO: Trying pid: b01hbmsp using type: tv
> INFO Trying to stream pid using type tv
> INFO: pid not found in tv cache
> INFO: Cleaning pid Old: 'b01hbmsp',  New: 'b01hbmsp'
> INFO: Getting page http://feeds.bbc.co.uk/iplayer/episode/b01hbmsp
> INFO: Getting page http://www.bbc.co.uk/programmes/b01hbmsp.rdf
> INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/b01hbmsp
> INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/b01hbmsp
> INFO: Using Not Live standard TV and Radio: b01hbmsm
> INFO: Version: default, VersionPid: b01hbmsm, Duration: 3600
> INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mtis/stream/b01hbmsm?cb=28327
> INFO: Found mode flashhigh1: (iplayer_streaming_h264_flv) rtmp h264  
> 640x360 796kbps stream (CDN: limelight/10)
> INFO: Found mode flashhigh2: (iplayer_streaming_h264_flv) rtmp h264  
> 640x360 796kbps stream (CDN: akamai/5)
> INFO: Found mode flashlow1: (iplayer_streaming_h264_flv_vlo) rtmp  
> h264 400x224 396kbps stream (CDN: limelight/10)
> INFO: Found mode flashlow2: (iplayer_streaming_h264_flv_vlo) rtmp  
> h264 400x224 396kbps stream (CDN: akamai/5)
> INFO: Found mode flashstd1: (iplayer_streaming_h264_flv_lo) rtmp  
> h264 640x360 480kbps stream (CDN: limelight/10)
> INFO: Found mode flashstd2: (iplayer_streaming_h264_flv_lo) rtmp  
> h264 640x360 480kbps stream (CDN: akamai/5)
> INFO: Found mode flashvhigh1: (iplayer_streaming_h264_flv_high) rtmp  
> h264 832x468 1500kbps stream (CDN: limelight/10)
> INFO: Found mode flashvhigh2: (iplayer_streaming_h264_flv_high) rtmp  
> h264 832x468 1500kbps stream (CDN: akamai/5)
> INFO: Found mode flashvhigh3: (iplayer_streaming_h264_flv_high) rtmp  
> h264 832x468 1500kbps stream (CDN: akamai/5)
> INFO: Found mode flashvhigh4: (iplayer_streaming_h264_flv_high) rtmp  
> h264 832x468 1500kbps stream (CDN: limelight/10)
> INFO: Found mode n95_wifi1: (iplayer_streaming_n95_wifi) 3gp h264  
> 320x176 184kbps stream (CDN: sis/5)
> INFO: Found mode rtsphigh1: (iplayer_streaming_rtsp_h264_flv) rtmp  
> h264 640x360 796kbps stream (CDN: akamai/5)
> INFO: Found mode rtsphigh2: (iplayer_streaming_rtsp_h264_flv) rtmp  
> h264 640x360 796kbps stream (CDN: limelight/10)
> INFO: Found mode rtsplow1: (iplayer_streaming_rtsp_h264_flv_vlo)  
> rtmp h264 400x224 396kbps stream (CDN: akamai/5)
> INFO: Found mode rtsplow2: (iplayer_streaming_rtsp_h264_flv_vlo)  
> rtmp h264 400x224 396kbps stream (CDN: limelight/10)
> INFO: Found mode rtspstd1: (iplayer_streaming_rtsp_h264_flv_lo) rtmp  
> h264 640x360 480kbps stream (CDN: akamai/5)
> INFO: Found mode rtspstd2: (iplayer_streaming_rtsp_h264_flv_lo) rtmp  
> h264 640x360 480kbps stream (CDN: limelight/10)
> INFO: Found mode rtspvhigh1: (pc_streaming_rtsp_hd) rtmp h264  
> 1280x720 2796kbps stream (CDN: akamai/10)
> INFO: Found mode rtspvhigh2: (pc_streaming_rtsp_hd) rtmp h264  
> 1280x720 2796kbps stream (CDN: level3/5)
> INFO: Found mode subtitles1: (captions) http stream (CDN: http/10)
> INFO: Getting page http://www.bbc.co.uk/programmes/b01hbmsm.rdf
> INFO: Will search for versions: default
> INFO: Mode list: flashhd
> INFO: Checking existence of default version
> INFO: Version = default
> INFO: No specified modes (flashhd) available for this programme with  
> version 'default' (try using -- 
> modes 
> = 
> flashhigh 
> ,flashlow 
> ,flashstd 
> ,flashvhigh,n95_wifi,rtsphigh,rtsplow,rtspstd,rtspvhigh,subtitles)
> ERROR: Failed to record 'Antiques Uncovered - 1. Entertainment  
> (b01hbmsp)'



Looking at the bitrate for the 1280x720 stream, in this case rtspvhigh  
(though it's sometimes flashvhigh instead), I found that the solution  
was to change the line:

	if ( $mattribs->{bitrate} > 3000 ) {

to

	if ( $mattribs->{bitrate} > 2000 ) {

This is line 6134 in get_iplayer v.2.80

Hope this helps!

Cheers, Chris


From klynchk at gmail.com  Thu May  3 18:11:44 2012
From: klynchk at gmail.com (Kevin Lynch)
Date: Thu, 3 May 2012 23:11:44 +0100
Subject: streaming/recording Radio 1 video?
In-Reply-To: <CA+L9Mas9LDoBmZFVQbp8yuwmCAgFp5hGPAV9pT6piMTNcO6n+A@mail.gmail.com>
References: <4F9DB4FD.8000401@gmail.com> <4F9DB52C.1000603@gmail.com>
 <4F9DD4E0.6010209@gmail.com>
 <CA+L9Mas9LDoBmZFVQbp8yuwmCAgFp5hGPAV9pT6piMTNcO6n+A@mail.gmail.com>
Message-ID: <CA+L9Matg_YHaOpO4on53NiLacfvZ3D45NVW-tZ_DLAybpZwkrg@mail.gmail.com>

Hi

Here's my failure mode on maverick meerkat - what do I need to upgrade?

kevin at ikhaya:~/get_iplayer-2.78$ ./get_iplayer --update
INFO: Current version is 2.80
INFO: Checking for latest version from www.infradead.org
INFO: No update is necessary (latest version = 2.80)

kevin at ikhaya:~/get_iplayer-2.78$ ./get_iplayer --url
http://www.bbc.co.uk/5live/emp/5live_studio_stream.xml
--rtmp-tv-opts="--stop 3600"
INFO: Trying pid:
http://www.bbc.co.uk/5live/emp/5live_studio_stream.xml using type: tv
INFO Trying to stream pid using type tv
INFO: pid not found in tv cache
INFO: Checking existence of default version
INFO: flashnormal1 modes will be tried for version default
INFO: Trying flashnormal1 mode to record tv:  -
INFO: File name prefix =
BBC_Radio_5_live_studio_stream_-_-_http_www.bbc.co.uk_5live_emp_5live_studio_stream.xml_default
WARNING: Your version of flvstreamer/rtmpdump does not support SWF Verification
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Starting Live Stream
For duration: 3600.000 sec
Metadata:
  author
  copyright
  description
  keywords
  rating
  title
  presetname            Custom
  creationdate          Thu Apr 26 00:41:24 2012
  videodevice           Microsoft DV Camera and VCR
  framerate             25.00
  width                 512.00
  height                288.00
  videocodecid          VP62
  videodatarate         320.00
  videokeyframe_frequency5.00
  audiodevice           Microsoft DV Camera and VCR
  audiosamplerate       44100.00
  audiochannels         1.00
  audioinputvolume      75.00
  audiocodecid          .mp3
  audiodatarate         64.00
0.511 kB / 0.00 sec

ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Download may be incomplete (downloaded about 0.00%), try resuming
INFO: Command exit code 2 (raw code = 512)
WARNING: Failed to stream file
/home/kevin/get_iplayer-2.78/BBC_Radio_5_live_studio_stream_-_-_http_www.bbc.co.uk_5live_emp_5live_studio_stream.xml_default.partial.avi.flv
via RTMP
INFO: skipping flashnormal1 mode
ERROR: Failed to record 'BBC Radio 5 live studio stream - -
(http://www.bbc.co.uk/5live/emp/5live_studio_stream.xml)'

Thanks

Kevin


On 3 May 2012 12:57, Kevin Lynch <klynchk at gmail.com> wrote:
>
> Thanks for that. The command fails on my main Ubuntu Maverick Meerkat 10.10 , works just fine on my Oneiric Ocelot 11.10 virtual machine. Sadly I can't access my Maverick machine just now.
>
> I'll probably need to upgrade some of my get_iplayer components on Maverick.
>
> I'll respond again if I can't figure it out.
> Kevin
>
>
>
> On 30 April 2012 00:55, dinkypumpkin <dinkypumpkin at gmail.com> wrote:
>>
>> On 29/04/2012 22:39, dinkypumpkin wrote:
>>>
>>> Go to urldecode.org and decode the string into:
>>
>>
>> I just noticed that urldecode.org plants Google Analytics cookies. ?if you don't like that, there are alternative sites that don't, such as:
>>
>> http://meyerweb.com/eric/tools/dencoder/
>>
>>
>>
>>
>> _______________________________________________
>> get_iplayer mailing list
>> get_iplayer at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>
>


From dinkypumpkin at gmail.com  Thu May  3 18:19:30 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 03 May 2012 23:19:30 +0100
Subject: streaming/recording Radio 1 video?
In-Reply-To: <CA+L9Matg_YHaOpO4on53NiLacfvZ3D45NVW-tZ_DLAybpZwkrg@mail.gmail.com>
References: <4F9DB4FD.8000401@gmail.com> <4F9DB52C.1000603@gmail.com>
 <4F9DD4E0.6010209@gmail.com>
 <CA+L9Mas9LDoBmZFVQbp8yuwmCAgFp5hGPAV9pT6piMTNcO6n+A@mail.gmail.com>
 <CA+L9Matg_YHaOpO4on53NiLacfvZ3D45NVW-tZ_DLAybpZwkrg@mail.gmail.com>
Message-ID: <4FA30472.3030203@gmail.com>

On 03/05/2012 23:11, Kevin Lynch wrote:
> Hi
>
> Here's my failure mode on maverick meerkat - what do I need to upgrade?
> ...
> WARNING: Your version of flvstreamer/rtmpdump does not support SWF Verification
> FLVStreamer v2.1c1

Install rtmpdump and use that instead of flvstreamer.  get_iplayer 
should pick up rtmpdump automatically unless you have specifically 
configured it to use flvstreamer.



From kernelbasher at gmail.com  Fri May  4 06:00:31 2012
From: kernelbasher at gmail.com (Carl Fletcher)
Date: Fri, 04 May 2012 11:00:31 +0100
Subject: Ubuntu 12.04 and get_iplayer?
Message-ID: <4FA3A8BF.3080304@gmail.com>

Using
ppa:jon-hedgerows/get-iplayer

Currently is causing broken packages?
Am I missing something?


From dinkypumpkin at gmail.com  Fri May  4 08:13:14 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Fri, 04 May 2012 13:13:14 +0100
Subject: Ubuntu 12.04 and get_iplayer?
In-Reply-To: <4FA3A8BF.3080304@gmail.com>
References: <4FA3A8BF.3080304@gmail.com>
Message-ID: <4FA3C7DA.8050408@gmail.com>

On 04/05/2012 11:00, Carl Fletcher wrote:
> Using
> ppa:jon-hedgerows/get-iplayer
>
> Currently is causing broken packages?
> Am I missing something?

Use instead: ppa:jon-hedgerows/get-iplayer-testing

Last word from Jon on the list was that he would eventually move the 
12.04 package over to ppa:jon-hedgerows/get-iplayer, but use the above 
for now.  I've been using it with beta 2 and release 12.04 and it seems 
to work fine.  If you want to wait for the PPA to be consolidated, you 
may be able to use the Ubuntu get-iplayer package unless you need some 
particular features from the PPA version, which is newer.



From kernelbasher at gmail.com  Fri May  4 10:11:45 2012
From: kernelbasher at gmail.com (Carl Fletcher)
Date: Fri, 04 May 2012 15:11:45 +0100
Subject: Ubuntu 12.04 and get_iplayer?
In-Reply-To: <4FA3C7DA.8050408@gmail.com>
References: <4FA3A8BF.3080304@gmail.com> <4FA3C7DA.8050408@gmail.com>
Message-ID: <4FA3E3A1.1080902@gmail.com>

On 04/05/12 13:13, dinkypumpkin wrote:
> On 04/05/2012 11:00, Carl Fletcher wrote:
>> Using
>> ppa:jon-hedgerows/get-iplayer
>>
>> Currently is causing broken packages?
>> Am I missing something?
>
> Use instead: ppa:jon-hedgerows/get-iplayer-testing
>
> Last word from Jon on the list was that he would eventually move the
> 12.04 package over to ppa:jon-hedgerows/get-iplayer, but use the above
> for now. I've been using it with beta 2 and release 12.04 and it seems
> to work fine. If you want to wait for the PPA to be consolidated, you
> may be able to use the Ubuntu get-iplayer package unless you need some
> particular features from the PPA version, which is newer.
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

Thank you @DP


From jon at hedgerows.org.uk  Sat May  5 05:04:58 2012
From: jon at hedgerows.org.uk (Jon Davies)
Date: Sat, 5 May 2012 10:04:58 +0100
Subject: Ubuntu 12.04 and get_iplayer?
In-Reply-To: <4FA3A8BF.3080304@gmail.com>
References: <4FA3A8BF.3080304@gmail.com>
Message-ID: <CAJEH5C3vtbmJLTwZ75mVFhZS7J8gjdhRe8BcNUQA3ihqq5n4tw@mail.gmail.com>

On 4 May 2012 11:00, Carl Fletcher <kernelbasher at gmail.com> wrote:
>
> Using
> ppa:jon-hedgerows/get-iplayer
>
> Currently is causing broken packages?
> Am I missing something?
>
You appear to be missing a competent maintainer. ?oops.

Sorry everyone, I copied the get-iplayer package across from -testing,
but failed to copy the dependencies. ?I've done that now.

You should now find that?ppa:jon-hedgerows/get-iplayer works with
12.04/precise.

Jon


From patronanejo at yahoo.com  Sat May  5 19:09:50 2012
From: patronanejo at yahoo.com (Patron Anejo)
Date: Sat, 5 May 2012 16:09:50 -0700 (PDT)
Subject: No subject
Message-ID: <1336259390.97822.BPMail_high_noncarrier@web160904.mail.bf1.yahoo.com>


http://chinarndpartnership.com/anop.php


From dinkypumpkin at gmail.com  Mon May  7 11:27:11 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Mon, 07 May 2012 16:27:11 +0100
Subject: Crashes When Running from Cron Job
In-Reply-To: <100.d0300e00c5e5a74f.005@errichel.co.uk>
References: <4F95422F.9000708@errichel.co.uk> <4F95CC29.4060603@gmail.com>
 <100.d0300e00c5e5a74f.005@errichel.co.uk>
Message-ID: <4FA7E9CF.1060009@gmail.com>

On 07/05/2012 16:09, Alastair wrote:
> On Mon, 23 Apr 2012 22:39:53 +0100 dinkypumpkin wrote:
>> This is a bit of a reach, but consider using rtmpdump instead of flvstreamer.  In your
> options
>> file:
>>
>> flvstreamer = /usr/bin/rtmpdump (or wherever it's installed).
>
> My version of get_iplayer is 2.80 but have no idea which build version.  Should I be trying to
> get a more recent version?

No build numbers, unfortunately.  If you're using PackMan packages, 
openSUSE 11.3 gets the version 2.80 of get_iplayer, but later openSUSE 
releases get slightly later versions of get_iplayer pulled from Git.  It 
won't make any difference in your case - use whatever 2.80 package is 
available for your distro version.

> Similarly my version of rtmpdump is from packman repo site
> 2.3.99.git20111114-1.4-x86_64.  Is this OK or superseded?

That should be OK.

Also - please reply to the list and not to me personally.


From dmgi at stoptheviolence.co.uk  Mon May  7 14:01:58 2012
From: dmgi at stoptheviolence.co.uk (Derek Moss)
Date: Mon, 7 May 2012 19:01:58 +0100
Subject: PVR Manager modes, settings and bugs
Message-ID: <CAJiAm8weo_XWwiXnifdjjWSjuopDu4Y6rvB=zG+kJmKrfMWJ3A@mail.gmail.com>

Seems my replies got blocked because they had RE: in the subject and
the system doesn't realise I'm replying to a message (I get the digest
so have to cut and paste to reply), so sorry if this looks like a new
message.

> From: dinkypumpkin <dinkypumpkin at gmail.com>
>
> On 27/04/2012 16:48, Derek Moss wrote:
>> 1) Under Search - Columns, ticking Mode doesn't do anything (I imagine
>> it's meant to show what modes are available for each programme)
>
> That option is only useful when searching the download history ("Search
> History" checked). It will show the mode used for an already-downloaded
> programme.

Ah thanks, that makes sense.

>> 2) Under Recording, the Recording Modes listed are
>> flashaachigh,flashaacstd,flashaudio,flashhigh,flashstd,flashnormal,realaudio,flashaaclow.
>> Looking at this table
>> http://beebhack.wikia.com/wiki/IPlayer_TV#Comparison_Table it seems
>> that the flash modes use AAC by default anyway, so is there any
>> difference between flashaachigh and flashhigh and couldn't the list
>> just be flashhigh,flashstd,flashnormal,flashlow,flashaudio,realaudio
>> (and if wanted, flashhd,flashvhigh, appended to the start)?
>
> The "flashaac" modes (AAC audio) are used for radio programmes on the
> national stations.  The "flash" modes (H.264 video/AAC audio) are used
> for tv programmes.  So, not the same at all.

I see, thanks for explaining. Could you clarify whether flashaudio and
realaudio are for TV or radio?

>> 3) When saving settings in PVR Manager, where are they stored and is
>
> In a persistent browser cookie
>
>> there a saved settings file (storing settings like default download
>> folder, etc) for the command line tool as well? (I used to know this,
>> but once I forget I can never work out where they are!)
>
> For Windows 7, most likely place is:
>
> C:\Users\<username>\.get_iplayer\options

Thanks. The reason I couldn't find it is because I hadn't saved any
settings. Now I have with --prefs-add it's created the options file.

> On 27/04/2012 19:37, dinkypumpkin wrote:

>> On 27/04/2012 16:48, Derek Moss wrote:
>>> 4) Since updating get_iplayer.cgi, clicking on a programme title no
>>> longer filters by that. It does change what's in the Search box (so
>>> clicking on an episode of The Bridge sets it to ^The Bridge$ but it
>>> doesn't refresh the displayed programmes as it used to.
>>
>> Still works here. Since the search box changes, the click event handler
>> is being executed, but apparently the enclosing form isn't being
>> submitted as it should be. Perhaps a IE expert out there can shed
>> further light on this.
>
> I think I might see the problem here.  The updated get_iplayer.cgi has
> acquired a DOCTYPE declaration that puts IE into standards mode.  In IE9
> standards mode, I see the behaviour described above, regardless of the
> Web PVR version.   In IE 7/8 modes and Quirks mode, it works as before.
>  I'm not sure why it worked for me initially, but IE was definitely in
> Quirks mode when I first loaded the Web PVR.  I can't repeat that now,
> so I must have been hallucinating or something.
>
> There are several options I can think of:
>
> - Remove the DOCTYPE declaration and default to Quirks mode
> - Adjust the DOCTYPE declaration to force Quirks mode
> - Add a <META> header to force IE9 to use IE8 mode
>
> fs ck: The DOCTYPE declaration was your addition. Does it need to have
> that particular value for any reason?
>
> Derek - to work around this for now, you can try Compatibility view
> (Page->Compatiblity View).  If that doesn't work for some reason, open
> the IE developer tools (Tools->F12 developer tools).  In the Document
> Mode menu, select "Quirks mode"

Thanks, Compatibility View has fixed it for now, so I've just added
127.0.0.1 to the CV settings.


From dmgi at stoptheviolence.co.uk  Mon May  7 14:02:09 2012
From: dmgi at stoptheviolence.co.uk (Derek Moss)
Date: Mon, 7 May 2012 19:02:09 +0100
Subject: IE9 corrupts .pl file when saving
Message-ID: <CAJiAm8yyN636aTp5Otnb782JHhYOERtTh+nXOFLcjC+1KWDFpg@mail.gmail.com>

> From: dinkypumpkin <dinkypumpkin at gmail.com>

> On 27/04/2012 16:29, Derek Moss wrote:
>> Using IE9 to save as text the file at
>> http://git.infradead.org/get_iplayer.git/blob_plain/HEAD:/get_iplayer
>> results in it getting corrupted with the following added at the
>> beginning (and corresponding stuff at the end).
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <!DOCTYPE HTML>><HTML><HEAD>
>> <META content="text/html; charset=iso-8859-1" http-equiv="Content-Type"></HEAD>
>> <BODY><PRE>
>
> I think you just neglected to select "Text File" for "Save as type" in
> the Save dialog.  For anyone reading this who may not realise:  The
> get_iplayer and get_iplayer.cgi scripts are plain text files.  For
> whatever reason, IE won't believe the Content-Type header that specifies
> a text/plain MIME type for the response containing the get_iplayer
> script.  Given that the get_iplayer.cgi works OK, it might just be the
> case that IE is too stupid to work without a file extension.  Whatever
> the case, I'll add a relevant note to the instructions.

I definitely saved both files as Text File. I just tried it again and
it worked OK though, so maybe it was just a glitch.


From dinkypumpkin at gmail.com  Mon May  7 14:15:08 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Mon, 07 May 2012 19:15:08 +0100
Subject: PVR Manager modes, settings and bugs
In-Reply-To: <CAJiAm8weo_XWwiXnifdjjWSjuopDu4Y6rvB=zG+kJmKrfMWJ3A@mail.gmail.com>
References: <CAJiAm8weo_XWwiXnifdjjWSjuopDu4Y6rvB=zG+kJmKrfMWJ3A@mail.gmail.com>
Message-ID: <4FA8112C.70406@gmail.com>

On 07/05/2012 19:01, Derek Moss wrote:
>> From: dinkypumpkin<dinkypumpkin at gmail.com>
>> The "flashaac" modes (AAC audio) are used for radio programmes on the
>> national stations.  The "flash" modes (H.264 video/AAC audio) are used
>> for tv programmes.  So, not the same at all.
>
> I see, thanks for explaining. Could you clarify whether flashaudio and
> realaudio are for TV or radio?

Radio only.  And the realaudio mode is a vestigial remnant.  iPlayer 
doesn't use RA any longer, but there may still be some RA resources 
scattered amongst other BBC sites.


From ajebay at errichel.co.uk  Mon May  7 17:58:39 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Mon, 07 May 2012 22:58:39 +0100 (BST)
Subject: Crashes When Running from Cron Job
In-Reply-To: <4FA7E9CF.1060009@gmail.com>
References: <4F95422F.9000708@errichel.co.uk> <4F95CC29.4060603@gmail.com>
 <100.d0300e00c5e5a74f.005@errichel.co.uk>
 <4FA7E9CF.1060009@gmail.com>
Message-ID: <100.60d803008f45a84f.012@errichel.co.uk>

On Mon, 07 May 2012 16:27:11 +0100 dinkypumpkin wrote:
>
>On 07/05/2012 16:09, Alastair wrote:
>>On Mon, 23 Apr 2012 22:39:53 +0100 dinkypumpkin wrote:
>>>This is a bit of a reach, but consider using rtmpdump instead of flvstreamer.  In your
>>options
>>>file:
>>>
>>>flvstreamer = /usr/bin/rtmpdump (or wherever it's installed).
>>
>>My version of get_iplayer is 2.80 but have no idea which build version.  Should I be trying 
to
>>get a more recent version?
>
>No build numbers, unfortunately.  If you're using PackMan packages, openSUSE 11.3 gets 
the version 2.80 of get_iplayer, but later openSUSE 
>releases get slightly later versions of get_iplayer pulled from Git.  It won't make any 
difference in your case - use whatever 2.80 package is 
>available for your distro version.
>
>>Similarly my version of rtmpdump is from packman repo site
>>2.3.99.git20111114-1.4-x86_64.  Is this OK or superseded?
>
>That should be OK.
>
>Also - please reply to the list and not to me personally.

Many thanks.  Have changed to rtmpdump and it seems fine.  Apologies for wrong address.  
Possibly an artifact of my email client as it shows you to be sender not the list.  As I have 
only just changed from digest mode was not aware.  Hope this is correct now! 
Regards,
Budge

>_______________________________________________
>get_iplayer mailing list
>get_iplayer at lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/get_iplayer
>



From pepperpot at ec.rr.com  Sat May 12 02:33:00 2012
From: pepperpot at ec.rr.com (pepperpot at ec.rr.com)
Date: Sat, 12 May 2012 2:33:00 -0400
Subject: hey
Message-ID: <20120512063300.VHLFM.708257.root@cdptpa-web13-z02>

hi cutie! this is morgan check out my profile i made 2day! http://www.tol.co/2o and tell me what you think of me.. my username sexythang503


From ajebay at errichel.co.uk  Tue May 15 04:42:15 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Tue, 15 May 2012 09:42:15 +0100 (BST)
Subject: Test Post to List
Message-ID: <100.f0070d00e716b24f.003@errichel.co.uk>

Hi,
Test posting, please excuse!
Alastair


From thewall at btinternet.com  Tue May 15 06:29:41 2012
From: thewall at btinternet.com (Paul Williamson)
Date: Tue, 15 May 2012 11:29:41 +0100 (BST)
Subject: clips for Merlin.
Message-ID: <1337077781.36443.YahooMailNeo@web87705.mail.ir2.yahoo.com>



Hello,

??? ??? ??? ??? Haven't posted before as the program is quite well documented and works so well, 

I have generally been able to figure out my mistakes in the past.
However, I was trying to pull this and a few other similar clips but am unable to get them to work.
I thought I would post a see if anyone had a solution to these type clips. 

Links to the clip (although I know the last one (/hd/) currently isn't working)

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

http://www.bbc.co.uk/iplayer/episode/p00kbyyg/Merlin_Series_1_Tear_and_Repair_The_Trick/

http://www.bbc.co.uk/iplayer/episode/p00kbyyg/hd/Merlin_Series_1_Tear_and_Repair_The_Trick/


Other similar are p00kbyyx, p00kbygr, p00kbyhj and so forth on the page 

http://www.bbc.co.uk/programmes/b00dr74v#clips


I have tried using --type tv --url="tv:<above links>"
I have tried using --stream --url="<above links>"
and using a simple --get using the middle link gives the following which is very similar to the others.

Thanks,

Paul


get_iplayer --get "http://www.bbc.co.uk/iplayer/episode/p00kbyyg/";? --verbose
get_iplayer v2.80, 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: User prefs dir: /home/myid/.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
Current options:
??????? pid = http://www.bbc.co.uk/iplayer/episode/p00kbyyg/
??????? verbose = 1

INFO: Search args: 'http://www.bbc.co.uk/iplayer/episode/p00kbyyg/';
INFO: Will try prog types: tv
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: Got 940 file cache entries for tv
INFO: Getting page http://www.bbc.co.uk/programmes/p00kbyyg.rdf
INFO: Series pid detected
INFO: Getting page http://www.bbc.co.uk/programmes/p00kbyyg.rdf
INFO:??? Series: '' (b00dr74v)
INFO:????? Episode '' ()
INFO: Please run the command again using one of the above episode PIDs or to get all programmes add the --pid-recursive option


From dinkypumpkin at gmail.com  Tue May 15 06:55:47 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Tue, 15 May 2012 11:55:47 +0100
Subject: clips for Merlin.
In-Reply-To: <1337077781.36443.YahooMailNeo@web87705.mail.ir2.yahoo.com>
References: <1337077781.36443.YahooMailNeo@web87705.mail.ir2.yahoo.com>
Message-ID: <4FB23633.8090305@gmail.com>

On 15/05/2012 11:29, Paul Williamson wrote:
> I have generally been able to figure out my mistakes in the past.
> However, I was trying to pull this and a few other similar clips but am unable to get them to work.
> I thought I would post a see if anyone had a solution to these type clips.

You'll need to update to the Git version of get_iplayer in order to 
download those clips.  It requires a change that went in after the last 
release.  Instructions:

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


From thewall at btinternet.com  Tue May 15 07:23:02 2012
From: thewall at btinternet.com (Paul Williamson)
Date: Tue, 15 May 2012 12:23:02 +0100 (BST)
Subject: clips for Merlin.
Message-ID: <1337080982.53450.YahooMailNeo@web87704.mail.ir2.yahoo.com>

Thanks for that.

???? Worked right away.

Thanks,

Paul



From rob.dixon at gmx.com  Tue May 15 10:04:11 2012
From: rob.dixon at gmx.com (Rob Dixon)
Date: Tue, 15 May 2012 15:04:11 +0100
Subject: Legacy versions of get_iplayer
Message-ID: <4FB2625B.10608@gmx.com>

The infradead git repository holds versions of get_iplayer back to 
v2.76, which is less than two years old. Are older releases available 
anywhere else?

Thanks,

Rob


From dinkypumpkin at gmail.com  Tue May 15 11:22:15 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Tue, 15 May 2012 16:22:15 +0100
Subject: Legacy versions of get_iplayer
In-Reply-To: <4FB2625B.10608@gmx.com>
References: <4FB2625B.10608@gmx.com>
Message-ID: <4FB274A7.5050609@gmail.com>

On 15/05/2012 15:04, Rob Dixon wrote:
> The infradead git repository holds versions of get_iplayer back to
> v2.76, which is less than two years old. Are older releases available
> anywhere else?

FWIW, Google turned up v2.66 and v2.41 lurking in old Ubuntu packages 
(Lucid and Karmic, respectively).  There may be other old tarballs or 
Linux packages out in the ether, but I've no idea.

If you're trying to find a specific prior version, the Git repo is the 
place to look.  The infradead repo contains the entire commit history 
for get_iplayer.  Release 2.76 (and its associated tag) mark the point 
where Phil Lewis dropped get_iplayer and it was transferred to 
infradead.  I assume that prior releases weren't tagged in Phil's 
Subversion repo or the tags weren't converted when the repo was 
transferred to Git.

As an approximate method to track down old versions of the get_iplayer 
script, you can look for commits where the internal version number 
changed.  Try this in your clone of the infradead repo:

git log -p get_iplayer | egrep '^(commit|\+my \$version =)'

It will produce a long printout that looks like:

...
commit c09afcb1fdc029799dae54fe665bc43edb8ee7d9
+my $version = 2.69;
commit 388a43ceaa969f59f1aab0b6b5767baa77241f98
+my $version = 2.68;
commit 2696a7a92e66a7132d8265cca658b66d42b6185c
+my $version = 2.67;
commit 5d325d60e5d5167fc5b54eafa796c4a527e3fdc9
+my $version = 2.66;
commit 6f84eb61d0dcfef673743fc4e5d9e1199ffb4f2c
commit 23d38538ac54b18e8a0dfb56abd47514e95fbad8
+my $version = 2.65;
...

Find the version you're looking for and do a checkout on the commit hash 
just above it.  So for example, to get v2.68 using the above:

git checkout 388a43ceaa969f59f1aab0b6b5767baa77241f98

That will put you in detached HEAD state at the point of the commit 
referenced in the checkout.

I'm sure it won't be perfect since there's no guarantee that the commit 
including a change in the version number is the same one used for the 
actual release tarball, but it should get you in the right ballpark.


From jmw at debian.org  Tue May 15 11:28:49 2012
From: jmw at debian.org (Jonathan Wiltshire)
Date: Tue, 15 May 2012 16:28:49 +0100
Subject: Legacy versions of =?UTF-8?Q?get=5Fiplayer?=
In-Reply-To: <4FB2625B.10608@gmx.com>
References: <4FB2625B.10608@gmx.com>
Message-ID: <50ce356ac309fec30b66bce3d77905f9@hogwarts.powdarrmonkey.net>

On 2012-05-15 15:04, Rob Dixon wrote:
> The infradead git repository holds versions of get_iplayer back to
> v2.76, which is less than two years old. Are older releases available
> anywhere else?
>

http://snapshot.debian.org/package/get-iplayer/ holds various versions 
from my Debian packages (you want the .orig.tar.gz files which are as 
released by upstream at the time).

-- 
Jonathan Wiltshire                                      jmw at debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51


From richard.mace at btinternet.com  Sun May 20 01:31:55 2012
From: richard.mace at btinternet.com (richard.mace at btinternet.com)
Date: Sun, 20 May 2012 06:31:55 +0100 (BST)
Subject: Problem with live TV feeds..
Message-ID: <1337491915.6754.YahooMailNeo@web87405.mail.ir2.yahoo.com>

Only flashvhigh2 seems to be working at the moment (flashvhigh1 down).
Have to manually specify --modes=flashvhigh2 to get stream, get_iplayer does not automatically switch
even if use --modes=best or --modes=flashvhigh,flashhigh,flashlow[etc,etc,etc]
Anyone else seeing this problem? Been in evidence for three days..
?

-- 
I started with nothing in life - still have most of it left.


Sent from an open source O/S, not an iPhoney



From pbartram at talktalk.net  Sun May 20 04:11:37 2012
From: pbartram at talktalk.net (Pete Bartram)
Date: Sun, 20 May 2012 09:11:37 +0100
Subject: Help with web interface please
Message-ID: <55759E05DC5C49538F440BF98B163E5A@W7PC>

Hi
I cannot find any reference to this in documentation or archives, which 
makes me think I?m missing something very obvious . . . but I cannot work 
out how to use the search box in the web interface. If I type in a programme 
name, complete or partial, with everything else left as default, I get 
nothing returned.

What should I do with the .* that appear by default, do I have to put in the 
whole programme name? etc.  At the moment I get the URL from the BBC iplayer 
site & paste it into the Quick URL box, but I?d like to be able to use 
Search ? it must be simple, after all . . . or is it me that?s simple?
Thanks
Pete 



From mike at mb21.co.uk  Sun May 20 08:33:46 2012
From: mike at mb21.co.uk (Mike Brown)
Date: Sun, 20 May 2012 13:33:46 +0100
Subject: Help with web interface please
In-Reply-To: <55759E05DC5C49538F440BF98B163E5A@W7PC>
References: <55759E05DC5C49538F440BF98B163E5A@W7PC>
Message-ID: <4FB8E4AA.4030106@mb21.co.uk>

On 20/05/2012 09:11, Pete Bartram wrote:
> Hi
> I cannot find any reference to this in documentation or archives, which
> makes me think I?m missing something very obvious . . . but I cannot
> work out how to use the search box in the web interface. If I type in a
> programme name, complete or partial, with everything else left as
> default, I get nothing returned.
> 
> What should I do with the .* that appear by default, do I have to put in
> the whole programme name? etc.  At the moment I get the URL from the BBC
> iplayer site & paste it into the Quick URL box, but I?d like to be able
> to use Search ? it must be simple, after all . . . or is it me that?s
> simple?

You probably need to do a REFRESH CACHE first.

-- 
mb


From ajebay at errichel.co.uk  Sun May 20 11:52:29 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Sun, 20 May 2012 16:52:29 +0100 (BST)
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
Message-ID: <100.28d50c003d13b94f.011@errichel.co.uk>

I am getting into difficulty with tagging and then making some radio broadcast files work on 
my Twonky server running on NAS box.  

I have no trouble with mp3 files so if BBC programme is available as podcast I can 
download that and it usually is correctly tagged so can go straight on to NAS data base.

Similarly I have put some of my CDs of radio shows onto NAS having ripped and encoded 
them as flac files and tagged them myself and these work fine with Twonky.

Where I am having problems is with downloaded radio shows which are saved as .m4a 
files which I understand to be MP4/AAC files.  I could convert these using soundKonverter or 
similar for example and in future I assume I could include --aactomp3 in command line 
(not sure how with --pvr mode as cron job.  Put in preferences perhaps?)  However for 
classical music I would rather use a lossless mode of compression which works with 
Twonky etc. such as flac.   Also the files which come as m4a seem to lack any tagging 
whilst mp3 podcasts come with extensive tagging.  Does that mean I must include a 
tagging preference as well?  Please could somebody advise on what defaults should be 
and possible options.  I have read --longhelp but am still not wise enough!

Finally please could I have guidance on how get_iplayer handles jpg thumbnail files.  I see 
that these are downloaded at the end of a programme and then vanish.  What am I doing 
wrong please?

Alastair  






From dinkypumpkin at gmail.com  Sun May 20 12:05:32 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 20 May 2012 17:05:32 +0100
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <100.28d50c003d13b94f.011@errichel.co.uk>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
Message-ID: <4FB9164C.6070702@gmail.com>

On 20/05/2012 16:52, Alastair wrote:
> Twonky etc. such as flac.   Also the files which come as m4a seem to lack any tagging
> whilst mp3 podcasts come with extensive tagging.  Does that mean I must include a
> tagging preference as well?  Please could somebody advise on what defaults should be

It sounds like you don't have AtomicParsley installed.  get_iplayer uses 
AtomicParsley to tag MP4/M4A files.


From dinkypumpkin at gmail.com  Sun May 20 12:05:41 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 20 May 2012 17:05:41 +0100
Subject: Problem with live TV feeds..
In-Reply-To: <1337491915.6754.YahooMailNeo@web87405.mail.ir2.yahoo.com>
References: <1337491915.6754.YahooMailNeo@web87405.mail.ir2.yahoo.com>
Message-ID: <4FB91655.5090400@gmail.com>

On 20/05/2012 06:31, richard.mace at btinternet.com wrote:
> Only flashvhigh2 seems to be working at the moment (flashvhigh1 down).
> Have to manually specify --modes=flashvhigh2 to get stream, get_iplayer does not automatically switch
> even if use --modes=best or --modes=flashvhigh,flashhigh,flashlow[etc,etc,etc]
> Anyone else seeing this problem? Been in evidence for three days..

If you're streaming a programme and the first attempted source 
(flashvhigh1 in this case) isn't found, get_iplayer will abort.  That is 
by design.  When get_iplayer streams a programme, it basically just 
hands off to rtmpdump.  If rtmpdump fails when streaming, get_iplayer 
can't easily determine the cause, thus any failure is considered fatal.

Unfortunately, I think you're just a temporary victim of sort order. 
Until things are repaired at the BBC end, all I can suggest is what 
you're already doing: ensure that flashvhigh2 is at the front of your 
modes list when streaming.


From dinkypumpkin at gmail.com  Sun May 20 12:05:49 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 20 May 2012 17:05:49 +0100
Subject: Help with web interface please
In-Reply-To: <4FB8E4AA.4030106@mb21.co.uk>
References: <55759E05DC5C49538F440BF98B163E5A@W7PC>
 <4FB8E4AA.4030106@mb21.co.uk>
Message-ID: <4FB9165D.2080704@gmail.com>

On 20/05/2012 13:33, Mike Brown wrote:
> On 20/05/2012 09:11, Pete Bartram wrote:
>> Hi
>> I cannot find any reference to this in documentation or archives, which
>> makes me think I?m missing something very obvious . . . but I cannot
>> work out how to use the search box in the web interface. If I type in a
>
> You probably need to do a REFRESH CACHE first.
>

If refreshing the cache doesn't work for you, make sure the programme 
type check boxes are set properly.  Like get_iplayer itself, the web pvr 
only searches TV programmes by default.  If you're looking for radio 
programmes, make sure the "BBC Radio" box is checked.


From jon at hedgerows.org.uk  Sun May 20 12:12:15 2012
From: jon at hedgerows.org.uk (Jon Davies)
Date: Sun, 20 May 2012 17:12:15 +0100
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <100.28d50c003d13b94f.011@errichel.co.uk>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
Message-ID: <CAJEH5C28o30-yowRXsXBm2p1SFp2AqxSTrGNHAs8eE5+sJ0wEA@mail.gmail.com>

On 20 May 2012 16:52, Alastair <ajebay at errichel.co.uk> wrote:
>...
> Where I am having problems is with downloaded radio shows which are saved as .m4a
> files which I understand to be MP4/AAC files. ?I could convert these using soundKonverter or
> similar for example and in future I assume I could include --aactomp3 in command line
> (not sure how with --pvr mode as cron job. ?Put in preferences perhaps?)
It should work if you just specify --aactomp3 on the command line with
--pvr-add.  Alternatively if you want it to apply all the time add it
to your preferences.

> However for
> classical music I would rather use a lossless mode of compression...
To get the best quality you should avoid transcoding at all, and
transcoding to something that's lossless, like flac, will simply make
the file bigger with no other effect.  The audio is in aac format on
the iplayer site, and by default get_iplayer remuxes this into an
mp4/m4a wrapper.

> Also the files which come as m4a seem to lack any tagging
> whilst mp3 podcasts come with extensive tagging.
If AtomicParsley is available then get_iplayer will use it to tag mp4
files.  You may need to tell get_iplayer where to find it
(--atomicparsley <path>).  If you're running on Windows or most
linuxes this should just work out of the box.

(If you're running get_iplayer on an unusual box (like on the NAS
itself, or something other than windows, macos or desktop linux) then
you might need to build your own AtomicParsley - the source lives
here: https://bitbucket.org/wez/atomicparsley/overview)

> Finally please could I have guidance on how get_iplayer handles jpg thumbnail files. ?I see
> that these are downloaded at the end of a programme and then vanish. ?What am I doing
> wrong please?
--thumb should prod get_iplayer to download (and keep) the thumbnail image
There are some other thumbnail options to tweak, but if get_iplayer
doesn't keep a thumbnail with the above then something else is wrong.

Jon


From andy at networkned.co.uk  Sun May 20 12:44:59 2012
From: andy at networkned.co.uk (Andy Bircumshaw)
Date: Sun, 20 May 2012 17:44:59 +0100
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <100.28d50c003d13b94f.011@errichel.co.uk>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
Message-ID: <F7AB16FD-F3A8-4DF6-84D0-832914AFCF6B@networkned.co.uk>


On 20 May 2012, at 16:52, Alastair wrote:

> I am getting into difficulty with tagging and then making some radio broadcast files work on 
> my Twonky server running on NAS box.  
> ?
> 
> Where I am having problems is with downloaded radio shows which are saved as .m4a 
> files which I understand to be MP4/AAC files.  I could convert these using soundKonverter or 
> similar for example

Wait - Twonky doesn't play these .m4a files?

aB.




From pbartram at talktalk.net  Sun May 20 15:17:59 2012
From: pbartram at talktalk.net (Pete Bartram)
Date: Sun, 20 May 2012 20:17:59 +0100
Subject: Help with web interface please
In-Reply-To: <4FB9165D.2080704@gmail.com>
Message-ID: <A7F1B71C9A0E42EDBF67FD9E56EFC23F@W7PC>

OK ? thanks for the help; now I?m going to get greedy.  I now get proper 
search results, thank you, but despite turning on 'Search future schedule' 
in Advanced Search  and 'Refresh future schedule' in Recording, and then 
refreshing the cache, I'm not getting future TV pogrammes, even for later on 
this evening.  Any ideas? 



From dinkypumpkin at gmail.com  Sun May 20 16:12:34 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 20 May 2012 21:12:34 +0100
Subject: Help with web interface please
In-Reply-To: <A7F1B71C9A0E42EDBF67FD9E56EFC23F@W7PC>
References: <A7F1B71C9A0E42EDBF67FD9E56EFC23F@W7PC>
Message-ID: <4FB95032.5090508@gmail.com>

On 20/05/2012 20:17, Pete Bartram wrote:
> OK ? thanks for the help; now I?m going to get greedy. I now get proper
> search results, thank you, but despite turning on 'Search future
> schedule' in Advanced Search and 'Refresh future schedule' in Recording,
> and then refreshing the cache, I'm not getting future TV pogrammes, even
> for later on this evening. Any ideas?

The "refresh future" functionality was broken in the last release. 
You'll need to grab the latest yet-to-be-released version of 
get_iplayer.  Instructions here:

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



From dmgi at stoptheviolence.co.uk  Tue May 22 11:31:15 2012
From: dmgi at stoptheviolence.co.uk (Derek Moss)
Date: Tue, 22 May 2012 16:31:15 +0100
Subject: Error editing queued programmes
Message-ID: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>

Using the PVR Manager, if I queue a programme then edit it to set the
mode to flashhigh it just deletes it from the queue with the following
error:

"Deleted: ONCE_b01hr5s5

Added Updated PVR Search 'ONCE_b01hr5s5'

ERROR: Search term(s) required for recording"


From dinkypumpkin at gmail.com  Tue May 22 14:08:36 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Tue, 22 May 2012 19:08:36 +0100
Subject: Error editing queued programmes
In-Reply-To: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>
References: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>
Message-ID: <4FBBD624.2020807@gmail.com>

On 22/05/2012 16:31, Derek Moss wrote:
> Using the PVR Manager, if I queue a programme then edit it to set the
> mode to flashhigh it just deletes it from the queue with the following
> error:
>
> "Deleted: ONCE_b01hr5s5
>
> Added Updated PVR Search 'ONCE_b01hr5s5'
>
> ERROR: Search term(s) required for recording"

Fixed (hopefully) in Git repo.  If it doesn't work for you, reply here. 
Update instructions:

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

You only need to update get_iplayer itself, not the Web PVR.

NOTE: This glitch won't affect anyone using the get_iplayer release 
version 2.80.


From dmgi at stoptheviolence.co.uk  Tue May 22 15:21:47 2012
From: dmgi at stoptheviolence.co.uk (Derek Moss)
Date: Tue, 22 May 2012 20:21:47 +0100
Subject: Error editing queued programmes
In-Reply-To: <4FBBD624.2020807@gmail.com>
References: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>
 <4FBBD624.2020807@gmail.com>
Message-ID: <CAJiAm8zxkD_baqYu0UK72gyWgzGbfCFe-1FDO85SQrQLVD65_A@mail.gmail.com>

On 22 May 2012 19:08, dinkypumpkin <dinkypumpkin at gmail.com> wrote:

> On 22/05/2012 16:31, Derek Moss wrote:
>>
>> Using the PVR Manager, if I queue a programme then edit it to set the
>> mode to flashhigh it just deletes it from the queue with the following
>> error:
>>
>> "Deleted: ONCE_b01hr5s5
>>
>> Added Updated PVR Search 'ONCE_b01hr5s5'
>>
>> ERROR: Search term(s) required for recording"
>
>
> Fixed (hopefully) in Git repo. ?If it doesn't work for you, reply here.
> Update instructions:
>
> https://github.com/dinkypumpkin/get_iplayer/wiki/instructions
>
> You only need to update get_iplayer itself, not the Web PVR.
>
> NOTE: This glitch won't affect anyone using the get_iplayer release version
> 2.80.
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

Afraid not. I actually updated those earlier today. The .cgi is 143 KB
and the .pl is 351 KB.


From dinkypumpkin at gmail.com  Tue May 22 15:39:42 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Tue, 22 May 2012 20:39:42 +0100
Subject: Error editing queued programmes
In-Reply-To: <CAJiAm8zxkD_baqYu0UK72gyWgzGbfCFe-1FDO85SQrQLVD65_A@mail.gmail.com>
References: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>
 <4FBBD624.2020807@gmail.com>
 <CAJiAm8zxkD_baqYu0UK72gyWgzGbfCFe-1FDO85SQrQLVD65_A@mail.gmail.com>
Message-ID: <4FBBEB7E.8010100@gmail.com>

On 22/05/2012 20:21, Derek Moss wrote:
> On 22 May 2012 19:08, dinkypumpkin<dinkypumpkin at gmail.com>  wrote:
>> Fixed (hopefully) in Git repo.  If it doesn't work for you, reply here.
> Afraid not. I actually updated those earlier today. The .cgi is 143 KB
> and the .pl is 351 KB.

Did you pull the latest version and test it after my last message saying 
that a fix was available?  A pull from earlier today won't have the fix 
in it.



From dmgi at stoptheviolence.co.uk  Tue May 22 16:32:20 2012
From: dmgi at stoptheviolence.co.uk (Derek Moss)
Date: Tue, 22 May 2012 21:32:20 +0100
Subject: Error editing queued programmes
In-Reply-To: <4FBBEB7E.8010100@gmail.com>
References: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>
 <4FBBD624.2020807@gmail.com>
 <CAJiAm8zxkD_baqYu0UK72gyWgzGbfCFe-1FDO85SQrQLVD65_A@mail.gmail.com>
 <4FBBEB7E.8010100@gmail.com>
Message-ID: <CAJiAm8yGLMVe8drsh6VgLSLtpEyALKNgDDRPohg46z61SfkYQQ@mail.gmail.com>

On 22 May 2012 20:39, dinkypumpkin <dinkypumpkin at gmail.com> wrote:
> On 22/05/2012 20:21, Derek Moss wrote:
>>
>> On 22 May 2012 19:08, dinkypumpkin<dinkypumpkin at gmail.com> ?wrote:
>>>
>>> Fixed (hopefully) in Git repo. ?If it doesn't work for you, reply here.
>>
>> Afraid not. I actually updated those earlier today. The .cgi is 143 KB
>> and the .pl is 351 KB.
>
>
> Did you pull the latest version and test it after my last message saying
> that a fix was available? ?A pull from earlier today won't have the fix in
> it.

Sorry, my mistake. I didn't realise you'd updated it that recently.

It's working great now I've updated thanks.

Incidentally, I found there's a bug with IE where if I saved the .cgi
(as a text file) to get_iplayer.cgi overwriting the existing one, it
gets corrupted with DOCTYPE headers. If I delete the existing file and
save it as that (or anything else that doesn't already exist), IE adds
.txt and it doesn't get corrupted.


From dinkypumpkin at gmail.com  Tue May 22 19:00:05 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Wed, 23 May 2012 00:00:05 +0100
Subject: Error editing queued programmes
In-Reply-To: <CAJiAm8yGLMVe8drsh6VgLSLtpEyALKNgDDRPohg46z61SfkYQQ@mail.gmail.com>
References: <CAJiAm8wavTuZaMdAqZMcX6dchGFfvLm-dG0EjN=n2=sKTSZH=g@mail.gmail.com>
 <4FBBD624.2020807@gmail.com>
 <CAJiAm8zxkD_baqYu0UK72gyWgzGbfCFe-1FDO85SQrQLVD65_A@mail.gmail.com>
 <4FBBEB7E.8010100@gmail.com>
 <CAJiAm8yGLMVe8drsh6VgLSLtpEyALKNgDDRPohg46z61SfkYQQ@mail.gmail.com>
Message-ID: <4FBC1A75.1020503@gmail.com>

On 22/05/2012 21:32, Derek Moss wrote:
> Incidentally, I found there's a bug with IE where if I saved the .cgi
> (as a text file) to get_iplayer.cgi overwriting the existing one, it
> gets corrupted with DOCTYPE headers. If I delete the existing file and
> save it as that (or anything else that doesn't already exist), IE adds
> .txt and it doesn't get corrupted.

So, more IE foolishness.  Fancy that.  A wise person once said: You 
don't *need* to smoke opium or drink sterno to use Internet Explorer - 
but it helps.

I've updated the instructions accordingly.


From ajebay at errichel.co.uk  Thu May 24 08:12:43 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Thu, 24 May 2012 13:12:43 +0100 (BST)
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <4FB9164C.6070702@gmail.com>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <4FB9164C.6070702@gmail.com>
Message-ID: <100.301b0f00ba25be4f.020@errichel.co.uk>

On Sun, 20 May 2012 17:05:32 +0100 dinkypumpkin wrote:
>
>On 20/05/2012 16:52, Alastair wrote:
>>Twonky etc. such as flac.   Also the files which come as m4a seem to lack any tagging
>>whilst mp3 podcasts come with extensive tagging.  Does that mean I must include a
>>tagging preference as well?  Please could somebody advise on what defaults should be
>
>It sounds like you don't have AtomicParsley installed.  get_iplayer uses AtomicParsley to 
tag 
>MP4/M4A files.
>
>_______________________________________________
>get_iplayer mailing list
>get_iplayer at lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/get_iplayer
>

Hi and thanks.  I thought AtomicParsley was only for Windoze so had no idea.  
I have tried to install it on openSUSE 12.1 86_64 system but am not having much luck.  
Please could you suggest source for rpm.
Regards,
Alastair. 


From dinkypumpkin at gmail.com  Thu May 24 12:58:02 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 24 May 2012 17:58:02 +0100
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <100.301b0f00ba25be4f.020@errichel.co.uk>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <4FB9164C.6070702@gmail.com> <100.301b0f00ba25be4f.020@errichel.co.uk>
Message-ID: <4FBE689A.8060606@gmail.com>

On 24/05/2012 13:12, Alastair wrote:
> Hi and thanks.  I thought AtomicParsley was only for Windoze so had no idea.
> I have tried to install it on openSUSE 12.1 86_64 system but am not having much luck.
> Please could you suggest source for rpm.

It would help if you gave us a full description of the problem.  To just 
say you're "not having much luck" isn't very illustrative.  I came 
across what I presume is your post on this issue in the openSUSE forums:

http://forums.opensuse.org/english/get-technical-help-here/multimedia/475544-problem-installing-atomicparsley-license-info-required-post2464842.html

I can see from the forum thread that you're having trouble installing 
AtomicParsley with your package manager, but you should provide that 
information here - maybe someone else has seen the problem.  It seems a 
wee bit rash to just assume that the RPM for a stable package like 
AtomicParsley is broken.

FWIW, I couldn't duplicate your issue.  I used the same RPM you 
referenced in your forum post with openSUSE 12.1 and zypper installed it 
with no problem.  You say that zypper is freezing because the package 
requires acceptance of a license. I would be pretty surprised if the 
AtomicParsley package was built to do that.  Development stopped on AP 
0.9.0 years ago and I doubt the RPM package build has changed much 
either.  I suppose it's not impossible, but I don't see it here.   My 
only suggestion is to try adding --auto-agree-with-licenses to your 
zypper command line.

AFAICT, the AtomicParsley package from pbone.net still seems to be the 
best bet for RPM-based distros.  Some brave soul recently attempted to 
get an AtomicParsley package into rpmfusion.org, but didn't meet with 
much success:

https://bugzilla.rpmfusion.org/show_bug.cgi?id=2190

His 64-bit build is here:

http://avi.alkalay.net/software/atomicparsley/

A quick test indicates it works OK on openSUSE 12.1, which is no 
surprise - it's the same underlying code as the pbone.net RPM.

Somebody has also forked the current AtomicParsley code base at 
bitbucket.org:

https://bitbucket.org/shield007/atomicparsley

He is providing static builds for Linux/Windows/OSX.  The Linux build 
seems to work OK on openSUSE 12.1.


From dinkypumpkin at gmail.com  Thu May 24 13:25:50 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 24 May 2012 18:25:50 +0100
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <4FBE689A.8060606@gmail.com>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <4FB9164C.6070702@gmail.com> <100.301b0f00ba25be4f.020@errichel.co.uk>
 <4FBE689A.8060606@gmail.com>
Message-ID: <4FBE6F1E.4010501@gmail.com>

On 24/05/2012 17:58, dinkypumpkin wrote:
> On 24/05/2012 13:12, Alastair wrote:
>> Hi and thanks. I thought AtomicParsley was only for Windoze so had no
>> idea.
>> I have tried to install it on openSUSE 12.1 86_64 system but am not
>> having much luck.
>> Please could you suggest source for rpm.
>
> It would help if you gave us a full description of the problem. To just

One addendum on the subject of tagging:  If you want full tagging of MP3 
files, install the perl-MP3-Tag package on openSUSE.  You can also use 
id3v2, but its capabilities are more limited.




From ajebay at errichel.co.uk  Thu May 24 16:40:06 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Thu, 24 May 2012 21:40:06 +0100 (BST)
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <F7AB16FD-F3A8-4DF6-84D0-832914AFCF6B@networkned.co.uk>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <F7AB16FD-F3A8-4DF6-84D0-832914AFCF6B@networkned.co.uk>
Message-ID: <100.30570500a69cbe4f.004@errichel.co.uk>

On Sun, 20 May 2012 17:44:59 +0100 Andy Bircumshaw wrote:
>
>
>On 20 May 2012, at 16:52, Alastair wrote:
>
>> I am getting into difficulty with tagging and then making some radio broadcast files work 
>on 
>> my Twonky server running on NAS box.  
>> 
>> 
>> Where I am having problems is with downloaded radio shows which are saved as .m4a 
>> files which I understand to be MP4/AAC files.  I could convert these using 
soundKonverter 
>or 
>> similar for example
>
>Wait - Twonky doesn't play these .m4a files?
>
>aB.
[snip]

Hi Andy,
In short no, radio programmes downloaded which are saved as m4a do not appear to work 
but I cannot be sure fault lies with Twonky.  

Because of my error with the tagging (No AtomicParsley installed) I can only navigate to 
these files using "folders" but then when selected using Kinsky controller for playing on Linn 
Sneaky I get nothing.  I am still working on this but it seems only radio data is the problem.  
Videos seem fine and I conclude tagging is included with video download.  More work to do 
at this end I fear.  Thanks for the interest.
Alastair.


From ajebay at errichel.co.uk  Thu May 24 16:50:18 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Thu, 24 May 2012 21:50:18 +0100 (BST)
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <4FBE689A.8060606@gmail.com>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <4FB9164C.6070702@gmail.com>
 <100.301b0f00ba25be4f.020@errichel.co.uk>
 <4FBE689A.8060606@gmail.com>
Message-ID: <100.30330b000a9fbe4f.007@errichel.co.uk>

On Thu, 24 May 2012 17:58:02 +0100 dinkypumpkin wrote:
>
>On 24/05/2012 13:12, Alastair wrote:
>>Hi and thanks.  I thought AtomicParsley was only for Windoze so had no idea.
>>I have tried to install it on openSUSE 12.1 86_64 system but am not having much luck.
>>Please could you suggest source for rpm.
>
>It would help if you gave us a full description of the problem.  To just say you're "not 
having much luck" isn't very illustrative.  I came across what 
>I presume is your post on this issue in the openSUSE forums:
>
>http://forums.opensuse.org/english/get-technical-help-here/multimedia/475544-prob
lem-installing-atomicparsley-license-info-required-p
>ost2464842.html
>
>I can see from the forum thread that you're having trouble installing AtomicParsley with 
your package manager, but you should provide that 
>information here - maybe someone else has seen the problem.  It seems a wee bit rash to 
just assume that the RPM for a stable package like 
>AtomicParsley is broken.
>
>FWIW, I couldn't duplicate your issue.  I used the same RPM you referenced in your forum 
post with openSUSE 12.1 and zypper installed it with 
>no problem.  You say that zypper is freezing because the package requires acceptance of 
a license. I would be pretty surprised if the 
>AtomicParsley package was built to do that.  Development stopped on AP 0.9.0 years ago 
and I doubt the RPM package build has changed much 
>either.  I suppose it's not impossible, but I don't see it here.   My only suggestion is to try 
adding --auto-agree-with-licenses to your zypper 
>command line.
>
>AFAICT, the AtomicParsley package from pbone.net still seems to be the best bet for 
RPM-based distros.  Some brave soul recently attempted to 
>get an AtomicParsley package into rpmfusion.org, but didn't meet with much success:
>
>https://bugzilla.rpmfusion.org/show_bug.cgi?id=2190
>
>His 64-bit build is here:
>
>http://avi.alkalay.net/software/atomicparsley/
>
>A quick test indicates it works OK on openSUSE 12.1, which is no surprise - it's the same 
underlying code as the pbone.net RPM.
>
>Somebody has also forked the current AtomicParsley code base at bitbucket.org:
>
>https://bitbucket.org/shield007/atomicparsley
>
>He is providing static builds for Linux/Windows/OSX.  The Linux build seems to work OK 
on openSUSE 12.1.

Hi dinkypumpkin and many thanks for the detailed reply.  
The reason I didn't post here first is that I have found the License problem with a couple of 
other rpms so assumed it was more to do with OS than this list.  Also everytime I post here I 
seem to irritate somebody albeit unintentionally.
Will try your suggestions and report back.
Many thanks,
Alastair. 



From dinkypumpkin at gmail.com  Fri May 25 11:00:00 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Fri, 25 May 2012 16:00:00 +0100
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <100.20420200898dbf4f.003@errichel.co.uk>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <4FB9164C.6070702@gmail.com> <100.301b0f00ba25be4f.020@errichel.co.uk>
 <4FBE689A.8060606@gmail.com> <4FBE6F1E.4010501@gmail.com>
 <100.20420200898dbf4f.003@errichel.co.uk>
Message-ID: <4FBF9E70.9030400@gmail.com>

On 25/05/2012 14:47, Alastair wrote:
> Would that be perl-Music-tag by any chance?   I have installed that anyhow.

Nope.  perl-MP3-Tag is the package you need.  The Perl Music::Tag 
library and its Music::Tag::MP3 plugin just call MP3::Tag, so I cut out 
the middleman.  The perl-MP3-Tag package is available from PackMan.  If 
you can't use PackMan for some reason, another build of the package 
appears to be buried in an unstable repo:

http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.1/

> My problem with installation was entirely due to the new openSUSE package manager
> front end "apper" which calls packagekit.  Deleted apper and good old yast now runs as

So the problem was with "apper" and not "zypper" then.  Apples and 
oranges, and unrelated to get_iplayer.  Can't help you there - not a KDE 
user.

> before and seems to work a treat.  At least AtomicParsley is now installed.  Is there
> anything I must do to configure it/change permissions owner etc?

No.  get_iplayer should pick it up automatically.


From yanstuff at alexr22ian.plus.com  Fri May 25 13:32:02 2012
From: yanstuff at alexr22ian.plus.com (Ian Smith)
Date: Fri, 25 May 2012 18:32:02 +0100
Subject: Podcasts
Message-ID: <4FBFC212.7050303@alexr22ian.plus.com>

The podcast.plugin needs it's upper limit increasing as the
index numbers have rolled over 29999. 39999 works, but there
may be a better way.

Ian


From dinkypumpkin at gmail.com  Fri May 25 14:38:45 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Fri, 25 May 2012 19:38:45 +0100
Subject: Podcasts
In-Reply-To: <4FBFC212.7050303@alexr22ian.plus.com>
References: <4FBFC212.7050303@alexr22ian.plus.com>
Message-ID: <4FBFD1B5.8040605@gmail.com>

On 25/05/2012 18:32, Ian Smith wrote:
> The podcast.plugin needs it's upper limit increasing as the
> index numbers have rolled over 29999. 39999 works, but there
> may be a better way.

Unless somebody objects to the extra keystroke, I'll patch it by adding 
a digit so that podcast index values run from 200001 to 299999.  I would 
guess we'll all be past caring when they hit 100K archived podcasts :}


From ajebay at errichel.co.uk  Fri May 25 18:10:28 2012
From: ajebay at errichel.co.uk (Alastair)
Date: Fri, 25 May 2012 23:10:28 +0100 (BST)
Subject: Help with downloaded radio file formats and thumbnail jpgs please.
In-Reply-To: <4FBF9E70.9030400@gmail.com>
References: <100.28d50c003d13b94f.011@errichel.co.uk>
 <4FB9164C.6070702@gmail.com>
 <100.301b0f00ba25be4f.020@errichel.co.uk>
 <4FBE689A.8060606@gmail.com> <4FBE6F1E.4010501@gmail.com>
 <100.20420200898dbf4f.003@errichel.co.uk>
 <4FBF9E70.9030400@gmail.com>
Message-ID: <100.80a304005403c04f.002@errichel.co.uk>

On Fri, 25 May 2012 16:00:00 +0100 dinkypumpkin wrote:
>
>On 25/05/2012 14:47, Alastair wrote:
>>Would that be perl-Music-tag by any chance?   I have installed that anyhow.
>
>Nope.  perl-MP3-Tag is the package you need.  The Perl Music::Tag library and its 
Music::Tag::MP3 plugin just call MP3::Tag, so I cut out the 
>middleman.  The perl-MP3-Tag package is available from PackMan.  If you can't use 
PackMan for some reason, another build of the package 
>appears to be buried in an unstable repo:

I have it now from Packman thanks.  

>http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.1/
>
>>My problem with installation was entirely due to the new openSUSE package manager
>>front end "apper" which calls packagekit.  Deleted apper and good old yast now runs as
>
>So the problem was with "apper" and not "zypper" then.  Apples and oranges, and 
unrelated to get_iplayer.  Can't help you there - not a KDE 
>user.
>

Sensible.  I should consider an alternative too.

>>before and seems to work a treat.  At least AtomicParsley is now installed.  Is there
>>anything I must do to configure it/change permissions owner etc?
>
>No.  get_iplayer should pick it up automatically.
>
Great.  Will try it now.
Very many thanks again for your help.  
Alastair.



From dinkypumpkin at gmail.com  Sun May 27 15:05:06 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:06 +0100
Subject: [PATCH 2/9] Podcast plugin: increased index number range
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-3-git-send-email-dinkypumpkin@gmail.com>

Plugin only supported 10K programmes.  Index range
changed to support 100K programmes.
---
 plugins/podcast.plugin |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/podcast.plugin b/plugins/podcast.plugin
index dab8803..a2a3879 100644
--- a/plugins/podcast.plugin
+++ b/plugins/podcast.plugin
@@ -54,8 +54,8 @@ sub new {
 }
 
 
-sub index_min { return 20001 }
-sub index_max { return 29999 }
+sub index_min { return 200001 }
+sub index_max { return 299999 }
 
 
 # Class cmdline Options
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:04 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:04 +0100
Subject: Latest patches
Message-ID: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>

Some recent minor fixes and updates I've implemented in response to
bug reports and user feedback.



From dinkypumpkin at gmail.com  Sun May 27 15:05:05 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:05 +0100
Subject: [PATCH 1/9] Allow PID in lieu of search terms for --pvr-add
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-2-git-send-email-dinkypumpkin@gmail.com>

When user saves edited entry in Web PVR list, the existing
PVR search is deleted and Web app re-runs --pvr-add with edited
parameters.  For one-off queued searches, only PID is specified,
not search term(s).  Error checking for --pvr-add was updated
accordingly.
---
 get_iplayer |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/get_iplayer b/get_iplayer
index 6bcf18c..bbfd847 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -543,7 +543,7 @@ if ( defined $opt->{search} ) {
 # check if no search term(s) specified
 my $no_search_args = $#search_args < 0;
 # Assume search term is '.*' if nothing is specified - i.e. lists all programmes
-push @search_args, '.*' if ! $search_args[0];
+push @search_args, '.*' if ! $search_args[0] && ! $opt->{pid};
 
 # Auto-detect http:// url or <type>:http:// in a search term and set it as a --pid option (disable if --fields is used).
 if ( $search_args[0] =~ m{^(\w+:)?http://} && ( ! $opt->{pid} ) && ( ! $opt->{fields} ) ) {
@@ -567,8 +567,8 @@ $pvr->setvar('pvr_dir', "${profile_dir}/pvr/" );
 
 # PVR functions
 if ( $opt->{pvradd} ) {
-	if ( $no_search_args ) {
-		main::logger "ERROR: Search term(s) required for recording\n";
+	if ( ! $opt->{pid} && $no_search_args ) {
+		main::logger "ERROR: Search term(s) or PID required for recording\n";
 		exit 1;
 	}
 	$pvr->add( $opt->{pvradd}, @search_args );
@@ -587,7 +587,7 @@ if ( $opt->{pvradd} ) {
 
 } elsif ( $opt->{pvrqueue} ) {
 	if ( ! $opt->{pid} && $no_search_args ) {
-		main::logger "ERROR: Search term(s) required for recording\n";
+		main::logger "ERROR: Search term(s) or PID required for recording\n";
 		exit 1;
 	}
 	$pvr->queue( @search_args );
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:07 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:07 +0100
Subject: [PATCH 3/9] Don't force --future with --pvr-queue
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-4-git-send-email-dinkypumpkin@gmail.com>

Results of regular search should match results of search
with --pver-queue to avoid unexpected recordings.
---
 get_iplayer |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/get_iplayer b/get_iplayer
index bbfd847..ff3a446 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -9192,8 +9192,6 @@ sub queue {
 
 	# Switch on --hide option
 	$opt->{hide} = 1;
-	# Switch on --future option - we want to search upcoming programmes
-	$opt->{future} = 1;
 	my $hist = History->new();
 
 	# PID and TYPE specified
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:08 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:08 +0100
Subject: [PATCH 4/9] Adjusted bit rate threshold for HD streams
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-5-git-send-email-dinkypumpkin@gmail.com>

From: "Chris Reed, BBR" <c.s.reed at bbr-online.co.uk>

Some HD streams had bit rates below old threshold
of 3000 kbps.  Threshold was reduced to 2000 kbps.
---
 get_iplayer |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/get_iplayer b/get_iplayer
index ff3a446..5d9ea83 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -6131,7 +6131,7 @@ sub get_stream_data {
 			# Determine classifications of modes based mainly on bitrate
 
 			# flashhd modes
-			if ( $mattribs->{bitrate} > 3000 ) {
+			if ( $mattribs->{bitrate} > 2000 ) {
 				get_stream_data_cdn( $data, $mattribs, 'flashhd', 'rtmp', 'mp4' );
 
 			# flashvhigh modes
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:10 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:10 +0100
Subject: [PATCH 6/9] Update --versions description in man page
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-7-git-send-email-dinkypumpkin@gmail.com>

---
 get_iplayer.1 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/get_iplayer.1 b/get_iplayer.1
index 6a46b55..5718b16 100644
--- a/get_iplayer.1
+++ b/get_iplayer.1
@@ -72,7 +72,7 @@ Limit search to programmes added to the cache in the last N hours
 Only search in these types of programmes: livetv,tv,liveradio,radio,all (tv is default)
 .TP
 \fB\-\-versions <versions>
-Version of programme to search or record (e.g. '\-\-versions signed,audiodescribed,default')
+Version of programme to search or record.  List is processed from left to right and first version found is downloaded.  Example: '\-\-versions signed,audiodescribed,default' will prefer signed and audiodescribed programmes if available.  Default: 'default'
 .SS "Display Options:"
 .TP
 \fB\-\-conditions
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:11 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:11 +0100
Subject: [PATCH 7/9] Added --tag-cnid option
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-8-git-send-email-dinkypumpkin@gmail.com>

Recent versions of AtomicParsley support --cnID argument
to add catalog ID used for combining HD and SD versions
in iTunes.  If --tag-cnid option is set, get_iplayer will
pass --cnID to AtomicParsley with value 3004 (0xBBC). Also
changed stik code for movies to 9 (Short Film) to support
combining HD and SD versions, though there won't likely be
many HD films available via iPlayer.
---
 get_iplayer   |    8 +++++---
 get_iplayer.1 |    3 +++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/get_iplayer b/get_iplayer
index 5d9ea83..2d83288 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -246,6 +246,7 @@ my $opt_format = {
 
 	# Tagging
 	notag => [ 1, "notag|no-tag!", 'Tagging', '--no-tag', "Do not tag downloaded programmes"],
+	tag_cnid => [ 1, "tagcnid|tag-cnid!", 'Tagging', '--tag-cnid', "AtomicParsley supports --cnID argument to add catalog ID used for combining HD and SD versions in iTunes"],
 	tag_fulltitle => [ 1, "tagfulltitle|tag-fulltitle!", 'Tagging', '--tag-fulltitle', "Use complete title (including series) instead of shorter episode title"],
 	tag_hdvideo => [ 1, "taghdvideo|tag-hdvideo!", 'Tagging', '--tag-hdvideo', "AtomicParsley supports --hdvideo argument for HD video flag"],
 	tag_longdesc => [ 1, "taglongdesc|tag-longdesc!", 'Tagging', '--tag-longdesc', "AtomicParsley supports --longdesc argument for long description text"],
@@ -9479,7 +9480,7 @@ sub tags_from_metadata {
 	# iTunes media kind
 	$tags->{stik} = 'Normal';
 	if ( $meta->{ext} =~ /(mp4|m4v)/i) {
-		$tags->{stik} = $meta->{categories} =~ /(film|movie)/i ? 'Movie' : 'TV Show';
+		$tags->{stik} = $meta->{categories} =~ /(film|movie)/i ? 'Short Film' : 'TV Show';
 	}
 	$tags->{advisory} = $meta->{guidance} ? 'explicit' : 'remove';
 	# copyright message from download date
@@ -9524,8 +9525,8 @@ sub tags_from_metadata {
 	$tags->{disk} = $meta->{seriesnum};
 	# generate lyrics text with links if available
 	$tags->{lyrics} = $meta->{desc};
-	$tags->{lyrics} .= "\n\nEPISODE\n  $meta->{player}" if $meta->{player};
-	$tags->{lyrics} .= "\n\nSERIES\n  $meta->{web}" if $meta->{web};
+	$tags->{lyrics} .= "\n\nEPISODE\n$meta->{player}" if $meta->{player};
+	$tags->{lyrics} .= "\n\nSERIES\n$meta->{web}" if $meta->{web};
 	$tags->{description} = $meta->{descshort};
 	$tags->{longDescription} = $meta->{desc};
 	$tags->{hdvideo} = $meta->{mode} =~ /hd/i ? 'true' : 'false';
@@ -9753,6 +9754,7 @@ sub tag_file_mp4 {
 		# video only
 		if ( $tags->{is_video} ) {
 			# all video
+			push @cmd, ( '--cnID', 3004 ) if $opt->{tag_cnid};
 			push @cmd, ( '--hdvideo', $tags->{hdvideo} ) if $opt->{tag_hdvideo};
 			# tv only
 			if ( $tags->{is_tvshow} ) {
diff --git a/get_iplayer.1 b/get_iplayer.1
index 5718b16..642cf5d 100644
--- a/get_iplayer.1
+++ b/get_iplayer.1
@@ -495,6 +495,9 @@ Location of vlc or cvlc binary
 \fB\-\-no\-tag
 Do not tag downloaded programmes
 .TP
+\fB\-\-tag\-cnid
+AtomicParsley supports \-\-cnID argument to add catalog ID used for combining HD and SD versions in iTunes
+.TP
 \fB\-\-tag\-fulltitle
 Use complete title (including series) instead of shorter episode title
 .TP
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:12 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:12 +0100
Subject: [PATCH 8/9] Web PVR: fix update URL
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-9-git-send-email-dinkypumpkin@gmail.com>

The update URL pointed to non-existent resource at
linuxcentre.net, which resulted in overwriting Web
PVR with junk if updated.  Update URL now points to
valid resource at infradead.org.
---
 get_iplayer.cgi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/get_iplayer.cgi b/get_iplayer.cgi
index dd4575a..54807e4 100755
--- a/get_iplayer.cgi
+++ b/get_iplayer.cgi
@@ -1280,7 +1280,7 @@ sub build_url_playlist {
 # If the get_iplayer.cgi script is unwritable then quit
 # update script
 sub update_script {
-	my $update_url	= 'http://linuxcentre.net/get_iplayer/get_iplayer.cgi';
+	my $update_url	= 'http://www.infradead.org/get_iplayer/latest/get_iplayer.cgi';
 	# Get version URL
 	my $script_file = $0;
 	my $ua = create_ua('update');
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:13 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:13 +0100
Subject: [PATCH 9/9] Removed obsolete update warnings
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-10-git-send-email-dinkypumpkin@gmail.com>

Warnings issued when --update attempted with package
manager installations referred to obsolete resources
at linuxcentre.net.  Obsolete info was replaced with
generic message text.
---
 get_iplayer |   18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/get_iplayer b/get_iplayer
index 2d83288..39a86f7 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -2023,22 +2023,12 @@ sub update_script {
 
 	# Are we flagged as installed using a pkg manager?
 	if ( $opt->{packagemanager} ) {
-		if ( $opt->{packagemanager} =~ /(apt|deb|dpkg)/i ) {
-			logger "INFO: Please run the following commands to update get_iplayer using $opt->{packagemanager}\n".
-			"  wget http://linuxcentre.net/get_iplayer/packages/get-iplayer-current.deb\n".
-			"  sudo dpkg -i get-iplayer-current.deb\n".
-			"  sudo apt-get -f install\n";
-		} elsif ( $opt->{packagemanager} =~ /yum/i ) {
-			logger "INFO: Please run the following commands as root to update get_iplayer using $opt->{packagemanager}\n".
-			"  wget http://linuxcentre.net/get_iplayer/packages/get_iplayer-current.noarch.rpm\n".
-			"  yum --nogpgcheck localinstall get_iplayer-current.noarch.rpm\n";
-		} elsif ( $opt->{packagemanager} =~ /rpm/i ) {
-			logger "INFO: Please run the following command as root to update get_iplayer using $opt->{packagemanager}\n".
-			"  rpm -Uvh http://linuxcentre.net/get_iplayer/packages/get_iplayer-current.noarch.rpm\n";
+		if ( $opt->{packagemanager} =~ /installer/i ) {
+			logger "ERROR: get_iplayer should only be updated using the Windows installer: http://www.infradead.org/get_iplayer_win/get_iplayer_setup_latest.exe\n";
 		} elsif ( $opt->{packagemanager} =~ /disable/i ) {
-			logger "ERROR: get_iplayer should only be updated using your local package management system, for more information see http://linuxcentre.net/installation\n";
+			logger "ERROR: get_iplayer should only be updated using your local package management system.  Please refer to your system documentation.\n";
 		} else {
-			logger "ERROR: get_iplayer was installed using '$opt->{packagemanager}' package manager please refer to the update documentation at http://linuxcentre.net/getiplayer/installation/\n";
+			logger "ERROR: get_iplayer was installed using the '$opt->{packagemanager}' package manager.  Please refer to the package manager documentation.\n";
 		}
 		exit 1;
 	} 
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:05:09 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:05:09 +0100
Subject: [PATCH 5/9] Web PVR: accommodate IE9 standards mode
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <1338145513-76809-6-git-send-email-dinkypumpkin@gmail.com>

IE9 standards mode apparently requires a reference to form
object in order to invoke submit() from hyperlinks.  All
calls to unqualified submit() were changed to form.submit().
---
 get_iplayer.cgi |   44 ++++++++++++++++++++++----------------------
 1 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/get_iplayer.cgi b/get_iplayer.cgi
index adc7db8..dd4575a 100755
--- a/get_iplayer.cgi
+++ b/get_iplayer.cgi
@@ -1839,9 +1839,9 @@ sub show_pvr_list {
 	        # Sort by column click and change display class (colour) according to sort status
 	        my ($title, $class, $onclick);
 	        if ( $sort_field eq $heading && not $reverse ) {
-                  ($title, $class, $onclick) = ("Sort by Reverse $fieldname{$heading}", 'sorted pointer', "BackupFormVars(form); form.NEXTPAGE.value='pvr_list'; form.PVRSORT.value='$heading'; form.PVRREVERSE.value=1; submit(); RestoreFormVars(form);");
+                  ($title, $class, $onclick) = ("Sort by Reverse $fieldname{$heading}", 'sorted pointer', "BackupFormVars(form); form.NEXTPAGE.value='pvr_list'; form.PVRSORT.value='$heading'; form.PVRREVERSE.value=1; form.submit(); RestoreFormVars(form);");
                 } else {
-                  ($title, $class, $onclick) = ("Sort by $fieldname{$heading}", 'unsorted pointer', "BackupFormVars(form); form.NEXTPAGE.value='pvr_list'; form.PVRSORT.value='$heading'; submit(); RestoreFormVars(form); ");
+                  ($title, $class, $onclick) = ("Sort by $fieldname{$heading}", 'unsorted pointer', "BackupFormVars(form); form.NEXTPAGE.value='pvr_list'; form.PVRSORT.value='$heading'; form.submit(); RestoreFormVars(form); ");
                 }
                 $class = 'sorted_reverse pointer' if $sort_field eq $heading && $reverse;
 
@@ -1875,7 +1875,7 @@ sub show_pvr_list {
 				label( {
 					-title		=> "Click to Edit",
 					-class		=> 'search',
-					-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='pvr_edit'; form.PVRSEARCH.value='$name'; submit(); RestoreFormVars(form);",
+					-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='pvr_edit'; form.PVRSEARCH.value='$name'; form.submit(); RestoreFormVars(form);",
 					},
 					$pvrsearch->{$name}->{$_},
 				)
@@ -2757,9 +2757,9 @@ sub search_progs {
 		my ($title, $class, $onclick);
 
 		if ( $opt->{SORT}->{current} eq $heading && not $opt->{REVERSE}->{current} ) {
-			($title, $class, $onclick) = ("Sort by Reverse $heading", 'sorted pointer', "form.NEXTPAGE.value='search_progs'; form.SORT.value='$heading'; form.REVERSE[0].checked=true; submit();");
+			($title, $class, $onclick) = ("Sort by Reverse $heading", 'sorted pointer', "form.NEXTPAGE.value='search_progs'; form.SORT.value='$heading'; form.REVERSE[0].checked=true; form.submit();");
 		} else {
-			($title, $class, $onclick) = ("Sort by $heading", 'unsorted pointer', "form.NEXTPAGE.value='search_progs'; form.SORT.value='$heading'; form.REVERSE[1].checked=true; submit();");
+			($title, $class, $onclick) = ("Sort by $heading", 'unsorted pointer', "form.NEXTPAGE.value='search_progs'; form.SORT.value='$heading'; form.REVERSE[1].checked=true; form.submit();");
 		}
 		$class = 'sorted_reverse pointer' if $opt->{SORT}->{current} eq $heading && $opt->{REVERSE}->{current};
 
@@ -2857,7 +2857,7 @@ sub search_progs {
 				-id=>'nowrap', 
 				-class=>'search pointer_noul',
 				-title=>"Add Series '$prog{$pid}->{name}' to PVR", 
-				-onClick=>"BackupFormVars(form); form.NEXTPAGE.value='pvr_add'; form.SEARCH.value='".encode_entities("^$prog{$pid}->{name}\$")."'; form.SEARCHFIELDS.value='name'; form.PROGTYPES.value='$prog{$pid}->{type}'; form.HISTORY.value='0'; form.SINCE.value=''; form.BEFORE.value=''; submit(); RestoreFormVars(form);" }, 'Add Series' );
+				-onClick=>"BackupFormVars(form); form.NEXTPAGE.value='pvr_add'; form.SEARCH.value='".encode_entities("^$prog{$pid}->{name}\$")."'; form.SEARCHFIELDS.value='name'; form.PROGTYPES.value='$prog{$pid}->{type}'; form.HISTORY.value='0'; form.SINCE.value=''; form.BEFORE.value=''; form.submit(); RestoreFormVars(form);" }, 'Add Series' );
 		}
 
 		# Add links to row
@@ -2880,12 +2880,12 @@ sub search_progs {
 			} elsif ( /^timeadded$/ ) {
 				my @t = gmtime( $time - $prog{$pid}->{$_} );
 				my $years = ($t[5]-70)."y " if ($t[5]-70) > 0;
-				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -title=>"Click for full info", -onClick=>"BackupFormVars(form); form.NEXTPAGE.value='show_info'; form.INFO.value='".encode_entities("$prog{$pid}->{type}|$pid")."'; submit(); RestoreFormVars(form);" }, "${years}$t[7]d $t[2]h ago" ) );
+				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -title=>"Click for full info", -onClick=>"BackupFormVars(form); form.NEXTPAGE.value='show_info'; form.INFO.value='".encode_entities("$prog{$pid}->{type}|$pid")."'; form.submit(); RestoreFormVars(form);" }, "${years}$t[7]d $t[2]h ago" ) );
 			# truncate the description if it is too long
 			} elsif ( /^desc$/ ) {
 				my $text = $prog{$pid}->{$_};
 				$text = substr($text, 0, 256).'...[more]' if length( $text ) > 256;
-				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -title=>"Click for full info", -onClick=>"BackupFormVars(form); form.NEXTPAGE.value='show_info'; form.INFO.value='".encode_entities("$prog{$pid}->{type}|$pid")."'; submit(); RestoreFormVars(form);" }, $text ) );
+				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -title=>"Click for full info", -onClick=>"BackupFormVars(form); form.NEXTPAGE.value='show_info'; form.INFO.value='".encode_entities("$prog{$pid}->{type}|$pid")."'; form.submit(); RestoreFormVars(form);" }, $text ) );
 			# Name / Series link
 			} elsif ( /^name$/ ) {
 				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -id=>'underline', -title=>"Click to list '$prog{$pid}->{$_}'",
@@ -2895,7 +2895,7 @@ sub search_progs {
 						form.SEARCHFIELDS.value='name';
 						form.SEARCH.value='".encode_entities('^'.$prog{$pid}->{$_}.'$')."';
 						form.PAGENO.value=1;
-						submit();
+						form.submit();
 						RestoreFormVars(form);
 					"}, $prog{$pid}->{$_} )
 				);
@@ -2909,7 +2909,7 @@ sub search_progs {
 						form.EXCLUDECHANNEL.value='';
 						form.SEARCH.value='.*';
 						form.PAGENO.value=1;
-						submit();
+						form.submit();
 						RestoreFormVars(form);
 					"}, $prog{$pid}->{$_} )
 				);
@@ -2927,7 +2927,7 @@ sub search_progs {
 							form.EXCLUDECATEGORY.value='';
 							form.SEARCH.value='.*';
 							form.PAGENO.value=1;
-							submit();
+							form.submit();
 							RestoreFormVars(form);
 						"},
 					$category );
@@ -2935,7 +2935,7 @@ sub search_progs {
 				push @row, td( {-class=>$search_class}, @cats );
 			# Every other column type
 			} else {
-				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -title=>"Click for full info", -onClick=>"BackupFormVars(form); form.NEXTPAGE.value='show_info'; form.INFO.value='".encode_entities("$prog{$pid}->{type}|$pid")."'; submit(); RestoreFormVars(form);" }, $prog{$pid}->{$_} ) );
+				push @row, td( {-class=>$search_class}, label( { -class=>$search_class, -title=>"Click for full info", -onClick=>"BackupFormVars(form); form.NEXTPAGE.value='show_info'; form.INFO.value='".encode_entities("$prog{$pid}->{type}|$pid")."'; form.submit(); RestoreFormVars(form);" }, $prog{$pid}->{$_} ) );
 			}
 		}
 		push @html, Tr( {-class=>$search_class}, @row );
@@ -2991,7 +2991,7 @@ sub search_progs {
 			label( {
 				-class		=> 'options_outer pointer_noul',
 				-title		=> 'Remember Current Options as Default',
-				-onClick	=> "BackupFormVars(form); form.SAVE.value=1; submit(); RestoreFormVars(form);",
+				-onClick	=> "BackupFormVars(form); form.SAVE.value=1; form.submit(); RestoreFormVars(form);",
 				},
 				'Save As Default',
 			),
@@ -3190,14 +3190,14 @@ sub pagetrail {
 	push @pagetrail, td( { -class=>'pagetrail pointer' }, label( {
 		-title		=> "Previous Page",
 		-class		=> 'pagetrail pointer',
-		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=$page-1; submit(); RestoreFormVars(form);",},
+		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=$page-1; form.submit(); RestoreFormVars(form);",},
 		"<<",
 	)) if $page > 1;
 
 	push @pagetrail, td( { -class=>'pagetrail pointer' }, label( {
 		-title		=> "Page 1",
 		-class		=> 'pagetrail pointer',
-		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=1; submit(); RestoreFormVars(form);",},
+		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=1; form.submit(); RestoreFormVars(form);",},
 		"1",
 	)) if $page > 1;
 
@@ -3207,7 +3207,7 @@ sub pagetrail {
 		push @pagetrail, td( { -class=>'pagetrail pointer' }, label( {
 			-title		=> "Page $pn",
 			-class		=> 'pagetrail pointer',
-			-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value='$pn'; submit(); RestoreFormVars(form);",},
+			-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value='$pn'; form.submit(); RestoreFormVars(form);",},
 			"$pn",
 		)) if $pn > 1 && $pn != $page && $pn < $pages;
 		push @pagetrail, td( { -class=>'pagetrail' }, label( {
@@ -3221,14 +3221,14 @@ sub pagetrail {
 	push @pagetrail, td( { -class=>'pagetrail pointer' }, label( {
 		-title		=> "Page ".$pages,
 		-class		=> 'pagetrail pointer',
-		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=$pages; submit(); RestoreFormVars(form);",},
+		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=$pages; form.submit(); RestoreFormVars(form);",},
 		"$pages",
 	)) if $page < $pages;
 
 	push @pagetrail, td( { -class=>'pagetrail pointer' }, label( {
 		-title		=> "Next Page",
 		-class		=> 'pagetrail pointer',
-		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=$page+1; submit(); RestoreFormVars(form);",},
+		-onClick	=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=$page+1; form.submit(); RestoreFormVars(form);",},
 		">>",
 	)) if $page < $pages;
 
@@ -3479,7 +3479,7 @@ sub process_params {
 		type	=> 'popup', # type
 		default	=> 20, # default
 		value	=> ['10','25','50','100','200','400'], # values
-		onChange=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=1; submit(); RestoreFormVars(form);",
+		onChange=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.PAGENO.value=1; form.submit(); RestoreFormVars(form);",
 		save	=> 1,
 	};
 
@@ -3491,7 +3491,7 @@ sub process_params {
 		label	=> \%fieldname, # labels
 		default	=> 'index', # default
 		value	=> [@headings], # values
-		onChange=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; submit(); RestoreFormVars(form);",
+		onChange=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.submit(); RestoreFormVars(form);",
 		save	=> 1,
 	};
 
@@ -3500,7 +3500,7 @@ sub process_params {
 		tooltip	=> 'Reverse the sort order', # Tooltip
 		webvar	=> 'REVERSE', # webvar
 		type	=> 'radioboolean', # type
-		#onChange=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; submit(); RestoreFormVars(form);",
+		#onChange=> "BackupFormVars(form); form.NEXTPAGE.value='search_progs'; form.submit(); RestoreFormVars(form);",
 		default	=> '0', # value
 		save	=> 1,
 	};
@@ -3795,7 +3795,7 @@ sub process_params {
 		label	=> , \%streamtype_labels, # labels
 		default	=> '', # default
 		value	=> [ '', 'none', 'flv', 'mov', 'asf', 'avi', 'mp3', 'aac', 'wav', 'flac' ], # values
-		onChange=> "submit();",
+		onChange=> "form.submit();",
 		save	=> 1,
 	};
 
-- 
1.7.7.5 (Apple Git-26)



From dinkypumpkin at gmail.com  Sun May 27 15:54:44 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 20:54:44 +0100
Subject: Latest patches
In-Reply-To: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <4FC28684.9060508@gmail.com>

On 27/05/2012 20:05, dinkypumpkin wrote:
> Some recent minor fixes and updates I've implemented in response to
> bug reports and user feedback.
>

Forgot the obligatory update instructions:

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


From batguano999 at hotmail.com  Sun May 27 16:07:04 2012
From: batguano999 at hotmail.com (bat guano)
Date: Sun, 27 May 2012 20:07:04 +0000
Subject: [PATCH 9/9] Removed obsolete update warnings
In-Reply-To: <1338145513-76809-10-git-send-email-dinkypumpkin@gmail.com>
References: <1338145513-76809-1-git-send-email-dinkypumpkin@gmail.com>,
 <1338145513-76809-10-git-send-email-dinkypumpkin@gmail.com>
Message-ID: <DUB116-W7813E34E6F579294151A59F3070@phx.gbl>





> 
> Warnings issued when --update attempted with package
> manager installations referred to obsolete resources
> at linuxcentre.net.  Obsolete info was replaced with
> generic message text.
> ---

Hi

"ERROR: get_iplayer was installed using the 'apt' package manager.
Please refer to the package manager documentation."

This makes more sense than drivel about trying to download a non-existent deb file.

Thanks. ;-)

 		 	   		  

From alex at translatortips.com  Sun May 27 16:02:54 2012
From: alex at translatortips.com (Alex Eames)
Date: Sun, 27 May 2012 21:02:54 +0100
Subject: Get_iplayer on Raspberry Pi
Message-ID: <4FC2886E.6060501@translatortips.com>

Hi all,

A couple of us at the Raspberry Pi forums have managed to install and 
use get_iplayer on the Pi.
I saw there was a thread in March about this, but nothing since, as 
nobody had one back then.

This thread was posted yesterday with links to a blog install tutorial 
which works fine...
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=6590

Testing the Pi install of 2.80 Vs my Ubuntu version I noticed that it 
downloaded at a
much lower resolution.

Have I got news for you defaulted to 640 x 360 on the Pi
instead of 1280 x 720 on my Ubuntu machine which has 
2.80+n18-gitace42f3-ppa5 on it.

So my question is, is there a way to install a more up to date version 
on a Raspberry Pi running Debian squeeze?

Or is it simply a question of waiting for the next full version to be 
released? It seems that the versions here
https://launchpad.net/~jon-hedgerows/+archive/get-iplayer are just for 
Ubuntu?

Sorry - I haven't much idea how to proceed. I have tried using git but 
it only gave me 2.80. Any suggestions?
Get-iplayer works very well on the Raspberry Pi at 640 x 360, but the 
Pi's biggest strength is that it is 1080p capable using Omxplayer or 
OpenELEC.

Thanks in advance

Alex




From dinkypumpkin at gmail.com  Sun May 27 17:04:14 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Sun, 27 May 2012 22:04:14 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC2886E.6060501@translatortips.com>
References: <4FC2886E.6060501@translatortips.com>
Message-ID: <4FC296CE.1030101@gmail.com>

On 27/05/2012 21:02, Alex Eames wrote:
> Have I got news for you defaulted to 640 x 360 on the Pi
> instead of 1280 x 720 on my Ubuntu machine which has
> 2.80+n18-gitace42f3-ppa5 on it.

You probably just need to add:

--tvmode=flashhd,flashvhigh,flashhigh,flashnormal

to your command line.  That's how the PPA build for Ubuntu is configured 
by default.  The default built-in tvmode setting has flashhigh (640x360) 
as its highest value.




From shevek at shevek.co.uk  Sun May 27 17:15:21 2012
From: shevek at shevek.co.uk (Shevek)
Date: Sun, 27 May 2012 22:15:21 +0100
Subject: Problem with transcoding some HD programmes
Message-ID: <CANGN4UOkN_h_wTcQE7ji6k-4N8KwUfP3DQhHFqZ0bLa+6RZagA@mail.gmail.com>

I am having some problems with the transcoding to MP4 of some programmes.

E.g. The_Great_British_Story_-_A_Peoples_History_1._Britannia

I got this error from ffmpeg:

[mp4 @ 044F5700] Application provided invalid, non monotonically increasing dts
to muxer in stream 1: 86800368 >= 86642688

which stopped ffmpeg and left me with the flv file.

I updated to the latest build of ffmpeg from Zeranoe and used --force
to attempt to transcode the already downloaded flv and now I get
repeated warnings from ffmpeg:

[mp4 @ 01d4ba60] pts has no value
DTS 1839840, next:1843160000 st:0 invalid dropping
PTS 1840040, next:1843160000 invalid dropping st:0
DTS 1839872, next:1843199122 st:1 invalid dropping
PTS 1839872, next:1843199122 invalid dropping st:1

The transcoding did finish and then get_iplayer successfully tagged the MP4

Any pointers?

TIA


From shevek at shevek.co.uk  Sun May 27 20:13:55 2012
From: shevek at shevek.co.uk (Shevek)
Date: Mon, 28 May 2012 01:13:55 +0100
Subject: Problem with transcoding some HD programmes
In-Reply-To: <CANGN4UOkN_h_wTcQE7ji6k-4N8KwUfP3DQhHFqZ0bLa+6RZagA@mail.gmail.com>
References: <CANGN4UOkN_h_wTcQE7ji6k-4N8KwUfP3DQhHFqZ0bLa+6RZagA@mail.gmail.com>
Message-ID: <CANGN4UPRY7C2YxQJgT2KKddRfgEHw2Z-=zA4Fe5hLb7qOU2MPg@mail.gmail.com>

Ignore me, I deleted and re-downloaded and all is well. Must've been a
corrupt download.

On 27 May 2012 22:15, Shevek <shevek at shevek.co.uk> wrote:
> I am having some problems with the transcoding to MP4 of some programmes.
>
> E.g. The_Great_British_Story_-_A_Peoples_History_1._Britannia
>
> I got this error from ffmpeg:
>
> [mp4 @ 044F5700] Application provided invalid, non monotonically increasing dts
> to muxer in stream 1: 86800368 >= 86642688
>
> which stopped ffmpeg and left me with the flv file.
>
> I updated to the latest build of ffmpeg from Zeranoe and used --force
> to attempt to transcode the already downloaded flv and now I get
> repeated warnings from ffmpeg:
>
> [mp4 @ 01d4ba60] pts has no value
> DTS 1839840, next:1843160000 st:0 invalid dropping
> PTS 1840040, next:1843160000 invalid dropping st:0
> DTS 1839872, next:1843199122 st:1 invalid dropping
> PTS 1839872, next:1843199122 invalid dropping st:1
>
> The transcoding did finish and then get_iplayer successfully tagged the MP4
>
> Any pointers?
>
> TIA


From jon at hedgerows.org.uk  Mon May 28 07:50:11 2012
From: jon at hedgerows.org.uk (Jon Davies)
Date: Mon, 28 May 2012 12:50:11 +0100
Subject: Problem with transcoding some HD programmes
In-Reply-To: <CAJEH5C3hzOx_Ch33bGyqkG0Pz_RHv4yGCzEZXv392rv8VkSm0w@mail.gmail.com>
References: <CANGN4UOkN_h_wTcQE7ji6k-4N8KwUfP3DQhHFqZ0bLa+6RZagA@mail.gmail.com>
 <CAJEH5C3hzOx_Ch33bGyqkG0Pz_RHv4yGCzEZXv392rv8VkSm0w@mail.gmail.com>
Message-ID: <CAJEH5C0aAVjHRUSM64OwDTJp3Zm7J_yGuK0NeppmL120RM5WSA@mail.gmail.com>

On 27 May 2012 22:15, Shevek <shevek at shevek.co.uk> wrote:
>
> I am having some problems with the transcoding to MP4 of some programmes.
>
> E.g. The_Great_British_Story_-_A_Peoples_History_1._Britannia
>
> I got this error from ffmpeg:
>
> [mp4 @ 044F5700] Application provided invalid, non monotonically
> increasing dts
> to muxer in stream 1: 86800368 >= 86642688

and On 28 May 2012 01:13, Shevek <shevek at shevek.co.uk> wrote:
> Ignore me, I deleted and re-downloaded and all is well. Must've been a
> corrupt download.


I've seen this from time to time when get_iplayer (I guess technically, when
rtmpdump) fails during the download and resumes.? It seems to duplicate a
few frames, and ffmpeg objects.

Redownloading usually fixes this, though not always since sometimes the
redownload stops and resumes.

Alternatively, just watch the flv file instead, provided your media player
can play it.

Jon


From alex at translatortips.com  Tue May 29 06:49:41 2012
From: alex at translatortips.com (Alex Eames)
Date: Tue, 29 May 2012 11:49:41 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC296CE.1030101@gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
Message-ID: <4FC4A9C5.2020707@translatortips.com>

On 27/05/2012 22:04, dinkypumpkin wrote:
> You probably just need to add:
>
> --tvmode=flashhd,flashvhigh,flashhigh,flashnormal
>
> to your command line.  That's how the PPA build for Ubuntu is
> configured by default.  The default built-in tvmode setting has
> flashhigh (640x360) as its highest value.

Thank you. That worked a treat. :) I notice the raspberry pi doesn't 
cope with RTMP timeouts as as well as my UBUNTU box, which seems to 
shrug them off and just keep retrying.
The Pi seems to hang at this point.
Is that likely due to the lower hardware spec?

Sorry dinkypumpkin I sent this to you by mistake, not to the list :(


From dinkypumpkin at gmail.com  Tue May 29 09:30:02 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Tue, 29 May 2012 14:30:02 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC4A9C5.2020707@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com>
Message-ID: <4FC4CF5A.3030000@gmail.com>

On 29/05/2012 11:49, Alex Eames wrote:
> On 27/05/2012 22:04, dinkypumpkin wrote:
>> You probably just need to add:
>>
>> --tvmode=flashhd,flashvhigh,flashhigh,flashnormal
>
> Thank you. That worked a treat. :) I notice the raspberry pi doesn't
> cope with RTMP timeouts as as well as my UBUNTU box, which seems to
> shrug them off and just keep retrying.
> The Pi seems to hang at this point.
> Is that likely due to the lower hardware spec?

If rtmpdump is actually hanging, I'm not sure resource starvation would 
be the culprit.  rtmpdump isn't hugely resource-intensive on a desktop 
machine, but I can't say how much more it will impact a Raspberry PI. 
All I can suggest is to launch a HD download (or something else that 
will run for a while) with get_iplayer and then run "top" in another 
terminal window to see what rtmpdump is doing.


From dinkypumpkin at gmail.com  Tue May 29 17:42:47 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Tue, 29 May 2012 22:42:47 +0100
Subject: Problem with transcoding some HD programmes
In-Reply-To: <CANGN4UOkN_h_wTcQE7ji6k-4N8KwUfP3DQhHFqZ0bLa+6RZagA@mail.gmail.com>
References: <CANGN4UOkN_h_wTcQE7ji6k-4N8KwUfP3DQhHFqZ0bLa+6RZagA@mail.gmail.com>
Message-ID: <4FC542D7.7050308@gmail.com>

On 27/05/2012 22:15, Shevek wrote:
> I got this error from ffmpeg:
>
> [mp4 @ 044F5700] Application provided invalid, non monotonically increasing dts
> to muxer in stream 1: 86800368>= 86642688
>
> which stopped ffmpeg and left me with the flv file.
>
> I updated to the latest build of ffmpeg from Zeranoe and used --force
> to attempt to transcode the already downloaded flv and now I get
> repeated warnings from ffmpeg:
>
> [mp4 @ 01d4ba60] pts has no value
> DTS 1839840, next:1843160000 st:0 invalid dropping
> PTS 1840040, next:1843160000 invalid dropping st:0
> DTS 1839872, next:1843199122 st:1 invalid dropping
> PTS 1839872, next:1843199122 invalid dropping st:1
>
> The transcoding did finish and then get_iplayer successfully tagged the MP4
>
> Any pointers?

There have been some notable changes in this area in the 
recently-released ffmpeg 0.11.  Some patches to address the 
non-monotonic timestamps warnings have been committed over the last few 
months.  Now that a new branch has been cut for 0.11, those patches are 
incorporated into release builds.

The repeated warnings you saw indicate that ffmpeg is skipping packets 
with "backwards" timestamps when re-muxing H264/AAC streams to MP4 
container.  Similar errors when re-muxing MP3 streams have also 
disappeared with ffmpeg 0.11.  For the MP3 case I expected to see 
warnings like those above, but I didn't and I'm not sure why.  Still, it 
worked.

In the distant future these changes mean we can eventually drop mplayer 
as a get_iplayer dependency.  AFAICT, mplayer is used to re-mux MP3 
streams solely to avoid the stream of "non monotonically increasing..." 
messages thrown out by ffmpeg.  But it will take a long time for distros 
to catch up to ffmpeg 0.11, and who knows what libav will do.

If you're feeling generous, it would be good to know how you get on with 
the latest ffmpeg on Windows.  It would be worth knowing whether or not 
your MP4 re-muxing works OK even though you might see a lot of those 
warning messages.  If that turns out to be the case, it might be a good 
idea for me to update the windows installer config so everyone can 
update.  Zeranoe stopped doing release builds of ffmpeg a long time, but 
there is a build taken from the commit where ffmpeg 0.11 was branched, 
which should fill the bill.

I'm also thinking that those warning messages could be suppressed by 
get_iplayer unless --verbose is specified, for example, but that might 
be something that should be considered as part of a more global overhaul 
of get_iplayer logging.  For another time.



From chris.hartley at email.com  Wed May 30 04:52:06 2012
From: chris.hartley at email.com (Chris Hartley)
Date: Wed, 30 May 2012 09:52:06 +0100
Subject: 'ping' is not recognized as an internal or external command etc
Message-ID: <CA+WLmVR5mY8o==cRTzCLFm+teKVKKQh4T92q4KNo7BSQUr5qRQ@mail.gmail.com>

Is anyone able to tell me what this ping error means?  It's not a
critical problem as the programme seems to download ok, just curious
really.  The error seems to hold up the process of opening the web
browser when using the 'Quick URL' function of the Web PvrManager -
initially Firefox gives the error:

"Firefox can't establish a connection to the server at 127.0.0.1:1935"

which I then have to refresh (the browser refresh) a few times before
the Web PVR Manager window appears.

I am on Windows7 x86 with Firefox default browser and default windows
installer (2 day old OS)

The full report is pasted below.
==============================================================
'ping' is not recognized as an internal or external command,
operable program or batch file.
DEBUG: Command: ".\get_iplayer.cmd" --nopurge --nocopyright --listplugins
INFO: Listening on 127.0.0.1:1935
GET: /
DEBUG: get_iplayer options: "modes=flashaachigh,flashaacstd,flashaudio,flashhigh
,iphone,flashstd,flashnormal,realaudio,flashaaclow" "force=0" "refreshfuture=0"
"future=0" "subtitles=0" "fields=name" "type=tv" "search=.*" "history=0" "versio
nlist=default" "hide=0" "thumb=0" "skipdeleted=0" "nopurge=1" "listformat=ENTRY|
<index>|<thumbnail>|<pid>|<available>|<type>|<name>|<episode>|<versions>|<durati
on>|<desc>|<channel>|<categories>|<timeadded>|<guidance>|<web>|<seriesnum>|<epis
odenum>|<filename>|<mode>" "page=1" "pagesize=20" "sortmatches=index"
DEBUG: Command: ".\get_iplayer.cmd" --nocopyright --expiry=999999999 --webreques
t "modes%3Dflashaachigh%2Cflashaacstd%2Cflashaudio%2Cflashhigh%2Ciphone%2Cflashs
td%2Cflashnormal%2Crealaudio%2Cflashaaclow?force%3D0?refreshfuture%3D0?future%3D
0?subtitles%3D0?fields%3Dname?type%3Dtv?search%3D.%2A?history%3D0?versionlist%3D
default?hide%3D0?thumb%3D0?skipdeleted%3D0?nopurge%3D1?listformat%3DENTRY%7C%3Ci
ndex%3E%7C%3Cthumbnail%3E%7C%3Cpid%3E%7C%3Cavailable%3E%7C%3Ctype%3E%7C%3Cname%3
E%7C%3Cepisode%3E%7C%3Cversions%3E%7C%3Cduration%3E%7C%3Cdesc%3E%7C%3Cchannel%3E
%7C%3Ccategories%3E%7C%3Ctimeadded%3E%7C%3Cguidance%3E%7C%3Cweb%3E%7C%3Cseriesnu
m%3E%7C%3Cepisodenum%3E%7C%3Cfilename%3E%7C%3Cmode%3E?page%3D1?pagesize%3D20?sor
tmatches%3Dindex"
ERROR:
DEBUG: get_iplayer options: "modes=flashaachigh,flashaacstd,flashaudio,flashhigh
,iphone,flashstd,flashnormal,realaudio,flashaaclow" "force=0" "refreshfuture=0"
"future=0" "subtitles=0" "fields=name" "type=tv" "search=.*" "history=0" "versio
nlist=default" "hide=0" "thumb=0" "skipdeleted=0" "nopurge=1" "listformat=ENTRY|
<index>|<thumbnail>|<pid>|<available>|<type>|<name>|<episode>|<versions>|<durati
on>|<desc>|<channel>|<categories>|<timeadded>|<guidance>|<web>|<seriesnum>|<epis
odenum>|<filename>|<mode>" "page=1" "pagesize=20" "sortmatches=index"
DEBUG: Command: ".\get_iplayer.cmd" --nocopyright --expiry=999999999 --webreques
t "modes%3Dflashaachigh%2Cflashaacstd%2Cflashaudio%2Cflashhigh%2Ciphone%2Cflashs
td%2Cflashnormal%2Crealaudio%2Cflashaaclow?force%3D0?refreshfuture%3D0?future%3D
0?subtitles%3D0?fields%3Dname?type%3Dtv?search%3D.%2A?history%3D0?versionlist%3D
default?hide%3D0?thumb%3D0?skipdeleted%3D0?nopurge%3D1?listformat%3DENTRY%7C%3Ci
ndex%3E%7C%3Cthumbnail%3E%7C%3Cpid%3E%7C%3Cavailable%3E%7C%3Ctype%3E%7C%3Cname%3
E%7C%3Cepisode%3E%7C%3Cversions%3E%7C%3Cduration%3E%7C%3Cdesc%3E%7C%3Cchannel%3E
%7C%3Ccategories%3E%7C%3Ctimeadded%3E%7C%3Cguidance%3E%7C%3Cweb%3E%7C%3Cseriesnu
m%3E%7C%3Cepisodenum%3E%7C%3Cfilename%3E%7C%3Cmode%3E?page%3D1?pagesize%3D20?sor
tmatches%3Dindex"
POST: /
QUERY_STRING = SEARCH=&SEARCHFIELDS=name&PROGTYPES=tv&URL=http%3A%2F%2Fwww%2Ebbc
%2Eco%2Euk%2Fiplayer%2Fconsole%2Fb01j5j2n&VERSIONLIST=default&EXCLUDE=&CATEGORY=
&EXCLUDECATEGORY=&CHANNEL=&EXCLUDECHANNEL=&SINCE=&BEFORE=&FUTURE=0&SORT=index&RE
VERSE=0&PAGESIZE=10&HIDE=0&HIDEDELETED=0&COLS=thumbnail&COLS=type&COLS=name&COLS
=episode&COLS=desc&COLS=channel&COLS=categories&COLS=timeadded&OUTPUT=&MODES=fla
shaachigh%2Cflashaacstd%2Cflashaudio%2Cflashhigh%2Ciphone%2Cflashstd%2Cflashnorm
al%2Crealaudio%2Cflashaaclow&PROXY=&SUBTITLES=0&METADATA=&THUMB=0&PVRHOLDOFF=&FO
RCE=0&AUTOWEBREFRESH=1&AUTOPVRRUN=4&REFRESHFUTURE=0&BITRATE=&VSIZE=&VFR=&STREAMT
YPE=&SAVE=0&SEARCHTAB=yes&COLUMNSTAB=no&DISPLAYTAB=no&RECORDINGTAB=no&STREAMINGT
AB=no&PAGENO=1&INFO=0&NEXTPAGE=record%5Fnow&ACTION=&.cgifields=REFRESHFUTURE&.cg
ifields=FUTURE&.cgifields=SUBTITLES&.cgifields=HISTORY&.cgifields=REVERSE&.cgifi
elds=PROGTYPES&.cgifields=THUMB&.cgifields=HIDE&.cgifields=HIDEDELETED&.cgifield
s=FORCE&.cgifields=COLS
INFO: Starting Recording Now
DEBUG: get_iplayer options: "pid=http://www.bbc.co.uk/iplayer/console/b01j5j2n"
"type=tv" "modes=flashaachigh,flashaacstd,flashaudio,flashhigh,iphone,flashstd,f
lashnormal,realaudio,flashaaclow" "force=0" "refreshfuture=0" "subtitles=0" "hid
e=0" "thumb=0"
INFO: Win32 Command: .\get_iplayer.cmd --nopurge --nocopyright --expiry=99999999
9 --hash --webrequest pid%3Dhttp%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fconsole%2Fb01
j5j2n?type%3Dtv?modes%3Dflashaachigh%2Cflashaacstd%2Cflashaudio%2Cflashhigh%2Cip
hone%2Cflashstd%2Cflashnormal%2Crealaudio%2Cflashaaclow?force%3D0?refreshfuture%
3D0?subtitles%3D0?hide%3D0?thumb%3D0 2>&1
====================================================================


From christopher at custommade.org.uk  Wed May 30 06:20:18 2012
From: christopher at custommade.org.uk (Christopher Woods (CM))
Date: Wed, 30 May 2012 11:20:18 +0100
Subject: 'ping' is not recognized as an internal or external command etc
In-Reply-To: <CA+WLmVR5mY8o==cRTzCLFm+teKVKKQh4T92q4KNo7BSQUr5qRQ@mail.gmail.com>
References: <CA+WLmVR5mY8o==cRTzCLFm+teKVKKQh4T92q4KNo7BSQUr5qRQ@mail.gmail.com>
Message-ID: <4FC5F462.6070409@custommade.org.uk>

Hi Chris,

Check your PATH. Something may have removed the C:\Windows\System32\; 
entry from its start. What you're looking for is in System Properties, 
Advanced tab, Environment Variables.

If you're using Windows 7 as a standard user with UAC enabled, once in 
the box you will find you can't actually edit the PATH. (Of course.) To 
do this you need to open the dialog elevated through UAC; in the Control 
Panel (System category) choose "Advanced system settings" - which should 
have the UAC shield next to it - then choose "Environment variables".

If you go from the Start menu and type "environment" it'll offer you two 
selections, both of which open the same box -- however only the option 
explicitly marked "Edit the system environment variables" will open UAC 
elevated.

This is what my PATH looks like (Windows 7, pretty new installation with 
just dig for Windows installed as extra):

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\dig;

To verify that this is the problem, before you edit your PATH open a DOS 
prompt and cd to C:\windows\system32 . Can you invoke ping manually from 
there? How about if you cd \ back to the root? If it works there then 
something else is afoot and it sounds like a script error. Otherwise, 
it's your Windows PATH and you should go doublecheck it's not been altered.


Cheers
Chris


On 30/05/2012 09:52, Chris Hartley wrote:
> Is anyone able to tell me what this ping error means?  It's not a
> critical problem as the programme seems to download ok, just curious
> really.  The error seems to hold up the process of opening the web
> browser when using the 'Quick URL' function of the Web PvrManager -
> initially Firefox gives the error:
>
> "Firefox can't establish a connection to the server at 127.0.0.1:1935"
>
> which I then have to refresh (the browser refresh) a few times before
> the Web PVR Manager window appears.
>
> I am on Windows7 x86 with Firefox default browser and default windows
> installer (2 day old OS)
>
> The full report is pasted below.
> ==============================================================
> 'ping' is not recognized as an internal or external command,
> operable program or batch file.
> DEBUG: Command: ".\get_iplayer.cmd" --nopurge --nocopyright --listplugins
> INFO: Listening on 127.0.0.1:1935
> GET: /
>
> <snipped>


From dinkypumpkin at gmail.com  Wed May 30 06:55:51 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Wed, 30 May 2012 11:55:51 +0100
Subject: 'ping' is not recognized as an internal or external command etc
In-Reply-To: <CA+WLmVR5mY8o==cRTzCLFm+teKVKKQh4T92q4KNo7BSQUr5qRQ@mail.gmail.com>
References: <CA+WLmVR5mY8o==cRTzCLFm+teKVKKQh4T92q4KNo7BSQUr5qRQ@mail.gmail.com>
Message-ID: <4FC5FCB7.3070405@gmail.com>

On 30/05/2012 09:52, Chris Hartley wrote:
> initially Firefox gives the error:
>
> "Firefox can't establish a connection to the server at 127.0.0.1:1935"
>
> which I then have to refresh (the browser refresh) a few times before
> the Web PVR Manager window appears.
>
> I am on Windows7 x86 with Firefox default browser and default windows
> installer (2 day old OS)
>
> The full report is pasted below.
> ==============================================================
> 'ping' is not recognized as an internal or external command,
> operable program or batch file.

Christopher's response gave you info you need to track down the problem 
with ping.  You should get it working for the more general reason he 
mentions (to fix a broken PATH), but below is an explanation of why it 
is useful for the Web PVR Manager.

The ping utility is invoked in:

C:\Program Files\get_iplayer\pvr_manager.cmd

That's the batch file launched when you select Web PVR Manager from the 
Start menu.  The ping command is used to provide a brief delay after the 
startup of the Web PVR Manager itself.  The delay is there to allow the 
Web PVR Manager to initialise before trying to access it with the 
browser.  If the ping command fails, the browser attempts to connect too 
soon and you get the problem you described.  As you noted, it's not a 
big deal, but you might as well have a smooth startup for the Web PVR 
Manager.


From alex at translatortips.com  Wed May 30 17:19:59 2012
From: alex at translatortips.com (Alex Eames)
Date: Wed, 30 May 2012 22:19:59 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC4CF5A.3030000@gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
Message-ID: <4FC68EFF.1030507@translatortips.com>

On 29/05/2012 14:30, dinkypumpkin wrote:
>> I notice the raspberry pi doesn't cope with RTMP timeouts
>> as well as my UBUNTU box, which seems to
>> shrug them off and just keep retrying.
>> The Pi seems to hang at this point.
>> Is that likely due to the lower hardware spec?
>
> If rtmpdump is actually hanging, I'm not sure resource starvation 
> would be the culprit.  rtmpdump isn't hugely resource-intensive on a 
> desktop machine, but I can't say how much more it will impact a 
> Raspberry PI. All I can suggest is to launch a HD download (or 
> something else that will run for a while) with get_iplayer and then 
> run "top" in another terminal window to see what rtmpdump is doing.

On an HD download, when it's working properly on the Raspberry Pi,
rtmpdump takes about 30-35% processor usage.

After ERROR:RTMP_Readpacket. failed to read RTMP packet header
when it times out it goes to 98% (Mem 1.3%)

and the process seems to hang at that point.

If no timeout occurs, it works well.



From myname at imagine.fsworld.co.uk  Wed May 30 19:22:25 2012
From: myname at imagine.fsworld.co.uk (tommy)
Date: Thu, 31 May 2012 00:22:25 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC68EFF.1030507@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
Message-ID: <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>

I can replicate the problem on my pi by disconnecting/reconnecting my
router during a download: rtmpdump hangs, with 98% usage, and has to
be killed.

rtmp output:

366873.634 kB / 1121.84 sec (66.6%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 67591

htop:

  CPU[||||||||||||||||||||||||||||||||||||||||||||||||100.0%]
Tasks: 128 total, 2 running
  Mem[||||||||||||||||||||||||||||||||||||||||||||||71/186MB]     Load
average: 1.17 0.96 0.55
  Swp[                                                 0/0MB]
Uptime: 1 day, 21:33:03

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
28692 pi        20   0  4560  2524  1076 R 93.0  1.3  4:35.35 rtmpdump
--port 1935 --protocol 0 --playpath mp4:3200kbps/b01j8n35


The repositories (main debian and deb-multimedia) don't seem to have
the latest versions of RTMPDump (v2.3) or ffmpeg. Upgrading to v2.4
from git (along with git versions of ffmpeg and get_iplayer) seems to
solve the problem, as it then resumes successfully:

ERROR: RTMP_ReadPacket, failed to read RTMP packet header
191759.117 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


tommy


From chris.hartley at email.com  Thu May 31 04:18:20 2012
From: chris.hartley at email.com (Chris Hartley)
Date: Thu, 31 May 2012 04:18:20 -0400
Subject: 'ping' is not recognized - thanks all
Message-ID: <20120531081820.108550@gmx.com>

Thanks Dan and Chris for your guidance. ?All suggestions checked out as expected - still no ping, however just tried the proceedures on another computer and no problem at all so have to conclude it's just another quirk on my laptop - there are many. ?Thanks for your input and thanks also DkPkn for throwing light on the reason for the ping.

Cheers,
Chris


From alex at translatortips.com  Thu May 31 07:39:45 2012
From: alex at translatortips.com (Alex Eames)
Date: Thu, 31 May 2012 12:39:45 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
Message-ID: <4FC75881.9000008@translatortips.com>

On 31/05/2012 00:22, tommy wrote:
> The repositories (main debian and deb-multimedia) don't seem to have
> the latest versions of RTMPDump (v2.3) or ffmpeg. Upgrading to v2.4
> from git (along with git versions of ffmpeg and get_iplayer) seems to
> solve the problem, as it then resumes successfully:
>
> ERROR: RTMP_ReadPacket, failed to read RTMP packet header
> 191759.117 kB / 0.00 sec
> INFO: Connection timed out, trying to resume.
>    
Excellent thank you Tommy. When it doesn't time out it works perfectly.

I already have the latest Git of get_iplayer running but want to upgrade
rtmpdump to the git version. Not quite sure exactly how to do it, but 
I've found this...

git clone git://git.ffmpeg.org/rtmpdump

cd rtmpdump
make
sudo make install


from here 
http://cederlys.wordpress.com/2011/12/29/compiling-rtmpdump-from-source/

and by logical extension
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
make
sudo make install

Will this be enough to get me there? Sorry, I'm a bit of a linux retard, 
but keen to learn these basics.

Alex


From dinkypumpkin at gmail.com  Thu May 31 07:59:25 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 31 May 2012 12:59:25 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC75881.9000008@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com>
Message-ID: <4FC75D1D.9050204@gmail.com>

On 31/05/2012 12:39, Alex Eames wrote:
> and by logical extension
> git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
> cd ffmpeg
> make
> sudo make install
>
> Will this be enough to get me there? Sorry, I'm a bit of a linux retard,
> but keen to learn these basics.

You shouldn't need to upgrade ffmpeg along with rtmpdump.  It's 
completely separate from rtmpdump and has nothing to do with downloading 
programmes.  That said, you may want to upgrade if you have a 
particularly old version, though building ffmpeg from source is not 
quite so simple due to surfeit of possible dependencies.

What versions of rtmpdump and ffmpeg did you get from your distro's 
repository (run "rtmpdump -v" and "ffmpeg -version")?  The Debian 
squeeze repo has adequate versions for desktop machines, but I've no 
idea what you get for use on a Pi.


From myname at imagine.fsworld.co.uk  Thu May 31 08:25:25 2012
From: myname at imagine.fsworld.co.uk (tommy)
Date: Thu, 31 May 2012 13:25:25 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC75D1D.9050204@gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
Message-ID: <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>

On 31/05/2012 12:39, Alex Eames wrote:
>> Will this be enough to get me there? Sorry, I'm a bit of a linux retard,
>> but keen to learn these basics.
>
You will need to get some dependencies too though (though a build
environment is there already). Here's what I did to get it compiled
(from a sensible starting folder):

sudo nano /etc/apt/sources.list

[add an extra line for the deb-multimedia repository]
deb http://www.deb-multimedia.org squeeze main non-free

sudo apt-get purge rtmpdump
sudo apt-get update
sudo apt-get install deb-multimedia-keyring

[yes to "install without verification"]

sudo apt-get update
sudo apt-get install libssl-dev librtmp-dev

git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make SYS=posix
sudo make install SYS=posix

[I think you don't actually need the SYS= bit, as posix is the default]

Then you can test with "rtmpdump -v" to check you are running v2.4.

To compile a reasonably comprehensive (I think) ffmpeg from source,
which takes a couple of hours, you can follow a similar process:

sudo apt-get purge ffmpeg
sudo apt-get install libfaac-dev libmp3lame-dev libx264-dev
libxvidcore-dev libgsm1-dev libtheora-dev libvorbis-dev

git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-libmp3lame --enable-libtheora --enable-libx264
--enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac
--enable-pthreads --enable-libvorbis --enable-libfaad --enable-gpl
--enable-nonfree
make
sudo make install
sudo ldconfig

> You shouldn't need to upgrade ffmpeg along with rtmpdump. ?It's completely
> separate from rtmpdump and has nothing to do with downloading programmes.

Agreed - though I would probably recommend compiling ffmpeg from git
anyway, as I have had problems with ffmpeg on arm before - the
"non-monotonically increasing timestamp" error being chief amongst
them.

> What versions of rtmpdump and ffmpeg did you get from your distro's
> repository (run "rtmpdump -v" and "ffmpeg -version")? ?The Debian squeeze
> repo has adequate versions for desktop machines, but I've no idea what you
> get for use on a Pi.

squeeze repos have v2.3 for rtmpdump, which seems fine on desktops,
but fails as described in the OP on the pi (I am not sure if this is
ARM- or pi-specific though)

tommy


From alex at translatortips.com  Thu May 31 08:35:56 2012
From: alex at translatortips.com (Alex Eames)
Date: Thu, 31 May 2012 13:35:56 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC75D1D.9050204@gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
Message-ID: <4FC765AC.30203@translatortips.com>

On 31/05/2012 12:59, dinkypumpkin wrote:
>
> What versions of rtmpdump and ffmpeg did you get from your distro's 
> repository (run "rtmpdump -v" and "ffmpeg -version")?  The Debian 
> squeeze repo has adequate versions for desktop machines, but I've no 
> idea what you get for use on a Pi.

rtmpdump -v gives version 2.3
ffmpeg -version gives

FFmpeg SVN-r0.5.6-4:0.5.6-3
libavutil     49.15. 0 / 49.15. 0
libavcodec    52.20. 1 / 52.20. 1
libavformat   52.31. 0 / 52.31. 0
libavdevice   52. 1. 0 / 52. 1. 0
libavfilter    0. 4. 0 /  0. 4. 0
libswscale     0. 7. 1 /  0. 7. 1
libpostproc   51. 2. 0 / 51. 2. 0


From alex at translatortips.com  Thu May 31 09:21:09 2012
From: alex at translatortips.com (Alex Eames)
Date: Thu, 31 May 2012 14:21:09 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
Message-ID: <4FC77045.3050605@translatortips.com>

On 31/05/2012 13:25, tommy wrote:
> You will need to get some dependencies too though (though a build
> environment is there already). Here's what I did to get it compiled
> (from a sensible starting folder):
>
> sudo nano /etc/apt/sources.list
>
> [add an extra line for the deb-multimedia repository]
> debhttp://www.deb-multimedia.org  squeeze main non-free
>
> sudo apt-get purge rtmpdump
> sudo apt-get update
> sudo apt-get install deb-multimedia-keyring
>
> [yes to "install without verification"]
>
> sudo apt-get update
> sudo apt-get install libssl-dev librtmp-dev
>
> git clone git://git.ffmpeg.org/rtmpdump
> cd rtmpdump
> make SYS=posix
> sudo make install SYS=posix
>
> [I think you don't actually need the SYS= bit, as posix is the default]
>
> Then you can test with "rtmpdump -v" to check you are running v2.4.
>    
Got all that done fine. Thanks for the detailed instructions. Now 
running 2.4

Have I missed something out though?
In response to this command...

./get_iplayer --get 469 
--tvmode=flashhd,flashvhigh,flashhigh,flashnormal -o /media/usbstick



I now get a whole bunch of messages like this...

ERROR: RTMP_ReadPacket, failed to read RTMP packet header
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
/media/usbstick/Indian_Ocean_with_Simon_Reeve_-_2._Madagascar_to_the_Seychelles_b01h7mjp_default.partial.mp4.flv 
via RTMP
INFO: skipping flashstd1 mode
INFO: Trying flashstd2 mode to record tv: Indian Ocean with Simon Reeve 
- 2. Madagascar to the Seychelles

INFO: File name prefix = 
Indian_Ocean_with_Simon_Reeve_-_2._Madagascar_to_the_Seychelles_b01h7mjp_default 

INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
/media/usbstick/Indian_Ocean_with_Simon_Reeve_-_2._Madagascar_to_the_Seychelles_b01h7mjp_default.partial.mp4.flv 
via RTMP
INFO: skipping flashstd2 mode
ERROR: Failed to record 'Indian Ocean with Simon Reeve - 2. Madagascar 
to the Seychelles (b01h7mjp)'

Looks like something isn't quite right somewhere. :(



From dinkypumpkin at gmail.com  Thu May 31 09:30:05 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 31 May 2012 14:30:05 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC765AC.30203@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <4FC765AC.30203@translatortips.com>
Message-ID: <4FC7725D.3000304@gmail.com>

On 31/05/2012 13:35, Alex Eames wrote:
> rtmpdump -v gives version 2.3

That version works well enough on desktop Debian, but obviously not on 
the Pi.  Other users with rtmpdump problems have had some luck with 
updating to 2.4, so worth a try.

> ffmpeg -version gives
>
> FFmpeg SVN-r0.5.6-4:0.5.6-3

Sorry, I forgot the stable version was so ancient.  I got ffmpeg from 
squeeze-backports.  An update is probably in order.  You could try 
backports, but since tommy has given you full build instructions  you 
might want to try the DIY route.  As he points out, you'll get the 
ancillary benefit of ffmpeg not croaking on overlapping timestamps 
created when rtmpdump resumes downloading a stream.  That can be pretty 
annoying.



From myname at imagine.fsworld.co.uk  Thu May 31 10:10:30 2012
From: myname at imagine.fsworld.co.uk (tommy)
Date: Thu, 31 May 2012 15:10:30 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC77045.3050605@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
 <4FC77045.3050605@translatortips.com>
Message-ID: <CABy9XZc7S8Sa61T1VeebZAspB_A+KwqoMnJKzBDp-ZeVdRF7yw@mail.gmail.com>

On 31 May 2012 14:21, Alex Eames <alex at translatortips.com> wrote:

> Have I missed something out though?
> In response to this command...
>
> ./get_iplayer --get 469 --tvmode=flashhd,flashvhigh,flashhigh,flashnormal -o
> /media/usbstick
>
>
>
> I now get a whole bunch of messages like this...
>
>
> ERROR: RTMP_ReadPacket, failed to read RTMP packet header

I had a similar problem initially but solved itself when I ran it
again - could it be an environment variable issue? Try logging out and
in again...


From neill at nlkmitchell.com  Thu May 31 12:10:51 2012
From: neill at nlkmitchell.com (Neill Mitchell)
Date: Thu, 31 May 2012 17:10:51 +0100
Subject: get_iplayer on Synology 211+
Message-ID: <4FC7980B.4010103@nlkmitchell.com>

Hi all.

I've managed to sort get_iplayer and the web front end on my Synology 
211+ NAS. All works really well :)

Once I got all the tools installed, it needed a bit of faffing with ssl 
library versions to get rtmpdump compiled and I had to compile up 
ffmpeg. It was all fairly straight forward though.

Instructions are a bit much for this email, but if anyone wants to know 
how then drop me an email.

Cheers
Neill.




From alex at translatortips.com  Thu May 31 12:39:38 2012
From: alex at translatortips.com (Alex Eames)
Date: Thu, 31 May 2012 17:39:38 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <CABy9XZc7S8Sa61T1VeebZAspB_A+KwqoMnJKzBDp-ZeVdRF7yw@mail.gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
 <4FC77045.3050605@translatortips.com>
 <CABy9XZc7S8Sa61T1VeebZAspB_A+KwqoMnJKzBDp-ZeVdRF7yw@mail.gmail.com>
Message-ID: <4FC79ECA.1050409@translatortips.com>

On 31/05/2012 15:10, tommy wrote:
> On 31 May 2012 14:21, Alex Eames<alex at translatortips.com>  wrote:
>    
>> I now get a whole bunch of messages like this...
>>
>>
>> ERROR: RTMP_ReadPacket, failed to read RTMP packet header
>>      
> I had a similar problem initially but solved itself when I ran it
> again - could it be an environment variable issue? Try logging out and
> in again...
>    
That didn't clear it. I even switched users. I got fed up with not being 
able to read/write access my usb stick so I'm logging in as root now. It 
didn't help switching users, rebooting. Shutdown.

But I have now seemingly got it working after running rpi-update 
(hexxeh's firmware updater).
I ran this a few days ago, but something must have fallen into place by 
updating to the very latest firmware.

Just completed a low res download and transcode. Half-way through an HD 
download. It hasn't given any timeout messages yet. Will see how stable 
it is. File downloaded, now transcoding. :) No timeouts. FFMPEG is 
taking about 31-35% CPU time much as it did before (well I haven't 
changed it yet).

Thanks Tommy and dinkypumpkin for all your help. I'm cautiously 
optimistic that it's OK now.
I'll do an FFMPEG compile when I've finished testing the download process.

Oh - and the other interesting thing is that the new rtmpdump 2.4 seems 
to hover around 21% cpu
whereas 2.3 seemed to take about 30% (or maybe my connection's running 
slower? LOL)

Thanks guys :)


From myname at imagine.fsworld.co.uk  Thu May 31 13:11:18 2012
From: myname at imagine.fsworld.co.uk (tommy)
Date: Thu, 31 May 2012 18:11:18 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC79ECA.1050409@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
 <4FC77045.3050605@translatortips.com>
 <CABy9XZc7S8Sa61T1VeebZAspB_A+KwqoMnJKzBDp-ZeVdRF7yw@mail.gmail.com>
 <4FC79ECA.1050409@translatortips.com>
Message-ID: <CABy9XZdou4YuOQV9yExJ+pHkTRqD2xXFo13xBs_rtysNDHDmMQ@mail.gmail.com>

> But I have now seemingly got it working after running rpi-update (hexxeh's
> firmware updater).
It may have needed a shared library link/cache update (by running
"sudo ldconfig") - the firmware updater might have done this for you.

Anyway, glad to hear it's all working fine now.

>
> Oh - and the other interesting thing is that the new rtmpdump 2.4 seems to
> hover around 21% cpu
> whereas 2.3 seemed to take about 30% (or maybe my connection's running
> slower? LOL)

I imagine cpu usage is quite bandwidth sensitive. It sounds like you
have a good connection: I had similar 10-15% usage on both v2.3 and
v2.4 over my (doesn't-ever-get-near) 8M connection yesterday evening.

tommy


From alex at translatortips.com  Thu May 31 15:37:44 2012
From: alex at translatortips.com (Alex Eames)
Date: Thu, 31 May 2012 20:37:44 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
Message-ID: <4FC7C888.8040400@translatortips.com>

On 31/05/2012 13:25, tommy wrote:
> sudo apt-get purge ffmpeg
> sudo apt-get install libfaac-dev libmp3lame-dev libx264-dev
> libxvidcore-dev libgsm1-dev libtheora-dev libvorbis-dev
>
> git clone git://source.ffmpeg.org/ffmpeg.git
> cd ffmpeg
> ./configure --enable-libmp3lame --enable-libtheora --enable-libx264
> --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac
> --enable-pthreads --enable-libvorbis --enable-libfaad --enable-gpl
> --enable-nonfree
>    

./config doesn't like --enable-libfaad

Unknown option "--enable-libfaad"

I've done an apt-get install libfaad-dev (just a guess - it installed 
something)
and a sudo ldconfig

and it still gives me the same error, so

I'm going to give it a shot without the libfaad and see if it works :)



From dinkypumpkin at gmail.com  Thu May 31 17:44:26 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 31 May 2012 22:44:26 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC7C888.8040400@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
 <4FC7C888.8040400@translatortips.com>
Message-ID: <4FC7E63A.6060608@gmail.com>

On 31/05/2012 20:37, Alex Eames wrote:
> ./config doesn't like --enable-libfaad
>
> Unknown option "--enable-libfaad"
>

I believe libfaad was removed a year or two ago in favour of ffmpeg's 
internal AAC decoder.  Did you mean libfaac?




From dinkypumpkin at gmail.com  Thu May 31 17:45:39 2012
From: dinkypumpkin at gmail.com (dinkypumpkin)
Date: Thu, 31 May 2012 22:45:39 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC7E63A.6060608@gmail.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
 <4FC7C888.8040400@translatortips.com> <4FC7E63A.6060608@gmail.com>
Message-ID: <4FC7E683.3050101@gmail.com>

On 31/05/2012 22:44, dinkypumpkin wrote:
> On 31/05/2012 20:37, Alex Eames wrote:
>> ./config doesn't like --enable-libfaad
>>
>> Unknown option "--enable-libfaad"
>>
>
> I believe libfaad was removed a year or two ago in favour of ffmpeg's
> internal AAC decoder. Did you mean libfaac?

Oops - I see you already had libfaac in your configure command.




From myname at imagine.fsworld.co.uk  Thu May 31 17:58:02 2012
From: myname at imagine.fsworld.co.uk (tommy)
Date: Thu, 31 May 2012 22:58:02 +0100
Subject: Get_iplayer on Raspberry Pi
In-Reply-To: <4FC7C888.8040400@translatortips.com>
References: <4FC2886E.6060501@translatortips.com> <4FC296CE.1030101@gmail.com>
 <4FC4A9C5.2020707@translatortips.com> <4FC4CF5A.3030000@gmail.com>
 <4FC68EFF.1030507@translatortips.com>
 <CABy9XZf3SoU80KKQi_YDj130dV55zvehFwxDCn2Ro8EqkhuZ9A@mail.gmail.com>
 <4FC75881.9000008@translatortips.com> <4FC75D1D.9050204@gmail.com>
 <CABy9XZf-bcs-Mb+5ATtJQZ+SVwOc+o9swZVJ-3X7eOv7OqgtoA@mail.gmail.com>
 <4FC7C888.8040400@translatortips.com>
Message-ID: <CABy9XZcpVZFh4rbo9BLL76h6NdpMeGkSsZObERXecrQ61gZXJA@mail.gmail.com>

On 31 May 2012 20:37, Alex Eames <alex at translatortips.com> wrote:
> ./config doesn't like --enable-libfaad
>
> Unknown option "--enable-libfaad"

Sorry - my mistake. I took the configure line from an old writeup I
did and forgot to remove the libfaad reference:

I believe libfaad is no longer required (because libfaac now covers
everything libfaad did?)

Your compile should run fine without it, and you can remove
libfaad-dev if necessary.

tommy


