Re: mp3 unplayable problem

2011-04-05 Thread MCCG

dinkypumpkin wrote:

On 04/04/2011 15:59, MCCG wrote:

This is what I downloaded today.. all are actually aac files (according
to MediaInfo), with 4 calling themselves mp3
The_Devil_in_Amber_-_Episode_1_b00tvk9s_default.*mp3*
We_Can_Remember_It_for_You_Wholesale_-_Episode_1_b007jpky_default.*mp3
*The_Nine_Billion_Names_of_God_-_1._The_Nine_Billion_Names_of_God_b00zzwfq_default*.mp3 



*Torchwood_-_Lost_Souls_b00zzwfn_default.*mp3
*
 From history (below), looks like they were downloaded as flashaacstd1*
*The flashaaclow1 ones seem to come out as aac

from my options:
radiomode 
iphone,flashaachigh,rtmp,flashaudio,flashaacstd,flashaaclow,wma


[snip]

Unfortunately, I could not tell you what version I am running...
it was 2.79, but I have applied various patches over the last few months
(including R7-R4X today)
I prefer aac to m4a, as I can convert them to mp3 via WinLame... and
have no interest in tags, so have not applied any of those patches.
but I cannot see how any of the the patches would affect the file name.
I am a programmer by trade, (and out of work after tomorrow), so quite
happy editing the code


Thanks for the info.  Ironically, I downloaded all of those same 
programmes earlier today, but since I was using a patched get_iplayer 
I had no trouble.  I tried again using the release version of 
get_iplayer, but as it turns out, the app version is not the issue, as 
you suspected.


Short answers:

1) Set radiomode to a single mode you know works, e.g., 
--radiomode=flashaacstd, or..


2) Add --multimode to your command line, but winnow the possible list, 
to --radiomode=flashaudio,flashaacstd, in order to avoid creating a 
lot of extra recordings. That way if flashaudio fails (see below), 
only flashaacstd will be attempted.


Long answer:

Because of the way your mode list is specified, the first mode 
attempted for those programmes is flashaudio (this applies to the OP 
as well). However, the flashaudio download fails (I tested with Devil 
in Amber).  I'm not sure of what is going on upstream, but I can see 
that the rtmp URL is bad (missing hostname), with rtmpdump giving the 
error Problem accessing the DNS.  Could just be a temporary problem 
with the CDN. Anyway, when that download attempt fails, get_iplayer 
kicks over and tries the next mode it finds (e.g., flashaacstd).  
Unfortunately, it doesn't adjust the file extension automatically in 
event of such an error.


This behaviour is by design.  In generate_filenames(), look for a 
comment that begins Don't override the {filename} if it is already 
set to get to the spot in the code where this is enforced.  I would 
think some logic could be added to mode_ver_download_retry_loop() or 
download() to check if the mode has changed between attempts and then 
pass some kind of force flag to make sure a new filename is 
generated.  I guess there is a project for your first day of 
unemployment, eh? Really, no thanks are necessary :)





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




Thanks Dinky :-)
I never new it would keep the extension of the first found mode... 
fascinating to find out about this - I haven't really looked at the code 
within get_iplayer, except to apply patches.
I am quite happy to rename my files for now, and will probably spend 
more time looking at the code over the next few weeks.


Hopefully the OP can just rename his files to aac and play them.

Cheers,
Mike
--
Mike Gregory



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


Re: Re: Patched versions available on github

2011-04-05 Thread richard
On Mon Apr 4 20:39:51 dinkypumpkin wrote:


 They're the same at the moment, but there are a couple of other
 unrelated patches in the works that will wind up in version 4.

Would these include the 2 patches suggested by Jon Davies?

http://lists.infradead.org/pipermail/get_iplayer/2011-February/000803.html

and

http://lists.infradead.org/pipermail/get_iplayer/2011-April/001231.html





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


Re: legality

2011-04-05 Thread Jon Davies
On 4 April 2011 17:34, Paul ukki...@gmail.com wrote:
 Surely one of the biggest distinctions made by the BBC is whether
 material is viewed 'on air' or 'on demand', after all that is the
 basis of the requirement to have a TV licence.

There's no point in having a discussion about what the BBC's terms
should be, just about what they are.  You have to remember that the
legality of what we do is determined by the terms that the BBC set for
access to their online services, together with English law (for users
in England/Wales and those outside the UK) and Scottish/Northern Irish
law for people who live there.

Apart from just one condition (personal use terms, 3.2.2) which
restates some of the requirements for having a TV licence, there's
nothing I can see in the terms which draws a distinction between 'on
air' and 'on demand' access.  So, I conclude, that no, the BBC does
not make any significant distinction of that sort.

IANAL

Jon

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


RE: legality

2011-04-05 Thread Christopher Woods (CustomMade)
 

 -Original Message-
 From: get_iplayer-boun...@lists.infradead.org 
 [mailto:get_iplayer-boun...@lists.infradead.org] On Behalf Of 
 Ian Stirling
 Sent: 05 April 2011 11:11
 To: get_iplayer@lists.infradead.org
 Subject: Re: legality
 
 On 04/05/2011 10:00 AM, Jon Davies wrote:
 
  Apart from just one condition (personal use terms, 3.2.2) which 
  restates some of the requirements for having a TV licence, there's 
  nothing I can see in the terms which draws a distinction 
 between 'on 
  air' and 'on demand' access.  So, I conclude, that no, the BBC does 
  not make any significant distinction of that sort.
 
 It's not in the BBCs terms, it's in the law around TV licensing.
 Specifically (if it's not changed in the last 4 or so years), 
 you need a TV license _only_ to watch the broadcast output of 
 television broadcaster licenced under the television 
 broadcasters regulation rules.
 
 You _do_not_ need a license to watch any other content. 
 Foreign TV you can pick up with a really big antenna, or 
 content a licenced broadcaster provides in non-realtime ways.


The Beeb and TVL (read: Capita) tend to interpret the Licensing law as
requiring a person to hold a licence if they own or operate equipment
capable of receiving a broadcast signal 'as it's being broadcast', this
includes timeshifted as-live programmes via media such as Internet
streaming, Freeview, Freesat etc (to accommodate various platforms' time
lags).

Therefore if TVL came round and you stupidly invited them into your home, if
you had an operable TV, VHS, DVR etc with a tuner block in it, you would
have to prove that it was physically incapable of receiving any BBC
television channel. Otherwise, they would require you to licence for the
appropriate period or face prosecution - and you would have to be VERY sharp
to beat them in County court, I imagine they've honed their court patter and
paperwork to a near artform these days. As the JPs will weigh up a case on
balance of probabilities (instead of outright 'beyond a shadow of a doubt')
your case has to be VERY convincing (and/or you require two sympathetic JPs)
in order to come out victorious.

Of course, you just don't let them into your house in the first place, they
have no purview or legally established precedent to allow entry to premises
uninvited. They can look through windows to see if a telly's showing BBC One
though! Curtains are a useful investment.


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


Re: legality

2011-04-05 Thread Ian Stirling

On 04/05/2011 12:19 PM, Christopher Woods (CustomMade) wrote:




-Original Message-
From: get_iplayer-boun...@lists.infradead.org
[mailto:get_iplayer-boun...@lists.infradead.org] On Behalf Of Ben Webb
Sent: 05 April 2011 11:32
To: get_iplayer@lists.infradead.org
Subject: Re: legality

On 5 April 2011 11:11, Ian Stirling
get_ipla...@mauve.plus.com  wrote:

You _do_not_ need a license to watch any other content.

Foreign TV you

can pick up with a really big antenna, or content a licenced
broadcaster provides in non-realtime ways.


As far as I am aware you are correct about non-realtime
content (you can watch iPlayer on demand content without a tv
license for example), however, I was under the impression
thta watching foreign live content, whether using a big
antenna/satellite or streamed over the internet required a TV license.


This was initially thought to be the case but Article 49 of the Treaty of
Rome (as amended) which enshrines free provision of intra-EU state services,
including telly. BBCRefuseniks[1] has this to say:



The previous legislation which I chased up - the wireless telegraphy act 
of 1949 (as amended) - specifically defines a 'television programme
service', as one that is licenced under the 'television  broadcasters 
act' (not the real title), so that makes it all crystal clear that 
foreign stations can never be covered.

The 'recent' - 2003 - I looked this up in 2004 and it may not have been
in the sources I was using - legislation does not specifically cite that
act, it just defines a TV as receiving a television programme service.

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