MonkeyRok Alpha 02
-
zurban
Rating problem solved
' star images
Function ImagesForRating (rating)
i = parseFloat(rating)/20
If i >0 Then
j = Floor(i)
k = 0
While k<j
ImagesForRating = ImagesForRating & "<image src='star.gif'>"
k = k +1
Wend
If (Not i=j )Then
If i-j >= .5 Then
ImagesForRating = ImagesForRating & "<image src='star_l.gif' alt="& i &i &i &">"
End If
End If
End if
End Function
==> make the changes in skinfunctions.vbs (basic skin directory, the darkskin is using the same file
Function ImagesForRating (rating)
i = parseFloat(rating)/20
If i >0 Then
j = Floor(i)
k = 0
While k<j
ImagesForRating = ImagesForRating & "<image src='star.gif'>"
k = k +1
Wend
If (Not i=j )Then
If i-j >= .5 Then
ImagesForRating = ImagesForRating & "<image src='star_l.gif' alt="& i &i &i &">"
End If
End If
End if
End Function
==> make the changes in skinfunctions.vbs (basic skin directory, the darkskin is using the same file
We´re getting warmer ...
Hi,
We are getting closer...but not yet still there.
First I would like to thank you for that addition to the skinfunction.vbs script.
It do work except that half starts are not showing correctley. I get a box with a lot of numbers in it instead of a half star.
Other than that it do work !!!
Thanx and hope you can fix the half star bug
Cheers,
//P
We are getting closer...but not yet still there.
First I would like to thank you for that addition to the skinfunction.vbs script.
It do work except that half starts are not showing correctley. I get a box with a lot of numbers in it instead of a half star.
Other than that it do work !!!
Thanx and hope you can fix the half star bug
Cheers,
//P
I'm not sure if this has been asked before, but here goes:
I get an error when starting up MM. The error message is:
An error has occurred in the script on this page
Line: 65
Char: 2
Error: Object required: 'SDB.Player.CurrentSong'
Code: 0
URL: file//C:\Program Files\MediaMonkey\Scripts\MonkeyRok\skins\basic\skin.html
Do you want to continue running scripts on this page? [Yes/No]
Basically I need to hit 'Yes' everytime I start MM and I'd like to avoid doing that. Does anybody have any idea what it may be?
Cheers.
I get an error when starting up MM. The error message is:
An error has occurred in the script on this page
Line: 65
Char: 2
Error: Object required: 'SDB.Player.CurrentSong'
Code: 0
URL: file//C:\Program Files\MediaMonkey\Scripts\MonkeyRok\skins\basic\skin.html
Do you want to continue running scripts on this page? [Yes/No]
Basically I need to hit 'Yes' everytime I start MM and I'd like to avoid doing that. Does anybody have any idea what it may be?
Cheers.
Re: Rating problem solved
i've added the lines to both skinfuncitons.vbs but it still won't work. The stars were displayed correctly even before those changes.zurban wrote:' star images
Function ImagesForRating (rating)
i = parseFloat(rating)/20
If i >0 Then
j = Floor(i)
k = 0
While k<j
ImagesForRating = ImagesForRating & "<image src='star.gif'>"
k = k +1
Wend
If (Not i=j )Then
If i-j >= .5 Then
ImagesForRating = ImagesForRating & "<image src='star_l.gif' alt="& i &i &i &">"
End If
End If
End if
End Function
==> make the changes in skinfunctions.vbs (basic skin directory, the darkskin is using the same file
Since it always stops at Album by artist and Albums featuring artist, i decided to uncomment those two lines from functions.vbs but now they stop at the loading simbol. It still hangs up tho.
Code: Select all
If Not lastPlayedArtist = SDB.Player.CurrentSong.Artist.ID OR Not lastPlayedAlbumID = SDB.Player.CurrentSong.Album.ID Then
'document.all("current_album_content").innerHTML = "<img src='loading.gif'>"
document.all("albums_by_content").innerHTML = "<img src='loading.gif'>"
document.all("albums_featuring_content").innerHTML = "<img src='loading.gif'>"
UpdateCurrentAlbum
'### Uncommented here
'UpdateAlbumsByArtist
'UpdateAlbumsFeaturingArtist
Else
'update playing indicators in last album
If lastPlayedAlbumID>0 Then UpdateAlbum(lastPlayedAlbumID)
'update playing indicators in current album
If SDB.Player.CurrentSong.Album.ID > 0 Then UpdateAlbum(SDB.Player.CurrentSong.Album.ID)
End IfIf trix released a version with debugging i'd be glad to help out with logs.[/code]
I am now working on this script (starting properly this evening). I've got a list of all the previously mentioned bugs and feature requests, so a new version should appear soon. Please be patient! 
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
powerpill-pacman
- Posts: 154
- Joined: Mon Feb 21, 2005 1:07 pm
- Location: berlin, germany
- Contact:
Yay Trixmoto,
this is great news, i've been waiting quite q while for someone to pick up this great script (which doesn't work for me).
Thanks in advance
this is great news, i've been waiting quite q while for someone to pick up this great script (which doesn't work for me).
Thanks in advance
Windows 7 Ultimate (64bit) - MediaMonkey 3.2.4.1304
My music on Soundcloud
some more on Last.fm
if you really like my music...
My music on Soundcloud
some more on Last.fm
if you really like my music...
I've finished fixing all the reported bugs and am now working on some of the requests (plus a couple of ideas of my own). Hopefully the release will be ready in a few days.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
The release is ready! I have created a new thread here: http://www.mediamonkey.com/forum/viewtopic.php?t=14494
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
mosherdude2005
Re: MonkeyRok Alpha 02
Hey I really want to be able to use this script but I get an error every time a new song plays It's a pop up stating:
There was a problem querying the database:
Error executing SQL "SELECT TOP 5 Songs.ID, Songs.SongTitle, Songs.SongLength, Songs.Rating, Songs.PlayCounter,
Songs.IDArtist FROM Songs WHERE Songs.IDArtist =0 ORDER BY Songs.Rating DESC
" : near "5":syntax error (1,1)
and then below it has buttons for cancel retry and ignore.
also no album art will show up and I get a message when it first starts up where internet explorer wants to know if I'm sure I want to run ActiveX scripts. But I figure that message is normal. Please help!!!!
There was a problem querying the database:
Error executing SQL "SELECT TOP 5 Songs.ID, Songs.SongTitle, Songs.SongLength, Songs.Rating, Songs.PlayCounter,
Songs.IDArtist FROM Songs WHERE Songs.IDArtist =0 ORDER BY Songs.Rating DESC
" : near "5":syntax error (1,1)
and then below it has buttons for cancel retry and ignore.
also no album art will show up and I get a message when it first starts up where internet explorer wants to know if I'm sure I want to run ActiveX scripts. But I figure that message is normal. Please help!!!!
-
nynaevelan
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: MonkeyRok Alpha 02
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: MonkeyRok Alpha 02
Can this thread be locked with a link to the latest version thread? 
Stop Button Freak
