SHOEGAZEssb / Last.fm-Scrubbler-WPF

Manual Last.fm scrobbling for when a service (or you!) failed to scrobble.
GNU General Public License v3.0
420 stars 50 forks source link

More playlist formats for import? #4

Open hans-juergen opened 8 years ago

hans-juergen commented 8 years ago

Hi, thanks for adding WMP and Winamp to the import database option of your app and the sorting feature for the columns. I just thought that it would be nice if it could also import more playlist formats than only CSV, because many users of the old Last.fm site might have exported their playlists, tag radios and loved tracks to TSV or XSPF files when it was still possible. Furthermore the official Last.fm data export option included JSON files as well, but not all users were able to download this package from Last.fm back then. I can send you example files if you need them.

Other usual playlist formats of media players would include M3U, PLS or plain TXT, for example the online playlist converter Soundiiz.com offers these formats for upload and conversion, too.

SHOEGAZEssb commented 8 years ago

This will come when I get around to rewrite the csv parser. Example files for as much different playlist files would be very useful, so I know what ill be dealing with :)

hans-juergen commented 8 years ago

OK, just tell me when and where I should send them.

SHOEGAZEssb commented 7 years ago

You could send them now :)

IndraLungSpirit commented 6 years ago

Author! Please add support .fpl (Foobar2000 Playlist)! Sometimes I listen to 1 track on a repetition for several hours and unfortunately the method through the folder does not transmit it so!

SHOEGAZEssb commented 6 years ago

I had a quick look at the .fpl file format that foobar uses and they use a binary format, so it's not simple to read the file via code. I will look into this more when I find the time

IndraLungSpirit commented 6 years ago

Well, if it is very difficult, then you can add the classic .m3u! Too it will be good! In any case, I will be glad to see! not necessarily fast

hans-juergen commented 5 years ago

By the way, if Last.fm Scrubbler would recognise the JSON format, it could directly import the 90 days Spotify listening history that they offer in their Privacy account settings now in a ZIP file. See this Last.fm support thread about a new online tool called Scrobblify which at least imports the last 14 days due to Last.fm's limit:

https://getsatisfaction.com/lastfm/topics/import-spotify-history

SHOEGAZEssb commented 5 years ago

That would be useful, I'll check it out thanks

hans-juergen commented 5 years ago

Thank you, too. :-) By the way, the ZIP file from Spotify also contains all your saved playlists in JSON format (not only from the last 90 days) which would be a good source of importing "scrobbles" (or rather saved songs) from Spotify as well. Here is the related link to Spotify's account page with the download link for your data:

https://www.spotify.com/ca-en/account/privacy/

hans-juergen commented 4 years ago

Important update for the download of your Spotify listening history: it contains your last 365 days now instead of 90, and you can even ask per email for your complete Spotify listening history if you give them a reason, e.g. wanting to import it in your Last.fm profile. See the links in the updated Privacy tab of your Spotify account for more details.

Infinitay commented 4 years ago

Can't you use https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-recently-played to get Spotify's play history and import it into Scrubbler to be imported to last.fm?

hans-juergen commented 4 years ago

I support this request, as the usual Spotify/Last.fm API connection seems to be broken for a lot of users again. You could get the last 50 tracks from your Spotify listening history easily that way and simply scrobble them with the Scrubbler. There is an online tool which uses this API endpoint already, but it only shows you a text version of it which you would have to copy & paste then with the Scrubbler or an online manual scrobbler like Open Scrobbler or Universal Scrobbler. Here is a newer link to the developer page with more details:

https://developer.spotify.com/documentation/web-api/reference/player/get-recently-played/

Another way would be highlighting all tracks in the History tab of the Spotify desktop app and creating a backup playlist with it to scrobble it later when the Last.fm connection to Spotify works again.

Infinitay commented 4 years ago

I'd like to also bring up how Spotify's recently played is slightly buggy in which it duplicates some plays, or at some cases ignores a play entirely (I've seen it happen more with leaving a song on repeat last I remember).

I already brought it up in an issue over on Spotify: https://community.spotify.com/t5/Spotify-for-Developers/BUG-Duplicate-Tracks-for-User-s-Recently-Played-Tracks/m-p/4979783

hans-juergen commented 4 years ago

I support this request, as the usual Spotify/Last.fm API connection seems to be broken for a lot of users again.

OK, there has been an internal fix by Last.fm recently, so it should not happen anymore that you lose your last 50 tracks from the Spotify Web API when disconnecting and reconnecting to Spotify scrobbling in your Last.fm connected apps settings. So adding a related feature in the Scrubbler would still be nice, but is not necessary anymore.

SHOEGAZEssb commented 4 years ago

I think this would be nice, also scrobbling playlists etc. Not sure when I have the time for it though