@doubleloop Thank you for taking the time to post this. I’ve got a first draft of a pull request to address this available here. Right now it says “You have less than one credit remaining”, open to suggestions.
Re: the question about wording / threshold value for the credits - I wonder if it’s possible to only show the message when you don’t have enough credits for the current track. Reusing whichever logic figures out that the track play should be limited to 45 seconds? And the message might say e.g. ‘You don’t have enough credits to play the current track in full’.
Just thinking some might misconstrue it as a nag to pump more money in, even if they were only listening to their already owned tracks, say.
Anways, works for me as is, thanks for looking at it!
Totally agree with these sentiments. I will do some more digging and see if I can show it only in those situations. That would definitely be ideal! Thank you for the feedback
Per @doubleloop’s suggestions, I’ve updated my implementation to use the same check that the system uses to determine if the user is previewing the track (preview === true), and changed the wording to:
You don’t have enough credits to play the current track in full
The solution turned out to be simpler than I’d thought it would be. Cheers!