From klynchk at gmail.com  Tue Aug  4 15:16:20 2020
From: klynchk at gmail.com (Kevin Lynch)
Date: Tue, 4 Aug 2020 20:16:20 +0100
Subject: ubuntu snap permission problem
Message-ID: <CA+L9MauygPTO2E2QorDiqX9FjG9-AfVQHxfsSJko-_yap4oQ4w@mail.gmail.com>

I use an oracle virtualbox CLI, I've upgraded it to focal fossa,
consequently I'm installing via snap.

If I set the default directory to save file as unix my home directory
all works well. However when I specify to write my media to a folder
that is a shared folder from windows.
kevin at focalfossa:/media/sf_iPlayer_Recordings$ mount | grep -i iplayer
/var/lib/snapd/snaps/get-iplayer_250.snap on /snap/get-iplayer/250
type squashfs (ro,nodev,relatime,x-gdu.hide)
iPlayer_Recordings on /media/sf_iPlayer_Recordings type vboxsf
(rw,nodev,relatime,iocharset=utf8,uid=0,gid=998,dmode=0770,fmode=0770,tag=VBoxAutomounter)
nsfs on /run/snapd/ns/get-iplayer.mnt type nsfs (rw)
kevin at focalfossa:/media/sf_iPlayer_Recordings$ get_iplayer --pid m000lhwf -o .
get_iplayer v3.26, 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.


Episodes:
Newsnight - 03/08/2020, BBC Two, m000lhwf
INFO: 1 total programmes

WARNING: A UK TV licence is required to access BBC iPlayer TV content legally
INFO: Downloading tv: 'Newsnight - 87. 03/08/2020 (m000lhwf) [original]'
ERROR: Cannot open (write):
/media/sf_iPlayer_Recordings/Newsnight_-_87._2020-08-03_m000lhwf_original.video.ts
kevin at focalfossa:/media/sf_iPlayer_Recordings$


What is the best method to grant my get_iplayer access to the external
filesystem?

TIA

Kevin


From news at macfh.co.uk  Tue Aug  4 16:35:28 2020
From: news at macfh.co.uk (MacFH - C E Macfarlane - News)
Date: Tue, 4 Aug 2020 21:35:28 +0100
Subject: GiP Errors Tonight
Message-ID: <6087667e-f31a-e045-00c5-e3d2e5740517@macfh.co.uk>

Starting this evening, I'm getting the following errors on all attempts 
to download HiDef radio downloads using GetIPlayer v3.23:

ERROR: Failed to download URL (3/3): 
https://cp143012-i.akamaihd.net/i/prod_af_mp4_aaclc_128/iplayerstream/p08l7cgq_m000ldbs_cUnknown_1596528177531.mp4/master.m3u8?hdnea=st=1596569237~exp=1596590837~acl=/*p08l7cgq_m000ldbs_cUnknown_1596528177531.mp4*~hmac=1a62dbee88eb7a62bfe51df5ec55705349eea484d3f369744fa2684aeffbbdc8
ERROR: Response: 500 Can't connect to cp143012-i.akamaihd.net:443
ERROR: Ignore this error if programme download is successful

I presume this particular server is down, because ultimately GiP seems 
to find another one, and the download succeeds, although somewhat 
slowly, but the latter may be because I seem to be suffering very slow 
speeds just now ...

Response time (latency): 839 ms, Download speed: 0.7 Mbps, Upload speed: 
1.5 Mbps

... but is this the cause of the above error as well?  Anyone else 
having this problem?


From klynchk at gmail.com  Tue Aug  4 22:38:23 2020
From: klynchk at gmail.com (Kevin Lynch)
Date: Wed, 5 Aug 2020 03:38:23 +0100
Subject: ubuntu snap permission problem
In-Reply-To: <CA+L9MauygPTO2E2QorDiqX9FjG9-AfVQHxfsSJko-_yap4oQ4w@mail.gmail.com>
References: <CA+L9MauygPTO2E2QorDiqX9FjG9-AfVQHxfsSJko-_yap4oQ4w@mail.gmail.com>
Message-ID: <CA+L9MavhmCT7GjbmX9776BUAgKOxVgiv6=71G-d3FyXskLu9hw@mail.gmail.com>

from https://askubuntu.com/questions/964377/snap-application-doesnt-see-files-from-another-partition

this command did the trick to enable the environment to access the
/media hierarchy

sudo snap connect get-iplayer:removable-media


i think this is a bit of a hack - is there a better way of doing this?

Should the snap installer do this step?

On Tue, 4 Aug 2020 at 20:16, Kevin Lynch <klynchk at gmail.com> wrote:
>
> I use an oracle virtualbox CLI, I've upgraded it to focal fossa,
> consequently I'm installing via snap.
>
> If I set the default directory to save file as unix my home directory
> all works well. However when I specify to write my media to a folder
> that is a shared folder from windows.
> kevin at focalfossa:/media/sf_iPlayer_Recordings$ mount | grep -i iplayer
> /var/lib/snapd/snaps/get-iplayer_250.snap on /snap/get-iplayer/250
> type squashfs (ro,nodev,relatime,x-gdu.hide)
> iPlayer_Recordings on /media/sf_iPlayer_Recordings type vboxsf
> (rw,nodev,relatime,iocharset=utf8,uid=0,gid=998,dmode=0770,fmode=0770,tag=VBoxAutomounter)
> nsfs on /run/snapd/ns/get-iplayer.mnt type nsfs (rw)
> kevin at focalfossa:/media/sf_iPlayer_Recordings$ get_iplayer --pid m000lhwf -o .
> get_iplayer v3.26, 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.
>
>
> Episodes:
> Newsnight - 03/08/2020, BBC Two, m000lhwf
> INFO: 1 total programmes
>
> WARNING: A UK TV licence is required to access BBC iPlayer TV content legally
> INFO: Downloading tv: 'Newsnight - 87. 03/08/2020 (m000lhwf) [original]'
> ERROR: Cannot open (write):
> /media/sf_iPlayer_Recordings/Newsnight_-_87._2020-08-03_m000lhwf_original.video.ts
> kevin at focalfossa:/media/sf_iPlayer_Recordings$
>
>
> What is the best method to grant my get_iplayer access to the external
> filesystem?
>
> TIA
>
> Kevin


