Home -> Recently Added | how to fix

Need help? Post your questions here.

Moderator: moderators

Home -> Recently Added | how to fix

Postby Rcmpayne » Sun May 06, 2012 7:11 pm

Hello All,

Is there a way i can change the way the home -> recently Added works? currently its filled with my music but i want to keep track of newly movies and shows. It seems that if i remove my music as a share it works but my playlist will no longer work.
Rcmpayne
 
Posts: 4
Joined: Sat Dec 17, 2011 12:48 am

Re: Home -> Recently Added | how to fix

Postby bushman4 » Mon May 07, 2012 12:29 pm

Every day when the Search Database is updated, and new folders that it finds are added to the Lucene index and have a "Date Added" date of that day.

The "Recently Added" screen is just a query against that database, descending by date added. So it will always show the most recently added folders, in order by date added, descending.

There is no real control over it, other than when you add a folder...

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Home -> Recently Added | how to fix

Postby Rcmpayne » Mon May 07, 2012 10:24 pm

Are the sql queries changable at all? If so I update the select statement
Rcmpayne
 
Posts: 4
Joined: Sat Dec 17, 2011 12:48 am

Re: Home -> Recently Added | how to fix

Postby bushman4 » Tue May 08, 2012 3:50 pm

They are if you know how to access, change, recompile, and distribute the source code into a new WAR package for yourself to try...

I am unsure where.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Home -> Recently Added | how to fix

Postby hakko » Tue May 08, 2012 4:05 pm

"Random albums" and "Recently added" are actually not queries against the database, they're picked from the search index.

http://subsonic.svn.sourceforge.net/vie ... iew=markup

"Recently added" albums are collected in the method starting at line 463.

"Top rated", "Most played" and "Recently played" are queried from the database, in MusicFileInfoDao.java.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Home -> Recently Added | how to fix

Postby hakko » Tue May 08, 2012 4:08 pm

There are a few different indexes in Subsonic by the way. The Lucene index is not the same as the internal index found in SearchService.java.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to Help

Who is online

Users browsing this forum: No registered users and 8 guests