[Fixed in #1675] B1674 EA has broken Roon API

Hello @vova

My extension has been reported by several as not working.

I have fully replicated and it appears being on B1674 has broken the Roon API ability for extensions to access Roon.

I have checked with the Apple TV app, TV:Remote and that doesn’t work either.

@R_102 are you able to confirm you have issues with your app?

@ben are you able to look at this?

I’ve looked at the Roon logs and see no traces :man_shrugging:

If I set an album/track to play within Roon using Roon remote and then open my extension I can see the track playing, control player transport, skip, back, play/pause and volume. But I cannot browse Roon’s library.

I’ve moved back to production and my extension works again.

TV:Remote still doesn’t :thinking:

As someone else who uses your extension, I feel for you and other extension developers.

Hopefully Roon will look at this and fix it :crossed_fingers:

@MusicD Where can I get the extension so I can reproduce this?

TV:Remote works for me on the current prod build.

It’s only impacting the latest EA build that was released today

On the Apple TV Roon:Remote, Now Playing works for me and I can start playing from there, and the Zones tab works as well, but everything on the Browse tab fails.

It does feels like the issue is on browsing end.

I have another extension I am testing at the moment and that still works to add music to the queue, but it does not do any browsing.

Here you go

@ben please see GitHub - meltface-80/MusicD-Remote: MusicD Remote - a companion for Roon · GitHub

FYI that I see this in my Roon server log when viewing an album in the extension UI:

07/14 16:33:36 Trace: [roonapi] [apiclient 192.168.205.2:38468] GOT com.roonlabs.browse:1/browse {"hierarchy":"albums","pop_all":true,"multi_session_key":"rra_s9"} 
07/14 16:33:36 Trace: [music/query] performing album query 
07/14 16:33:36 Critical: scx: System.ArgumentNullException: shared-query acquire must be attributed to a connection owner (Parameter 'owner') 
   at Sooloos.Broker.Query`3._AttributeTo(Object owner) 
   at Sooloos.Broker.Query`3.AttributeCreatingRef(Object owner) 
   at Sooloos.Broker.Music.LibraryApi._SharedOrNew[CONCRETEDATATYPE,DATATYPE](Byte[] sharekey, Object owner, Func`1 create) 
   at Sooloos.Broker.Music.LibraryApi._FinishQuery[CONCRETEDATATYPE,DATATYPE](Func`1 makecriteria, ResultCallback`1 cb_result, ClientContext clientcx, IEqualityComparer`1 eq, Byte[] sharekey) 
   at Sooloos.Broker.Music.LibraryApi.<>c__DisplayClass87_0.<AlbumQuery>b__0(ClientContext clientcx) 
   at Sooloos.SynchronizationContextThread._Dispatch(SendOrPostWrapper& ret) 

Edit: reverting to the July 1 EA build 1670 resolves the issue for me.

I’ve added extra logging to a test build of my extension and will see what’s produced when working on latest Roon production build.

Then again on EA1674

Thank you :slight_smile:

I believe I understand the problem, and am working on a fix now.

I’m having the same problem with @MusicD’s extension as well.

Hi, all! We’ve released a fix for this in the latest #1675 version. Could please anyone verify that it worked?

Thanks!


Ivan

Hi @ivan

Sure, I’ll just make a backup and move to EA :+1:

@ivan @ben

Fixed :+1:

My extension is fully working again compared to EA1674.

Thank you Team Roon for a swift fix.

Hi @ivan I just updated and will hopefully save @MusicD the time and effort.

The update has fixed the problem for me thanks

Apparently I was just too slow :flushed_face:

You gotta keep up Mike. I’m busy between three CC sessions, 2 forums, backups, uninstalls, installs and restores.

Oh, and log reviews.

:hot_face: