Feels like I’m having a run. Thus, today there is an update for the Cloud Downloader. This time the new version number is 3.0 – and did you get it? We have a round version number. And this means…
…tday there is not only bug fixes, but also new features. What exactly has changed, I want to summarize in the following. But first have a look at some screenshots!
- From now on the search screen will show you the filesize (in megabyte) of all tracks together. Moreover it shows also the size of the selected songs. Thus, you can estimate before downloading, if your download list will fit on your favorite USB drive.
- The actual transmission rate is displayed during the download.
- The remaining time and the remaining amount of data to be downloaded is shown during the download.
- To shorten the waiting time during the download, randomly selected cat GIFs will be played. Everyone likes cats, right?
- The search function now takes arbitrarily large playlists and profiles. Previously, the search was limited to round about 200 songs per link. Now there is no limit anylonger.
I hope you’ll have much fun with the new version and as always I appreciate your feedback and suggestions for improvements. The download of the new version can be found (as usual) by clicking the following link:
Barely a few days after the release of version 2.9.6, a new version of the Cloud Downloader is available for download.
In version 2.9.7, there are, as also in the last two updates, no new features but bugfixes.
Since the SoundCloud API has changed a bit in the background, the ID3 tags have not been fully generated. This could be particularly noticed by missing cover art. (Thanks to you all, the diligent commentators, who drew my attention to this bug.)
Anyway. New version, new luck. In Version 2.9.7 now back with ID3 tags and album artwork.
The current version can be found in the main article about the Cloud Downloader at the following link:
The last update of the Cloud Downloader was two weeks ago. Since then I got a lot of feedback from you all by e-mail. So, among other things, two bugs could be identified. Therefore, today there is a new version.
The version 2.9.6 of the Cloud Downloader includes the following changes:
- Previously, when specifying a “/likes” URL only the songs were observed. If a complete playlist was liked, its songs have been disregarded. Now all the songs, even those from “embedded” playlists, are respected.
- The “/playlists” URLs from the profile pages could not be read. This works now.
- The complete code has been revised in order to prevent crashes/errors.
- One, two typographical errors in the GUI have been fixed.
The current version can be found (as always) in the Cloud Downloader’s main article by clicking the following link:
Just a quick status update. Today I released the Cloud Downloader version 2.9.5. As might guess from the version number, the jump from 2.9 to 2.9.5 contains only minor changes.
So there are no new features included in the current release. Therefore I have worked on the stability of the entire application and fixed some bugs.
The current version can be found (as always) in the main blog post about the Cloud Downloader. Just follow the link below.
The following way to reach the wanted result I’ve seen today. I think it is probably the shortest and most elegant way to go. In addition, it works not only for integer values, but also for the string representations of 0 to 1.
So this is the stuff I like to add to my personal “POP”-collection (pearls of programming)…
0 and 1 to true and false
To convert the integers 0 and 1 to boolean, it is sufficient to use the not-operator twice.
var thisIsFalse = !!0; //false var thisIsTrue = !!1; //true
Why it works? Here is a short explanation. 1 is a valid value and thus true. When we write !1 now, then we create a false condition because 1 isn’t false. With a second ! (so !!1) we negate the resulting false and get thus true for the 1. For the 0 it looks the other way out. So 0 corresponds to false. Negate it !0 to get a true. Do it twice !!0 to get true.
“0”- and “1”-Strings to true and false
And what if 0 and 1 are represented as strings, for example if you have to handle bad formatted JSON string? Nothing could be easier. Using the + operator you can cast the strings to int. Then use the not-operator as shown above. So the solution for strings looks like this:
var thisIsFalse = !!+"0"; //false var thisIsTrue = !!+"1"; //true
With three characters from string (with the value “0” or “1”) to Boolean. I think there aren’t much paths to get this effect in a more elegant way. But yes, you live and learn. So do you know a better solution? Then share it with me.