Moode Forum
Direct URL for Cover View? - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Direct URL for Cover View? (/showthread.php?tid=2675)



Direct URL for Cover View? - divlamir - 06-18-2020

I was wondering is there a way to open directly the cover view / screensaver page so I can show the currently playing cover art on a monitor. If so what is the URL I need? If not, any hack / workaround? BTW still on moOde v.6.4.2


RE: Direct URL for Cover View? - divlamir - 06-18-2020

Alternatively, can I set the timeout value to zero? What file should I edit, where is it persisted?

Edit1:
I traced it down to /var/local/www/db/moode-sqlite3.db and tried:

Code:
UPDATE cfg_system SET value = "0" WHERE param = "scnsaver_timeout";

I tried a few different values -- 0, 1, 10, doesn't seem to have the desired effect.

Edit2:
Well, setting it to 10 does have an effect but it takes still like 15-20 seconds to make the switch


RE: Direct URL for Cover View? - divlamir - 06-20-2020

I came back to this problem today and I found a way around it. Adding

Code:
screenSaver('1');
to the end of the jQuery(document).ready() call in /var/www/js/scripts-panels.js seems to work -- chromium opens directly in screen saver view. Prone to break on update but none is coming for the 6.4 series.