Include both Album Count and Random sortings for the Artists page.
This change also fixes the Artist search feature in Jellyfin, which was broken because of an open issue on Jellyfin [1]. The current workaround is to do the filtering locally after receiving all results from Jellyfin API.
Also, as the Jellyfin API doesn't include a sorting option for AlbumCount, we need to disable pagination when that option is selected, to receive all artists, and run the sorting locally.
Include both
Album Count
andRandom
sortings for the Artists page.This change also fixes the Artist search feature in Jellyfin, which was broken because of an open issue on Jellyfin [1]. The current workaround is to do the filtering locally after receiving all results from Jellyfin API.
Also, as the Jellyfin API doesn't include a sorting option for
AlbumCount
, we need to disable pagination when that option is selected, to receive all artists, and run the sorting locally.[1] Related issue: https://github.com/jellyfin/jellyfin/issues/8222