$wsound
+ 0 likes
Please Register to submit score.
| Average Score | 7.0 |
| Scores Submitted | 7 |
| Date Added | Nov 27, 2005 |
| Last Updated | Dec 01, 2005 |
Introduction
The usage is the same as $sound ($sound(<file>).<property>) but with different properties.
The properties you can use are:
album, albumartist, author, duration, filesize, filetype, genre, iscopyright, isvbr, publisher, title, track, trackingid, userlastplayedtime, userplaycount, userplaycountmorning, userplaycountafternoon, userplaycountevening, userplaycountnight, userplaycountweekday, userplaycountweekend, userrating or year.
If you specify the duration property then $wsound() will accept a second parameter to let you specify the $asctime() format the time should be returned in (eg: nn:ss for minutes:seconds).
This identifier relies heavily on windows media player (tested with the latest version (10.00.00.3646) but might work on earlier versions).
Some of the properties will only interest you if windows media player is the player you use to play your music, these are:
trackingid, userlastplayedtime, userplaycount, userplaycountmorning, userplaycountafternoon, userplaycountevening, userplaycountnight, userplaycountweekday, userplaycountweekend and userrating.
The trackingid is an ID number media player gives to each file.
The userlastplayedtime is the last time the file was played.
The userplaycount is the amount of times the file has been played all of the way through (if you play a song half way through and then stop it this number will not increment).
The userplaycountmorning is the amount of times the file has been played in the morning.
The userplaycountafternoon is the amount of times the file has been played in the afternoon.
The userplaycountevening is the amount of times the file has been played in the evening.
The userplaycountnight is the amount of times the file has been played in the night.
The userplaycountweekday is the amount of times the file has been played on a weekday.
The userplaycountweekend is the amount of times the file has been played on a weekend.
The userrating is the rating the file has been given.
mIRC Snippet:
$wsound
Posted on Dec 1, 2005 1:35 pm
Posted on Dec 1, 2005 1:35 pm
The snippet wasn't working because you had to play the file to gather info from it, so I've updated the snippet so that it plays and then instantly stops the file. Hopefully, even on fairly slow pcs, you shouldn't be able to hear the song before it stops playing, but someone tell me if you can hear it please.
mIRC Snippet:
$wsound
Posted on Dec 4, 2005 8:27 pm
Posted on Dec 4, 2005 8:27 pm
I assume that means the snippet works for you? Good :)
Some people have reported that the snippet still doesn't work for them, yet it works for me and several others.
The problem with using COM is that something that works on one system could outright fail on the next. As you can imagine this can be annoying sometimes!
Some people have reported that the snippet still doesn't work for them, yet it works for me and several others.
The problem with using COM is that something that works on one system could outright fail on the next. As you can imagine this can be annoying sometimes!
mIRC Snippet:
$wsound
Posted on Mar 8, 2006 6:09 pm
Posted on Mar 8, 2006 6:09 pm
there is lots of ways to uninstall mediaplayer...the simplest...visit the control panel add/remove programs then windows components. someppl dnt like windows mediaplayer (i am one of them) and install a basic mediaplayer like winamp or real or even jetaudio (my fav) ...




