Help - Search - Members - Calendar
Full Version: Play Counter
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
MC Escher
QUOTE(The Link @ Mar 31 2006, 02:02 AM)
QUOTE(MC Escher @ Mar 31 2006, 10:48 AM)
... something as corruptable as the foobar2000.cfg ...
*

blink.gif So you prefer an external sql database or do you want to have the playback statistics tagged to your files?
*


In the tags of the files.
falconfox
I would like them in the tags of the files as well. Lets say that i copy my music over to my external hd or ipod, then my main hard drive crashes. Then if i recover my music from my ipod, i still have the play_count information.

It just makes sense to me that file specific information should be contained in that file. Too many wierd things can happen if it isn't.

Either way someone has to set their foot down and finalize this discrepancy between playcount tags in files vs in a database.

It would also be nice if someone could come up with a method for combining play_count and play_counter tags.
chrisbolt
I also prefer them in the tags of the files because my music is on a network share so it is accessible from any computer in the house, and keeping it in the files makes the most sense for me.
mixcherry
QUOTE(falconfox @ Mar 31 2006, 06:44 PM)
I would like them in the tags of the files as well. Lets say that i copy my music over to my external hd or ipod, then my main hard drive crashes. Then if i recover my music from my ipod, i still have the play_count information.
*


Sorry for off-topic, but if my main hard drive crashed, the last thing on earth I would care about would be my playback statistics...
Killmaster
I made a seperate thread with some suggestions for a new foo_playcount:http://www.hydrogenaudio.org/forums/index.php?showtopic=42625&hl=foo_playcount

Ultimately, I think it would be to everyone's advantage to merge this with foo_quicktag, so as to allow ratings info to be stored in the same place as the playcount data.
gob
QUOTE(Killmaster @ Mar 31 2006, 04:10 PM)
I made a seperate thread with some suggestions for a new foo_playcount:http://www.hydrogenaudio.org/forums/index.php?showtopic=42625&hl=foo_playcount

Ultimately, I think it would be to everyone's advantage to merge this with foo_quicktag, so as to allow ratings info to be stored in the same place as the playcount data.
*




that would be almost perfect.. the tags stored on the files should never change. things like statistics, ratings and other metadata (at the users discretion) should be stored in a separate file, but there should be a way to retain these values when you move or rename audio files.

another thing that i find myself doing all the time, if i have an MP3 album that i like, i buy the CD, and then rip it to flac. replacing the mp3's with the new flac copy. if there is a way to get the statistics and ratings for the mp3's to merge with the flac files it would be perfect.. maybe a little bit of user interaction would be necessary.

i'm slowly learning c++. if something like this is not out, it may be one of my first projects.
Bigears55
QUOTE(The Link @ Mar 31 2006, 05:02 AM)
QUOTE(MC Escher @ Mar 31 2006, 10:48 AM)
... something as corruptable as the foobar2000.cfg ...
*

:blink: So you prefer an external sql database or do you want to have the playback statistics tagged to your files?
*



Anyone know where I can find a copy of kode54's mod of foo_playcount for .83 that uses an external SQLite database? kod54's website no longer has any 0.83 plugins and all of Googles links are dead.

drbeachboy
I have it, and I can email it to you. Either leave your email address here or send me a private message by clicking on my name at top left.
Luckz
QUOTE(gob @ Apr 1 2006, 07:36 AM) *

another thing that i find myself doing all the time, if i have an MP3 album that i like, i buy the CD, and then rip it to flac. replacing the mp3's with the new flac copy. if there is a way to get the statistics and ratings for the mp3's to merge with the flac files it would be perfect.. maybe a little bit of user interaction would be necessary.


Mark both albums, the old one on top. Then:
Tagging -> Copy info between files

Voila.
francesco
how can i reset playcount tag?
Generalverdacht
masstagger: play_count=0

should work
gob
QUOTE(Luckz @ Apr 5 2006, 04:22 PM) *

QUOTE(gob @ Apr 1 2006, 07:36 AM) *

another thing that i find myself doing all the time, if i have an MP3 album that i like, i buy the CD, and then rip it to flac. replacing the mp3's with the new flac copy. if there is a way to get the statistics and ratings for the mp3's to merge with the flac files it would be perfect.. maybe a little bit of user interaction would be necessary.


Mark both albums, the old one on top. Then:
Tagging -> Copy info between files

Voila.



nice. i cant think of a better way to that.
francesco
this is a great plug
why don't add this feature

this is an example
TAG 5 stars ,mp3 played x times
for example if i play a song for 50 times , it could be great that play count plug stores 5 stars in the rating tag!

is a good idea for you?
Bl@ck_warrior
QUOTE(francesco @ Apr 12 2006, 06:46 PM) *

this is a great plug
why don't add this feature

this is an example
TAG 5 stars ,mp3 played x times
for example if i play a song for 50 times , it could be great that play count plug stores 5 stars in the rating tag!

is a good idea for you?


you don't need that you can just put some code in your colum ui for you rating, something like :

CODE
$if($greater($add(%play_count%,%play_counter%),20),★★★★★,
$if($greater($add(%play_count%,%play_counter%),12),★★★★ ,
$if($greater($add(%play_count%,%play_counter%),5),★★★,
$if($greater($add(%play_count%,%play_counter%),2),★★,
$if($add(%play_count%,%play_counter%),★)


francesco
yes i know but this did not tag the mp3
it would be great that the plugin automatically tag the mp3 every x played times
DoXer
I use the 0.9-plugin. Everytime the plugin writes the counter to the tag, the music is interrupted for a short time and a small window pop up for a very short time.
What's wrong?
foosion
Nothing, the window you see is the regular tag writing progress window. The interruption occurs because foobar2000 has to reopen the playing file when it updates tags on it.
DoXer
Hm, but why is the music in 0.83 not interrupted. This version cached the data and writes after finished playing the track.
Ono
Sorry if I've missed something obvious but is it possible to continue using the old play_counter in 0.9? I don't really want to use the new play_count system.
Punio.4
Yup. That's really irritating... Any way to make it cache the data until the end of playback?
kode54
Only if you code that yourself, including a way to cache the data if the user closes the player after the play count is logged, but before the track finishes playing. Sounds like fun. :D
Punio.4
What i meant to say, is there any way to revert it to the 0.83 behaviour?
Jimbo51
QUOTE(Punio.4 @ Apr 25 2006, 11:18 AM) *

What i meant to say, is there any way to revert it to the 0.83 behaviour?


Here's a link to the unofficial play counter
http://stephan.kochen.nl/proj/foo_playcoun...o_playcount.dll
grindlestone
QUOTE(Jimbo51 @ Apr 25 2006, 09:11 PM) *

QUOTE(Punio.4 @ Apr 25 2006, 11:18 AM) *

What i meant to say, is there any way to revert it to the 0.83 behaviour?


Here's a link to the unofficial play counter
http://stephan.kochen.nl/proj/foo_playcoun...o_playcount.dll


Is there info somewhere about this file? What is it? Does it behave differently?
Jimbo51
QUOTE(grindlestone @ Apr 25 2006, 12:25 PM) *

QUOTE(Jimbo51 @ Apr 25 2006, 09:11 PM) *

QUOTE(Punio.4 @ Apr 25 2006, 11:18 AM) *

What i meant to say, is there any way to revert it to the 0.83 behaviour?


Here's a link to the unofficial play counter
http://stephan.kochen.nl/proj/foo_playcoun...o_playcount.dll


Is there info somewhere about this file? What is it? Does it behave differently?

It's just the original play_counter plugin, that adds the tags to the files.
ungreatful
Hello. I'm really new to foobar2000 when it comes to title formatting. i dont know shit tongue.gif
So i've read almost all of your messages and you help people with this %play_date% and stud.

This is what i want. just so show play count of the songs.
I've got foobar2000 by default and i want the playcount next to the songlength.
I tried this plugin for 0.9 version, worked great but i can't get it to work on my 0.8.3 version.

Please just post a simple command that i can copy and paste into the Title Formatting->Playlist
Fitret
I get the feeling that my play coutner isn't working properly. In my Playlist Tree, I have a $add(%play_count%,%play_counter%) being displayed, and I tested my theory by playing a song and then letting the tree update... the displayed play count didn't increase at all. There's an album that I've listened to at least 10 times with my latest installation of foobar 0.9, and most of the playcounts are showing up as 1.

I had the default playcount.dll for awhile, but a few hours ago I replaced it with the one on the previous page. Am I not getting all the play count data that I need to be getting? Is there some stored somewhere else?

Edit: My count data now seems to be updating, but since I had a playcount component before (the default for 0.9), I should have data for that period of time, which I seem to be missing. How should I access it?
YhawK
Will anything new happen to it or has development stopped?
deliibrahim
QUOTE(ungreatful @ Apr 26 2006, 20:59) *

Hello. I'm really new to foobar2000 when it comes to title formatting. i dont know shit tongue.gif
So i've read almost all of your messages and you help people with this %play_date% and stud.

This is what i want. just so show play count of the songs.
I've got foobar2000 by default and i want the playcount next to the songlength.
I tried this plugin for 0.9 version, worked great but i can't get it to work on my 0.8.3 version.

Please just post a simple command that i can copy and paste into the Title Formatting->Playlist



try: http://www.hydrogenaudio.org/forums/index....showtopic=41576

.
Teukka
Is it possible write play count info to external database. i don't want to write that info to files because it messes files when i run sfv check.
ARiel G.
So, u may use the official foo_playcount that write this info to the databae only.

http://www.foobar2000.com/components/foo_playcount.zip
BaByB0y
QUOTE(ARiel G. @ Jul 4 2006, 02:12) *

So, u may use the official foo_playcount that write this info to the databae only.

http://www.foobar2000.com/components/foo_playcount.zip


Thanks man, it works right now smile.gif
roadtonowhere08
Hi,

I have tried to use this plugin all night. I can get the last played part to work but not the total played. I am using foobar 0.9.2 and the official counter as well as Navigator_1.4.3 for the layout. Any help would be appreciated.
Chaser
Look into the file preferences, in order to see, whether the played file's tag is updated? The tag used by the "official"-playcount-component is different from this one's. That's propably, why Navigator won't show it?!
roadtonowhere08
QUOTE(Chaser @ Jul 10 2006, 13:11) *

Look into the file preferences, in order to see, whether the played file's tag is updated? The tag used by the "official"-playcount-component is different from this one's. That's propably, why Navigator won't show it?!

Okay, I changed it to the counter that came with Navigator, and none of the songs are being counted.

The way I have foobar set up is a plain 0.9.2 installation with Navigator imported and arranged to show the explorer tree on the left and the columns playlist on the right (I assume that is the main screen that shows songs being played and queued). I loaded the directory with my music by the under the Media Library.

I am not very good at this as I am not good at coding but I am pretty sure I am following what I should be doing. How some of you can come up with these elaborate designs is beyond me...
pIv
With new version of foobar - 9.3 beta 1, this plugin not work.

Tags play_counter and last_played not refresh now.

On foobar exit I see next warning "metadb_handle leaks: 1 objects" and then "Runtime error! Program

c:\program files\foobar200.exe. R605 - pure virtual function call"
Dr.Death
pIv i have the same error 8\
Patu
I have problems making the last play date work in my 0.9.3. With 0.8.3 I use the following code line. How to make it work with the new %last_played%.

CODE
A0A0A0  FFFFFFLast played:A0A0A0$if(%play_date%,' '$left(%play_date%,2).$substr(%play_date%,3,4).$right(%play_date%,2)' A0A0A0atA0A0A0 '$left(%play_time%,2):$substr(%play_time%,3,4),' never played')$char(10)


Color codes make the code line look quite chaotic but I think you can read it.

It looked like this when it worked in 0.8.3.

Thanks for your help.
unabatedshagie
QUOTE(Patu @ Aug 8 2006, 14:50) *

I have problems making the last play date work in my 0.9.3. With 0.8.3 I use the following code line. How to make it work with the new %last_played%.

CODE
A0A0A0  FFFFFFLast played:A0A0A0$if(%play_date%,' '$left(%play_date%,2).$substr(%play_date%,3,4).$right(%play_date%,2)' A0A0A0atA0A0A0 '$left(%play_time%,2):$substr(%play_time%,3,4),' never played')$char(10)


Color codes make the code line look quite chaotic but I think you can read it.

It looked like this when it worked in 0.8.3.

Thanks for your help.
play_time and play_date are not used anymore, that is why it doesn't work.

The tags that are used now are first_played last_played and play_counter.

I don't know what new tag corresponds with the old tags (if the do at all)
Patu
QUOTE(unabatedshagie @ Aug 9 2006, 10:14) *

play_time and play_date are not used anymore, that is why it doesn't work.

The tags that are used now are first_played last_played and play_counter.

I don't know what new tag corresponds with the old tags (if the do at all)


Yes I know they're not used anymore.

And the play counter tag is %play_count% nowadays, not %play_counter%.

I have tried to replace play_date tags with last_played tags but it didn't work.
unabatedshagie
QUOTE(Patu @ Aug 9 2006, 09:51) *

QUOTE(unabatedshagie @ Aug 9 2006, 10:14) *

play_time and play_date are not used anymore, that is why it doesn't work.

The tags that are used now are first_played last_played and play_counter.

I don't know what new tag corresponds with the old tags (if the do at all)


Yes I know they're not used anymore.

And the play counter tag is %play_count% nowadays, not %play_counter%.

I have tried to replace play_date tags with last_played tags but it didn't work.
Technically we are both correct about the playcount tag, the official one uses %play_count% where as the unofficial one uses %play_counter%.
Patu
QUOTE(unabatedshagie @ Aug 9 2006, 15:31) *

Technically we are both correct about the playcount tag, the official one uses %play_count% where as the unofficial one uses %play_counter%.


Yes I use the official one.

If someone knows how to make last played work properly with the official plug in then please tell me.

Thanks for the help.
OCedHrt
QUOTE(Patu @ Aug 9 2006, 05:34) *

QUOTE(unabatedshagie @ Aug 9 2006, 15:31) *

Technically we are both correct about the playcount tag, the official one uses %play_count% where as the unofficial one uses %play_counter%.


Yes I use the official one.

If someone knows how to make last played work properly with the official plug in then please tell me.

Thanks for the help.


I won't write it out for you, but I'll give you a big hint. The current %last_played% is probably the same as %play_date% %play_time% in your script. Assuming that the date and time that you're using is in the same format as it is now, you would add 9 to each number under %play_time% and replace %play_time% and %play_date% with %last_played%.
Earthworm
hi there

i've got the same problem. the counter doesn't work anymore with fb2k v.0.9.3.
is there any possibility to fix this, or do i have to change all my tags (which would be very annoying) and use the official version?

thanks 4 help
pixx
just so you don't give up, the real answer to this thread is here:
http://www.hydrogenaudio.org/forums/index....=33&t=42625
OCedHrt
QUOTE(Earthworm @ Aug 11 2006, 11:57) *

hi there

i've got the same problem. the counter doesn't work anymore with fb2k v.0.9.3.
is there any possibility to fix this, or do i have to change all my tags (which would be very annoying) and use the official version?

thanks 4 help


You won't have to change your tags to use the offical version. The official play counter actually accumulates the %play_counter% tag into it's own play_count to give you a combined play count. I can only think of two reasons to use the unofficial play counter:
1. first_played tag
2. Customizability
Earthworm
QUOTE(OCedHrt @ Aug 11 2006, 21:18) *

QUOTE(Earthworm @ Aug 11 2006, 11:57) *

hi there

i've got the same problem. the counter doesn't work anymore with fb2k v.0.9.3.
is there any possibility to fix this, or do i have to change all my tags (which would be very annoying) and use the official version?

thanks 4 help


You won't have to change your tags to use the offical version. The official play counter actually accumulates the %play_counter% tag into it's own play_count to give you a combined play count. I can only think of two reasons to use the unofficial play counter:
1. first_played tag
2. Customizability


thank you both for the fast answer. i'll try the official play counter and try to find a way to display both infos in my column.

EDIT: ok, that won't be necessary as i noticed. thanks anyway
buckaroo
Today I stumbled upon a problem with playcount an ID3V2-Tags:
When playcount updates the currently played MP3 the tags Artist, Year, Genre, Track and AlbumArt are deleted sad.gif
But only in the ID3V2-Tag. The informations in the ID3V1-Tag are unmodified. blink.gif
At least Tag&Rename says so. foobar of course still has all the informations stored when i click on "File info"

Update: Ok, this seems to be a problem with Tag&Rename. I just tried "MP3Tag" and it shows the "missing" informations blink.gif
OCedHrt
QUOTE(buckaroo @ Aug 20 2006, 06:40) *

Today I stumbled upon a problem with playcount an ID3V2-Tags:
When playcount updates the currently played MP3 the tags Artist, Year, Genre, Track and AlbumArt are deleted sad.gif
But only in the ID3V2-Tag. The informations in the ID3V1-Tag are unmodified. blink.gif
At least Tag&Rename says so. foobar of course still has all the informations stored when i click on "File info"

Update: Ok, this seems to be a problem with Tag&Rename. I just tried "MP3Tag" and it shows the "missing" informations blink.gif


I simply turned off ID3V1 tags in all my mp3s tongue.gif The problem is that a lot of seemingly ID3V2 tags are actually interpolated data from ID3V1 when not existing in V2, making it seem like you have ID3V2 tags.
buckaroo
QUOTE(OCedHrt @ Aug 20 2006, 20:28) *

I simply turned off ID3V1 tags in all my mp3s tongue.gif


Need them for my MP3-Stick sad.gif
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.