Configure random album list refresh

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Configure random album list refresh

Postby demodulated » Thu Jul 23, 2020 1:14 pm

The default page shown when a user logs in is an automatically-refreshing list of random albums. In my opinion this has two problems:
  1. The delay between refreshes may be too frequent or infrequent for the user to choose an album
  2. Leaving this page open prevents the server's hard drive from going to sleep
I request that the refresh rate be configurable in the following ways:
  • Let the administrator configure a default refresh rate for all users, including forbidding automatic refresh of random albums
  • Let the user configure a default refresh rate for their own random album list, omitting any administrator restrictions
  • In addition to the above, make the default album list page something other than random to avoid unnecessary load on the server hard drive
Does anyone else have any thoughts on this proposal?
demodulated
 
Posts: 9
Joined: Wed Jan 08, 2014 3:05 pm

Re: Configure random album list refresh

Postby 3Dscrewer » Mon Sep 14, 2020 12:36 pm

For Random, it is only showing random album as long the browser is open, leaving the page it is stopping.

using settings -> Personal you can choose a couple of start pages, my start page is showing 40 new albums by default, with next button, without refreh. For smaller collections it might be usefull to choose all, where 40 Albums are shown with a next button. To go back, you have to use the browser back .... having more than 20,000 Albums it is not very useful ;-)
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: Configure random album list refresh

Postby bol » Sun Feb 07, 2021 1:06 pm

I also want to chime in to make the random albums page refresh rate configurable.

It is my most common way to choose what album to listen to, but the fast refresh of the page inhibits this function to be truly useful.

Is there any way to change this behind the scenes, or is this value hard coded in to the source before the software is built? I don't mind digging in to the code, but if its set before the application is built from source makes it impossible to change since Subsonic isn't open source any more.
bol
 
Posts: 4
Joined: Tue Mar 28, 2017 8:10 pm

Re: Configure random album list refresh

Postby acroyear » Sun Feb 07, 2021 4:44 pm

there's a function in that iframe for the albums page called "init()". it is in the last script tag of the album page's iframe.

When on random, it contains "setTimeout(refresh, 10000)" - reloading the page every 10 seconds. When on a non-random list, the function is empty.

Not sure what you can do with that info.

There are some extensions (like Tampermonkey) that allow you to run additional javascript, so potentially you could replace the init function that way. While I could probably figure it out, I'm not really a big user of the main UI anymore - only for ID3 fixes and triggering re-scans, so I usually set mine to "recently added" in order to make sure the scan found the new or moved files correctly.

I use my own apps for everything else.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Configure random album list refresh

Postby darkugh » Tue Mar 23, 2021 8:11 am

I have a large collection of albums and love the random page. Its how I normally choose music. My problem is that it doesn't seem as random as I would like. Some albums seem to come up very often. Can this be tuned slightly. Perhaps the random seed needs to be set differently or a different algorithm used. Regardless of that I love subsonic - basically perfect for what I need.
darkugh
 
Posts: 1
Joined: Wed Jun 05, 2019 10:44 pm

Re: Configure random album list refresh

Postby bol » Fri Dec 03, 2021 8:42 pm

I'm adding to the choir and would also like to se a configurable amount of time of the random-page.
bol
 
Posts: 4
Joined: Tue Mar 28, 2017 8:10 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 9 guests