Page 1 of 1

Modifying RolleShark coverart to show cases instead of CDs

PostPosted: Mon Aug 19, 2013 8:18 am
by LeHote
I posted this in another forum, but didn't get any responses, thinking maybe that I didn't post in the appropriate forum.

I'm wondering if there's a way to edit the RolleShark theme to have the cover art to be displayed as cd cases rather than cd's. Thanks for the consideration!

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Tue Aug 20, 2013 3:47 pm
by daneren2005
No one responded because no one knows/cares. If this isn't a part of MusicCabinet it doesn't go here.

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Tue Aug 20, 2013 6:42 pm
by LeHote
Yikes, I apologize if I ruffled your feathers there. I originally thought it was not part of MusicCabinet since I posted in the Subsonic part of the forums. Then since I didn't get any responses from the people there, and realizing that it may be part of MusicCabinet since that's what I'm using, I chose to repost the question here. So I'm am very sorry that I pissed you off because I thought I would be posting in the appropriate forum. Some people man…

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Tue Aug 20, 2013 8:42 pm
by shadow.8
I believe rolle created the theme, maybe try sending him a PM?

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Wed Aug 21, 2013 6:04 am
by PoGo
That's actually a good question, I'd like to use this theme but I really can't stand the CD shaped covers.
Tell us if you find anything !

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Wed Aug 21, 2013 7:39 am
by PoGo
Actually it's quite simple...

First locate your rolleshark.css :
Code: Select all
find /var/subsonic -name rolleshark.css -type f


It sould be under /var/subsonic/jetty/<version of MC>/webapp/style
If you have multiple entries, select the one that match your current MC version.

Edit the file, and locate the following lines (sould be arround #277):
Code: Select all
.outerpair2 {
background: url(../icons/rolleshark/cd.png) 0 0 no-repeat !important;


Then comment out the background directive :
Code: Select all
.outerpair2 {
/*background: url(../icons/rolleshark/cd.png) 0 0 no-repeat !important;*/


Purge your cache, refresh the page, et voilĂ  :)

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Wed Aug 21, 2013 9:59 am
by LeHote
Thank you PoGo for that. I got a new display going on in MC now. I had hit up Rolle with a PM after shadow.8 indicated that he wrote the theme's code and he replied around the same time you did with the same advice. So I'm extremely grateful of all who considered to help.

Additionally, Rolle already wrote code for alternative displays for the cover art and all one has to do is uncomment the one they wish. Pretty neat stuff he's written in. Seems like a couple of easter eggs have been found!

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Wed Aug 21, 2013 11:04 am
by PoGo
You're welcome !

I also noticed this "easter egg", but I trully think that the album's covers should displayed as they are whitout any "fancy" css (just my opinion ;) ).

Re: Modifying RolleShark coverart to show cases instead of C

PostPosted: Mon Aug 26, 2013 2:37 am
by ebasta
I just changed the jewel.png and cd.png in photoshop to a square with a little bit of shading. Both files located in <drive>:\subsonic\jetty\<version>\webapp\icons\rolleshark\