New Random Album Extension

I’m looking forward to testing this tomorrow. Thanks for your work. dp

1 Like

An update on my progress.

I achieved local playback and introduced Tailscale as a built in VPN.

It all works. I can and did achieve playback when on mobile data.

2 issues. All relates to the frontend being a PWA (Progressive Web App).

Issue 1 - for background playback I have to change the method of delivery. Latency then creeps up to 5 to 6 seconds. Occasionally longer.

Issue 2 - for 0.5 second latency I cannot achieve background audio playback.

These are the limitations I’ve hit with several projects using PWA frontends.

So for now while I look at options, I’ll do a UI polish and leave this parked for the time being - v1.3.2 should come through soon.

werner@MacMini Applications % tar -xzf ~/Downloads/roon-random-albums.tar.gz

tar: /Users/werner/Downloads/roon-random-albums.tar.gz: m: No such file or directory

What can be done about that?

Where do you download the latest version to on the Mac?

I didn’t give it a second thought. I just followed the installation instructions as given in this thread.

1 Like

This is great! Using this on desktop / chrome / macos.

Does it always pull the same number of albums? for me it looks like it’s pulling enough columns to fill horizontally and one more row than will fit vertically. I’m kinda guessing it’s supposed to pull enough to fill the current window size without scrolling?

On installing I didn’t notice at first the “YOU” in the plist file that I needed to replace - didn’t see that in the README, might want to mention it.

thanks!

1 Like

I think it is mentioned :wink:

I will check this. It should be device specific.

I’ll make a few extra tweaks for v1.3.4

Ah yes it is. Maybe my brain saw the centered text as headlines and skipped right past lol

1 Like

I’ll be away from home for almost a month. I think I’ll have lots of things to test when I get back. Good luck and thanks again for your work.

dp.

1 Like

Thanks @Dirk-Pitt :folded_hands:

Unless Roon update/add to their API I’m limited in what I’d like to achieve. I may look a folding some existing extensions into this.

That being said, @Stephen has released an extension recently and maybe he has plans to update the API.

Update - v1.3.5

I usually just lurk here, but I just had to say it: I really love this extension! Even though the Roon app can do something similar (sort of), this kind of “quick” selection is exactly what I need to browse through my collection (over 15,000 albums) every now and then :smiley:

Thank you so much for this!

4 Likes

Thanks @Basti0815 :folded_hands:

I’m adding (in hope it works) a dedicated way to view albums by labels. First attempt confirms Roon has no interest in Labels so I’m having to do additional work.

Thankfully, the inbuilt share card function shows labels and I can adapt this.

Update: working


I’ll work on logos later. Need to ensure it works on more than just these three.

Progress with this will be slow.

Easiest option for now labels is tags.

Musicbrainz is a 1 req/second. So the test I have with 1115 albums would take ~18mins. Scraping Qobuz failed to correctly identify albums under the 3 test labels.

Roon API doesn’t expose the libraries metadata I need here. A huge limitation that halts progress.

I’ll test a build with musicbrainz to see how painfully slow it is.

Just a thought, wouldn’t smart playlist solve this?

Yes with a lot of work by the user to create a smart playlist per label.

My library has 100’s of labels.

if Roon exposed labels on their API and an extension would be a quick solution.

even setting tags like I have for my tests would be equally labour intensive for a user.

I like challenges and I have a few hours spare today.

I’ve not added my whole local library and Qobuz.

It is slow. Record labels logos should populate through during/after the scan.

1 Like