Skip to Content
It is currently March 20th, 2023, 1:12 pm

All times are UTC - 6 hours [ DST ]




 [ 3 posts ] 
Author Message
PostPosted: October 27th, 2020, 9:43 am 
Offline
Super User
Super User

Joined: August 18th, 2005, 10:25 am
Posts: 1329
Running SAM 4.9.6 and Firebird/HTML in windows 7.

top10requests on playing refreshes automatically. However, top10requests on playlistA only refreshes when I click Generate Playlist manually. Any way to cause top10requests on playlistA to refresh automatically, as it does in playing?


Top
 Profile  
 
PostPosted: October 27th, 2020, 8:26 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
Simple answer: No.

That's not how these templates are meant to be used. You could recreate all your playlist files whenever a track changes, but that would require you to build and upload all 27 files each time a track changes. Depending on your internet connection, load on your computer and duration of your track, the track might be over before SAM finished building and uploading all 27 files. All new updates (the playing page, as well as 27 new playlist files for the next track) will be added to the bottom of that queue and only uploaded after the first round of updates is finished. This could very well lead to your upload queue growing infinitely.

Therefore, I would strongly suggest NOT moving the playlist files to the generate on track change section.
Instead just hit the generate playlist button manually every once and a while.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
 
PostPosted: October 28th, 2020, 7:34 am 
Offline
SVS Member
SVS Member

Joined: May 8th, 2004, 9:00 am
Posts: 10572
Location: Denver, CO
...or if you desperately need that functionality, switch to php, which dynamically refreshes the page every time the page is opened.

_________________
- Rob Oyler, SVS
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
 [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group