Windows > Third Party Plug-ins, Programs, and Skins

Cover Art Finder

<< < (5/6) > >>

KingSparta:

--- Quote ---OK, I'll change the reg key from "Test" to "Registered" myself--that'll take care of me, at any rate.

I do have the trailing slash on the cover art directory.  Also, my value exists--your code above should have fallen out at the first if, with the location being set to my cover art folder.  Perhaps there's a general registry issue going on?

Thanks for the explanation on the gif vs. the jpg.  It was just weird that it would find one sometimes and one the other.

The Media Center crash is odd.  It only does it if you're in the middle of a search.  I'm going to take a wild-ass guess that you're using a WebBrowser ActiveX instance to do the search
--- End quote ---


It uses the MC9 sdk to do the download

   Dim MJIA As MediaJukebox.MJInternetAutomation
   Set MJIA = g_MJ.GetInternet
   MJIA.DownloadMode = DOWNLOAD_MODE_NO_UI
   TempFile = MJIA.DownloadToTempFile(MYURL)

i will do some testing.

it may just be i need to add some error traping in a few places.

KingSparta:
it seems for Kid_Squid

MC9 is not passing the cover art path to the plug-in

it is also not passing the MC9 Install dir to the plug-in

not sure why but this is what i did

======================================

i changed the code to test if both registry paths fail to push a default path into the path var

   MJImageFileLocation = ReadKey("HKEY_CURRENT_USER\Software\JRiver\Media Jukebox\Properties\ImageFileLocation")
   If LenB(MJImageFileLocation) = 0 Then
       MJImageFileLocation = ReadKey("HKEY_LOCAL_MACHINE\Software\JRiver\Media Jukebox\InstallDirectory")
       MJImageFileLocation = MJImageFileLocation & "Data\Cover Art\"
       If LenB(MJImageFileLocation) = 0 Then
           MJImageFileLocation = "C:\Program Files\J River\Media Center\Data\Cover Art\"
       End If
   Else
       MyPos1 = Len(MJImageFileLocation)
       If Mid$(MJImageFileLocation, MyPos1, 1) <> "\" Then
           MJImageFileLocation = MJImageFileLocation & "\"
       End If
   End If

Kid_Squid:
yes...exerything looks fine in the registry....the image path is correctly stated as:

C:\Program Files\J River\Media Center\Data\Cover Art\

Squid

KingSparta:

--- Quote ---yes...exerything looks fine in the registry....the image path is correctly stated as:

C:\Program Files\J River\Media Center\Data\Cover Art\

Squid
--- End quote ---


download the new version i just made (same version number)

it will force the standard default path if for some reason it can't get the registry info.

I also added some traps to it for the reported crashes, i could never get it to crash as geoelectric stated. it could be an OS issue.

Squid what OS do you have?

Kid_Squid:
just downloaded and reinstalled....images still going to the data folder..

win xp

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version