ScreenShot

johnaaronrose
Posts: 22
Joined: Saturday 21st July 2018 12:13pm
Location: Wolverhampton

Re: ScreenShot

Post by johnaaronrose » Tuesday 23rd June 2020 4:17pm

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.
John

johnaaronrose
Posts: 22
Joined: Saturday 21st July 2018 12:13pm
Location: Wolverhampton

Re: ScreenShot

Post by johnaaronrose » Friday 26th June 2020 3:47pm

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.
John

User avatar
stevedee
Posts: 220
Joined: Monday 20th March 2017 6:06pm

Re: ScreenShot

Post by stevedee » Friday 26th June 2020 6:34pm

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.

johnaaronrose
Posts: 22
Joined: Saturday 21st July 2018 12:13pm
Location: Wolverhampton

Re: ScreenShot

Post by johnaaronrose » Friday 26th June 2020 7:14pm

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.
John

johnaaronrose
Posts: 22
Joined: Saturday 21st July 2018 12:13pm
Location: Wolverhampton

Re: ScreenShot

Post by johnaaronrose » Sunday 28th June 2020 6:52am

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?
John

johnaaronrose
Posts: 22
Joined: Saturday 21st July 2018 12:13pm
Location: Wolverhampton

Re: ScreenShot

Post by johnaaronrose » Thursday 02nd July 2020 4:13pm

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.
Attachments
iRecorder.tar.gz
(30.65 KiB) Downloaded 52 times
iRecorder.tar.gz
(30.65 KiB) Downloaded 59 times
John

User avatar
cogier
Site Admin
Posts: 517
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: ScreenShot

Post by cogier » Friday 03rd July 2020 2:02pm

Sorry John but I rebuilt my computer and I can't get get_iplayer to work any more.

johnaaronrose
Posts: 22
Joined: Saturday 21st July 2018 12:13pm
Location: Wolverhampton

Re: ScreenShot

Post by johnaaronrose » Friday 03rd July 2020 3:41pm

Charlie,
I know that sinking feeling when something has gone disastrously wrong.
John

Post Reply