MonkeyRok Alpha 02

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

zurban

Rating problem solved

Post by zurban »

' 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
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm
Contact:

We´re getting warmer ...

Post by arcspin »

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
cadmanmeg
Posts: 309
Joined: Sun Nov 19, 2006 5:28 am
Contact:

Post by cadmanmeg »

These seems really cool! Am going to download it now and check it out. But I am curious, when do you think it may get finished? I think the skinning part would be a great addition as well. Thanks for the work and sharing!
Fedaykin-
Posts: 16
Joined: Tue Jan 02, 2007 7:54 pm
Contact:

Post by Fedaykin- »

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.
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany
Contact:

Re: Rating problem solved

Post by RedX »

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
i've added the lines to both skinfuncitons.vbs but it still won't work. The stars were displayed correctly even before those changes.

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 If
I'm completely clueless as what is causing it, since i can't really work through the script.aculo.us javascript.

If trix released a version with debugging i'd be glad to help out with logs.[/code]
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

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.
powerpill-pacman
Posts: 154
Joined: Mon Feb 21, 2005 1:07 pm
Location: berlin, germany
Contact:

Post by powerpill-pacman »

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
Windows 7 Ultimate (64bit) - MediaMonkey 3.2.4.1304
My music on Soundcloud
some more on Last.fm
if you really like my music...
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

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.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

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.
XIONG
Posts: 5
Joined: Sun May 25, 2008 9:34 am
Contact:

Post by XIONG »

Luckily I saw the website, I wish all the people happy
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm
Contact:

Post by Vyper »

Nothing like bringing up an old thread. :-?
Stop Button Freak
tinana
Posts: 210
Joined: Sat Apr 15, 2006 1:52 pm
Location: new orleans los angeles
Contact:

Post by tinana »

My heart skipped, when I saw this thread I thought it was some radical, new version of MonkeyRok. :o :oops: :P
Image
MM Gold/Lifetime member
mosherdude2005

Re: MonkeyRok Alpha 02

Post by mosherdude2005 »

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!!!!
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: MonkeyRok Alpha 02

Post by nynaevelan »

This is an old version, you should upgrade to the latest version by Trixmoto.

Nyn
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
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm
Contact:

Re: MonkeyRok Alpha 02

Post by Vyper »

Can this thread be locked with a link to the latest version thread? :)
Stop Button Freak
Locked