These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Getting unwanted programme in downloads

user-493

This past few days when searching TV programmes to download via command line, I always get the same unwanted programme shown in the list, e.g.

Code:
get_iplayer --type=tv --tvmode=best --get "Storyville"



produces all the Storyville listings but in addition ALWAYS the following
"Scotland's Future - Generation 2014, BBC News, Factual, Politics, TV, default"

If I specify the PID, it shows two programmes found, the correct one and also the one mentioned above.

I'm puzzled how and why this always appears and, more importantly, how to solve the problem.

Thanks

Alan

user-2

You don't say which programme is ostensibly a duplicate of "Scotland's Future", so I can't investigate further. Regardless of that, I can't reproduce the problem you describe. My best guess is that some bad metadata - since corrected - was posted on the iPlayer site and you somehow got two episodes with the same PID in your cache. Open %USERPROFILE%\.get_iplayer\tv.cache in a text editor (but *not* Notepad) and delete the record for "Scotland’s Future". It should be repopulated when the cache is next refreshed. Alternatively, you could download "Scotland's Future" with --modes=flashlow (to make it faster) and it will be skipped with a warning when you attempt to download Storyville.

user-493

Hmmm I did infer it was any programme so let me give you 4 examples:

Code:
get_iplayer --type=tv --tvmode=best "eastenders"

get_iplayer v2.85, 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:
1222:    EastEnders Omnibus - 22/03/2014, BBC One, Audio Described,Drama,Soaps,TV, default,audiodescribed
1225:    EastEnders - 18/03/2014, BBC One, Audio Described,Drama,Soaps,TV, default,audiodescribed
1226:    EastEnders - 20/03/2014, BBC One, Audio Described,Drama,Soaps,TV, default,audiodescribed
1227:    EastEnders - 24/03/2014, BBC One, Audio Described,Drama,Popular,Soaps,TV, default,audiodescribed,
2771:    Scotland's Future - Generation 2014, BBC News, Factual,Politics,TV, default

INFO: 5 Matching Programmes

***************************************************************

get_iplayer --type=tv --tvmode=best "hardtalk"

get_iplayer v2.85, 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:
1449:    HARDtalk - 19/03/2014, BBC News, News,TV, default,
1450:    HARDtalk - Charles Zhang - CEO, Sohu.com, BBC News, News,TV, default,
1460:    HARDtalk - Ai Weiwei - Artist, BBC News, News,TV, default,
1461:    HARDtalk - Jin Liqun  - Chairman, China International Capital Corporation, BBC News, News,TV, default,
1462:    HARDtalk - Ukraine Special, BBC News, News,TV, default,
2771:    Scotland's Future - Generation 2014, BBC News, Factual,Politics,TV, default

INFO: 6 Matching Programmes

***************************************************************

get_iplayer --type=tv --tvmode=best "keeping britain safe"

get_iplayer v2.85, 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:
1741:    Keeping Britain Safe 24/7 - Spring, BBC One Northern Ireland, , default
1742:    Keeping Britain Safe 24/7 - 4. Summer, BBC One, Crime & Justice,Factual,Health & Wellbeing,Lifestyle & Leisure,Science & Nature,TV, default
2771:    Scotland's Future - Generation 2014, BBC News, Factual,Politics,TV, default

INFO: 3 Matching Programmes

***************************************************************

get_iplayer --type=tv --tvmode=best "1449"

get_iplayer v2.85, 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:
1449:    HARDtalk - 19/03/2014, BBC News, News,TV, default,
2771:    Scotland's Future - Generation 2014, BBC News, Factual,Politics,TV, default

INFO: 2 Matching Programmes

***************************************************************



I'll try your suggestion in the morning, thanks.

user-493

Actually I tried deleting the entry but now get an error "don't call method "new" on an undefined value at get_iplayer.pl line 1674" !!!

Anyway when I tried deleting the cache altogether, my original fault occurs again as previously described. Obviously the additional programme is not downloaded again, as it has already been downloaded before. But it shows up on every search and it's irritating if I have moved it to another folder or deleted it because if I do a
Code:
--force
then it gets downloaded again, even if I specify a single PID.

user-493

I meant
Code:
--force
in the above post.

user-493

Quote:<div class="d4p-bbp-quote-title">Quote:</div>I meant –force in the above post.

Hmmm a double "-" doesn't show up on this board!!

user-2

Post the output from:

Code:
get_iplayer --show-prefs



Scrub your username from the output if required.

Quote:Hmmm a double “-” doesn’t show up on this board!!

Use the "code" formatting button.

user-493

OK this is the output of "get_iplayer --show-prefs"

Options in 'C:\Users\*********/.get_iplayer/options'
search = (future)
type = radio
refreshfuture = 1

user-2

The problem is that somehow you got
Code:
search = (future)
into your options file. Never put a search string in your options file. It is applied to all searches, so can mess up the results, as you've seen. Remove that line from your options file.

user-493

No idea how it got there but many thanks, all sorted!

Alan

user-2

It usually happens when you have a search string in a command line with
Code:
--prefs-add
. That might be what you want for creating a preset, but otherwise be careful to include only named options with
Code:
--prefs-add

These forums are archived

See this post for further info