Monkey Rok 6.2 - Updated 06/07/2014

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by Bex »

I didn't know that the Song Information Panel script could display the Auto-playlists a song was included in, so I had to check the code to see how Mr Eriksson had done it. Here's the code. Pretty smart and probably the only way to do it, but horribly slow. It would have been nice to be able to get the SQL from an auto-playlist, just as we can with Filters, that would make this task much, much faster. I think I'll add a wish for it in Mantis.

Here's Eriksson's code:

Code: Select all

Function AutoPlaylists(intID)
  AutoPlaylists = ""
  If Not intID = "-1" Then
    Dim sql  : sql = "SELECT PlaylistName FROM Playlists WHERE IsAutoPlaylist = 1 ORDER BY PlaylistName"
    Dim dbit : Set dbit = SDB.Database.OpenSQL(sql)
      If Not dbit.EOF Then
        While Not dbit.EOF
          Set PList = SDB.PlaylistByTitle(dbit.StringByIndex(0))
          Set List = Plist.Tracks
          For i = 0 To List.Count - 1
            If List.Item(i).ID = intID Then
              AutoPlaylists = AutoPlaylists & "<span class=""autoplaylists"">" & PList.Title & "</span><br />"
            End If
          Next
          dbit.Next
        Wend
      End If

    Set dbit = Nothing
  End If
End Function
EDIT, Added this to Mantis:
http://www.ventismedia.com/mantis/view.php?id=6412
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Saiyavenger
Posts: 29
Joined: Mon Apr 13, 2009 7:41 pm

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by Saiyavenger »

trixmoto wrote:There's no way to include autoplaylists as the link does go from track to autoplaylists but only from autoplaylists to track. If there was a way to get the SQL command for an autoplaylist (which there isn't) then it would be possible to build a list of track IDs and then loop through to see if the current ID is in there, but this would be very inefficient.
Ah, ok. Just checking!
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by trixmoto »

The problem autoplaylists is exactly the fact that they are automatic. If they are limited in some way (like ordered randomly and then limited to top 50) then sometimes the track will be in the autoplaylist and sometimes it won't. But I think this code could be improved with some caching possibly, I'll take a look in the next version, but no promises.
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.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by Bex »

Yes, you're right regarding Top X Random order in AutoPlaylists, good thinking! I wonder if they could be identified and excluded?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by trixmoto »

Not currently, as far as I'm aware. The autoplaylist conditions are stored within the database in a way that I can't distinguish them and there seems to be no helpful properties in the API. I'm not sure what would be useful, but certainly access to the SQL like with filters would be a good start.
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.
theta_wave
Posts: 310
Joined: Fri Apr 13, 2007 12:54 am

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by theta_wave »

Sasquatch wrote:I must really be dense. What am I doing wrong? I get the "...cannot display the webpage" message in the Monkey Rok panel. Odd, since I have no problems connecting to webpages otherwise. I was able to solve the "installation error" message by running MM as administrator, but now the no-webpage problem has me stymied. Suggestions?
Even though all versions of monkeyrok worked for me prior to using 5.x (5.3 being my first), I am getting this error message too (see screen capture). Before, I had to go into my registry and add a few values to get monkeyrok up and running after encountering activex errors (version 4.x). I uninstalled a working version of 4.1 (okay, clicking on the album art didn't bring up the artwork anymore) and installed 5.3. Now I get a "This program cannot display the webpage" error. I adjusted the internet and local intranet zones to low and restarted mediamonkey. I get the same blank page. I am using windows7's generic firewall, so I do not think this should be a problem since 4.1 was working a few moments ago. I use mediamonkey from my nonadmin account btw.

http://i26.tinypic.com/2lo3ndi.jpg
MM Gold Lifetime since 2.5.5.998
Computer: Lenovo Y580 System: Win7 Ultimate x64 SP1 / Arch Linux Mediamonkey 4: w/ Monkeyrok 5.6, Minilyrics 1.4b, iMonkey Skin
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by trixmoto »

Which skin are you using?
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.
theta_wave
Posts: 310
Joined: Fri Apr 13, 2007 12:54 am

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by theta_wave »

trixmoto wrote:Which skin are you using?
wmp11, which I also customized here and there. When I uninstalled monkeyrok 4.1, I made sure to remove the directory associated with it, including the wmp11 skin I had for it. I do not think it should be an issue with the skin I used since it seems that cannot display the css code used for your script.

here it is with monkeyrok 4.1 working: http://i31.tinypic.com/3465frq.jpg

Actually I figured out why the album art was not showing when clicked (v4.1): I had to change the regional zone back to English (US). I had it set something else for a moment when trying something out.
MM Gold Lifetime since 2.5.5.998
Computer: Lenovo Y580 System: Win7 Ultimate x64 SP1 / Arch Linux Mediamonkey 4: w/ Monkeyrok 5.6, Minilyrics 1.4b, iMonkey Skin
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by trixmoto »

The "wmp11" skin won't work on 5.3 as far as I'm aware - have you tried one of the "classic" skins?
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.
theta_wave
Posts: 310
Joined: Fri Apr 13, 2007 12:54 am

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by theta_wave »

trixmoto wrote:The "wmp11" skin won't work on 5.3 as far as I'm aware - have you tried one of the "classic" skins?
Yeah, when I first installed monkeyrok 5.3 in my admin account (stupid mediamonkey for having to use admin access for script installation), the mediamonkey there is barebones with everything at default. That is when I first saw the error.
MM Gold Lifetime since 2.5.5.998
Computer: Lenovo Y580 System: Win7 Ultimate x64 SP1 / Arch Linux Mediamonkey 4: w/ Monkeyrok 5.6, Minilyrics 1.4b, iMonkey Skin
EonDel

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by EonDel »

Every since version 5 I get the blank "This progrma cannot display the webpage screen. Is there a setting I need to tweak?
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by nohitter151 »

EonDel wrote:Every since version 5 I get the blank "This progrma cannot display the webpage screen. Is there a setting I need to tweak?
Try one of the classic skins in the MonkeyRok options.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
EonDel

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by EonDel »

that did it, thanks
rrfpacker
Posts: 1076
Joined: Sat Jul 12, 2008 5:47 pm

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by rrfpacker »

I've got questions regarding MR now that I've looked at it closer.

Statistics
I like most of them, but one is driving me crazy "Top 10 Rated Albums" and here's why. I have hundreds of single songs from an individual albums and some of them are rated 4 stars and higher. Therefore, my top 10 rated albums are actually single songs. I've looked through the settings and can't see any way to either get rid of the category or set it correctly...correctly meaning the album should have at least 8 (IMO) songs in order to be included. What am I missing?

What about being able to choose which statistics are visible? I don't really use the "Tracks per Album" or "Tracks per Genre" or "Tracks per Year". Are there other statistics that might be better?

Tabs
I can't keep the tabs visible. If I change albums, artists, or almost anything else the tabs disappear. I have to make MR reset itself in order to get tabs back. Also, Artist Comment and Album Comment do not show up as external panels (I know how to enter the info, it doesn't show up) but Lyrics and Playlists do.
Attached is screen shot. The two little tabs between Biography and Albums By are Lyrics and Played (not sure why Played is showing up). I don't know why the tabs aren't labeled...sometimes they are sometimes they aren't. Also, when the song changes, the lyrics in MR don't change.

Album Art
In "More Settings" we can hide volume bar, position bar, and player controls. Would it be possible to hide Album Art?

This is all for now. I love this script and want to use it to its fullest.

Image
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Monkey Rok 5.3 - Updated 27/06/2010

Post by trixmoto »

I'll look at adding an option in the next version which allows you to specify the minimum number of tracks which constitutes an album - this isn't currently possible.

On the "More" tab you can define which sections are visible - I think going down to the level of individual statistics would be too many options. I might try and find some more groupings, such as "Tracks Per..." and allow you to switch all of those off in on go.

As far as I'm aware I've fixed all of the tab issues, but it meant changes to the skin files so it's possible that the skin you are using has not been fixed. Can you replicate these issues in the "classic_tabs" skin?

You can hide the artwork by setting the "Artwork Mode" to "None".
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.
Post Reply