Page 1 of 1

Increase Album covers

PostPosted: Sun Sep 25, 2011 10:03 pm
by LeTsRiPiT
Was wondering if anyone knows how to increase the number of album covers from 5 wide to say 8 wide on the index view?

Re: Increase Album covers

PostPosted: Mon Sep 26, 2011 1:19 pm
by retteketet
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.

Re: Increase Album covers

PostPosted: Wed Sep 28, 2011 11:49 pm
by LeTsRiPiT
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.

Re: Increase Album covers

PostPosted: Thu Oct 20, 2011 9:17 am
by djamu
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

Re: Increase Album covers

PostPosted: Thu Oct 20, 2011 7:22 pm
by califrag
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

Re: Increase Album covers

PostPosted: Sat Oct 22, 2011 12:34 pm
by djamu
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....

Re: Increase Album covers

PostPosted: Sun Nov 13, 2011 6:02 pm
by kaconet
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???????

Re: Increase Album covers

PostPosted: Sun Nov 13, 2011 6:05 pm
by kaconet
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

Re: Increase Album covers

PostPosted: Sun Nov 13, 2011 9:09 pm
by LeTsRiPiT
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

Re: Increase Album covers

PostPosted: Mon Nov 14, 2011 11:21 am
by kaconet
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

Re: Increase Album covers

PostPosted: Tue Nov 15, 2011 10:45 am
by kaconet
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)

Re: Increase Album covers

PostPosted: Wed Nov 16, 2011 10:26 pm
by LeTsRiPiT
Thanks for the clarification. Sorry I wasn't much help. Will try to be more help in the future.

Re: Increase Album covers

PostPosted: Thu Nov 24, 2011 11:00 am
by LeTsRiPiT
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.

Re: Increase Album covers

PostPosted: Fri Dec 02, 2011 1:50 am
by NuttySocrates
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.