INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: mattkhan on January 01, 2024, 12:34:13 pm

Title: When do the browse ids change?
Post by: mattkhan on January 01, 2024, 12:34:13 pm
There's no such thing as an immutable artist id or album id in Media Center.

The browse tree gives different ids each run.
referring to MCWS/v1/Browse/Children

what does "each run" mean here?

each time MC is started?
whenever the underlying content changes?

context = to what extent is it safe to cache such values?
Title: Re: When do the browse ids change?
Post by: Hendrik on January 01, 2024, 01:07:56 pm
MC restarts invalidate them, and they are repopulated lazily, eg. it depends on the order stuff is accessed in.

I don't believe they get cleared mid-run.
Title: Re: When do the browse ids change?
Post by: mattkhan on January 01, 2024, 01:54:38 pm
Ok thanks

Theoretically I could cache these values then if uptime was available, it doesn't seem to be though. Can it be added to /Alive? Though that still wouldn't help if new content were added. Probably the higher level nodes could.be cached but not the actual content