google-code-export / pidgin-musictracker

Automatically exported from code.google.com/p/pidgin-musictracker
GNU General Public License v2.0
1 stars 1 forks source link

Spotify under Wine support on Linux #136

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have added Spotify (running under wine) support for pidgin on Linux.
(using spotify_util.{c,h} from http://github.com/pilt/spotify by Simon
Pantzare, with small fixes to get compiled in a stricter way).

I've tested it and is working for me, so you can merge the patch I am going
to attach when you wish.

Regards!

Original issue reported on code.google.com by xiterrex@gmail.com on 13 Jun 2009 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by b152fee4...@gmail.com on 24 Jun 2009 at 3:34

GoogleCodeExporter commented 9 years ago
Hmm... this appears to work by finding the Spotify Window and parsing the 
title.  I'm
not very keen on that, as the only player interface we have at the moment which 
uses
that technique is foobar2000, and is a constant source of problem reports and 
user
confusion.

Some problems with this approach are:
* It's very brittle, it breaks if the application changes the format of it's 
window
title; it breaks if the separator character you're looking for appears in the 
artist
or title.
* It's very limited in the information it returns
* I guess this only works if you run Wine in native window mode, not desktop 
mode

Original comment by b152fee4...@gmail.com on 24 Jun 2009 at 5:46

GoogleCodeExporter commented 9 years ago
Thanks very much for the patch, though :-)

Original comment by b152fee4...@gmail.com on 24 Jun 2009 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by b152fee4...@gmail.com on 24 Jun 2009 at 5:47

GoogleCodeExporter commented 9 years ago
has this been merged? I realize its not optimal but better then nothing until 
we get
a native Linux client.

Original comment by jonathan.bower@gmail.com on 8 Jul 2009 at 8:16

GoogleCodeExporter commented 9 years ago
Jonathan: I built a package with the patch merged which is downloadable here 
(for 
ubuntu jaunty): https://launchpad.net/~capitanterrex/+archive/pidgin

Original comment by xiterrex@gmail.com on 27 Jul 2009 at 4:31

GoogleCodeExporter commented 9 years ago
Thanks xiterrex, could you make a package for Karmic aswell? :)

Original comment by jonathan.bower@gmail.com on 8 Oct 2009 at 10:50

GoogleCodeExporter commented 9 years ago
Package for Karmic to include the patch if anyone's interested:
https://launchpad.net/~ezramorris/+archive/pidgin

Original comment by epcmor...@gmail.com on 15 Feb 2010 at 3:08

GoogleCodeExporter commented 9 years ago
Did work, but doesn't seem to any more.

Original comment by epcmor...@gmail.com on 28 Feb 2010 at 4:48

GoogleCodeExporter commented 9 years ago
It still works, using it right now. I also agree with jonathan.bower. It's 
definitely
not optimal, but there's no better way so far. One idea would be to read it 
directly
from memory, but even that is not too elegant.
Until Spotify provides a decent API or message system, this is the only way.

Original comment by hrk...@gmail.com on 22 Mar 2010 at 3:31

GoogleCodeExporter commented 9 years ago
why not use spotify with last.fm enabled and use musictracker with last.fm 
interface. works for me.

Original comment by jamo...@gmail.com on 11 Oct 2011 at 5:32