Working on the direct download feature, it’s not that trivial as I thought. I tried the mplayer and wget function on AmigaOS4 and AROS and was not successful, the MPlayer does not support SSL and the WGet does support SSL but is too old (uses old encryption only). Basically the only system where this is working as it should is MorphOS, the one System where you actually do not need AmiTube because you have two browsers available capable of browsing and watching YouTube directly on the page. This is annoying.
Allso there is a limitation of the command line to be 255 chars long, the URL from YouTube is already longer than that (many GET options), seems MorphOS raised that limit (or it would not work)
So whats my options then.
I could use a shared SSL library like AmiSSL to let AmiTube directly download the stuff from YouTube
I did already the basic work for that top be possible, no change of AmiTube needed for that
AmiSSL only exists for AmigaOS3 and AmigaOS4
No AROS version and no replacement. Questions about it are rudely rejected, because of reasons. No replacement for it, only the standard static-C linklib, does not work in FreePascal atm.
No MorphOS version and no replacement, ok you can just install the 68k Version, so thats good, but MorphOS was never the problem.
Could (again) make a wrapper on my server to download or forward the requests
Works for all systems, download directly from my server with AmiTube
I need to learn more PHP 😉 as far as I understand downloading with AmiTube would be possible but not MPlayer playing directly from it (not tried though)
Again more load and space needed on the Server
just let it like it is, force the AROS and Amiga guys to updated the stuff
will not happen, or there would be a modern Browser or a shared SSL.library on all Platforms available 😉
As I wrote before, It makes not much sense to use AmiTube on NG Amigas because the could in principle just use the original movie files without conversation. I started to work on this a bit.
On the first picture it’s AmiTube in the back with the new Button „Get Original“ (better name needed 😉 ) which opens a new window. There you can select one of the available resolutions () and formats (should print more there about the codecs maybe). Then when an entry is chosen and „Download to HD“ is pressed it invokes wget to actually get the movie directly from YouTube. A classical YouTube downloader then. (I saved it to ram and used MPlayer to see if the file is ok)
The second try was to directly stream the movie from YouTube, that would be even more cool, it first failed because my MPlayer had no SSL build-in, but a new one (1.4) has, so now that works as well.
So I guess that works somehow, I will play around a bit with it, maybe it will make it to next release. Then it would make a lot of sense to release a MorphOS and AmigaOS4 version I guess, as YT downloader.
Maybe you remember when I improved the TProcess implementation for MorphOS using a Chess GUI and an uci chess client. The Author of that chess client contacted me to ask if I could publish the Chess GUI. I did not plan to publish it because it was really just a test, but ok, why not. It also includes the Source (LGPL) and some engines (also the mentioned predateur, which works nicely)
New Release of Free Pascal is done. It’s a bug fix release for 3.2.0 it has also some bug fixes for the Amiga systems, especially structures and functions are checked against official SDKs (especially for MorphOS with its latest SDK Version). For changes that break compatibility you can check official changes document.
I added assumptions to Ask Your Amiga. Assumptions are the way the different meaning of one word are separated from each other in Wolfram alpha. For example if you ask for „Berlin“ it will show you information about the capital of germany, but also shows you a list of other cities (mostly in USA) named Berlin and also other meanings like Berlin as a name or a music band (never heard that before) and so on.
Like on the web page I put these assumptions to at the top of the results to select from a cycle widget.
Download latest AYA at hte AYA Page or use the build-in Update Version
Still trying the TProcess and Pip stuff on MorphOS (I do not want to steal the gdb from Charlie though 😉 ). I remembered, a while before someone told me that he has a shell based chess program for MorphOS compiled Predateur. It uses a rather common command line API (uci). I also found a UCI GUI written in FreePascal the GUI itself is made with fpGUI, but that’s not a big problem. I changed the GUI to MUIClass and try it. It did not work directly on the first try, there are some problems with the TProcess. I have to think about that, how to solve. But with a little bit tweaking it works now. You can play chess nicely. The author of the GUI also has some uci compatible engines written in FreePascal, but they sometimes crash after some moves. But this Predateur one works quite nicely. Disclaimer: I’m very bad at chess, never really played, barely know the rules.
Besides the documentation work I also updated the docker container. I created 4 scripts to compile directly from the docker (without using VNC/lazarus) so you can directly compile in your linux installation, that there is a docker container behind it you barely notice. But it only can compile standard Free Pascal things, no LCL applications (missing pathes to the lcl units, also not easy possible, but without Lazarus make not much sense, I think)
The AROS compilation had a big problem, when you compile without -g option it tries to strip but the strip tool was not installed, so I added some more tools to make it possible to compile without -g (makes the executable much smaller)
On this I updated the lazarus version to the latest version 2.0.12 as well.
If you want to use the newest Version of the docker (with the AROS bugfix) start the „CheckForUpdate.sh“ script if you also want to have the direct compile command download the CrossAmigaLazarus Package.
To be honest I don’t watch much TV, I like playing games much more but sometimes there are nice movies or interesting news, but mostly I’m repelled by the amount of commercials these days.
But nevertheless I have a satellite bowl and it connected to a DVB-S2 card in my Linux server with TVHeadend as TV server which works quite nicely especially together with Kodi. But the Webpage does not work very nicely, the it’s very complicated and the in browser watching of TV program does not work most of the time. So I seldom use it (basically only to program recordings).
In the past there was a nice VLC plugin for it make it very easy to use, sadly it’s not maintained for very long time. VLC moved on and the plugin does not work again, I got it to compile somehow but still no luck still does not work.
A long introduction to what I did now, the TVHeadend have a JSON based API, therefore it was rather easy to write a little program to get all the information from the Server show it in a window and select a channel to stream. And of course as I always do when I start a new program I also make it for Amiga style systems, MorphOS is this case. (but also for Linux 😉 )