pkw115 wrote:Is this something I can turn on myself or would it require a new version of the script from you?
You can enable it yourself, if you want. I don't rate my music(!), so it's of limited interest to me.
The ratings are stored in the database as a numerical value, not as star ratings, so there's a bit of work to be done...
First off, insert the following down at the end of the .vbs file:
Code: Select all
Function TranslateRating(rating)
Select Case rating
Case 0
TranslateRating = "0"
Case 10
TranslateRating = "½"
Case 20
TranslateRating = "*"
Case 30
TranslateRating = "*½"
Case 40
TranslateRating = "**"
Case 50
TranslateRating = "**½"
Case 60
TranslateRating = "***"
Case 70
TranslateRating = "***½"
Case 80
TranslateRating = "****"
Case 90
TranslateRating = "****½"
Case 100
TranslateRating = "*****"
Case Else
TranslateRating = "Unrated"
End Select
End Function
Second, find the following line:
Code: Select all
cmd = chr(34)&loc&"\growlnotify.exe"&chr(34)&" /t:"&chr(34)&"MediaMonkey"&chr(34)&" /i:"&chr(34)&bar&chr(34)&" "&chr(34)&arti&"\n"&"''"&name&"''\n"&albu&chr(34)&" /a:MediaMonkey /r:"&chr(34)&"Now Playing"&chr(34)&","&chr(34)&"New Podcast"&chr(34)&" /n:"&chr(34)&"Now Playing"&chr(34)
...and modify it as seen below:
Code: Select all
cmd = chr(34)&loc&"\growlnotify.exe"&chr(34)&" /t:"&chr(34)&"MediaMonkey"&chr(34)&" /i:"&chr(34)&bar&chr(34)&" "&chr(34)&arti&"\n"&"''"&name&"''\n"&albu&"\n"&TranslateRating(rati)&chr(34)&" /a:MediaMonkey /r:"&chr(34)&"Now Playing"&chr(34)&","&chr(34)&"New Podcast"&chr(34)&" /n:"&chr(34)&"Now Playing"&chr(34)
Boom! Your ratings will appear underneath the album name. There are plenty of other details I pull from the database that I don't display, so you can pump as little or as much as you want to growlnotify. AFAIK, there's no way of sending graphics to growlnotify, so it's gonna be limited to ASCII text.
[quote="pkw115"]Is this something I can turn on myself or would it require a new version of the script from you?[/quote]
You can enable it yourself, if you want. I don't rate my music(!), so it's of limited interest to me.
The ratings are stored in the database as a numerical value, not as star ratings, so there's a bit of work to be done...
First off, insert the following down at the end of the .vbs file:
[code]Function TranslateRating(rating)
Select Case rating
Case 0
TranslateRating = "0"
Case 10
TranslateRating = "½"
Case 20
TranslateRating = "*"
Case 30
TranslateRating = "*½"
Case 40
TranslateRating = "**"
Case 50
TranslateRating = "**½"
Case 60
TranslateRating = "***"
Case 70
TranslateRating = "***½"
Case 80
TranslateRating = "****"
Case 90
TranslateRating = "****½"
Case 100
TranslateRating = "*****"
Case Else
TranslateRating = "Unrated"
End Select
End Function[/code]
Second, find the following line:
[code]cmd = chr(34)&loc&"\growlnotify.exe"&chr(34)&" /t:"&chr(34)&"MediaMonkey"&chr(34)&" /i:"&chr(34)&bar&chr(34)&" "&chr(34)&arti&"\n"&"''"&name&"''\n"&albu&chr(34)&" /a:MediaMonkey /r:"&chr(34)&"Now Playing"&chr(34)&","&chr(34)&"New Podcast"&chr(34)&" /n:"&chr(34)&"Now Playing"&chr(34)[/code]
...and modify it as seen below:
[code]cmd = chr(34)&loc&"\growlnotify.exe"&chr(34)&" /t:"&chr(34)&"MediaMonkey"&chr(34)&" /i:"&chr(34)&bar&chr(34)&" "&chr(34)&arti&"\n"&"''"&name&"''\n"&albu&"\n"&TranslateRating(rati)&chr(34)&" /a:MediaMonkey /r:"&chr(34)&"Now Playing"&chr(34)&","&chr(34)&"New Podcast"&chr(34)&" /n:"&chr(34)&"Now Playing"&chr(34)[/code]
Boom! Your ratings will appear underneath the album name. There are plenty of other details I pull from the database that I don't display, so you can pump as little or as much as you want to growlnotify. AFAIK, there's no way of sending graphics to growlnotify, so it's gonna be limited to ASCII text.