FishGuy876(16:13:12)
Which in theory will count all songs in the DB that are unlocked, and then the randomizxer should pick random id's until it hits the page count
FishGuy876(16:12:47)
I changed the one line to this: max_songs = m.Song.objects.filter(m.Song.unlocked_condition()).count()
FishGuy876(16:11:55)
Its working, but i think my copy of the Random page is cached
This site is non-profit (though donations are welcome to help pay the hosting/bandwidth fees, click the Donate button to learn about how it works). All music served by this radio station is either in the public domain, freely available on the internet (as MP3, or other original music format) or is played on a 'fair use' basis.
If you find a song that isn't in the public domain, or you wrote a piece of music that you would like removed from the site, please contact one of our team members who will be happy to help. Enjoy the music!