INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Interesting thing i found out today about MC  (Read 1700 times)

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Interesting thing i found out today about MC
« on: June 23, 2003, 10:36:44 am »

3 people have contacted me because my program checks for the registry for cover art.

they showed me a picture of the MC9 registry key and basicly only had about 5 entries. and also no cover art path key.

i uninstalled MC9 and all keys

reinstalled MC9.1.203 and looked at the registry

it only had like 5 keys in the Media Jukebox\properties key

i then went and edited the cover art path

refreshed the registry by clicking on another key and then back again, and now there is about 150keys on Properties.

I think this may be a problem.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42389
  • Shoes gone again!
Re: Interesting thing i found out today about MC
« Reply #1 on: June 23, 2003, 12:12:17 pm »

When we load a value, we always say "load -- but if it isn't there, use this default value".  So loading doesn't create the values.  However, doing an "OK" in options actually saves the values.

Thanks King. ( p.s. the secret key on spartasoft.com cracks me up :P )
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Interesting thing i found out today about MC
« Reply #2 on: June 23, 2003, 12:50:55 pm »

Quote
When we load a value, we always say "load -- but if it isn't there, use this default value".  So loading doesn't create the values.  However, doing an "OK" in options actually saves the values.


well that sounds ok for you, but if you have a plug-in that needs some of MC's info like cover art folder it i guess is not unless there was a way to get the default info or something.

is there anyway i can get the cover art folder if it is not in the registry?

Quote
Thanks King. ( p.s. the secret key on spartasoft.com cracks me up

yea that was ment to be a joke  ;D
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42389
  • Shoes gone again!
Re: Interesting thing i found out today about MC
« Reply #3 on: June 23, 2003, 01:45:54 pm »

Until we have a better answer, you could use this as the default in case the regkeys don't exist:

strInstallPath = HKEY_LOCAL_MACHINE\\Software\\JRiver\\Media Jukebox\\InstallDirectory

<make sure strInstallPath has trailing slash>

strDefault = strInstallPath + "Data\\Cover Art\\"

Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Interesting thing i found out today about MC
« Reply #4 on: June 23, 2003, 02:08:03 pm »

that sounds good Thanks!

It is A bit better than my plan of guessing.

;D

Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Interesting thing i found out today about MC
« Reply #5 on: June 23, 2003, 02:26:27 pm »

Ok, Done

I'm checking for image location on program start

if not found I look at the key above and create the default. then i set a var inside the program to my created path.

You're Idea Works Perfectly, thanks


How I Feel Right Now.

Charted At 01 In 1998 'Gettin' Jiggy Wit It'

Listening to: 'Gettin' Jiggy Wit It' from 'Big Willie Style' by 'Will Smith' on Media Center 9.1
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up