Page 1 of 2

IncrementPlayerCount / DecrementPlayerCount

Posted: Thu Sep 16, 2021 2:53 am
by LifeTheLiving
I used an addon in MMW4 to Increment Player Count.

Since 2004 I have had Play count and since upgrading to MM I have used it to keep track of Player Count.

Before I upgrade to MMW5 I need to know if there is a Plugin with this functionality for MMW5.

I play music on the phone and in the car. Once I come home I find the music in MMW4 and increment the Play Count. Is there such a functionality for MMW5?

Thank you.

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Thu Sep 16, 2021 4:15 am
by Andre_H
Do you sync from/to MMW? That should update your playcounts automatically, no manual tracking needed.

Your question: No, there ist no such addon around yet.

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Thu Sep 16, 2021 8:03 am
by Ludek
Play Counter values are editable both in file listing and Properties, no addon needed.

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Fri Sep 17, 2021 2:23 am
by LifeTheLiving
Thank you for your anwers.

I don't synchronize, it words fine manually.

In the file listing I can get it to edit. However often it start to play instead of editing.

It would be better in properties, but I Just can't find it in there, unless it somehow has to be added manually under custom?

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Fri Sep 17, 2021 9:02 am
by Ludek
See Properties > Details > Play counter: [...]

BTW: Use F2 key in filelisting for faster edits

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Fri Sep 17, 2021 1:09 pm
by LifeTheLiving
Thank you very much.

Found them both.

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Mon Sep 20, 2021 3:29 am
by Barry4679
LifeTheLiving wrote: Fri Sep 17, 2021 2:23 am In the file listing I can get it to edit. However often it start to play instead of editing.
If you find that you are accidently starting track often, you can alter MM default.
The default action when the Enter key is pressed, or the tracks is double clicked, is to play the select track(s).
This can be changed, so that default action is to open the Track properties panel for the selected track(s).

see here

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Mon Sep 20, 2021 4:57 pm
by LifeTheLiving
Barry4679 wrote: Mon Sep 20, 2021 3:29 am
LifeTheLiving wrote: Fri Sep 17, 2021 2:23 am In the file listing I can get it to edit. However often it start to play instead of editing.
If you find that you are accidently starting track often, you can alter MM default.
The default action when the Enter key is pressed, or the tracks is double clicked, is to play the select track(s).
This can be changed, so that default action is to open the Track properties panel for the selected track(s).

see here
Thank you very much. I have changed that.

If anyone makes a increment / decrement addon for MM5, please let us know. I can do it manually one track at a time, but most often i play a whole album, and I used to select the whole album and say increment by one. That was convinient.

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Mon Jan 03, 2022 3:37 am
by LifeTheLiving
Still very interested :-)

The manual way works but like for MM4, I will pay for such an addon :lol: :lol: :lol:

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Mon Jan 03, 2022 9:22 pm
by Peke
Hi,
If someone wants to pick it up value can be Set/Get easily thru https://www.mediamonkey.com/docs/api/cl ... layCounter

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Tue Jan 04, 2022 10:43 am
by Ludek
Actually making such an addon should be very easy.

You can use existing /scripts/swapArtistTitle/ addon.

And just modify parts of it , namely instead of using:

Code: Select all

itm.title = itm.artist;
use

Code: Select all

itm.playCounter = itm.playCounter + 1;

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Mon Jun 06, 2022 7:02 am
by LifeTheLiving
Thank you for your comment.

I'm NOT a programmer.

Has anyone made the script yet?

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Mon Jun 06, 2022 11:25 am
by Erwin Hanzl
You can change directly under "Properties" (also Multi Select) or:
Alternative: View detail ... activate the "Played" field ... you can enter the value directly there.

Image

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Fri Jun 17, 2022 4:50 am
by Barry4679
Erwin Hanzl wrote: Mon Jun 06, 2022 11:25 am You can change directly under "Properties" (also Multi Select) or:
The OP was asking for something where plays could be altered at the album level.

As you say, you can multi-select the tracks, but there is a trap (bug?) to be aware of.
Say the album has 3 tracks, each with 2 plays. In this case Track Properties will display Play Count of 6 (I.e 3*2 = 6) when you ,multi-select all tracks for the album.

But if you make an alteration to this value, it assigns your new value to each of the tracks.
ie. if you change this whole album play value from 6 to 9, you end up with each track having a play count of 9, giving an album play count of 27!

ie. it displays Play Count for a selection of tracks, as the sum of all play counts ... but it forgets this if you make a change, and it writes your value to every track in your selection..

[UPDATE] Issue tracked as https://www.ventismedia.com/mantis/view.php?id=19190

Re: IncrementPlayerCount / DecrementPlayerCount

Posted: Fri Jun 17, 2022 6:01 am
by Erwin Hanzl
The OP was asking for something where plays could be altered at the album level.
This request was from 20.9.2021 - and today, 9 months later, you answer.
I have listed alternatives to the request of 6/6/2022 and the first post 16.09.2021