Browse By Art 4.x Issues

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

Moderators: Peke, Gurus

jamesb9
Posts: 19
Joined: Wed Nov 09, 2005 8:42 pm

Browse By Art 4.x Issues

Post by jamesb9 »

First of all I love the script and appreciate all the time and effort trixmoto has put into it. Unfortunately I've had some issues since around version 4.0. Specifically:

(1) About half of my albums show "none" even though there is album art tagged to the files (which shows up in other scripts like MonkeyRok). I looked at the log, the cache directory, and the database and only my albums with an albumID > 2254 are getting a .jpg cached ???

(2) The browse.htm file will load the first time I access a BrowseByArt node but if navigate away and back again I get the loading screen then a blank page. This happens until restart MM. The properties of the page show URL as "about" and if I view source it is simply "<HMTL></HTML>"

Any thoughts or suggestions?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

1) If you look at the albums table in MediaMonkey.mdb - what is the lowest ID value?

2) What version of IE do you have installed? I'm guessing IE7!
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.
jamesb9
Posts: 19
Joined: Wed Nov 09, 2005 8:42 pm

Post by jamesb9 »

Thanks for the quick reply -- that's service for a free download!

Album ID's range from 1651 to 4037 with a total of 981 records. I do have an album record with 0 for all ID fields and a blank Album name. I assumed that it was a system record but could it be causing a problem?

Also, I'm using IE6 SP2 version 6.0.2900.2180.xpsp.050301-1521...

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

Post by trixmoto »

1) If you go to the BrowseByArt settings and click the "Cache Now" button, do all the images you expect get created?

2) How are you navigating back to the BrowseByArt node?
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.
jamesb9
Posts: 19
Joined: Wed Nov 09, 2005 8:42 pm

Post by jamesb9 »

Two troubleshooting notes:

First, in testing today the lowest album ID with cached album artwork after startup was 2099. FYI - I have my music stored on a NAS drive over a wireless connection. Could the script be intolerant of a connection delay and just start caching when connection finally activates? I also have

Second, "cache now" worked to cache the album art but I noticed that the dimensions had originally been 200x200 but the cache now stored 149x149 images.

To clarify the balnk page issue, the first time I choose any of the BrowseByArt nodes I get the loading page which is replace by an album art page. The next time I choose a BrowseByArt node, whether immediately or after choosing other nodes, I get the loading page then a blank page.

Let me know if you need more info...
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

I have not tested this script on a NAS drive, so this definitely could be the problem. I sounds like you are using the startup cache process, if you wish to delay this to give the drive time to connect, you could amend line 314...

Code: Select all

Dim Tmr : Set Tmr = SDB.CreateTimer(1000)
... by changing the delay from one second (1000ms) to a larger value.

The newest version now caches the artwork at the correct size. This is calculated the same as it is when the artwork is displayed.

To fix this blank page issue, I'll need you to add some debug messages for me. In the released script lines 1175-1185 are...

Code: Select all

Sub Show(ShowTimer)
  Script.UnregisterEvents ShowTimer
  Dim data : Set data = SDB.Objects("BrowseData")
  If Not (data Is Nothing) Then
    If Not (data.Item("htm") = "" ) Then
      SDB.WebControl.Navigate data.Item("htm")
      Exit Sub
    End If
  End If
  SDB.WebControl.Navigate "about:"  
End Sub
Can you please insert the following line...

Code: Select all

Sub Show(ShowTimer)
  Script.UnregisterEvents ShowTimer
  Dim data : Set data = SDB.Objects("BrowseData")
  If Not (data Is Nothing) Then
    Call outsql("htm="&data.Item("htm"))  '<-------
    If Not (data.Item("htm") = "" ) Then
      SDB.WebControl.Navigate data.Item("htm")
      Exit Sub
    End If
  End If
  SDB.WebControl.Navigate "about:"  
End Sub
Then can you please restart MM and get the blank screen, then email me "BrowseByArt.vbs_sql.log" in your Scripts/Auto folder?
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