Kodi Community Forum

Full Version: Most recently added songs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way (possible a smart playlist?) to get the most recently added songs in XBMC. I know you can get most recently added albums, but that isn't cutting it for me. Sometimes I download new songs that belong to an album I've had for years, so they don't show up in that list.

Any help is much appreciated.

Thanks.
I've been searching and have not been able to find a solution.
Can anyone confirm that there is indeed no way to get a list of the most recently added songs?
Don't know what skin you're using but you should look for recentlyadded.py in the skin's XMLs (usually Startup.xml or Home.xml) and then remove &albums=True from the XBMC.RunScript line.
Hitcher Wrote:Don't know what skin you're using but you should look for recentlyadded.py in the skin's XMLs (usually Startup.xml or Home.xml) and then remove &albums=True from the XBMC.RunScript line.

Thanks, but does this only change the recently added songs shown in the home screen?
I'd like to change the recently added list within the music library itself.

Also, I'm using Confluence and I didn't find any line in either Startup.xml or Home.xml that said albums=True
I have MySQL set up for my XBMC database. After browsing through all the tables and views, i don't see anywhere that stores the date added, however since i just need "most recently" added, it would be easy to achieve by adding
Code:
order by idSong desc
to the query.

I will put together a feature request and submit it.

UPDATE: After searching trac, I found this: http://trac.xbmc.org/changeset/9182 from 3 years ago.
It appears to be exactly what I'm looking for, however this functionality doesn't seem to exists in smart playlists anymore. I'm using Dharma beta 3 and Confluence, but can't figure out how to use a smart playlist to get a list of most recently added songs.
I followed that SmartPlayist.cpp file to the end of it's life, and this line remained commented out, so i'm going to submit a feature request.
Code:
//    fields.push_back(FIELD_DATEADDED);  // no date added yet in db
Here is the feature request. Let's hope a dev picks this up. It should be a relatively pain-free commit.
http://trac.xbmc.org/ticket/10556
I'm going to breath some life into this thread.
I'm still searching for a way to get a list of songs ordered by most recently added to oldest.

Anybody have an idea?

My trac ticket hasn't gotten any attention yet.
theres a similar thread here http://forum.xbmc.org/showthread.php?tid=83000 but not any real news
Still looking for any solution/workaround for this.
Hoping some fresh eyes/minds have some input.