Help - Search - Members - Calendar
Full Version: %play_count% cannot be invoked from masstagger script in 0.9
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
beto
I cannot invoke %play_count% from masstagger scripts. I get a ? signal in the field instead of the number of times a track is played.

To reproduce do the following:

1. Open masstagger
2. In actions to perform choose add
3. Choose Format value from other fields
4. Fill destination field name
5. In formatting pattern put %play_count%
6. Run the script in some tracks

When checking the properties of the track you'll see that the ? char is included in the destination field instead of the play count.
Shade[ST]
Were you trying on files which had no playcount?
beto
both with and without %play_count%. same problem. sad.gif
Olive
Could be because it is not a tag strictly speaking. It's stored in the config file.
beto
What I do not understand is why it can be invoked in a playlist formatting and trackinfo panel with no problem and not in a masstagger script.
I'm not into foobar's inner workings but this does not make sense to me.
I would appreciate a reply from a developer on this issue if he/she perceives this as a bug.

Thank you.
beto
Sorry to bump this, but an answer would be really appreciated. Maybe foosion has some insight? wink.gif
Thanks again.
gamegod
QUOTE(beto @ Apr 12 2006, 08:32 AM) *

I cannot invoke %play_count% from masstagger scripts. I get a ? signal in the field instead of the number of times a track is played.

To reproduce do the following:

1. Open masstagger
2. In actions to perform choose add
3. Choose Format value from other fields
4. Fill destination field name
5. In formatting pattern put %play_count%
6. Run the script in some tracks

When checking the properties of the track you'll see that the ? char is included in the destination field instead of the play count.

I have the same question.But there's no problem in v0.8
OCedHrt
You could go back to using the Play Counter from 0.8x if you want. It is available for 0.9 here.

Edit: Seems like you are. Just trying to combine the new play_count with the old play_counter tongue.gif
beto
thanks for the link.

For 0.8.3 i used quicktag_sql and playcount_sql components because I don't want stats tags written to the files (such as play_count, last_played, added and rating). I believe that this is volatile info that should not be written to the files.

I had hope that the playback stats component made available with 0.9 would bridge this gap, but despite the availability of the %play_count% and %last_played% fields, I cannot use them extensively (they cannot be used in masstagger scripts, for instance). To me this is a significant constraint that should be investigated by the developers.

To summarize, the missing things IMO in the playback stats plugin:
- possibility to invoke %play_count% and %last_played% from anywhere
- support for writing user defined fields to the DB (similar to what foo_quicktag_sql allows you to do in 0.8.3)

Maybe this is because the playback stats plugin is still under development, nevertheless in the meantime we have to find workarounds, such as the playcount plugin you linked.


Edit: lightened up the wording.
chongy5
Is this still the case for anybody using unofficial play count?

I still get the question mark - what was the solution for doing %play_counter% in masstagger in 0.9?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.