Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Cover Art support for DOSCab/WinCab Jukebox  (Read 8181 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Cover Art support for DOSCab/WinCab Jukebox
« on: December 31, 2004, 02:26:17 pm »
I'm working on getting the CD skins working for DOSCab/WinCab Jukebox, and of ourse the most attractive thing about a CD-based jukebox is the cover art.
« Last Edit: January 01, 2005, 04:12:20 pm by Chris »
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

GadgetGeek

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:September 03, 2014, 09:59:01 am
  • whatever
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #1 on: January 01, 2005, 10:14:27 am »
Not a must have, but maybe support for *.png as well?  Granted, most folks are getting their covers from Amazon, WalMart, or whatever and they are usually in .jpg format.

Also, I currently have my covers in a separate folder with the title being Artist_Album.jpg (actually two folders, one for large (300x300) and one for midsize (140x140)), but I'm thinking of moving them to the album directories.

Finally, if it doesn't find a cover, how are you planning to display a cover?  Generate a generic Album/Artist cover?
« Last Edit: January 01, 2005, 10:18:00 am by GadgetGeek »

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #2 on: January 01, 2005, 12:20:16 pm »
To my own folder based jukebox (Arcade Music Box), I did a "foldername/folder.jpg" and a "foldername/foldername.jpg" support.

You should start with the folder.jpg support, because it was that way Windows Media Player (I didn't know about this, until a user asked me for that).

You can either made a scaling support (downscaling), so it auto scaling to it fit that skin (like I did).

[EDIT]
Chris, should we made a link exchange from mine and your app on the homepage?
[/EDIT]
« Last Edit: January 01, 2005, 12:23:02 pm by Space Fractal / Denmark »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #3 on: January 01, 2005, 04:14:59 pm »
Not a must have, but maybe support for *.png as well?
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

GadgetGeek

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:September 03, 2014, 09:59:01 am
  • whatever
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #4 on: January 01, 2005, 04:36:36 pm »
Quote
Also, I currently have my covers in a separate folder with the title being Artist_Album.jpg (actually two folders, one for large (300x300) and one for midsize (140x140)), but I'm thinking of moving them to the album directories.
Do you have a player that uses them that way?
No...it is just how I've got them for now so I can figure out what ones I'm still missing.     Makes my life a little easier during the ripping phase of my project.  I'll probably throw together a quick script to move them into the album directories like the rest of the world.
And png is a non-issue for me.  Just thought I'd mention it since it seems like all the mame screenshots and what not are png.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #5 on: January 03, 2005, 02:05:49 pm »
Chris, should we made a link exchange from mine and your app on the homepage?
I haven't updated my "other jukeboxes" link in far too long.  I have your jukebox on my page now.  :)

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

visciouslymamed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:December 02, 2011, 08:38:46 pm
  • I want to Build My Own Arcade Controls!!
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #6 on: January 03, 2005, 04:09:10 pm »
I don't know what your cd layout looks like, but a lot of cd jukebox programs have a browse page (lots of small covers) and a tracklist page (1 cover supersized). If you will be using this layout, could you add support for a second hi-rez image. When the tracklist page loads, if the large image is not found then use the smaller browse image.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #7 on: January 03, 2005, 04:16:42 pm »
I don't know what your cd layout looks like, but a lot of cd jukebox programs have a browse page (lots of small covers) and a tracklist page (1 cover supersized). If you will be using this layout, could you add support for a second hi-rez image. When the tracklist page loads, if the large image is not found then use the smaller browse image.
I am not planning a separate "browse" page for the CD skins, so only one size of cover image will ever be needed.

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

andrewhannay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:November 16, 2005, 04:52:25 am
  • I'm a llama!
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #8 on: January 06, 2005, 10:18:54 am »
The way I see this is going to work then, is I will be able to display the full album cover (with full name and artist) and the tracks will not be restricted to the 8 character file name as you will read the ID3 tags. This will get over having to list tracks in directory or album order and will give it real CD Jukebox feel. Can't wait for this version.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #9 on: January 06, 2005, 10:44:41 am »
The way I see this is going to work then, is I will be able to display the full album cover (with full name and artist) and the tracks will not be restricted to the 8 character file name as you will read the ID3 tags. This will get over having to list tracks in directory or album order and will give it real CD Jukebox feel. Can't wait for this version.
Yes.  Right now, the album name, cover art and artist come from the first track on the album.  I may change artist to look at all the songs on the album and take the artist that matches at least 50% of the songs, otherwise list it as "Various Artists".  Songs that have no album information will get lumped together on an album called "Singles".  (The text "Various Artists" and "Singles" can be changed in jukebox.ini.

Track numbers come from ID3 tags, or if that information is not available, it looks to see if the filename starts with a number (like 02 - Stairway to Heaven.mp3) and if so it uses that number as the track number.  (This won't always be correct, of course; 99 Red Balloons.mp3 would show up as track 99 in the absence of any other track information, but nothing's perfect).


The resulting title cards should end up looking like the ones on a physical CD jukebox, not a video jukebox:




--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

andrewhannay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:November 16, 2005, 04:52:25 am
  • I'm a llama!
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #10 on: January 06, 2005, 01:06:41 pm »
>The resulting title cards should end up looking like the ones on a physical CD jukebox, not a video jukebox

Excellent! Excactly how I want it.

garyh

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:January 26, 2011, 02:30:17 am
  • If God rides a Harley then the devil rides an LC.
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #11 on: June 16, 2005, 02:04:05 pm »
Hi Chris,

Any chance of support for:

Coverart1=drive:\directory\artist - album.jpg

If you don't ask etc . . .  ;)

Best regards

Gary

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #12 on: June 16, 2005, 02:19:12 pm »
Hi Chris,

Any chance of support for:

Coverart1=drive:\directory\artist - album.jpg
Well, anything is of course possible... :)  I wasn't aware anyone actually stored album covers in this fashion.  I guess I would need to account for all of these possibilities:

drive:\directory\artist - album.jpg
drive:\directory\artist\album.jpg
drive:\directory\song.jpg
drive:\directory\artist - song.jpg

Seems like I did a poll on this subject way back when and the only way anyone seemed to be storing album covers was in the folder with the music.  Right now, during indexing, when I first enter a folder I grab an image based on the art rules, and then I apply that to all songs found in the folder. What I would have to do in this case is once I find the album and artist, look through the alternate folder for a match.  This, of course, takes extra work and slows down the indexer, whch is why I didn't bother if no one organized their collection this way.

What I would probably do if I needed to implement this would be to have an ArtFolder parameter that you could set to drive:\directory, preindex all images in that folder and its subfolders, and then for each song, look for artist - album.jpg, artist\album.jpg, song.jpg, etc. within that pre-index.  If you don't have an ArtFolder, you don't really lose performance because the size of the preindex is 0 and the extra searches never happen.

So is anyone actually storing their art this way?  If so, is there a particular reason (i.e. this is how MusicMatch or iTunes or something stores the art)?

Thanks!

--Chris



--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

garyh

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:January 26, 2011, 02:30:17 am
  • If God rides a Harley then the devil rides an LC.
Re: Cover Art support for DOSCab/WinCab Jukebox
« Reply #13 on: June 16, 2005, 03:09:23 pm »
Sorry Chris, suppose I should have said that this is the format used by TouchTone http://www.mp3touchscreens.com/touchtone/ which is what I am using until WinCab supports a touchscreen under Win98  :)

Personally I like the idea of keeping the JPGs separate from the OGGs.

regards

Gary