Song matching with Last.FM & Co.

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

Moderator: moderators

Song matching with Last.FM & Co.

Postby Wolke » Fri Nov 13, 2015 12:12 pm

The function "Play top songs" for artists does not include all songs listed on the respective Last.FM page. The reason is that the titles on my server sometimes deviate a little from those in the Last.FM list.

An easy first step would be to make the matching for this function case insensitive. A slightly more sophisticated additional approach would be to use something like a similarity metric like the Levenshtein Distance (Edit Distance) with a low threshold for artist names and a slightly higher one for song titles.

Since the connection to the Last.FM API is already implemented, it could be further used to import or use playlists on the fly from Last.FM (or even other services like playlists.net), adding or playing only those that can be found on the server (with the same similarity metric used). This would greatly improve the usablity of Subsonic in my opinion, since it almost takes too much effort to create playlists manually for every occation or mood.
Wolke
 
Posts: 9
Joined: Wed Oct 28, 2015 11:46 am

Re: Song matching with Last.FM & Co.

Postby mitrailer » Fri Nov 13, 2015 4:10 pm

Great idea! +10000
mitrailer
 
Posts: 138
Joined: Fri May 09, 2014 12:35 am

Re: Song matching with Last.FM & Co.

Postby Wolke » Wed Dec 02, 2015 8:22 pm

Another usecase that should be considered here are situations where people may or may not put additional information into the track title (things like: "Bonus Track", "live", "feat. xyz", and so forth). In cases where no exact match can be found, such variants should be tested for by removing certain parts with incremental impact on the edit distance until an exact match can be found. Maybe this could be realized with RegEx.
Wolke
 
Posts: 9
Joined: Wed Oct 28, 2015 11:46 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 23 guests