solved Does not count correctly?

Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hello!
We are irritated a little bit and do not know where with us exactly the mistake could lie.

Example:
http://selfmadeclub. de/mimpulsez/audio/236/ken-torres-i-know-original-version

With this artist stops of the Play with 1, no other ones simply arrive!
Where have we made a mistake?

Thank you very much that you help us.
Stefan
updated by @bandwerkstatt: 03/24/15 07:53:33PM
paul
@paul
9 years ago
4,326 posts
Play counts check the user and his IP address so multiple plays by the same user will not increment the count.

http://selfmadeclub.de/mimpulsez/audio/236 was showing 1 play for me.
I played it, it is now showing 2.
If I play it again, it will still show 2.
hth


--
Paul Asher - JR Developer and System Import Specialist
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hello!
Excuse me, I would like to activate the subject once again.

Now we have belonged once more from our users that the system does not count the "Plays" correctly or not at all. The users were logged in with the test.

One can play quite normally a song, but it stands always 0 Plays there.

For example: http://selfmadeclub.de/uk-projekt/audio/247/i-got-be-your-girl
5 Users Play the Song, 1 give him a feedback but plays 0.

Have we put in the system a little bit wrong?

Many thanks for the taken time and renewed help!
Stefan
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Does somebody differently also have this mystery? :-)

Stefan
brian
@brian
9 years ago
10,148 posts
SelfmadeClub:
Does somebody differently also have this mystery? :-)

Stefan

I'm not aware of any issues with the play counts. Have you customized the template? What template variable are you using for the counts?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
i'm using the elastic template. for the counts i use {$item.audio_file_stream_count|number_format}

the song has 2 Comments, but doesn't have any streams
updated by @bandwerkstatt: 01/26/15 01:35:09PM
brian
@brian
9 years ago
10,148 posts
I just tested here on the demo and you can see it is working:

http://demo.jamroom.net/jrElastic/groove-digger/audio/69/best-of-me

It was at 76 when I loaded it - I played it, reset caches and it went to 77. Note that you don't have to reset caches, but detail pages ARE cached, so you won't see your play until the page "resets" itself based on your cache settings.

So I'm not sure why you would not see that working. Try running an Integrity Check with the "rapair tables" option checked.

You can also empty the following table:

jr_jrcore_count_ip

If you would like to fully reset your tracked play count IP addresses.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Sorry Brian, didn't help.

I have tried around with some browsers. With Internet Explorer and Safari it counts correct. But it definitely don't count anything with the latest Firefox 35.0.1

Greetings, Marco
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
I tried it on your demo too with firefox and it don't counts -.-
paul
@paul
9 years ago
4,326 posts
Yeah - I'm seeing that as well. We'll check it out.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
9 years ago
10,148 posts
SelfmadeClub:
I tried it on your demo too with firefox and it don't counts -.-

It does count. Remember - it does not immediately show you an increased counter - when the detail page item cache expires, the counts will be correct.

I tested with FF here:

http://demo.jamroom.net/jrElastic/groove-digger/audio/69/best-of-me

and see no issues.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
paul:
Yeah - I'm seeing that as well. We'll check it out.
Thanks

Hi Paul!

Hope you understand our Problem and can help?

Brain - thx too!

Stefan
paul
@paul
9 years ago
4,326 posts
Are your caches disabled?
If not, what are they set for?


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
9 years ago
10,148 posts
We can definitely help, but need to be able to replicate it here - so far from what I can see it is working...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
{jrCore_list 	module="jrAudio" 
		search="audio_active = on" 
                order_by="_created numerical_desc" 
                template="songs_row.tpl" 
                pagebreak="10" 
                no_cache="true"}

I think that means the cache is disabled. This is not the detail site. It's a custom listing. otherwise I do not know where to switch it off. you can find it here http://selfmadeclub.de/songs
updated by @bandwerkstatt: 01/29/15 10:11:04AM
douglas
@douglas
9 years ago
2,790 posts
You can turn caching off by going to ACP > Core > Global Config and setting the default cache seconds field to 0. You can also go to ACP > Tools > Developer Tools > Global Config and check the run in developer mode check box and save settings.

Your site may run a little slower but you won't have to wait for the cache timer while developing.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Default cache is already set to 0. Changing to developer mode make no different
updated by @bandwerkstatt: 01/29/15 10:41:16AM
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hello!
Here the "irritating" problem again :-)

We are sorry, we get furthermore the error message of the users that exclusively Firefox "plays" does not count.

It can not lie in the Cache, there with other browsers after update to the side immediately us of the "Play" as counted is correctly indicated!

What do you need to help us?

Many thanks!!!
Stefan
brian
@brian
9 years ago
10,148 posts
We would need your login info for this, as I cannot reproduce it anywhere here. Send your JR login and FTP login to support [at] jamroom [dot] net - I will do my best to check it out when I can.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
email is out
brian
@brian
9 years ago
10,148 posts
I don't see any email from you - please resend it to support [at] jamroom [dot] net.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
email is out again. i got a reply directly "RE: Your Priority Support request for Jamroom"
brian
@brian
9 years ago
10,148 posts
Yep I see it now - sorry about that - I don't know what happened to the other.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
9 years ago
10,148 posts
OK so the root cause here is that on your server we're seeing an "HTTP_RANGE" request header coming it to the stream view like this:

[HTTP_RANGE] => bytes=0-

We've only see that type of "open ended" range request from iOS devices that are doing a "scan" of the media file to get the ID3 tags so they can be shown in a player. So right now if we see that exact HTTP_RANGE request header, we do NOT count it as a play since it (normally) is a "scan", and not an actual play. If we DID count it, then every load of the audio detail page would could a "play" towards the song, even if the audio is never played (because iOS/Safari will see the embedded stream URL and "scan" it).

We don't see the HTTP_RANGE header being set on the actual "play" of the media item like I am seeing on your site - it could have something to do with your site running PHP as a "FastCGI", but I'm not sure. At this time I don't have any solution for you unless we can think of an alternate way to count plays.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hello Brian.

Many thanks for ur time!

So, if i understand it right ... at the moment there is nothing we can do? or is our server so bad? or did we something else wrong?

Stefan
brian
@brian
9 years ago
10,148 posts
It is something unique to your server - what exactly it is, I don't actually know. Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
brian:
It is something unique to your server - what exactly it is, I don't actually know. Sorry!

Hello Brian!

Now we have changed to the server you recommended here:
https://www.jamroom.net/r/recommended-hosting
http://www.arvixe.com/jamroom-hosting

We can definateli say that Firefox in the latest Version don´t count the streams. We testet it with Chrome, IE and Safari.

http://heru-media.com/admin/audio/1/level-one

Greetings,
Stefan
brian
@brian
9 years ago
10,148 posts
I see that it shows "3 streams" - were those for non-firefox browsers?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
9 years ago
10,148 posts
And what version and OS are you using Firefox on?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
I'm using FF v35.0.1 on Windows 8.1 64bit
Marco
updated by @bandwerkstatt: 02/04/15 11:19:55AM
brian
@brian
9 years ago
10,148 posts
SelfmadeClub:
I'm using FF v35.0.1 on Windows 8.1 64bit

OK I don't have Windows 8.1 here - let me see if I can get a VM setup with it. Could be something the new windows is adding in.

Ultimately we're going to be redoing how play counts are handled, but that is ways off (just an FYI)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hi Brian,

Stefan here.

I use FF v35.01 on OX 10.10.2 and it´s still the same problem, not with safari.
brian
@brian
9 years ago
10,148 posts
SelfmadeClub:
Hi Brian,

Stefan here.

I use FF v35.01 on OX 10.10.2 and it´s still the same problem, not with safari.

I'm on the exact same thing here (FF 35.01 and OS X 10.10) and I don't see it here. Are there are any plugins you're running that are out of the norm?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
brian:
SelfmadeClub:
Hi Brian,

Stefan here.

I use FF v35.01 on OX 10.10.2 and it´s still the same problem, not with safari.

I'm on the exact same thing here (FF 35.01 and OS X 10.10) and I don't see it here. Are there are any plugins you're running that are out of the norm?

Thanks!

Hey Brian,

i´m so sorry, that u have so much trouble with us -.-

Here the ADD ON List:
Adblock Plus 2.6.7
BetterPrivacy 1.68
Ghostery 5.4.1
No Script 2.6.9.11

so Marco doesn´t the same ADD Ons and it doesn´t work too.

I test it with another WINDOWS 8.1 PC, also with FF35.01 without ADD ONS and it doesn´t work, so the plays are not count.

Stefan
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hey Brain, Paul and friends ...

did anyone have an idea about our problem? -.-

so many thanks for your time and help!
douglas
@douglas
9 years ago
2,790 posts
Brian is out of town until tomorrow (Monday) so you'll want to wait for him to get back to help you. We aren't seeing any issues on our end so it has to be something specific with your setup.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
douglas:
Brian is out of town until tomorrow (Monday) so you'll want to wait for him to get back to help you. We aren't seeing any issues on our end so it has to be something specific with your setup.

Hi Douglas,

thx for your answere. We change our Server to http://www.arvixe.com/jamroom-hosting, new Jamroom install, our problem is still the same - only with firefox.

So, if Brian or something else to check again our System, please let us known!

Many Thx for your Time and Help!!!

Stefan
brian
@brian
9 years ago
10,148 posts
I've got a bit of a backlog to catch up on here but will be checking this out and let you know.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
brian:
I've got a bit of a backlog to catch up on here but will be checking this out and let you know.

Thanks!

Hello Brian!

Many thanks for ur Feedback, Time and Help!

We hope, u can tell us where the misstake is, or what we did wrong.

Wait for your answere :-)

Greetz from Germany - well done!

Stefan
brian
@brian
9 years ago
10,148 posts
This should be working now in Jamroom Core 5.2.23 - I had to redo how the counters were done, but it should be working now. Update and let me know if that fixes it for you.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
brian:
This should be working now in Jamroom Core 5.2.23 - I had to redo how the counters were done, but it should be working now. Update and let me know if that fixes it for you.

Hope this helps!

Hey Brain

We love You.

Finally that Problem is solved.

We are glad, it wasn't our mistake :-)

Stefan & Marco

Tags