Old 27th September 2005, 13:47   #1
wheelz.lv
Junior Member
 
Join Date: Sep 2005
Location: Latvia
Posts: 3
Top list using media library play count?

Hi, well I've got a question here - is there any plugin created that uses play count data from media library to create a top list? For example create html page or xml document. Is it even possible to get data out of recent.dat file? So far I've tried these plugins:

- HitMp3 - which uses his own database and can create html files,
- madStats - which can't export any html or xml file,
- TopList2 - which also doesn't export anything,
- Personal Hit List - has it's own database and can create html files.

I kinda would like to use data that are already stored in media library file and not to create new databade, so is there any plugin that uses that play count variable from media library to create such stats and after that export html or whatever kinda file?

Hope somebody can help me or at least point me in the right direction
wheelz.lv is offline   Reply With Quote
Old 27th September 2005, 15:21   #2
billyvnilly
Forum King, M.D.
 
billyvnilly's Avatar
 
Join Date: Mar 2004
Location: Detroit burbs
Posts: 3,379
Send a message via ICQ to billyvnilly Send a message via AIM to billyvnilly
you can generate an html playlist(playlist editor > misc > misc > generate html playlist) from your current playlist, then all you do is add you most played to the playlist.

In the ml, right click "local media" > add view
paste this into the Query text line:

playcount >= 10

and replace 10 with the minimum number you want as the min. number of times played. you can then easily add this view to the playlist.
billyvnilly is offline   Reply With Quote
Old 27th September 2005, 15:49   #3
wheelz.lv
Junior Member
 
Join Date: Sep 2005
Location: Latvia
Posts: 3
OK, but that only creates a html of playlist, but if, for example, I need some other info like album or year, that doesn't appear on that page.

I was kinda thinking - how to get results on html page from that "Most played" view with all the count numbers, albums, etc.
wheelz.lv is offline   Reply With Quote
Old 27th September 2005, 16:18   #4
billyvnilly
Forum King, M.D.
 
billyvnilly's Avatar
 
Join Date: Mar 2004
Location: Detroit burbs
Posts: 3,379
Send a message via ICQ to billyvnilly Send a message via AIM to billyvnilly
you can make all of that appear by editing the advanced title formatting string (pref > titles) though you wont get the neat & tidy columns
code:

[%artist% - ]$if(%year%,$if(%album%,%album% '['%year%']' - ,),$if(%album%,%album% - ,)[%tracknumber% - ][%title%]


puts out:
artist - album [year] - tracknumber - title
all of the yuck in the code line cleans up the line if you dont have the year present in all of the files, otherwise, its not that hard to create your own custom lines.

you need to re add the files for the changes to take place, or select all(ctrl+a) then goto playlist editor > misc > misc > read extended info on selection.
billyvnilly is offline   Reply With Quote
Old 27th September 2005, 16:37   #5
wheelz.lv
Junior Member
 
Join Date: Sep 2005
Location: Latvia
Posts: 3
About tables - isn't it possible to include html tags like 'tr' and 'td' in that string?

And still with this method it is impossible to print out the play count of the exact file or is there special variable?
wheelz.lv is offline   Reply With Quote
Old 27th September 2005, 22:29   #6
billyvnilly
Forum King, M.D.
 
billyvnilly's Avatar
 
Join Date: Mar 2004
Location: Detroit burbs
Posts: 3,379
Send a message via ICQ to billyvnilly Send a message via AIM to billyvnilly
yes i didnt think about that, not being all that html savvy...you could possibly workout some way to include tags in the [] for each tag.

as for playcount....SORRY, i should have mentioned it before. ATFextender a plugin by shaneH should display playcount. link If you download toaster (click BACK) toaster comes with a helpme file (saved in winamp\plugins\ i believe) and it lists all of the tags that shane has added to the original ATF. you can also download activewinamp off of his site to sort your playlist based on the playcount. you must create a script to do the sort. visit the wikipage on shane's webpage for activewinamp to learn how to write the script. If i have time tonight, and you havent done it yet, i should be able to make one.


-Billy (proverbial ShaneH plugin pimp)
billyvnilly is offline   Reply With Quote
Old 28th September 2005, 03:24   #7
billyvnilly
Forum King, M.D.
 
billyvnilly's Avatar
 
Join Date: Mar 2004
Location: Detroit burbs
Posts: 3,379
Send a message via ICQ to billyvnilly Send a message via AIM to billyvnilly
editting my previous post - if you sort by playcount then enqueue the list, they should be in order, so you dont need to worry about the script or activewinamp plugin.
billyvnilly is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

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