get-iplayer / get_iplayer

A utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds
https://github.com/get-iplayer/get_iplayer/wiki
GNU General Public License v3.0
2.13k stars 229 forks source link

Can't download BBC Sounds programme when setting the download directory #460

Closed holygamer closed 7 months ago

holygamer commented 7 months ago

Do not file a bug report if you are using get_iplayer outside the UK. If you do, your report will be ignored.

Do not file a bug report if you are using get_iplayer with a VPN or proxy from any location, including the UK. If you do, your report will be ignored.

Search the repository (search field at top left) to see if a report already exists for the bug in the issue tracker. Do not create a duplicate report. Duplicate reports will be ignored.

Review recent open and closed entries in the issue tracker to see if a report already exists for the bug. Do not create a duplicate report. Duplicate reports will be ignored.

Ensure that you are using get_iplayer 3.35 or higher. If not, your report will be ignored.

Identify the operating system and version where get_iplayer demonstrates the bug

Windows 7

Provide a clear and concise description of the bug. Do not paste get_iplayer output or screenshots into the field below. If you do, your report will be ignored.

I tried the command to create a log but no log was created.

I can download a BBC Sounds programme when doing this: get_iplayer https://www.bbc.co.uk/programmes/m001v3z4

I then try setting the same as the above but also adding a download directory like this:

get_iplayer https://www.bbc.co.uk/programmes/m001v3z4 --output “L:/Podcasts/The Retro Hour Podcast" But it gives this error:

Episodes:
Sliced Bread Presents - Toast - Sunny Delight, BBC Radio 4, m001v3z4
INFO: 1 total programmes

INFO: Processing radio: 'Sliced Bread Presents - Toast - Sunny Delight (m001v3z4
)'
INFO: Downloading radio: 'Sliced Bread Presents - Toast - Sunny Delight (m001v3z
4) [podcast]'
ERROR: Could not create dir 'C:\Users\Dave\“L:\Podcasts\The': mkdir C:\User
s\Dave\“L:\: Invalid argument; The filename, directory name, or volume labe
l syntax is incorrect at C:\Program Files\get_iplayer\get_iplayer.pl line 3463.

What am I doing wrong?

Provide the PID or URL of the programme you are attempting to download, if applicable. Provide the PID or URL for only one programme.

https://www.bbc.co.uk/programmes/m001v3z4

Provide the complete get_iplayer command line that demonstrates the bug. Do not truncate or excerpt the command. If you do, your report will be ignored. If you are using the Web PVR, list the steps necessary to reproduce the bug, in as much detail as possible.

get_iplayer 3.35.0-MSWin32-x64 Copyright (C) 2008-2010 Phil Lewis, 2010- get_iplayer contributors 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: 0 matching programmes get_iplayer 3.35.0-MSWin32-x64 Copyright (C) 2008-2010 Phil Lewis, 2010- get_iplayer contributors 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.

Usage ( Also see https://github.com/get-iplayer/get_iplayer/wiki/documentation ) : List All Programmes: get_iplayer [--type=] ".*" Search Programmes: get_iplayer [--type=] Record Programmes by Search: get_iplayer [--type=] --get Record Programmes by Index: get_iplayer --get Record Programmes by URL: get_iplayer "" Record Programmes by PID: get_iplayer --pid=

Update get_iplayer cache: get_iplayer --refresh [--type=]

Basic Help: get_iplayer --basic-help Advanced Help: get_iplayer --long-help

Search Options: --available-since Limit search to programmes that have become available in the last hours --category Narrow search to matched ca tegories (comma-separated regex list). Defaults to substring match. Only works with --history. --channel Narrow search to matched ch annel(s) (comma-separated regex list). Defaults to substring match. --exclude Narrow search to exclude ma tched programme names (comma-separated regex list). Defaults to substring match . --exclude-category Narrow search to exclude ma tched categories (comma-separated regex list). Defaults to substring match. On ly works with --history. --exclude-channel Narrow search to exclude ma tched channel(s) (comma-separated regex list). Defaults to substring match. --fields ,,... Searches only in the specif ied fields. The fields are concatenated with spaces in the order specified and t he search term is applied to the resulting string. --long, -l Additionally search in prog ramme descriptions and episode names (same as --fields=name,episode,desc ) --since Limit search to programmes added to the cache in the last hours --type ,,... Only search in these types of programmes: tv,radio,all (tv is default)

Display Options: --help, -h Intermediate help text --helpbasic, --usage Basic help text --helplong Advanced help text --info, -i Show full programme metadat a and availability of streams and subtitles (max 40 matches) --long, -l Show extended programme inf o --terse Only show terse programme i nfo (does not affect searching) --tree Display programme listings in a tree view

Recording Options: --get, -g Start recording matching pr ogrammes. Search terms required. --pid ,,... Record arbitrary PIDs that do not necessarily appear in the index. --proxy, -p Web proxy URL, e.g., http:/ /username:password@server:port or http://server:port. Value of http_proxy envir onment variable (if present) will be used unless --proxy is specified. Used for both HTTP and HTTPS. Overridden by --no-proxy. --quality ,,... TV and radio recording qual ity preference. See --tv-quality and --radio-quality for available values and d efaults. Default: default for programme type. --radio-quality ,,... Radio recording quality pre ference (overrides --quality): high,std,med,low,default (Aliases: 320k,128k,96k, 48k). Comma-delimited list in descending order of preference. Default: high,std, med,low. --tv-quality ,,... TV recording quality prefer ence (overrides --quality): fhd,hd,sd,web,mobile,default (Aliases: 1080p,720p,54 0p,396p,288p). Comma-delimited list in descending order of preference. Default: hd,sd,web,mobile --url ,,... Record the PIDs contained i n the specified iPlayer episode URLs. Alias for --pid.

Output Options: --output, -o

Recording output directory --raw Don't remux or change the r ecording in any way. Saves output file in native container format (HLS->MPEG-TS , DASH->MP4) --subtitles Download subtitles into srt /SubRip format if available and supported

PVR Options: --pvr Runs the PVR using all save d PVR searches (intended to be run periodically, e.g., from cron or Task Manager ). The list can be limited by adding a regex to the command. Synonyms: --pvrrun, --pvr-run --pvr-add Save the named PVR search w ith the specified search terms. Search terms required unless --pid specified. Sy nonyms: --pvradd --pvr-del Remove the named search fro m the PVR searches. Synonyms: --pvrdel --pvr-exclude Exclude the PVR searches to run by search name (comma-separated regex list). Defaults to substring match. S ynonyms: --pvrexclude --pvr-list Show the PVR search list. S ynonyms: --pvrlist --pvr-queue Add currently matched progr ammes to queue for later one-off recording using the --pvr option. Search terms required unless --pid specified. Synonyms: --pvrqueue --pvr-scheduler Runs the PVR using all save d PVR searches every . Synonyms: --pvrscheduler --pvr-series Create PVR search for each unique series name in search results. Search terms required. Synonyms: --pvrseri es --pvr-single Runs a named PVR search. Sy nonyms: --pvrsingle

Config Options: --prefs-add Add/Change specified saved user or preset options --prefs-clear Remove ALL saved user or preset options --prefs-del Remove specified saved user or preset options --prefs-show Show saved user or preset o ptions --refresh Refresh cache

External Program Options: --atomicparsley Location of AtomicParsley b inary --ffmpeg Location of ffmpeg binary. Assumed to be ffmpeg 3.0 or higher unless --ffmpeg-obsolete is specified.

C:\Users\Dave>get_iplayer https://www.bbc.co.uk/programmes/m001v3z4 --output "L: /Podcasts/The Retro Hour Podcast" --verbose > log.txt 2>&1 get_iplayer 3.35.0-MSWin32-x64 Copyright (C) 2008-2010 Phil Lewis, 2010- get_iplayer contributors 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.

Episodes: Sliced Bread Presents - Toast - Sunny Delight, BBC Radio 4, m001v3z4 INFO: 1 total programmes

INFO: Processing radio: 'Sliced Bread Presents - Toast - Sunny Delight (m001v3z4 )' INFO: Downloading radio: 'Sliced Bread Presents - Toast - Sunny Delight (m001v3z 4) [podcast]' ERROR: Could not create dir 'C:\Users\Dave\“L:\Podcasts\The': mkdir C:\User s\Dave\“L:\: Invalid argument; The filename, directory name, or volume labe l syntax is incorrect at C:\Program Files\get_iplayer\get_iplayer.pl line 3463.

Drag your verbose log file into the field below to create an attachment. Your verbose log file must be added as an attachment. Do not paste its contents into the field below. If you do, your report will be ignored. You may enter a URL linking to your verbose log file on a pastebin site. If the bug prevents get_iplayer from running, enter "N/A" in the field below. If you enter any other text in the field below, your report will be ignored.

log.txt

If you are using the Web PVR, provide your web browser name and version. This information typically can be found from the application menu via Chrome/Firefox/Safari->About... (macOS) or Help->About... (Linux/Windows)

No response