INTERACT FORUM

Please login or register.

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

Author Topic: Second Time I ask This Question. Please Help!! :(  (Read 2361 times)

geekbeats

  • Regular Member
  • Recent member
  • *
  • Posts: 9
  • I'm a llama!
Second Time I ask This Question. Please Help!! :(
« on: January 04, 2004, 07:36:38 am »

I asked before and someone helped me out a bit but in the end nothing was really solved. Heres the low down:
I store all of my mp3s in nicely organized folders/subfolders. I organize them according to Genre>Artist>Album. Within Each Album Folder I store a corresponding Cover Art jpeg, named 'folder.jpg'. Within each Artist Folder, alongside the Album Folders I place a corresponding image of the artist, also named 'folder.jpg'. All of this of course is so i can see all these pretty lil pictures in windows xp. anyways now i discovered media center and im in love with this program. i started fiddling around creating my own custom Song Info templates when i thought of the possibility of not only displaying my cover art of the song/album playing , but also displaying the artist image i talked about earlier.  so anyways ive tried all kinds of different html to achieve this but it doesnt seem to work!  Just to clear things up again ill describe what i want: I WANT TO DISPLAY BOTH COVER ART AND ARTIST IMAGE ALONGSIDE EACH OTHER IN THE SONG INFO TEMPLATE.
pleasee help!
i know you guys are smart , help a dumbass out! :) Thanks
Logged

nila

  • Guest
Re:Second Time I ask This Question. Please Help!! :(
« Reply #1 on: January 04, 2004, 09:33:13 am »

U cant do it.
Sorry
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re:Second Time I ask This Question. Please Help!! :(
« Reply #2 on: January 04, 2004, 10:37:08 am »

Quote
I WANT TO DISPLAY BOTH COVER ART AND ARTIST IMAGE ALONGSIDE EACH OTHER IN THE SONG INFO TEMPLATE.

Good idea

MJ8\MC9\MC10

Does not support Multi Images in or out of tags

I Also think it should suport Album Front, Album Back And A Artist Image
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

sraymond

  • Guest
Re:Second Time I ask This Question. Please Help!! :(
« Reply #3 on: January 04, 2004, 12:44:11 pm »

Can't the HTML use scripting to deduce the name of the Artist image?  There would just need to be a TRACK_INFO field that contained the desired path.

I'm guessing by Nila's answer that there is no such TRACK_INFO, but it seems like an easy addition to the API.

Scott-
Logged

nila

  • Guest
Re:Second Time I ask This Question. Please Help!! :(
« Reply #4 on: January 04, 2004, 02:03:25 pm »

Hmmm,
Ur post gives me an idea Scott - this could PROBABLY be done with javascript.
Just have to play with it a bit.
Logged

sraymond

  • Guest
Re:Second Time I ask This Question. Please Help!! :(
« Reply #5 on: January 04, 2004, 02:24:08 pm »

Hmmm,
Ur post gives me an idea Scott - this could PROBABLY be done with javascript.
Just have to play with it a bit.

So what's the variable?  TRACKINFO_INSERT_PATH?

Scott-
Logged

nila

  • Guest
Re:Second Time I ask This Question. Please Help!! :(
« Reply #6 on: January 04, 2004, 03:00:51 pm »

well this is presuming that he's set the cover art in MC to his cover art for the album.

TRACKINFO_INSERT_IMAGE   <-- that's the path to the album cover.

U then just have to work out the position of the last and second last / and remove that part of the path which will give u the path to the artist one.
Logged

sraymond

  • Guest
Re:Second Time I ask This Question. Please Help!! :(
« Reply #7 on: January 04, 2004, 04:02:00 pm »

well this is presuming that he's set the cover art in MC to his cover art for the album.

TRACKINFO_INSERT_IMAGE   <-- that's the path to the album cover.

U then just have to work out the position of the last and second last / and remove that part of the path which will give u the path to the artist one.

That's easy...  
Code: [Select]
var path = location.pathname;  // This is the entire file name, relative to \
var pathEnd = path.lastIndexOf("\");  // This is the index of the "\" character, before the file name  
var dirLoc = path.substring(0, pathEnd);   // This is the directory in which the file is located
var theFile = path.substring(pathEnd + 1, path.length);  // This is the file name
Should work just fine, though I haven't tested it.

Scott-
Logged
Pages: [1]   Go Up