Set default view to NEWEST instead of random

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Set default view to NEWEST instead of random

Postby mudsharkymon » Wed Sep 16, 2009 9:54 pm

How about an option (global or per user) to change the default view to NEWEST (or whatever other view a user likes) rather than RANDOM.
mudsharkymon
 
Posts: 58
Joined: Mon May 04, 2009 5:36 am

Postby edbethea » Sun Sep 20, 2009 4:16 pm

That would be a useful feature.

But "Newest" should be something the admin can select some how to show as real new added music . "Newest" is only looking at the most recent modified file date so when I make some tag corrections to some existing music files, They show up as "newest" when they are not newest.

Maybe a feature change?
edbethea
 
Posts: 11
Joined: Sat Feb 28, 2009 11:11 pm
Location: US

Postby mudsharkymon » Mon Sep 21, 2009 4:22 am

Oh! Yea, sure! Selectable NEW or MODIFIED default! Speaking of which, I'd also like the option of NOT displaying the modified date. Much of my music is live recordings so therefore each album has 2 dates displaying, the modified on date and the performance date.
mudsharkymon
 
Posts: 58
Joined: Mon May 04, 2009 5:36 am

Postby kayvee » Thu Oct 01, 2009 2:41 pm

+1 for the idea
kayvee
 
Posts: 51
Joined: Fri Apr 10, 2009 7:26 pm

Postby pha9992001 » Tue Oct 27, 2009 5:22 am

+2... newest as a default option would be nice.
pha9992001
 
Posts: 41
Joined: Sat Mar 07, 2009 12:11 am

Postby bluetooth » Wed Oct 28, 2009 4:04 pm

I'll add my vote to this request
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby cyclopes » Mon Nov 09, 2009 12:45 am

+1 :D
Last edited by cyclopes on Mon Nov 09, 2009 7:30 pm, edited 1 time in total.
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Postby foo » Mon Nov 09, 2009 3:38 pm

+1 too
foo
 
Posts: 3
Joined: Wed Dec 24, 2008 6:44 pm

Postby kermit22 » Wed Nov 11, 2009 5:44 pm

[quote="mudsharkymon"]Selectable NEW or MODIFIED default![/quote]


+1 for this
User avatar
kermit22
 
Posts: 218
Joined: Fri Feb 20, 2009 7:00 pm

Re: Set default view to NEWEST instead of random

Postby flacflac » Fri Nov 13, 2009 1:24 am

mudsharkymon wrote:How about an option (global or per user) to change the default view to NEWEST (or whatever other view a user likes) rather than RANDOM.


I don't know if you tried this, but I changed it to "Newest" by modifying "index.jsp" (sorry, previous edit had the wrong file listed) - exchange line 16 with

Code: Select all
<frame name="main" src="home.view?listSize=10&listType=newest" marginwidth="0" marginheight="0">


Where the number after listSize equals the amount of albums shown per page. Granted, this is quick and dirty, but it does the job until this gets included as a feature.

Additionally you could change the reference of the "home" icon on the very top by changing line 30 of "top.jsp" into:

Code: Select all
            <td style="min-width:4em;padding-right:1.5em"><a href="home.view?listSize=10&listType=newest" target="main"><img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}"><br>${home}</a></td>


Also granted, if your user selects a different per page amount using the drop-down menu he/she will always be reverted back to 10 or whatever you set it to when he/she clicks on "home". If you can fiddle a bit with the scripting you can actually use the variable for this option, but that was too much of a headache for me right now... . :shock:

Make sure you make backups and know what you're doing. :)

ff
Last edited by flacflac on Mon Nov 16, 2009 8:34 am, edited 1 time in total.
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby precipitous » Mon Nov 16, 2009 4:05 am

flacflac:
I tried your suggestions. The edits to line 30 of Top.jsp work perfectly (I made a couple of edits to show top 15 most frequently played albums):
Code: Select all
<td style="min-width:4em;padding-right:1.5em">

                <a href="home.view?listSize=15&listType=frequent" target="main"><img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}"><br>${home}</a>

</td>


Unfortunately, the edits you suggested to Home.jsp are not giving me the same result. I ended up using the following for lines 14 - 17, but still no luck:

Code: Select all
<h1>

   <img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}">   
   <frame name="home.view?listSize=15&listType=frequent" marginwidth="0" marginheight="0">

</h1>


Does anybody have any suggestions?
User avatar
precipitous
 
Posts: 91
Joined: Fri Aug 14, 2009 6:43 pm
Location: Santa Barbara CA USA

Postby flacflac » Mon Nov 16, 2009 8:32 am

precipitous wrote:
Unfortunately, the edits you suggested to Home.jsp are not giving me the same result. I ended up using the following for lines 14 - 17, but still no luck:

Code: Select all
<h1>

   <img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}">   
   <frame name="home.view?listSize=15&listType=frequent" marginwidth="0" marginheight="0">

</h1>


Does anybody have any suggestions?



Hi, I am sorry but I made a little mistake in my post - you're not altering that file but INDEX.JSP - sorry about that, I had too many tabs in my text editor open... .

So, in "index.jsp", line 16:

Code: Select all
<frame name="main" src="home.view?listSize=10&listType=newest" marginwidth="0" marginheight="0">


Your other change is not affecting the home view.

Let me know if it works. :)

ff
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby precipitous » Mon Nov 16, 2009 4:36 pm

flacflac:
Your instructions worked perfectly... Thanks!
I wanted to display the top 15 most frequently played albums, though, so I made a slight edit, and used the following:
Code: Select all
<frame name="main" src="home.view?listSize=15&listType=frequent" marginwidth="0" marginheight="0">

Once again-Thank You!
User avatar
precipitous
 
Posts: 91
Joined: Fri Aug 14, 2009 6:43 pm
Location: Santa Barbara CA USA

Postby soonerrob » Thu Feb 11, 2010 3:20 am

can anyone tell me where this index file is located in the Standalone install?
soonerrob
 
Posts: 15
Joined: Sat Mar 28, 2009 1:41 am

Postby flacflac » Fri Feb 12, 2010 2:12 pm

soonerrob wrote:can anyone tell me where this index file is located in the Standalone install?


Sorry, I'm not using the standalone version. You could just search for "index.jsp" and should find it, most likely somewhere in your 'Program Files' folder if you're using Windows.

Someone using the Windows standalone version, give the man a hand!
8)
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Next

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest