netmix / radio-station

Radio Station WordPress Plugin (Open Source)
https://netmix.com
GNU General Public License v3.0
19 stars 14 forks source link

Logged in user sees correct show data, logged out user sees incorrect data #382

Closed astevens93 closed 2 years ago

astevens93 commented 3 years ago

Describe the bug It's been reported to me that logged in users to wp-admin see the correct schedule data, but logged out users see the wrong data.

Screenshots below - Logged out user - 25th Sept 11.23am - shows the show from Friday 25th Sept 8am - 11am on show widget and the Friday shows on schedule page (although blank)

image image

Logged in user 25th Sept 11.23am - shows the correct show and schedule data

image

Expected behavior Both users see same data

Additional context Radio Station pro v2.4.1.5 Radio station Version 2.4.0.3

majick777 commented 3 years ago

@astevens93 Can I check you have AJAX loading of the widgets enabled in your Settings? Logged out users can be served cached pages (on any number of levels from server to platform) so the AJAX widget loading is used to "cachebust" this possibility. Logged in users typically bypass caching, which to me indicates this is likely to be the problem.

astevens93 commented 3 years ago

@majick777 yes both AJAX loading and dynamic loading is enabled. It seems to be working as expected at the moment, but I want to check in on Saturday to see if I get the same, in case there is an issue with the Friday/Saturday (not sure why there would be, but just to check all eventuality)

tonyzeoli commented 2 years ago

@astevens93 @majick777 Is this issue resolved? Just checking to make sure so we can close.

astevens93 commented 2 years ago

Sorry for the delay here I keep forgetting to check on Saturdays! I will check tomorrow to see if this occurs again and let you know

tonyzeoli commented 2 years ago

Sounds good, are you using Shoutcast or Icecast for the stream? Can you rest the player with your streaming URL if you do?

On Fri, Oct 15, 2021 at 9:31 AM astevens93 @.***> wrote:

Sorry for the delay here I keep forgetting to check on Saturdays! I will check tomorrow to see if this occurs again and let you know

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/netmix/radio-station/issues/382#issuecomment-944304485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA65WO4TU5LVYEZBW7C66TTUHAUK5ANCNFSM5EXPBH5Q .

-- Sent from Gmail Mobile

astevens93 commented 2 years ago

Hi both, I can't seem to replicate it this week and I've got the latest version installed - will see if it occurs again, no idea why it happened the first time.

We are using Icecast for the stream though I am just checking with the guy I need to regarding if Metadata is embedded in the stream or not as i can't seem to get it available in the player settings