No specified modes

gary lists at lazygranch.com
Sat Aug 27 01:44:41 EDT 2011



On 8/26/2011 10:00 PM, Carl Fletcher wrote:
> On 27/08/11 05:26, gary wrote:
>>
>>
>> On 8/26/2011 8:22 PM, Carl Fletcher wrote:
>>> On 27/08/11 01:32, gary wrote:
>>>> I found get_iplayer on the repo. Not sure why I didn't find it before.
>>>> Anyway, I have two different "runs" with the same error. The first is
>>>> just running the get_iplayer.pl with perl. The second is using
>>>> get_iplayer from the opensuse repo. Same basic error.
>>>> ======================
>>>>
>>>>> perl get_iplayer.pl --get 420 --output="/windows/E/video/"
>>>>> --modes=flashvhigh
>>>>> get_iplayer v2.79, 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.
>>>>>
>>>>> Matches:
>>>>> 420: Newsnight - 22/08/2011, BBC Two, News,TV, default,
>>>>>
>>>>> INFO: 1 Matching Programmes
>>>>> INFO: Checking existence of default version
>>>>> INFO: No specified modes (flashvhigh) available for this programme
>>>>> with version 'default' (try using --modes=)
>>>>> ERROR: Failed to record 'Newsnight - 22/08/2011 (b013ytrz)'
>>>>> linux-dn9d:/usr/local/src/getiplayer/get_iplayer-2.79 #
>>>>> ===========================================================================
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Recording The Following Programmes
>>>>>
>>>>> BBC Channel Islands News - 26/08/2011 (b013qqqb)
>>>>>
>>>>>
>>>>> INFO Trying to stream pid using type tv
>>>>> INFO: pid found in cache
>>>>> Matches:
>>>>> 35: BBC Channel Islands News - 26/08/2011, BBC One, News,TV, default,
>>>>>
>>>>> INFO: 1 Matching Programmes
>>>>> INFO: Checking existence of default version
>>>>> ERROR: Failed to get iphone URL from iplayer site
>>>>>
>>>>> INFO: No specified modes
>>>>> (flashaachigh,flashaacstd,flashaudio,flashhigh,iphone,flashstd,flashnormal,realaudio,flashaaclow)
>>>>>
>>>>>
>>>>>
>>>>> available for this programme with version 'default' (try using
>>>>> --modes=)
>>>>> ERROR: Failed to record 'BBC Channel Islands News - 26/08/2011
>>>>> (b013qqqb)'
>>>>>
>>>>> Recording complete
>>>>>
>>>>> get_iplayer Web PVR Manager v0.71, ©2009-2010 Phil Lewis - Licensed
>>>>> under GPLv3
>>>>
>>>>
>>>>
>>>> On 8/26/2011 5:18 AM, Carl Fletcher wrote:
>>>>> On 26/08/11 10:02, gary wrote:
>>>>>> I'm a new get_iplayer user. I've tried windows and linux. It works
>>>>>> for
>>>>>> radio, but not video.
>>>>>>
>>>>>> I saw a post about a new (patched) get_iplayer.pl on the archives to
>>>>>> get
>>>>>> around the "no specified modes" error when downloading BBC video. I
>>>>>> got
>>>>>> the latest get__iplayer.pl and still have the same problem.
>>>>>>
>>>>>> I run it just as a command line
>>>>>> (perl get_iplayer.pl --get 123 --options),
>>>>>> dumping the media to file. Any idea why I get the "no specified
>>>>>> modes?"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> get_iplayer mailing list
>>>>>> get_iplayer at lists.infradead.org
>>>>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>>>
>>>>> What version of Linux
>>>>>
>>>>> Normally it's
>>>>>
>>>>> get_iplayer --get 123
>>>>> (for standard mp4)
>>>>>
>>>>> or
>>>>> get_iplayer --get 123 --modes=flashvhigh
>>>>> (for HQ mp4)
>>>>>
>>>>> The main Linux disros have get_iplayer in their repos
>>>>>
>>>>> _______________________________________________
>>>>> get_iplayer mailing list
>>>>> get_iplayer at lists.infradead.org
>>>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>>>
>>>>
>>>> _______________________________________________
>>>> get_iplayer mailing list
>>>> get_iplayer at lists.infradead.org
>>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>
>>> Gary
>>>
>>> I use openSUSE and I'm an admin in the forum and help with get_iplayer
>>> in Packman. One of my Mod team actually packages it.
>>> Remove any trace you now have of get_iplayer in openSUSE, make sure you
>>> have the Packman repo (Can I assume this is 11.4?). Let me give you the
>>> commands to first see what you have:
>>> zypper lr -d
>>>
>>> Now, if you need to add a repo eg:
>>> su -
>>> zypper ar -f http://packman.inode.at/suse/openSUSE_11.4/ packman
>>>
>>> To install get_iplayer:
>>> su -
>>> zypper in get_iplayer
>>>
>>> To use it:
>>> Open a terminal (that has been set to unlimited scrolling) and type:
>>> get_iplayer
>>>
>>> Wait for it to produce the program list
>>> Download with:
>>> get_iplayer --get 123
>>>
>>> _______________________________________________
>>> get_iplayer mailing list
>>> get_iplayer at lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>
>>
>> I deleted any versions I installed via source. I also used yast to
>> delete what I had installed via the repo.
>>
>> The repo you indicated is what I had used via yast. That is, I had that
>> repository in yast. I skipped the step to add the repository since I
>> wasn't sure what would happen if I tried to add a repo I already had.
>>
>> I did the installation via zypper. Back in yast, it recognized the new
>> installation and has this information in the change log:
>> =================================
>> get_iplayer - Downloads H.264 BBC IPlayer TV, Radio, and Podcast Programs
>>
>> Sun Aug 7 05:00:00 2011
>> malcolmlewis at opensuse.org
>> - Updated to git version 3b26288 to fix various issues:
>> + fixed regression as this broke the path used by get_iplayer
>> for update.
>> + Add Radio 4 Extra.
>> + Output AAC as M4A for iTunes with metadata tags.
>> + Add --aactomp3 option to force transcoding AAC to MP3.
>> + Use File::Spec->rel2abs to sanitise output directory.
>> + Ensure safe 32-bit date if timegm() fails.
>> + Ensure output file extension changes with download mode.
>> + Typo fixes.
>> + Fix broken flashhd downloads.
>> + Use File::Spec functions for programme/thumbnail file paths.
>> + New tagging implementation.
>> + Option to mux video as MKV instead of MP4.
>> + Revamped --showoptions and search options initialisation.
>> + Ensure that for loops always receive array even if only one
>> episode.
>> + Handle embedded param name in Akamai auth token.
>> + Add MP3 VBR option for AAC transcoding.
>> - Update spec file Licence field from GPLv3 to GPL-3.0 to conform
>> with spdx.org identifier.
>> Tue Jan 18 04:00:00 2011
>> malcolmlewis at opensuse.org
>> - Aditional fix to fillup
>> Tue Jan 18 04:00:00 2011
>> malcolmlewis at opensuse.org
>> - Fix fillup of sysconfig file
>> Sun Jan 16 04:00:00 2011
>> malcolmlewis at opensuse.org
>> - Add in pvr
>> Sat Jan 15 04:00:00 2011
>> malcolmlewis at opensuse.org
>> - Initial build
>> ========================================
>>
>> The results are no different:
>>
>>
>>
>> 787: ZingZillas: Series 2 - 24. Where's The Bug?, CBeebies,
>> Children's,Entertainment & Comedy,Learning,Pre-School,TV, default
>> 788: ZingZillas: Series 2 - 25. DJ Loose's Radio Show, CBeebies,
>> Children's,Entertainment & Comedy,Learning,Pre-School,TV, default
>> 789: ZingZillas: Series 2 - 3. Bam-Boo!, CBeebies,
>> Children's,Entertainment & Comedy,Learning,Pre-School,TV, default
>>
>> INFO: 789 Matching Programmes
>> linux-dn9d:/usr/local # get_iplayer --get 266
>> get_iplayer v2.79, 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.
>>
>> Matches:
>> 266: HARDtalk - Steve Forbes, Chairman of Forbes Media, BBC News 24,
>> News,TV, default,
>>
>> INFO: 1 Matching Programmes
>> INFO: Checking existence of default version
>> INFO: No specified modes (flashhigh,flashstd,flashnormal) available for
>> this programme with version 'default' (try using --modes=)
>> ERROR: Failed to record 'HARDtalk - Steve Forbes, Chairman of Forbes
>> Media (b013pkqv)'
>> linux-dn9d:/usr/local #
>> =====================
>>
>> I tried a few other program numbers with the same results.
>>
>> _______________________________________________
>> get_iplayer mailing list
>> get_iplayer at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>
> I can tell you I am finding using flvstreamer better than rtmpdump, but
> that test was with rtmpdump
> What I find is some programs (only a few) are difficult. Keep trying
> with --modes=flashhigh or --modes=flashvhigh etc..
>
> Here is the flvstreamer that I use:
> http://dl.dropbox.com/u/10573557/get_iplayer/flvstreamer
>
> place it in /usr/bin
> and do: chmod 755 /usr/bin/flvstreamer
>
> then in a user terminal do
> get_iplayer --prefs-add --flvstreamer /usr/bin/flvstreamer
>
> If you want to go back to rtmpdump just do
> get_iplayer --prefs-clear
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
>

as a side note, I have rtmpdump 2.3.99 installed. When I checked 
get_iplayers for preferences, none were found. Thus I assume I have 
satisfied all dependencies.

I uploaded your flvstreamer. I did an additional prefs-show to insure 
the flvstreamer was linked. Here are the results.
==========================
linux-dn9d:/usr/bin # get_iplayer --prefs-show
Options in '/root/.get_iplayer/options'
         flvstreamer = /usr/bin/flvstreamer
linux-dn9d:/usr/bin # get_iplayer news
get_iplayer v2.79, 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.

Matches:
35:     BBC Channel Islands News - 26/08/2011, BBC One, News,TV, default,
36:     BBC London News - 26/08/2011, BBC One, News,TV, default,
37:     BBC News at One - 26/08/2011, BBC News, News,TV, default
38:     BBC News at Six - 26/08/2011, BBC News, News,TV, default
39:     BBC News at Ten - 26/08/2011, BBC News, News,TV, default
40:     BBC Newsline - 26/08/2011, BBC One, News,Northern Ireland,TV, 
default,
41:     BBC Oxford News - 26/08/2011, BBC One, News,TV, default,
418:    Newsnight Scotland - 22/08/2011, BBC Two, News,Scotland,TV, default,
419:    Newsnight Scotland - 23/08/2011, BBC Two, News,Scotland,TV, default,
420:    Newsnight Scotland - 24/08/2011, BBC Two, News,Scotland,TV, default,
421:    Newsnight Scotland - 25/08/2011, BBC Two, News,Scotland,TV, default,
422:    Newsnight - 22/08/2011, BBC Two, News,TV, default,
423:    Newsnight - 23/08/2011, BBC Two, News,TV, default,
424:    Newsnight - 24/08/2011, BBC Two, News,TV, default,
425:    Newsnight - 25/08/2011, BBC Two, Guidance,News,TV, default,
426:    Newsnight - 26/08/2011, BBC Two, Guidance,News,TV, default,
427:    Newsround - 26/08/2011, CBBC, Children's,News,TV, default
536:    Russell Howard's Good News: Series 4 - 8. Best Bits, BBC Three, 
Comedy,Guidance,Satire,TV, default
763:    World News Today - 26/08/2011, BBC News 24, News,TV, default,

INFO: 19 Matching Programmes
linux-dn9d:/usr/bin # get_iplayer --get 35
get_iplayer v2.79, 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.

Matches:
35:     BBC Channel Islands News - 26/08/2011, BBC One, News,TV, default,

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: No specified modes (flashhigh,flashstd,flashnormal) available for 
this programme with version 'default' (try using --modes=)
ERROR: Failed to record 'BBC Channel Islands News - 26/08/2011 (b013qqqb)'
linux-dn9d:/usr/bin # get_iplayer --get 423
get_iplayer v2.79, 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.

Matches:
423:    Newsnight - 23/08/2011, BBC Two, News,TV, default,

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: No specified modes (flashhigh,flashstd,flashnormal) available for 
this programme with version 'default' (try using --modes=)
ERROR: Failed to record 'Newsnight - 23/08/2011 (b013ytt0)'
linux-dn9d:/usr/bin #
=================


I can reinstall the PVR options. That seemed to request more "modes". I 
cleared the prefs since that didn't seem to make any difference.

Is there a problem running as root, well other than security?






More information about the get_iplayer mailing list