INTERACT FORUM

Please login or register.

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

Author Topic: Album art in Java applet  (Read 2606 times)

Marra

  • Regular Member
  • World Citizen
  • ***
  • Posts: 160
Album art in Java applet
« on: May 08, 2006, 11:54:06 pm »

I am trying to get the album art to display using a java applet from

http://www.dseffects.com/applets/f_dsapplets.html

Negative scroll appeals to me most. The end result for my track info template would be to display the album details (artist, album, title) with this fancy scroll over the album art image.

I can pass the text parameters easy enough via TRACKINFO_INSERT etc but I can't pass the image file.

Mr Chriz - tried you previous method for javascript without any luck.

Getting closer to releasing track info template for all.

Any helpers out there.

Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Album art in Java applet
« Reply #1 on: May 09, 2006, 04:59:16 am »

Marra if you could send me a quick sample to my email
which i've posted you, then I'll take another look if you like.

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Album art in Java applet
« Reply #2 on: May 09, 2006, 05:53:25 am »

The Java applets don't seem to support paths.
Even if I hard code an image path in there it doesn't work,
and just reports that the applet has crashed.
The only way I can see of getting this to work would be to copy the image
into the current directory.  I'm not sure how possible this is...
In my case it would be copying from
M:/DOCUME~1/Chris/LOCALS~1/Temp/JRTemp/MP3 Image - 6000.jpg
to
M:\Program Files\J River\Media Center 11\Visualizations\Track Info\Marra\MP3 Image - 6000.jpg

Then stripping the path off somehow...
Will put some more thought into this later...

I've sent the author an email to see if theres some secret.

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Album art in Java applet
« Reply #3 on: May 09, 2006, 10:39:14 am »

I've just had a bit of a pointless argument with the author
with no result I'm afraid.

First of all he told me to use relative paths which didn't work,
so I sent back a sample of what I tried,
and then he sent a scourneful email back saying the image
has to be in the same directory and I should just use his HTML
generator.

Javascript does not support access to the file system (Rightly since that would be a huge security prob)
so I think it's a dead end for this idea I'm afraid.

 :(

Marra

  • Regular Member
  • World Citizen
  • ***
  • Posts: 160
Re: Album art in Java applet
« Reply #4 on: May 09, 2006, 02:48:40 pm »

Thanks again for all your efforts. Mr ChriZ.

Would it be possible for JR to make album image more accessible?

Also, would you mind if I sent copy of beta trackinfo to you to look at (larger than normal templates - involves a lot of images) before releasing.

It's people like yourself and others that make this forum/development so great.

Logged
Pages: [1]   Go Up