Page 1 of 1

Java 11 support

PostPosted: Fri Apr 30, 2021 8:06 am
by dutchcomputerkid
Since more and more applications like Paper Minecraft are moving to Java 11, will there be a time when Subsonic wont crash on Java 11?

When other server applications like Paper or similar move to Java 11 that means Subsonic remains broken, as running on Java gives the good old
HTTP ERROR: 503

SERVICE_UNAVAILABLE

RequestURI=/


message.

Any hope for this issue?

Re: Java 11 support

PostPosted: Wed Jul 21, 2021 4:54 pm
by wendigo

Re: Java 11 support

PostPosted: Sun Aug 22, 2021 5:51 pm
by hayesti
I would also value support for Java 11.

Re: Java 11 support

PostPosted: Mon Aug 23, 2021 3:26 am
by Jägs
You should jump ship to Airaonic Advanced https://github.com/airsonic-advanced/airsonic-advanced if you want Java 11:

https://github.com/airsonic/airsonic/pull/1618 (note: this is for Airsonic, but Airsonic Advanced should support it, too, as it is a fork)

It should be fairly straight forward to migrate from Subsonic to Airsonic, since the latter is a simply a fork:

https://airsonic.github.io/docs/migrate/ (again, this is for Airsonic, but it should apply to Airsonic Advanced as well)

Another benefit is that Airsonic Advanced is actually maintained, unlike Subsonic.

Re: Java 11 support

PostPosted: Sat Aug 28, 2021 4:00 pm
by J_T_W
If you're more interested using Subsonic for the backend API rather than the actual player, you might check out Navidrome https://www.navidrome.org/ which is a completely new back-end but built to support the Subsonic API.

Re: Java 11 support

PostPosted: Sun Aug 29, 2021 3:48 am
by Jägs
J_T_W wrote:If you're more interested using Subsonic for the backend API rather than the actual player, you might check out Navidrome https://www.navidrome.org/ which is a completely new back-end but built to support the Subsonic API.


I took a look at Navidrome before I started using Emby for music, and it just wasn't compelling enough for me to switch to that instead of Emby. Primarily, this is because both Emby and Navirdrome are based entirely on tags, not file structure and tags like Subsonic, so if your collection is not tagged correctly, you'll have difficulty navigating it. Since I had to deal with that limitation anyway, I went with Emby as I was already using it for video. Emby also supports the "composer" tag, which Navidrome did not—at least at the time—so that was another reason to go the Emby route.

Navidrome is also still relatively new—though under active development—so many features you may rely upon in Subsonic will not be available in Navidrome.

Still, it is definitely worth keeping an eye on.

Re: Java 11 support

PostPosted: Tue Aug 31, 2021 6:39 pm
by acroyear
the API of navidrome supports index+musicDirectory, so subsonic-API apps will be able to handle it even if their primary UI doesn't. I've tested Subfire 2against it (had to do some updating to handle differences in default coverArt) and found it browsed the folders just fine.

Re: Java 11 support

PostPosted: Thu Sep 02, 2021 1:55 am
by Jägs
Yeah, that's why I was first drawn to Navidrome—because it supported the Subsonic API—and then I could have kept using my go-to music apps. While Navidrome worked fine, it just did not have all of the features I wanted—compared to Subsonic—and since I could no longer navigate by folder, nor could I edit ID3s, like I could in Subsonic, I ultimately made the jump to Emby.

Still, Emby does not support Subsonic API—though I've made this request—and I do miss those dedicated music apps.

Re: Java 11 support

PostPosted: Thu Sep 02, 2021 9:40 am
by hayesti
I've successfully got it running on Java 11. I've written the instructions here: viewtopic.php?f=5&t=18847

Re: Java 11 support

PostPosted: Thu Sep 02, 2021 10:52 pm
by J_T_W
Jägs wrote:...and since I could no longer navigate by folder....


I feel your pain there - others do as well:

https://github.com/navidrome/navidrome/issues/1319
https://github.com/navidrome/navidrome/issues/1309

Developer seems active enough - who know, maybe just a matter of time and $money$ :-)