lukedirtwalker / cutespotify

A QT5 Spotify client, based on MeeSpot with support for Ubuntu Touch and SailfishOS.
30 stars 9 forks source link

Add Spotify URI MimeType handler #26

Open nodevel opened 9 years ago

nodevel commented 9 years ago

It would be nice if opening Spotify URI links through xdg-open would open CuteSpot with the given content. URI example:

spotify:artist:44gRHbEm4Uqa0ykW0rDTNk

This could be achieved by adding a MimeType handler to the .desktop file like here: https://github.com/nodevel/harbour-hopscotch/blob/master/harbour-hopscotch.desktop and adding a way to open CuteSpot with command line arguments. Copying URIs from the application would then be a nice way how to share music with other Spotify users.

PS: I'd look into it myself, but my SDK has been temporarily uninstalled to help me focus on different things :)

DylanVanAssche commented 7 years ago

Any progress on this? @lukedirtwalker I would love to integrate CuteSpotify with Sailfinder. Since a couple of months you can add your favourite Spotify song and albums to your account. Other people can open them in the Spotify app. If the URI MimeType handler is added then this can added to Sailfinder :)

lukedirtwalker commented 7 years ago

Unfortunately I didn't have time to do this and I don't have high hopes that I'll have time in the near future :(

DylanVanAssche commented 7 years ago

No problem, I would make a PR but I don't have a spotify account and I am not very good with C++ code :p