Increase Album covers

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Increase Album covers

Postby LeTsRiPiT » Sun Sep 25, 2011 10:03 pm

Was wondering if anyone knows how to increase the number of album covers from 5 wide to say 8 wide on the index view?
3,961 artists
17,535 albums
212,903 songs
3458.73 GB ~ 18,701 hours
LeTsRiPiT
 
Posts: 21
Joined: Fri Jul 24, 2009 10:16 pm

Re: Increase Album covers

Postby retteketet » Mon Sep 26, 2011 1:19 pm

Hi,

You cab change that in home.jsp
there's a loop count you can change.

<c:if test="${loopStatus.count % 5 == 1}">
<tr>
</c:if>

You also have to modify the selections:
<c:forTokens items="5 10 15 20 30 40 50" delims=" " var="size">

Also change the link in the top.jsp menu acordingly:
"home.view?listSize=10&listType=recent"
i changed it to view the recent added albums instead of the random albums.
User avatar
retteketet
 
Posts: 6
Joined: Wed Sep 21, 2011 12:23 pm

Re: Increase Album covers

Postby LeTsRiPiT » Wed Sep 28, 2011 11:49 pm

Hi

Thanks for the reply!

I change the loop count [Awesome]. At first I didn't realize that there were (2) that needed to be adjusted.

[I have a very wide monitor and wanted to utilize the open space] . I was able to fit 8 covers across comfortably.

The other 2 items mentioned I have already modified to my liking.

Thanks again.
3,961 artists
17,535 albums
212,903 songs
3458.73 GB ~ 18,701 hours
LeTsRiPiT
 
Posts: 21
Joined: Fri Jul 24, 2009 10:16 pm

Re: Increase Album covers

Postby djamu » Thu Oct 20, 2011 9:17 am

that does'nt seem to work with the build I'm running > 4.5 (build 2384)
if I choose 8 ( changed the 3 parameters, 2 * <c:if test="${loopStatus.count % 5 == 1}"> to 8 and the <c:forTokens items="5 10 15 20 30 40 50" delims=" " var="size"> in multitudes of 8

then I'm getting rows of 5 + 3 + 2 images, replacing the customized with the original home.jsp doesn't bring this back
Is there some cache setting I'm missing :?:

also
There's no "home.view?listSize=10&listType=recent" in top.jsp
:shock:

thanks
djamu
 
Posts: 2
Joined: Wed Oct 19, 2011 11:40 pm

Re: Increase Album covers

Postby califrag » Thu Oct 20, 2011 7:22 pm

djamu wrote:that does'nt seem to work with the build I'm running > 4.5 (build 2384)
if I choose 8 ( changed the 3 parameters, 2 * <c:if test="${loopStatus.count % 5 == 1}"> to 8 and the <c:forTokens items="5 10 15 20 30 40 50" delims=" " var="size"> in multitudes of 8

then I'm getting rows of 5 + 3 + 2 images, replacing the customized with the original home.jsp doesn't bring this back
Is there some cache setting I'm missing :?:

also
There's no "home.view?listSize=10&listType=recent" in top.jsp
:shock:

thanks



Hi, just wanted to post here that I'm working on adding this functionality to Subsonic.

I've already got it working on my test build, and am working to incorporate it into the latest source build revision.

Once I have that done it will be up to Sindre if he wants to incorporate the changes into the main branch.

You can find more info and screenshots here:

viewtopic.php?f=8&t=8036#p32659
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Increase Album covers

Postby djamu » Sat Oct 22, 2011 12:34 pm

Ha, thanks califrag for your prompt reply.
I have a couple ideas for improvements myself
I've been using a heavily modified Jinzora for a long time ... until I couldn't postpone updating php > 5.3
( the devs abandoned Jinzora project anyway )
so far this seems to be be solid replacement....
djamu
 
Posts: 2
Joined: Wed Oct 19, 2011 11:40 pm

Re: Increase Album covers

Postby kaconet » Sun Nov 13, 2011 6:02 pm

I have changed the home.jsp to <c:if test="${loopStatus.count % 8 == 0}">
It works fine but when I click the Top home link I always get 10 covers instead of 8

Where or how do I change the 10 covers when I click the home link on Top???????
kaconet
 
Posts: 7
Joined: Sun Apr 17, 2011 11:45 am

Re: Increase Album covers

Postby kaconet » Sun Nov 13, 2011 6:05 pm

LeTsRiPiT wrote:Hi

Thanks for the reply!

I change the loop count [Awesome]. At first I didn't realize that there were (2) that needed to be adjusted.

[I have a very wide monitor and wanted to utilize the open space] . I was able to fit 8 covers across comfortably.

The other 2 items mentioned I have already modified to my liking.

Thanks again.


Tell us how you did change the other 2 items !

Share if you changed something
kaconet
 
Posts: 7
Joined: Sun Apr 17, 2011 11:45 am

Re: Increase Album covers

Postby LeTsRiPiT » Sun Nov 13, 2011 9:09 pm

Not sure of this, been awhile, scanned through where I think I went and found these. I hope it helps.
Sorry that I didn't pay more attention to what I was changing. in the future I will take some notes.

I change this line in the index.jsp ( I believe it said 5 or something @ where the 24 is now)

<frame name="main" src="home.view?listSize=24&listType=newest" marginwidth="0" marginheight="0">

I changed this line in the home.jsp to say 24

<c:param name="appearAfter" value="${loopStatus.count * 24}"/>

I also changed this line to give me multiples of 8

<c:forTokens items="8 16 24 32 40 80 160" delims=" " var="size">

Here is a pic of the result on my 24" monitor:
http://i5.photobucket.com/albums/y180/B ... cindex.jpg

I have also modified the built-in video player:
http://i5.photobucket.com/albums/y180/B ... Player.jpg
3,961 artists
17,535 albums
212,903 songs
3458.73 GB ~ 18,701 hours
LeTsRiPiT
 
Posts: 21
Joined: Fri Jul 24, 2009 10:16 pm

Re: Increase Album covers

Postby kaconet » Mon Nov 14, 2011 11:21 am

LeTsRiPiT wrote:Not sure of this, been awhile, scanned through where I think I went and found these. I hope it helps.
Sorry that I didn't pay more attention to what I was changing. in the future I will take some notes.

I change this line in the index.jsp ( I believe it said 5 or something @ where the 24 is now)

<frame name="main" src="home.view?listSize=24&listType=newest" marginwidth="0" marginheight="0">

I changed this line in the home.jsp to say 24

<c:param name="appearAfter" value="${loopStatus.count * 24}"/>

I also changed this line to give me multiples of 8

<c:forTokens items="8 16 24 32 40 80 160" delims=" " var="size">

Here is a pic of the result on my 24" monitor:
http://i5.photobucket.com/albums/y180/B ... cindex.jpg

I have also modified the built-in video player:
http://i5.photobucket.com/albums/y180/B ... Player.jpg



You're main windows looks good :)

I found and changed the lines in home.jsp

Can't find <frame name="main" src="home.view?listSize=24&listType=newest" marginwidth="0" marginheight="0"> in index.jsp or any other file :(

By the way: I looked in to older versions of subsonic, there isn't a index.jsp that have the line
<frame name="main" src="home.view?listSize=5&listType=newest" marginwidth="0" marginheight="0"> Nothing that looks like this in the whole script
kaconet
 
Posts: 7
Joined: Sun Apr 17, 2011 11:45 am

Re: Increase Album covers

Postby kaconet » Tue Nov 15, 2011 10:45 am

Okay Found out that this line "<frame name="main" src="home.view?listSize=10&listType=newest" marginwidth="0" marginheight="0">" is not in index.jsp

You have to change "<frame name="main" src="nowPlaying.view?" marginwidth="0" marginheight="0">" to "<frame name="main" src="home.view?listSize=10&listType=newest" marginwidth="0" marginheight="0">" (Change 10 to what you want, so if you want 16 covers on the main page change 10 to 16)

When you don't want newest but random you have to change "<frame name="main" src="nowPlaying.view?" marginwidth="0" marginheight="0">" to "<frame name="main" src="home.view?listSize=10&listType=newest" marginwidth="0" marginheight="0">" to "<frame name="main" src="nowPlaying.view?" marginwidth="0" marginheight="0">" to "<frame name="main" src="home.view?listSize=10&listType=random" marginwidth="0" marginheight="0">"

Then also change in home.jsp <c:forTokens items="5 10 15 20 30 40 50" delims=" " var="size"> to what you like, I like 8 16 24 32 40 56

Then also in home.jsp change <c:if test="${loopStatus.count % 5 == 1}"> to <c:if test="${loopStatus.count % 8 == 1}">

That will do the job 8)
kaconet
 
Posts: 7
Joined: Sun Apr 17, 2011 11:45 am

Re: Increase Album covers

Postby LeTsRiPiT » Wed Nov 16, 2011 10:26 pm

Thanks for the clarification. Sorry I wasn't much help. Will try to be more help in the future.
3,961 artists
17,535 albums
212,903 songs
3458.73 GB ~ 18,701 hours
LeTsRiPiT
 
Posts: 21
Joined: Fri Jul 24, 2009 10:16 pm

Re: Increase Album covers

Postby LeTsRiPiT » Thu Nov 24, 2011 11:00 am

JMoreau wrote:In which file is the following line ?
"<frame name="main" src="home.view?listSize=10&listType=newest" marginwidth="0" marginheight="0">"
I want to change listSize=10 (for 15 or 20)


This line is found on my index.jsp @ line 16.

please bear with me though I have made a few undocumented changes.

Hope this helps.
3,961 artists
17,535 albums
212,903 songs
3458.73 GB ~ 18,701 hours
LeTsRiPiT
 
Posts: 21
Joined: Fri Jul 24, 2009 10:16 pm

Re: Increase Album covers

Postby NuttySocrates » Fri Dec 02, 2011 1:50 am

This is what i see in my index file.

</head>

<frameset rows="80,*" frameborder="no" border="0" framespacing="0">
<frame src="top.view?" name="upper" scrolling="No" noresize="noresize" />
<frameset rows="*" cols="245,*" framespacing="0" frameborder="no" border="0">
<frame name="left" src="left.view?" noresize="noresize" />
<frameset rows="*" cols="*,${model.showRight ? 240 : 0}" framespacing="0" frameborder="no" border="0">
<frameset rows="*,220" cols="*" framespacing="0" frameborder="no" border="0"></>
<frame src="nowPlaying.view?" name="main"/>
<frame src="playlist.view?" name="playlist" id="playlistframe" />
</frameset>
<frame src="right.view?" name="right" noresize="noresize" />
</frameset>
</frameset>
</frameset>
<noframes></noframes>

I am trying to update so that the artwork shown on the home screen is top rated and it shows more than 10 album pics. I am also using the outlook theme if anyone else is using it.
I just want to change the number of covers I see on the main page. I was able to change the number of items in one row by using the fix in the home.jsp file. Please help me !
I am using windows 7 subsonic 4.6 beta 2 btw.
NuttySocrates
 
Posts: 5
Joined: Wed Nov 30, 2011 1:33 pm


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 8 guests