Random Album software randomly selects and plays an album from your personal music collection.
The Random Album script is essentially a playlist that plays a random album from your collection. When it reaches the end of the album, it will automatically load a new one in the playlist. The script also offers the option to play a random artist, which can be configured in the settings.
To function properly, the script accesses the database. I have only tested it with MySQL so far. Based on my understanding, the album mode should work with SQLite, but not the artist mode.
New improvements have been made in this release. The script is now designed to work with Amarok 1.4.3 and above. For earlier versions, the 0.2 version is recommended. Additionally, the "tags" table in the database now contains the path of a file below a given "device" (defined in table "devices"). The script now handles that correctly using KURL.
However, there is one known issue with the script. No attempt is made to check if the files actually exist, which could be problematic. Unfortunately, there doesn't seem to be a method with KURL to address this issue, and the "unicode" function refuses to take a QString. As such, I can't convert things to use os.path.isfile().
Overall, the Random Album script provides a useful feature for those who want to play music randomly in Amarok. Though it is not without its limitations, it is a great tool for more personalized listening experiences.
Version 0.5: N/A