

I have run a quick check: performed an HTTP GET request to sort items in a random order: GET /requests/status.xml?command=pl_sort&id=0&val=random The valid val parameter values may be found in the vlc_sort_key_from_string() function: vlc/playlist.c at f32f289264fd4a08c8b5f04d8395ea78f358f291 Please, note that the vlc_sort_key_from_string() function validates the provided val parameter value. Return luaL_error( L, "Invalid search key." ) Int i_mode = vlc_sort_key_from_string( luaL_checkstring( L, 1 ) )

videolan/vlc: /* allow setting the different sort keys */.It seems that the «Invalid search key» error is detected by the following piece of source code: vlc/playlist.c at f32f289264fd4a08c8b5f04d8395ea78f358f291 If id=0 then items will be sorted in normal order, if id=1 they will be

videolan/vlc: > sort playlist using sort mode and order :.It seems that, currently, the following documentation sources are outdated: HTTP interface: Sort playlist items Analysis Let's consider VLC media player 3.0.13-8-g41878ff4f2 as the current version.
