clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.73k stars 675 forks source link

#nowplaying for twitter #2985

Open Clementine-Issue-Importer opened 10 years ago

Clementine-Issue-Importer commented 10 years ago

From countvio...@gmail.com on June 07, 2012 15:14:43

some of us love sharing what we play on twitter and it really sucks typing the name all the time coz some of em are really long. i used to use winamp and there is a plugin called twittamp (check it out here http://twittamp.dev2.hu/ ) if you can put this feature, it will be much appreciated by us who love flossing our playlists to our friends

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2985

Clementine-Issue-Importer commented 10 years ago

From osama.ra...@gmail.com on June 28, 2012 08:22:31

I have been wanting this feature in the players I use for a very long time. I'd write this myself but I have no experience with the qt language.

Clementine-Issue-Importer commented 10 years ago

From ding...@gmail.com on March 07, 2013 02:49:31

Yeah I'm waiting too :-) but maybe

"pidgin-musictracker" Plugin for Pidgin which displays the current music track in your status" mixed with some twitter plugin :-)

Tatsh commented 10 years ago

I'm starting to work on this. Need to either write a lot of code to authenticate with Twitter's API or we can use libtwitcurl. I have gone with the latter of course.

The plan for authentication is to have the user name and password on the tab, authenticate with the out-of-band (OOB) workflow automatically (or maybe give user option to enter a PIN from Twitter if they are very concerned about security), then use the OAuth credentials captured from that point on (and that should stay working). I have not registered an app yet for this, but I can test with others I already have.

Then, the plan is to have '#nowplaying' tweets get sent at the same time a Last.fm status would get sent (I think it's if 30 consecutive seconds have played?)

https://github.com/Tatsh/Clementine/tree/twitter-support