Page 4 of 4

Re: ScreenShot

Posted: Tuesday 23rd June 2020 4:17pm
by johnaaronrose
Charlie,
have also been working on this. I think your life would be a lot easier if you used the gb.Desktop component. The details of the open windows, their location and size details are all there for the taking. Just find the open window you want and PictureBoxMain.Picture = hWindow.GetScreenshot(). Have alook at the attached.
Thanks for suggestion but no need to use the gb.Desktop component as the SelectWindow app is now working OK. Using the Desktop.Windows property (with that component) returns a list of windows but documentation does not say whether it's sorted in priority order (which is needed to select window on top where user clicks on area of overlapping windows). I also like the idea that current method is consistent with the SelectArea app (both apps' appropriate Form & its Class code becoming part of my StreamRecorder app).
UPDATE
All I got was "Please Try Again Later as BBC iPlayer Servers Not Responding"
and
the image you showed (when I tried to copy that by right clicking it and pasting it, didn't work. The Type Mismatch was an error in my coding, it should have said something like "Connection Error". This is the same problem I have with get-iplayer running in Terminal mode after more than a minute e.g. get-iplayer . (BTW You must key that dot). Stop get-iplayer by use of Ctrl & Z.

Code: Select all

john@JohnPC:~$ get-iplayer .
get_iplayer v3.25, 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.



INFO: Indexing tv programmes (concurrent)

ERROR: Failed to download BBC Alba schedule page (3/3): https://www.bbc.co.uk/schedules/p00fzl67/2020/w26
ERROR: Connection error: SSL connect attempt failed


ERROR: Failed to download BBC Four schedule page (3/3): https://www.bbc.co.uk/schedules/p00fzl6b/2020/w26
ERROR: Connection error: SSL connect attempt failed

^Z
[8]+  Stopped                 get-iplayer .
You can actually see each schedule by using the appropriate URL (e.g. https://www.bbc.co.uk/schedules/p00fzl67/2020/w26) in your browser.

Re: ScreenShot

Posted: Friday 26th June 2020 3:47pm
by johnaaronrose
Charlie,

Could you try running get-iplayer in Terminal?

To do this key "get-iplayer ." as below (BTW You must key that dot). Stop get-iplayer by use of Ctrl & Z.
john@JohnPC:~$ get-iplayer .
get_iplayer v3.25, 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.



INFO: Indexing tv programmes (concurrent)

ERROR: Failed to download BBC Alba schedule page (3/3): https://www.bbc.co.uk/schedules/p00fzl67/2020/w26
ERROR: Connection error: SSL connect attempt failed


ERROR: Failed to download BBC Four schedule page (3/3): https://www.bbc.co.uk/schedules/p00fzl6b/2020/w26
ERROR: Connection error: SSL connect attempt failed

^Z
[8]+ Stopped get-iplayer .
PS You can check the BBC iPlayer Schedule servers (which get-iplayer uses) are operative by using the appropriate URL (e.g. https://www.bbc.co.uk/schedules/p00fzl67/2020/w26) in your browser.

Re: ScreenShot

Posted: Friday 26th June 2020 6:34pm
by stevedee
johnaaronrose wrote:
Friday 26th June 2020 3:47pm
Charlie,

Could you try running get-iplayer in Terminal?

I must confess that I have not been following this thread at all, but just noticed you were asking Charlie to run get-iplayer. If its of any help, I just ran it from the terminal and it lists lots of programs as expected (actually, 8556 programs). The version I'm running is V3.25.

I'm using Peppermint 9 which is based upon Ubuntu 18.04 LTS. If this is of no help, then please disregard.

Re: ScreenShot

Posted: Friday 26th June 2020 7:14pm
by johnaaronrose
Steve,
Thanks for the feedback. I'm using Ubuntu 18.04
Bionic Desktop 64bit. Jon Davies (get-iplayer maintainer) says that it works OK with Ubuntu Focal which he installed in VirtualBox. As I previously said get-iplayer used to work OK but it stopped working I guess about a month or two ago. I have tried it on my 2 Barebones PCs as well as a Laptop, but it fails on all three computers. That's why I suspect that the problem is in my Router or my ISP.

Re: ScreenShot

Posted: Sunday 28th June 2020 6:52am
by johnaaronrose
get-iplayer not working on my 3 computers with Ubuntu Bionic gets ever more mysterious. I've now installed get-iplayer (from SourceForge as version 3.25) on Windows 10 running in VirtualBox. I've also installed it on my RaspberryPi (under Raspbian Buster). get-iplayer then worked OK on both.

Putting on my Sherlock Holmes hat: it can't be the Firewall on my 3 Ubuntu Bionic computers as it works Ok on Windows 10 (in VirtualBox) on my main one. It can't be my ISP as it works on both Windows 10 & Raspbian. So it must be package(s) in Bionic which are not in Raspbian or vice-versa.

I've informed Jon Davies of the situation but no reply as yet. Any ideas?

Re: ScreenShot

Posted: Thursday 02nd July 2020 4:13pm
by johnaaronrose
Charlie,

Got get-iplayer 3.26 working on all computers i.e. Ubuntu Bionic (problem there was I had somehow disabled the Universe Ubuntu repo. When I re-enabled the Ubuntu Universe repo (which caused an update of 2 other packages), it then worked using Jon Davies' ppa) , RaspberryPi with Raspbian Buster (once I used https://packages.hedgerows.org.uk/raspbian stable), Windows10 (in Virtualbox).
I'm now using snap (for get-iplayer) on Ubuntu Bionic & Raspbian Buster. That works fine.
So it looks like iRecorder problem (using get-iplayer) is resolved. Could you check it out for me using Compressed Source attached or the version on Gambas Farm (should be the same)?
PS I'll install Gambas stable on Raspberry Pi and check out iRecorder.

Re: ScreenShot

Posted: Friday 03rd July 2020 2:02pm
by cogier
Sorry John but I rebuilt my computer and I can't get get_iplayer to work any more.

Re: ScreenShot

Posted: Friday 03rd July 2020 3:41pm
by johnaaronrose
Charlie,
I know that sinking feeling when something has gone disastrously wrong.