solved Play Counts - Stream Counts

Ken Rich
Ken Rich
@ken-rich
3 years ago
926 posts
It seems like there is an algorithm designed to only increment the counter once per unique IP but not on replays from the same IP (or perhaps session cookie).

I get complaints from artists who think the counter is broken (stuck) and I would prefer to have all plays counted regardless of IP or session cookie.

Is there a way for me to override this algorithm and if so where would I find that? I am using the Midnight Player - if that makes a difference.


--

Ken Rich
indiegospel.net

updated by @ken-rich: 11/04/21 01:00:35PM
paul
@paul
3 years ago
4,332 posts
Jamroom is designed so that user streams, ratings, votes etc. only count once so as to discourage 'gaming', as such. However, Jamroom is very flexible so it may be possible to override this feature without too much difficulty, possibly with a custom module. I'll look into and let you know.


--
Paul Asher - JR Developer and System Import Specialist
Ken Rich
Ken Rich
@ken-rich
3 years ago
926 posts
OK - thanks Paul I appreciate it...


--

Ken Rich
indiegospel.net
paul
@paul
3 years ago
4,332 posts
Hi Ken - Get the latest beta Core module from the beta channel, version 6.5.11b4
This includes an 'Advanced Config Key' to ignore checking of IPs when streaming, so ALL plays are counted.
The key is 'jrCore_disable_counter_ip_check' and its value is a comma seperated list of modules it is to affect, so just 'jrAudio' for audio streams, or 'jrAudio,jrVideo' for audio and video streams, say.
Use the Core=>Tools=>Advance Config tool to set this up.
hth


--
Paul Asher - JR Developer and System Import Specialist
Ken Rich
Ken Rich
@ken-rich
3 years ago
926 posts
Cool - thanks very much...


--

Ken Rich
indiegospel.net
Ken Rich
Ken Rich
@ken-rich
3 years ago
926 posts
I installed the beta core and put in the values you gave. I have confirmed with testing that it works on my site.
I put in jrAudio,jrVideo and tested both. They do increment now as expected.
Thanks very much.


--

Ken Rich
indiegospel.net
paul
@paul
3 years ago
4,332 posts
Glad its all ok. Thanks for letting us know.


--
Paul Asher - JR Developer and System Import Specialist