Old 28th April 2004, 15:19   #1
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
Winamp Libary playcount in site?

i want to make a site wit ha list of my mp3's with playcount on it. but i cant find the database / file where the playcounts are saved?

so where are those playcounts saved ?
and is it possible to get that in a site with php or not?..
Changes is offline   Reply With Quote
Old 28th April 2004, 15:38   #2
mysterious_w
Forum King
 
mysterious_w's Avatar
 
Join Date: Dec 2003
Location: Good ol' Britain
Posts: 2,750
What, a webpage? Damn, public PC without Winamp, see if there's any .ini files in the Winamp folder with it in. If not, use a big fat screenshot. Idiot's way, I know, but I'm an idiot o_0




mysterious_w is offline   Reply With Quote
Old 28th April 2004, 15:41   #3
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
yes there is a winamp.ini
but i dont see anything about playcount in it ?..
Changes is offline   Reply With Quote
Old 28th April 2004, 15:49   #4
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,098
Look in the c;/program files/winamp/plugins/ml folder

Values you are looking for are more than likely contained in the metadata files kept in there, good luck in extracting it.
Mr Jones is offline   Reply With Quote
Old 28th April 2004, 16:19   #5
Gonzotek
Gunslinger
 
Gonzotek's Avatar
 
Join Date: May 2000
Location: Terminus
Posts: 4,693
ML Import-Export

Exports to an iTunes-compatible xml file. You'll have to use a script or other processing device to parse out the playcounts, but if you use asp or php that shouldn't be too difficult.

I was away for a while.
But I'm feeling much better now.
Gonzotek is offline   Reply With Quote
Old 28th April 2004, 16:58   #6
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
lol it is in a xml file right now cool
but im not good in xml :X
damn i dont know how to get that in php
Changes is offline   Reply With Quote
Old 28th April 2004, 17:13   #7
Gonzotek
Gunslinger
 
Gonzotek's Avatar
 
Join Date: May 2000
Location: Terminus
Posts: 4,693
I've gotcha covered

This is an iTunes xml parser I found on HotScripts. Here's the original source. My attached version supports playcounts.
http://www.hotscripts.com/Detailed/22062.html

It's written by iMike(of deskmod/modblog fame), and although it didn't support playcounts out of the box, I just hacked them in. ALL CREDIT should go to iMike, my edits took 5 mins and I wouldn't have been able to do this without his work.
Attached Files
File Type: zip itunesxml.zip (1.9 KB, 81 views)

I was away for a while.
But I'm feeling much better now.
Gonzotek is offline   Reply With Quote
Old 28th April 2004, 17:20   #8
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
wow thank you very very much

hm do you know if its possible to sort the numbers on playcount
or do i ask to much now?
otherwise i have to try myself
but it is very cool that it works didnt expect do get it working today

thnx to you
Changes is offline   Reply With Quote
Old 28th April 2004, 17:26   #9
Gonzotek
Gunslinger
 
Gonzotek's Avatar
 
Join Date: May 2000
Location: Terminus
Posts: 4,693
De nada, I might use it myself someday

I'll have to play a bit to understand how to sort, but I'm reasonably sure there's a way. I'm at work now, so I don't have the time to get into that, but if I find the time, I'll see what I can do.

I was away for a while.
But I'm feeling much better now.
Gonzotek is offline   Reply With Quote
Old 28th April 2004, 17:30   #10
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
im playing a bi to try to order it myself to
if i find out how , before you do ill post it will post it here
Changes is offline   Reply With Quote
Old 28th April 2004, 18:25   #11
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
alright my file is now how i want it i only need to find out how to order on playcount instead of artist
Changes is offline   Reply With Quote
Old 3rd May 2004, 16:52   #12
Changes
Junior Member
 
Join Date: Apr 2004
Posts: 7
did you already find a good way to do it ?
Changes is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump