PDA

View Full Version : last-exit last.fm player


Pages : [1] 2

reda_ea
July 11th, 2006, 12:18 AM
last-exit is a program to play music from last.fm
(not just update your profile, it really streams music from there)

officiel site is here :
http://www.o-hand.com/~iain/last-exit/

here is a little package I made for ubuntu (in attachment)

also, the old version 0.2 with a save song patch is here
http://www.ubuntuforums.org/showthread.php?t=149018

enjoy

EDIT
Added the "save song" patched version (last-exit_1.0-1ubuntu2_i386.deb.tar.bz2).

EDIT 2
Added a patch file for the "save song" feature.

EDIT 3
Added the lastest version 2.0 without save song for the moment

EDIT 4
Patched version 2.0 (thanx to hazart) packaged for i386 and amd64, and the patch file of course.

EDIT 5
Bug with "lastfm:" urls corrected

EDIT 6
Version 3.0 patched is available here:
http://rapidshare.com/files/334255/last-exit_3-1_i386.deb.html
thanks to ferdy (http://ubuntuforums.org/showpost.php?p=1651014&postcount=100) and ZeBob (http://ubuntuforums.org/showpost.php?p=1650061&postcount=99)

EDIT 7
added version 5 thanks to introspectif (http://ubuntuforums.org/showpost.php?p=2930297&postcount=194) (I corrected his deb and repackaged it so download this even if you already have his package)
oh and sorry this is for feisty and theres no 64bit version for the moment

buttari
July 11th, 2006, 04:45 PM
Hi,
configure didn't go throug for me. It complains about some dependencies that are, indeed, already installed on my machine.

checking for LASTEXIT... configure: error: Package requirements (gconf-2.0 gdk-pixbuf-2.0 gtk+-2.0 >= 2.6 gstreamer-0.10 >= 0.10.0 gstreamer-base-0.10 gstreamer-plugins-base-0.10 >= 0.10.0) were not met:

No package 'gconf-2.0' found
No package 'gstreamer-0.10' found
No package 'gstreamer-base-0.10' found
No package 'gstreamer-plugins-base-0.10' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LASTEXIT_CFLAGS
and LASTEXIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

can you help me with this?

alfredo

reda_ea
July 11th, 2006, 11:06 PM
install these packages

libgconf2-dev
libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev
libgdk-pixbuf-dev
libgtk2.0-dev
libmono-dev
libgnome2.0-cil
mono-mcs
mono-gac

it should compile without problems

hazart
July 12th, 2006, 09:17 AM
Compiles fine, works fine, plays fine :-)

I have created an amd64 .deb for it.

mazirian
July 12th, 2006, 09:56 AM
Debian/Gnome developer Ross Burton has packages for this in his repository as well: http://burtonini.com/debian/

PriceChild
July 12th, 2006, 11:13 AM
As far as i know, amarok will stream from last.fm too?

reda_ea
July 12th, 2006, 05:54 PM
As far as i know, amarok will stream from last.fm too?

yes it does .. and it's very ugly.

and amarok isn't gnome, does a very different task than just listening to a radio stream..

that's why i like last-exit

theturtlemoves
July 12th, 2006, 06:02 PM
(edit: never mind)

reda_ea
July 15th, 2006, 01:38 AM
I tried working a little bit on that save song patch that was availaible for version 0.2, and well .. IT WORKS

I also changed the interface a little bit, it's not perfect yet, but better than before.

As always, here's a .deb package (link to attachement in first post)
http://www.ubuntuforums.org/attachment.php?attachmentid=12755&d=1152941427

and a screenshot of how it looks.

OrganicPanda
July 18th, 2006, 02:23 PM
wow, just wow, this is amazing, very well done.

hey reda_ea are you developing this further or leaving it at this because i have some feature requests, this is something i would really like to help with if only i knew how, my last software programming was vb6 in windows and prehaps some java lol

molgar
July 18th, 2006, 05:13 PM
Thanks for that "save song" version. I also missed it :)

mattisking
July 18th, 2006, 07:07 PM
When I run it after install, I get this:
exec: 5: -a: not found

Any ideas? Thanks!

reda_ea
July 19th, 2006, 07:46 PM
wow, just wow, this is amazing, very well done.

hey reda_ea are you developing this further or leaving it at this because i have some feature requests, this is something i would really like to help with if only i knew how, my last software programming was vb6 in windows and prehaps some java lol

I m not the developer of this program, just a happy user who likes it. I think feature requests should be posted both in the forum and sent to the main developer.
I think someone is working on a libnotify feature. Also, I'll be working on some user interaction improvements when I have time (and I don't have much for the moment :( ).

theturtlemoves
July 19th, 2006, 08:49 PM
When I run it after install, I get this:
exec: 5: -a: not found

Any ideas? Thanks!

Try this:

gksudo gedit /usr/bin/last-exit

and replace "#!/bin/sh" with "#!/bin/bash"

Mono squawks a bit when it is run with non-standard shells, because they don't support the -a option.

MikkelM
July 20th, 2006, 04:44 PM
My player lags :/

Has anyone else experienced this too?

Hairy_Palms
July 22nd, 2006, 05:12 AM
does anyone else use the latest official lastfm player? its open source y'know and does kinda pwn :)
http://static.last.fm/client/Linux/LastFM_Linux_1.0.0b.tar.bz2

Arisna
July 23rd, 2006, 08:21 PM
The official client uses QT, IIRC. Last Exit is probably a more promising option for GNOME and XFCE users because it uses GTK+.

Hairy_Palms
July 23rd, 2006, 08:23 PM
ist static qt, the same as opera but it works well and static so doesnt have an immense load time

Arisna
July 23rd, 2006, 08:27 PM
0_0

That was fast.

I didn't realize that significance of the static linking. When I tried the official client out before, though, it still didn't look very nice because of the different toolkit, even if functionality wasn't bad.

Arisna
July 24th, 2006, 12:41 PM
My player lags :/

Has anyone else experienced this too?
Yes, mine is a little laggy with the first song I play after launching the program. This also happened under the previous version. People said it had to do with buffering. Didn't happen with the official client.

Zottan
July 26th, 2006, 06:27 PM
can you say howto activate save feature from source 1.0 for amd64 :? , thanks

reda_ea
July 28th, 2006, 09:09 PM
the lag is caused on the first seconds of playing by the save song patch.
I don't know why it does this, but if you don't want lag, just use the normal version (that is also provided as a .deb)

can you say howto activate save feature from source 1.0 for amd64 , thanks
ther's a lot of modifications to the source code, it's because you don't just "activate" it, you change the way the player works so you always have a local copy of the current stream in a file in your home.
I'll put a patch for the source code, I was going to do it looong time ago, but I didn't have the time :(

PS: I'll put the patch in the first post.

Buffalo Soldier
July 28th, 2006, 11:58 PM
just curious, which license is the developer use? I can't seem to find that info on the site given http://www.o-hand.com/~iain/last-exit/about.html

reda_ea
July 29th, 2006, 01:35 AM
just curious, which license is the developer use? I can't seem to find that info on the site given http://www.o-hand.com/~iain/last-exit/about.html

look in the source files

HAARP
July 29th, 2006, 06:38 PM
Are there any plans to make the app able to create local streams so I can play it with xmms? The official player is capable of that.
That, and less lagging, would be awesome! :)

Zottan
July 30th, 2006, 07:11 AM
thanks for the patch , but new last-exit 2.0 released

topyli
July 30th, 2006, 10:39 AM
Are there any plans to make the app able to create local streams so I can play it with xmms?
The best way to use an external player is to run the Last.fm proxy (http://vidar.gimp.org/lastfmproxy/) and connect to that with your favorite player.

Buffalo Soldier
July 31st, 2006, 09:39 PM
Nice job reda_ea. Any rough estimates when you'll be releasing ver 2.0?

quickblaine
August 1st, 2006, 06:20 AM
for some reason when i use this program the tracks are really really jumpy, and it doesnt seem to stop. is that just lag or something else, and how do i fix it?

quickblaine
August 1st, 2006, 06:30 AM
never mind, I just installed the version without the save song feature

HAARP
August 2nd, 2006, 12:58 PM
The best way to use an external player is to run the Last.fm proxy (http://vidar.gimp.org/lastfmproxy/) and connect to that with your favorite player.

Rocks. Thanks!

stalefries
August 4th, 2006, 02:24 PM
For those who care, i compiled Last Exit version 2.0. No patch, sorry. It's attached.

petervk
August 4th, 2006, 03:18 PM
Just a warning to users, the new last-exit 2.0 package does not upgrade the last-exit 1.0 package previously in this post. You need to uninstall the old package to actually use the new last-exit 2.0.

reda_ea
August 4th, 2006, 07:14 PM
I made a better package (no checkinstall and all) for version 2.0 it's in the first post.

No Save Song Patch for the moment, I will look at it later.

Are there any plans to make the app able to create local streams so I can play it with xmms?

I think that could be easy with a little hacking,
by the way the patched version creates a hidden file in your home dirctory with the current song, may be this could be used somehow ..

EDIT

When I play ~/.lastfm.mp3 with xmms with repeat song on it works :)

hazart
August 4th, 2006, 08:43 PM
I have successfully ported the old v1.0 patch to v2.0 and saved the first pair of songs. The new patch is attached to this message.

Known issues:

The Lag issue still exists
Sometimes it doesn't copy the ~/.lastfm.mp3 to the desired folder, when the song finishes. I'm not certain when and why? This needs further attention.


NB: If anybody wants i can make a amd64 .deb with save song patch. Just write in this thread an ill look at it. Atm. i don't remember how to make the .deb ;-)

EDIT: O.K. now i think i know why. You have to manullay select save for each song that you want to save. A future feature could be that it saves all complete songs to a dir that you could sort afterwards.

reda_ea
August 4th, 2006, 08:50 PM
The new patch is attached to this message.

I think you forgot to put the patch file ...

for the package, you can just take my package and replace the 3 liblastexit* files in /usr/lib/last-exit with the ones you got (that's the only binary files there I think).
maybe also the exe file (for the patched version).

hazart
August 4th, 2006, 09:26 PM
Sorry, forgot to post the files
I did some reading and made a new and, according to lintian, better .deb package for amd64 containing the save patch.

Save_song is working great, thank you for your work. Here is mine :P

reda_ea
August 5th, 2006, 05:39 PM
thanks hazart,

I added your package as well as the i386 package and the corrected patch file (just removed the error messages by diff from the file) to the first post.

raintheory
August 5th, 2006, 06:30 PM
Hey this is great! Just found this today (been wanting the last.fm player in ubuntu for awhile tho). Ran the install via a VNC connection, and it seemed to install and start up just fine. But can't check the audio currently b/c of the remote connection.

Thanks alot though, this is wonderful!

hazart
August 5th, 2006, 07:55 PM
No problem, i had to practice my debian package skills anyways. Now one thing that would be cool, would be to fix the lag issue. I have been looking at what the patch adds to player.c, but even though i'm a modest C programmer, with lots of kernel code on my back, i can't understand the gstreamer stuff :P - So i guess it's up to you :)

OrganicPanda
August 6th, 2006, 05:17 PM
Glad to see things are still comming along nicely, i removed version 1 with dpkg but the newer deb wont install, i get "Error: Cannot Install 'libdbus-1-cil".

I can't find a package with that exact name, any ideas?

reda_ea
August 9th, 2006, 05:02 PM
the package is in the dapper repos ...
I don't know why you don't have it

reda_ea
August 9th, 2006, 06:00 PM
There was a little problem with the lastest package not working with lastfm: urls

Problem corrected with a new package.

JoshHendo
August 12th, 2006, 08:41 AM
Nice! Glad that I found it :)

I installed the official last.fm player, and it exited when I tried to play a song, so I am assuming that im not the only one (hence the name).

Anyway, thanks for this!

OrganicPanda
August 15th, 2006, 05:55 AM
Ok my mistake, I was being silly, I've got 2.0 installed but what do I do with the patch file? lol I'm so bad at this

reda_ea
August 15th, 2006, 12:30 PM
Ok my mistake, I was being silly, I've got 2.0 installed but what do I do with the patch file? lol I'm so bad at this

The patch file is to use with the source code if you want to compile it yourself.
Just use the patched .deb (last-exit_2.0-1ubuntu2_i386.deb.tar.bz2) if you want save song option or the other one if not.

Psukez
August 17th, 2006, 07:06 PM
thanks, works flawlessly :D

buddhalover
August 18th, 2006, 02:32 PM
forgive me for my ignorance but what should i do with the patch file?]

by the way, much gratitude for creating last-exit
tis a beautiful thing. \\:D/

reda_ea
August 19th, 2006, 01:37 AM
forgive me for my ignorance but what should i do with the patch file?]

by the way, much gratitude for creating last-exit
tis a beautiful thing. \\:D/

hey I just answered this 2 posts before you :-|
anyway

The patch file is to use with the source code if you want to compile it yourself.
Just use the patched .deb (last-exit_2.0-1ubuntu2_i386.deb.tar.bz2) if you want save song option or the other one if not.

Oh and I'm not the developper of this beautiful thing :) I just patched and packaged it.

buddhalover
August 19th, 2006, 06:08 AM
i tried compiling from source first. Then it worked flawlessly. Then when I tried to unpack the deb with the save patch running the program just freezes it. any suggestions? I really want the save song feature.

eduff
August 22nd, 2006, 03:24 AM
Hi,
New installation of Dapper, if I install last-exit with all required packages described above, installation is successful, but I get this when I try to run:


Unhandled Exception: System.DllNotFoundException: libc
in (wrapper managed-to-native) LastExit.Driver:prctl (int,byte[],ulong,ulong,ulong)
in <0x0003f> LastExit.Driver:SetProcessName (System.String name)
in <0x0002d> LastExit.Driver:Main (System.String[] args)

Any ideas what this means?

Thnks

Ragdriet
August 23rd, 2006, 04:29 AM
What can I do to apply patch to Last Exit v2.0 to download songs ? Anyone knows ?

ケイト
August 24th, 2006, 01:54 AM
Thanks for packaging Last-Exit, but I wish you wouldn't apply the song download patch. The Last.fm service shouldn't be abused like that, and there's also a possibility it could make the Last-Exit client banned, which wouldn't be very fun for its devs and us Last.fm-loving GNOME/XFCE users.

Ragdriet
August 26th, 2006, 07:36 AM
As you say, I think that is not the best way to apply patch and abuse the service of Last.FM, I wouldn't like that client would be banned cause I like the client working, and it wouldn't be very funny for its devs.

reda_ea
August 27th, 2006, 07:34 PM
New installation of Dapper, if I install last-exit with all required packages described above, installation is successful, but I get this when I try to run:
Is your system up to date? I didn't test this with a fresh install, only in my PC.

What can I do to apply patch to Last Exit v2.0 to download songs ? Anyone knows ?
patch is the command to do that (you'll find help in google).

but I wish you wouldn't apply the song download patch.
Of course, using the patch to steal illegal music is .. well .. illegal.
But again, reading mp3 at all is illegal in some places (that's why it doesn't come default with ubuntu), and having this in the repos doesn't mean anyone can use it as he wants. The same goes for last-exit.
Anyway last-exit doesn't have that by default, and the patch is not official. But this is open source, anyone can modify the code in any way, and that's what we like about it : freedom.

j_m
August 30th, 2006, 08:01 AM
I have successfully ported the old v1.0 patch to v2.0 and saved the first pair of songs. The new patch is attached to this message.


Can you attach the patch for 1.0, please? 2.0 needs dbus, not something I want to install... ](*,)

matid
August 30th, 2006, 02:26 PM
Have anyone tried to install it on Edgy? It doesn't seem to play anything. It's silent, even after turning up the volume. Any other player works fine.

macross3003
August 31st, 2006, 12:18 AM
Sorry, forgot to post the files
I did some reading and made a new and, according to lintian, better .deb package for amd64 containing the save patch.

Save_song is working great, thank you for your work. Here is mine :P

the .deb file has an error in the postinst script... it refers to /usr/etc/gconf/schemas/last-exit.schemas which doesn't exists... must say just /etc/gconf/schemas/last-exit.schemas...

thanks for the pack...
but why always everybody just share the .deb file and no .dsc and tarball?? i really don't undestand this attitude ](*,)

workaround:
sudo ln -s /etc /usr/etc
sudo dpkg -i last-exit-2.0-0ubuntu1_amd64.deb
sudo rm /usr/etc

beside that everything works fine

pangloss
September 1st, 2006, 02:02 AM
but why always everybody just share the .deb file and no .dsc and tarball?? i really don't undestand this attitude ](*,)

It's funny, just last week I was thinking the exact same thing about the Ubuntu community in general.

reda_ea
September 1st, 2006, 08:26 PM
but why always everybody just share the .deb file and no .dsc and tarball?? i really don't undestand this attitude ](*,)

I make packages with dpkg -b .. so I don't have them

Can you attach the patch for 1.0, please? 2.0 needs dbus, not something I want to install...

you can find everything here http://membres.lycos.fr/bou3ou/packages/last-exit/

j_m
September 10th, 2006, 03:01 PM
you can find everything here
http://membres.lycos.fr/bou3ou/packages/last-exit/

Wonderful, thanks! :cool:

crazedgremlin
September 15th, 2006, 07:24 PM
Hey.... I love it!
But what is the save song patch and how do I install it?

reda_ea
September 17th, 2006, 09:12 PM
Hey.... I love it!
But what is the save song patch and how do I install it?

it's a modification of the program to be able to save the track you're listening to, it adds the save button.

It's already included in the lastest package (on the first post), just instal the .deb and you have it.

macross3003
September 21st, 2006, 01:38 AM
here is a fixed deb for amd64 made from edgy sources containing save song patch.

edit:
the steps I followed to up this files were:

$ apt-get source last-exit
$ apt-get build-dep last-exit
$ cd last-exit-2.0
$ mkdir debian/patches
$ mv ~/last-exit-2.0-save_song.patch debian/patches
$ dch -i
$ fakeroot dpkg-buildpackage -d
$ sudo dpkg -i ../last-exit_2.0-1build2_amd64.deb

ok, the thing is that i cannot heard the music nor skip track (no error message at all) :-&
anybody knows if the patch works with the edgy packed version?

thanks

bdoetsch
September 22nd, 2006, 05:30 AM
Same effect here. So I'm back to the edgy repository version. No sound on edgy with the debs here.

recrispi
September 23rd, 2006, 02:13 AM
Hi! I'm new here...
I installed the last-exit .deb, so I have
last-exit 2.0-1 Last.fm audio player
but I hear no sound... when I run last-exit from command line and select a radio I get the following message:
$ last-exit
station: http://ws.audioscrobbler.com//radio/adjust.php?session=3b4866df8213db3fd584df36887b4f6 6&url=lastfm://globaltags/japanese&debug=0
response=OK
url=lastfm://globaltags/japanese
toggled
http://streamer2.last.fm:80/last.mp3?Session=3b4866df8213db3fd584df36887b4f66
** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, layer=(int)3
Everyday Dream
I think I have last-exit sending its output to another device not to ALSA (which I have installed). Any recomendation? Where should I configure this?
Thanks.

bdoetsch
September 23rd, 2006, 05:26 AM
hm. comparing the repository source with the build-src of the package could probably show the differences, so that the patch could be ported.

tuxcantfly
September 23rd, 2006, 11:33 PM
modified the amd64 deb, and uploaded a new one that fixes the errors in the control, prerm, and postinst files, and changes the version so that it won't conflict with the one in the ubuntu repos

tuxcantfly
September 23rd, 2006, 11:36 PM
by the way, I'm getting this dbus error on edgy:

Unhandled Exception: System.DllNotFoundException: /usr/lib/last-exit/liblastexit.so
at (wrapper managed-to-native) LastExit.DBus:check_lastexit ()
at LastExit.DBus.CheckInstance () [0x00000]
at LastExit.Driver.Main (System.String[] args) [0x00000]

help please?

tuxcantfly
September 23rd, 2006, 11:41 PM
never mind, fixed it by installing libdbus-1-2 from dapper repos

tuxcantfly
September 24th, 2006, 12:11 AM
just noticed that someone already made an edgy amd64 version, seems like mine's not needed. just tried it, but it refuses to play anything. starts fine, just doesn't play. same error with mine.

tuxcantfly
September 24th, 2006, 12:17 AM
this is the error message (doesn't play):

(last-exit:11893): GStreamer-CRITICAL **: gst_bin_get_by_name: assertion `GST_IS_BIN (bin)' failed

(last-exit:11893): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(last-exit:11893): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(last-exit:11893): GStreamer-CRITICAL **: gst_bin_get_by_name: assertion `GST_IS_BIN (bin)' failed

(last-exit:11893): GStreamer-CRITICAL **: gst_bin_get_by_name: assertion `GST_IS_BIN (bin)' failed

(last-exit:11893): GStreamer-CRITICAL **: gst_bin_get_by_name: assertion `GST_IS_BIN (bin)' failed

(last-exit:11893): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(last-exit:11893): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(last-exit:11893): GStreamer-CRITICAL **: gst_bin_add: assertion `GST_IS_ELEMENT (element)' failed
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device

(last-exit:11893): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(last-exit:11893): Gtk-WARNING **: Error loading theme icon for stock: Icon 'stock_volume-med' not present in theme

(last-exit:11893): Gtk-WARNING **: Error loading theme icon for stock: Icon 'stock_volume-med' not present in theme
station: http://ws.audioscrobbler.com//radio/adjust.php?session=3e24927c4e37025a83f7913cf6d4237 6&url=lastfm://artist/Hilary Duff/similarartists&debug=0
response=OK
url=lastfm://artist/Hilary Duff/similarartists
toggled

now, I exit from last-exit

(last-exit:11893): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
http://streamer2.last.fm:80/last.mp3?Session=3e24927c4e37025a83f7913cf6d42376
(last-exit:11893): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(last-exit:11893): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed


help please?

FaxeSystem
September 24th, 2006, 02:55 AM
Hi, I`m verry happy with last-exit but I`ve still one problem. When I`m using the version without the save function everything works fine but when I'm using the version with the integrated save function the sound is stuttering as hell? Anyone with similar problems?

reda_ea
September 25th, 2006, 01:57 AM
Hi, I`m verry happy with last-exit but I`ve still one problem. When I`m using the version without the save function everything works fine but when I'm using the version with the integrated save function the sound is stuttering as hell? Anyone with similar problems?

EVERYONE has that similar problem.
but it only lasts for the first one or two songs, after that it plays well.

and if you want it to work well from the start, mute the player and open ~/.lastfm.mp3 (not sure about the filename) in xmms or another player.

As for the edgy problems, I don't have edgy yet, and anyway my PC is broken for the moment, I'll take a look at it ASAP.

knatten
September 26th, 2006, 01:58 PM
If you don't get any sound, and get the message "** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, layer=(int) 3" you don't have all the needed gstreamer-plugins.

Fix:
sudo apt-get install gstreamer0.10-plugins-ugly

recrispi
September 28th, 2006, 06:34 PM
If you don't get any sound, and get the message "** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, layer=(int) 3" you don't have all the needed gstreamer-plugins.

Fix:
sudo apt-get install gstreamer0.10-plugins-ugly

Thanks!

That solved my problem! :-)

beamo
September 29th, 2006, 12:47 PM
I absolutely love this, thank you!

ebel_
September 30th, 2006, 08:03 PM
Another edgy user here who wants to save files. No matter the version of last-exit (1 or 2), the normal client will work fine, but when patched to save files, nothing will play, and I can't switch tracks. I've looked at it through wireshark (the successor of ethereal), a packet sniffer, and aside from a little bit of traffic when it starts up, there is no bandwidth use. The unpatched version makes lots of traffic. A GUI patch shouldn't really affect networking...

tuxcantfly
October 1st, 2006, 04:26 PM
same problem here

tuxcantfly
October 1st, 2006, 07:31 PM
hey, could it be possible that the last.fm folks have banned last-exit? is it still working for anyone?

ebel_
October 2nd, 2006, 10:32 AM
hey, could it be possible that the last.fm folks have banned last-exit? is it still working for anyone?

No because the unpatched version still works fine for me. It's only the patched version that doesn't work. It's a very weird problem. I'm going to try the patched version on dapper, and see does it work. I normally use edgy. If that's the problem then that means something changed in edgy that the save file patch relys on.

And it's hard to ban a client, and imposible for them to detect if you are saving the file.

ebel_
October 2nd, 2006, 04:00 PM
I can confirm that the patched save song version linked to in the first post works on Dapper, and not Edgy. However I tested it on i386 Dapper and powerpc Edgy, so I don't know if it's the version or the architecture that matters. Since everyone forgets about non-intel architecure, I downloaded and source and patch for v2.0 from http://membres.lycos.fr/bou3ou/packages/last-exit/. I compiled it succesfully and this version works fine and I can save the songs.

The save song version is horribly stuttery for the first half of the first song, then it quickly goes normal.

tuxcantfly
October 2nd, 2006, 11:21 PM
tried it on amd64 dapper, and it still doesn't work. same error.

reda_ea
October 3rd, 2006, 03:53 PM
A GUI patch shouldn't really affect networking...

it's not a gui patch, you can look at it, it changes the whole way the player works. the original player has no way of saving the song .. or playing it with anything else than gstreamer.
yeah it's bad design but I don't think the original programmer meant to go that far when he fist started it...

so I don't know if it's the version or the architecture that matters. Since everyone forgets about non-intel architecure

yes the architecture matters, the player itself is in mono, but it contains and uses a C library to get stuff from last-fm, only this lib needs recompiling, the rest is architecture independant.
as for the version, there shouldn't be any problem except dependencies, since when I first made the packages there may be some dependencies I forgot to include, or packages coming in a default ubuntu install...

ebel_ , are you in edgy? if so could you post your packages here please, since I'm not upgrading to edgy yet .. or maybe (if you didn't make a package) just send me the liblastfm binary files (or a checkinstall package).

ebel_
October 3rd, 2006, 04:26 PM
it's not a gui patch, you can look at it, it changes the whole way the player works.
I thought maybe the gstreamer folk (or mono or someone) had changed something that broke backwards compatibility, but tuxcantfly seems to have ruled that out.


ebel_ , are you in edgy? if so could you post your packages here please, since I'm not upgrading to edgy yet .. or maybe (if you didn't make a package) just send me the liblastfm binary files (or a checkinstall package).
Do you mean my last-exit packages? I just patched the original 2.0 source file. Would powerpc compiled libraries be much use to you? I've attached the patched and compiled programme. I ./congure-ed it into it's own directory and tared it up.

reda_ea
October 3rd, 2006, 04:34 PM
Would powerpc compiled libraries be much use to you?

not to me since I'm still in dapper and everything is fine for me, but as people have problems in edgy someone should make packages for it (powerpc, amd and intel).

tuxcantfly
October 3rd, 2006, 09:24 PM
running in a 32 bit vmware vm, it works fine. it doesn't like amd64; must be an architecture issue

tuxcantfly
October 3rd, 2006, 09:43 PM
but then again, I'm also using kubuntu. might that be the issue?

ebel_
October 4th, 2006, 01:57 PM
not to me since I'm still in dapper and everything is fine for me, but as people have problems in edgy someone should make packages for it (powerpc, amd and intel).
The version I uploaded is broken. I'll be more than happy to share a compiled version *when* I can get it to work.

It's looking like it's an arcitecture issue. Which is a pain cause normally open source software is quite platform neutral.

IbeeX
October 4th, 2006, 04:38 PM
It is working on amd64 but it is wery sensitive starts to skip vhatewer I doo on comp

Binary Jay
October 4th, 2006, 11:07 PM
Okay, Last Exit... I got it from the Edgy repos... but I'm confused on what the difference is that Last Exit gives me compared to the lastfm player... it seems to have reinvented the wheel.

topyli
October 5th, 2006, 07:10 AM
Okay, Last Exit... I got it from the Edgy repos... but I'm confused on what the difference is that Last Exit gives me compared to the lastfm player... it seems to have reinvented the wheel.
I'ts GTK+, it's a Rebellious Unofficial Hack, and it's got a much cooler website! :cool:

Jonas Reiff
October 5th, 2006, 10:15 AM
It works fine for me

Witch comand do i use too build build with the save song patch? i have build last-exit with dpgk -i last-exit-2.0-0ubuntu1_amd64.deb

ulisse
October 6th, 2006, 04:05 PM
Any chance to have a patched version 3.0 for Edgy 32bit?

brk3
October 15th, 2006, 05:08 PM
Yo this rocks thanks loads! :) Espially since the normal last.fm client isnt working for me right now

brk3
October 15th, 2006, 05:09 PM
Cant believe how good it is! :)

gohanUbuntu
October 18th, 2006, 12:20 PM
Maybe my question will sound stupid (and maybe it is), however I prefer you tell me "...that's sooooo easy [-( ..." rather that don't ask:

I downloaded last-exit-2.0.tar-bz2 and its patch last-exit-2.0-save_song.patch, my question is..how can I patch it? :-k

I'm using Edgy under Intel. I tried to patch in the classic way:

#cd last-exit-2.0
#patch -p0 < last-exit-2.0-save_song.patch

But it doesn't work ](*,) I know is trivial for some of you guys ;)

Nubbie
October 20th, 2006, 05:47 PM
So Iain released version 3.0... Edgy has packages already.

Question is... will there be version 3.0 packages here for Dapper?
(and will the save song patch still function??)](*,)

ZeBob
October 22nd, 2006, 08:34 PM
Discover this great app today on Edgy !

Here are the save patch for 3.0.

18012 #patch
18013 #source patched

Note : Modif applied for gst10, see the bug report mentionned there : http://raphael.slinckx.net/blog/2006-03-06/deskbar-and-leaftag-last-exit
I've just add "! typefind !" to the "bin" string. It's was hard to find since i'm not a programmer ](*,)

For deb package don't know how to make it but shouldn't be so hard for anyone to do it.
Have fun :)

ferdy
October 23rd, 2006, 04:18 AM
Hallo,
i have build a patched Version of last-exit 3 for dapper.
You can her download the DEB (http://rapidshare.com/files/334255/last-exit_3-1_i386.deb.html).

I m not the developer of this program and not the hacker for the patch...

ZeBob
October 23rd, 2006, 01:00 PM
Made a mistake, thought this post could solve a bug.

reda_ea
October 23rd, 2006, 05:29 PM
thanks all for the good work,
I put the new package in the first post

anyway I like the new ui imporovements, but I have a little problem with this one: sometimes sound stops working and never plays again (the player is normal but nothing is downloaded), anyone got the same ?
I think it's just my PC but I don't know, I'll try again when I reboot.

John.Michael.Kane
October 23rd, 2006, 08:13 PM
Also for those running Edgy last-exit 3.0 is in the repo's.

ZeBob
October 25th, 2006, 06:03 AM
@reda-ea:
Got this too : sounds is more and more distorded when i click on next, and when i try to save the file i've got an anormal cpu usage then. But strangely these things don't happen when i lauch last-exit from the directory where i compiled it : no anormal cpu usage, and almost no distorded sound. But I don't understand why !

@SD-Plissken : yes but we try to include the save song patch here.

cumic
October 28th, 2006, 09:32 AM
After install, I needed some additional packages:

$ sudo apt-get install libdbus-glib-1-dev

Another thing, for the people who hates rapidshare, I've put a mirror:

http://lapapelera.org/wp-content/lastexit_31_i386.deb

And my blog entry, in spanish: http://lapapelera.org/lastfm-para-gnomegtk/

I love this player!

erdu
October 31st, 2006, 08:19 PM
just installed last-exit_3-1_i386.deb on intel...no problems during installation, but when i wanted to launch the program, i waited for 20 seconds or so, and finally it didn't get launched...so now i'd like to uninstall (or fix this)...how???

hulet
October 31st, 2006, 10:27 PM
For people who are experiencing the sound skipping (and generally chocking up) problem with the last-exit 3.0 (patched version), what you can do is (and this has solved the similar problem I was experiencing)to open the patch and find a text that reads "alsasink" and change it with "osssink", "esdsink", or any variation of this, and recompile to see if it gets better. For me esdsink works like a charm although it has a problem playing the first song.

hulet
October 31st, 2006, 10:29 PM
just installed last-exit_3-1_i386.deb on intel...no problems during installation, but when i wanted to launch the program, i waited for 20 seconds or so, and finally it didn't get launched...so now i'd like to uninstall (or fix this)...how???
What message do you get when you try to run the program from the terminal?

To uninstall, I think it is "dpkg -i last-exit_3.1" without the quote.

erdu
November 1st, 2006, 12:02 PM
What message do you get when you try to run the program from the terminal?

To uninstall, I think it is "dpkg -i last-exit_3.1" without the quote.

Problem's been solved. Uninstalled with "sudo apt-get remove last-exit"
Message I got when running last-exit_3-1 from a terminal was of a missing .dll file. Can't recall exactly, got something to do with dbus. Installing last-exit_2.0-1ubuntu2_i386.deb worked like a breeze, so I'm using the older version now. What's the difference with the newest one?

FaxeSystem
November 1st, 2006, 11:07 PM
Are there any debs with the patched version 3 for edgy? Because libdbus-1-2 has been replaced by libdbus-1-3 in edgy and so there is a dependency problem when I try to install the dapper deb.

Polygon
November 3rd, 2006, 01:25 AM
EDIT: I fixed this by installing version one, which installed some dependencies and then i upgraded to version three and now it works. here is a ss of the dependencies that it installed if you want to install them manually:

http://img139.imageshack.us/img139/4447/lastexityx3.th.png (http://img139.imageshack.us/my.php?image=lastexityx3.png)


i cant launch this from dapper

i had to first install mono now its giving me even more errors:
mark@genesis:~$ last-exit

** (/usr/lib/last-exit/last-exit.exe:25832): WARNING **: The following assembly referenced from /usr/lib/last-exit/last-exit.exe could not be loaded:
Assembly: gtk-sharp (assemblyref_index=0)
Version: 2.8.0.0
Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/last-exit).


** (/usr/lib/last-exit/last-exit.exe:25832): WARNING **: The class Gtk.ActionGroup could not be loaded, used in gtk-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f

** ERROR **: file class.c: line 2505 (mono_class_setup_parent): should not be reached
aborting...
Aborted



mmm wonderful. it cant find packages when i try to compile it myself becuase the author spelled the package name wrong


No package 'gconf-2.0' found
No package 'gstreamer-0.10' found
No package 'gstreamer-base-0.10' found
No package 'gstreamer-plugins-base-0.10' found


thats because the package names are gstreamer0.10 gstreamer0.10-plugins-base and so on and so on. back to version one....

Mechanical
November 8th, 2006, 08:31 PM
I am using edgy and I can get the last exit player in the repo working fine but no save song button. I try to install the one provided here and it tells me lidbus-1-2 is not satisfiable. Any ideas?

t3chn0b0y
November 9th, 2006, 04:17 PM
Now to bypass the save button and save every song... :)
I don't think it would take much more code... I might
be mistaken..but wouldn't it just be a jump in the code.
I'm new at this.. stilling having problems with my tv tuner
not playing audio.. though there is a kernel fix for it,
its not available yet for ubuntu.. only thing holding back
from removing windows.. :-#

t3chn0b0y
November 9th, 2006, 04:22 PM
I am using edgy and I can get the last exit player in the repo working fine but no save song button. I try to install the one provided here and it tells me lidbus-1-2 is not satisfiable. Any ideas?

http://packages.ubuntulinux.org/dapper/devel/libdbus-1-2

Mechanical
November 9th, 2006, 08:15 PM
http://packages.ubuntulinux.org/dapper/devel/libdbus-1-2

I installed this and the last exit player installed as well, but now when I start last-exit it doesn't do anything. In terminal it says this..

Unhandled Exception: System.DllNotFoundException: dbus-glib-1
at (wrapper managed-to-native) LastExit.DBus:dbus_g_thread_init ()
at LastExit.Driver.Main (System.String[] args) [0x00000]

Any suggestions? I am still trying to get it to work.

ZeBob
November 10th, 2006, 04:30 AM
@To others : I think the deb posted here was builded on dapper, cause there is libdbus 1.3 on Edgy and 1.2 on Dapper, take the source and build your own package on Edgy.

@Mechanical : I've rewritten a part of the patch (the gstreamer pipeline), but I ain't a good programmer, so i still have a small bug.
After that, i'm thinking of adding such option :
- adding a folder toi save file in the preferences menu
- changing the save button into a toggle button

We will loose the « on-click choose the folder » function, but I don't know if this is a problem or not.

Mechanical
November 10th, 2006, 07:53 AM
Whatever can get this thing working on edgy with the patch would be awesome. If anyone has got it working please give details. I have been using the one in synaptic and love it but still would love a patch. I feel like I have tried everything in my knowledge to get it working but with no success.

Jenda
November 10th, 2006, 09:50 AM
So... why is it that the sound is jumpy at the from the start when you use the patched version? Is there any way to fix that?

deadlydeathcone
November 10th, 2006, 04:23 PM
Okay, I'll bite:

last-exit.tar.gz (http://www.lightofcracker.com/ubuntu/last-exit.tar.gz) patched for Edgy.

Thanks for updating the patch for compatibility for version 3.0.

edit: link fixed

Mechanical
November 10th, 2006, 05:28 PM
Okay, I'll bite:

last-exit_3.0.1-0ubuntu1_i386.deb (http://www.lightofcracker.com/ubuntu/) patched for Edgy.

Thanks for updating the patch for compatibility for version 3.0.

Ack, can't download. It says I am crackasized.

deadlydeathcone
November 10th, 2006, 05:45 PM
Ack, can't download. It says I am crackasized.

It's not my fault you're all crackasized and whatnot!

Eh, give it a shot now, it should work. I just linked to a subdirectory, since my hosting is a little... weird.

Mechanical
November 10th, 2006, 05:49 PM
It's not my fault you're all crackasized and whatnot!

Eh, give it a shot now, it should work. I just linked to a subdirectory, since my hosting is a little... weird.

Yeah, the subdirectory has a few packages for ubuntu but none of them seem to be available for download. They just lead to the error page.

Thanks for the effort though! Maybe just upload it elsewhere.

deadlydeathcone
November 10th, 2006, 07:22 PM
Okay, it's finally fixed. Apparently it doesn't like .deb or tar.bz2 files.

Mechanical
November 10th, 2006, 08:26 PM
Okay, it's finally fixed. Apparently it doesn't like .deb or tar.bz2 files.

Hey thanks! Its working quite well actually.. for some reason it won't save songs to another partition and after the second song has been saved it uses 100 percent of my cpu. Does that happen with anyone else or just me?

deadlydeathcone
November 10th, 2006, 10:59 PM
Hey thanks! Its working quite well actually.. for some reason it won't save songs to another partition and after the second song has been saved it uses 100 percent of my cpu. Does that happen with anyone else or just me?

That happens for me as well, but it seems to happen at random. We've traded it in for the stuttering song bug that was in Dapper, apparently.

Anyone who's gotten my package so far might want to download it again; I messed around in the source and added a handy save song button to the menu on the tray menu.

ZeBob
November 12th, 2006, 03:30 PM
Think i solved the 100% cpu usage problem : the Filechooser dialog does not like to start in the same directory where the temporary dump file is. I really don't know why, but i changed the directory of the dump file : instead of home dir i set it in the tmp dir of the user.

I will post all modifications i've made after further testing.

ZeBob
November 12th, 2006, 03:47 PM
Seems to be ok :) No lag, no 100% usage, pipeline rewritten.

Patch : 19237
Patched source : 19238
Deb (for EDGY i386) : 19239

Notes :
- if you're on Dapper or other architecture, just compile it from the source or wait for someone to post a deb here :)
- Gst 0.10 is needed.
- if you are a package maker, please give us clean package (other than this checkinstall made deb).

Mechanical
November 12th, 2006, 05:17 PM
Seems to be ok :) No lag, no 100% usage, pipeline rewritten.

Patch : 19237
Patched source : 19238
Deb (for EDGY i386) : 19239

Notes :
- if you're on Dapper or other architecture, just compile it from the source or wait for someone to post a deb here :)
- Gst 0.10 is needed.
- if you are a package maker, please give us clean package (other than this checkinstall made deb).


I installed the deb package but it won't start up for me.

ZeBob
November 12th, 2006, 05:26 PM
Did you get an error message in a console ?

Mechanical
November 12th, 2006, 05:28 PM
Did you get an error message in a console ?

Here it is, I was just going to include it in my previous reply, hehe..

Unhandled Exception: System.DllNotFoundException: dbus-glib-1
at (wrapper managed-to-native) LastExit.DBus:dbus_g_thread_init ()
at LastExit.Driver.Main (System.String[] args) [0x00000]

ZeBob
November 12th, 2006, 05:31 PM
Theorically the original last-exit depends on libdbus-1-3 an libdbus-glib-1-2 Check if you have them installed in synaptic.

Mechanical
November 12th, 2006, 05:36 PM
Theorically the original last-exit depends on libdbus-1-3 an libdbus-glib-1-2 Check if you have them installed in synaptic.

I checked and I have both of those plus libdbus-1-2 which I installed earlier to get the last posted deb of this playing. When I installed this version it mentioned not finding an icon and I just realized there isn't an icon or entry for it in the applications menu anymore either. I just had a launcher for it on my toolbar.

ZeBob
November 12th, 2006, 05:41 PM
Did you supress the previous *.deb, it may cause problem. Normally you don't need another libdbus but the one given in Edgy.

Mechanical
November 12th, 2006, 05:51 PM
Did you supress the previous *.deb, it may cause problem. Normally you don't need another libdbus but the one given in Edgy.

I did the complete removal of the previous last-exit before installing. For some reason I couldn't get last-exit to even install at all until I also installed the previous version of libdbus. I just removed the older version though along with last-exit and then reinstalled it but am getting the same error.

zegnus
November 13th, 2006, 11:05 AM
Hi!

I have ubuntu edgy and when I try to install version 3, ubuntu says me that I no have libdbus-1-2, the fact es that in edgy, I have libdbus-1-3 installed and I cannot install libdbus-1-2

Thanks !

guix
November 13th, 2006, 01:52 PM
Same as zegnus, I took the .deb in page 14 of this thread and now I have :

Unhandled Exception: System.DllNotFoundException: dbus-glib-1
at (wrapper managed-to-native) LastExit.DBus:dbus_g_thread_init ()
at LastExit.Driver.Main (System.String[] args) [0x00000

which is the same as Mechanical. Edgy here.

ZeBob
November 13th, 2006, 03:13 PM
This is strange I ain't have a special config, maybe try to compile it from the source :/

Mechanical
November 13th, 2006, 05:23 PM
Same as zegnus, I took the .deb in page 14 of this thread and now I have :

Unhandled Exception: System.DllNotFoundException: dbus-glib-1
at (wrapper managed-to-native) LastExit.DBus:dbus_g_thread_init ()
at LastExit.Driver.Main (System.String[] args) [0x00000

which is the same as Mechanical. Edgy here.

It seems we are all having about the same problem. Well I hope somehow it gets fixed.

deadlydeathcone
November 13th, 2006, 11:59 PM
- if you are a package maker, please give us clean package (other than this checkinstall made deb).

Here you go: last-exit_3.0.1-0ubuntu2_i386.deb (http://lightofcracker.com/ubuntu/last-exit-3.02.tar.gz)

Thanks, you seem to have solved it.

I attached the patch for the tray menu:

Mechanical
November 14th, 2006, 03:16 AM
Here you go: last-exit_3.0.1-0ubuntu2_i386.deb (http://lightofcracker.com/ubuntu/last-exit-3.02.tar.gz)

Thanks, you seem to have solved it.

I attached the patch for the tray menu:

I have been using it a for a while now and haven't had a single problem. Thanks!!

wilk
November 14th, 2006, 04:43 AM
Works perfectly, thanks a lot. Just one annoying thing : the last directory chosen for saving tunes is not remembered, and. Is it something that needs to be setup in nautilus ?

lisa
November 14th, 2006, 11:18 AM
Thanks ZeBob. The package is great. the problem with the lag has now been also resolved.

t3chn0b0y
November 14th, 2006, 02:06 PM
I installed the deb package but it won't start up for me.

when i install the deb on my edgy i get no audio, i had to resort
back to the old version requiring the dbus1-2. :(

when i go to compile the src i get the following

No package 'gdk-pixbuf-2.0' found
No package 'gtk+-2.0' found

checking for LASTEXIT... configure: error:
Package requirements (
gconf-2.0 gdk-pixbuf-2.0 gtk+-2.0 >= 2.6 gstreamer-0.10 >= 0.10.0 gstreamer-base-0.10 gstreamer-plugins-base-0.10 >= 0.10.0 dbus-1 >= 0.60 dbus-glib-1 >= 0.60) were not met:

ZeBob
November 14th, 2006, 03:30 PM
Thanks for the package and the patch.
I've also added a shorcut in the last patch, Alt+S to save the song.

TODO :
- automatically add the good id3 tag
- adding an option to auto save the song (technically easy to do but i'm not fan of this option :) )
- save in gconf the last save folder

t3chn0b0y
November 14th, 2006, 06:21 PM
when i install the deb on my edgy i get no audio, i had to resort
back to the old version requiring the dbus1-2. :(

when i go to compile the src i get the following

No package 'gdk-pixbuf-2.0' found
No package 'gtk+-2.0' found

checking for LASTEXIT... configure: error:
Package requirements (
gconf-2.0 gdk-pixbuf-2.0 gtk+-2.0 >= 2.6 gstreamer-0.10 >= 0.10.0 gstreamer-base-0.10 gstreamer-plugins-base-0.10 >= 0.10.0 dbus-1 >= 0.60 dbus-glib-1 >= 0.60) were not met:

](*,) ](*,) ](*,) avoid the above post some how i removed the libgtk2.0-dev package ](*,) ](*,) ](*,)

zegnus
November 14th, 2006, 07:20 PM
Thanks !! it works !

t3chn0b0y
November 14th, 2006, 07:22 PM
Okay I compile the code install problems in the cosole, if i install your deb package same problems with sound..
(/usr/local/lib/last-exit/last-exit.exe:7262): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (dest)' failed

(/usr/local/lib/last-exit/last-exit.exe:7262): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (src)' failed

i still have to resort back before your last patch before the alt+s

guix
November 15th, 2006, 05:49 AM
Strange...
I built the packages after having patched with save_song on my 2 Edgy systems : AMD64 Gnome and Pentium 4 Enlightenment.

Last-exit works fine for the AMD64 system. For the Pentium 4 it starts streaming for 1 second then freezes... Any idea ? (same if I launch a gnome session by the way)

[edit] Maybe it's a problem of network at work (Pentium 4), however the official last.fm client works there...

guix
November 17th, 2006, 07:55 AM
Bump ! Any idea ?

ZeBob
November 18th, 2006, 08:36 AM
Got this bug once recently, but i think it was a gstreamer hang cause totem was not working too.

QuantumSchmantum
November 20th, 2006, 03:07 PM
This player seems excellent, but when I run it it doesn't pick up song info from the station. The music plays just fine, but the artist and song title don't display in the player window or the Info window.

The terminal output doesn't indicate any errors.

Any idea why this would be happening on an AMD 64 system with Dapper Drake?

glotz
November 20th, 2006, 07:11 PM
Puhleeeze make a wiki page for last-exit. Thanks mucho! https://help.ubuntu.com/community/last-exit

wilk
November 21st, 2006, 03:06 AM
There seems to be a problem at the moment :

This page does not exist yet

ZeBob
January 4th, 2007, 12:16 AM
Hi,
I've rebuilded the packages for edgy and feisty (for i386) :


Edgy deb : 22236
Edgy source : 22237
Feisty deb 22238
Feisty source : 22239


It should not be hard for a packager to build package with this sources, dsc, diff and orig are included.

Note : Edgy package might work on Dapper with backports enabled.

guix
January 4th, 2007, 05:53 AM
Hi ZeBoband, and thanks for this new version.
I still have the same problem though : last-exit starts streaming for 1 second then freezes.
Strange because the last-exit from Ubuntu repository (without save song) works.
Strange because on my AMD64, complied from the sources for AMD64 given in this thread, last-exit with save song works.

videodrome
January 16th, 2007, 03:57 AM
Hello.

Is it normal for this program to work (the .deb above) fine, but NOT properly interface with the last fm website as far as actually doing anything regarding my likes and dislikes???

I mean the whole point is to build up some sort of recommendations of what I like streamed to me right? Because as it stands now, I can veto 4 Foo Fighters songs and it just keeps on sending me Foo Fighters songs, for example.

And I don't see anything on the website to indicate that I have any recommendations or vetos or whatever.

Thanks

Nubbie
January 22nd, 2007, 05:55 PM
How's the work on last-exit 4 coming along? Is there a patch available?

lisa
January 24th, 2007, 12:14 PM
Does anyone have a problem connecting to the server? 'cause i guess since 2 weeks last-exit can't connect to any stations.

Problem solved: last-exit couldn't connect through the proxy.

banjobacon
January 25th, 2007, 07:28 PM
Here's a package of Last-Exit 4 for Edgy, if anyone needs it. It was built using Prevu.

wilk
January 26th, 2007, 12:34 PM
Thanks a lot, is there a save patch around for this version, the last one doesn't compile.

videodrome
January 31st, 2007, 01:15 AM
This last one errors out as well after you use it for about 15 minutes.

ANd no matter how many songs I approve of or disapprove of, it still sends me nothing but bands I hate on my "recommendation radio."

You'd think after listening to 500 songs that it would suggest ONE song that I like.

OrganicPanda
February 27th, 2007, 05:19 PM
I'm having the same 'plays for 1 second then freezes' error on version 3 for edgy, any ideas on how to fix this?

nigra
March 1st, 2007, 07:02 PM
I'm having the same 'plays for 1 second then freezes' error on version 3 for edgy, any ideas on how to fix this?
same here for last-exit version from the repos, version 3 and 4.
Intrestingly bmpx,rhythmbox, virtually any application freezes when i try to listen to a last.fm stream. However, the stations stream flawlessly inside firefox (flash player).Serious problem... ](*,)

videodrome
March 24th, 2007, 01:43 AM
Anyone working on this?

I've been using the 3.0 version of Last Exit for awhile now, and it constantly locks up. It'll play fine for about 15 minutes and then just go silent for no reason.

And even though I have now played 3000 songs, the recommendation radio absolutely sucks. It sends everything that I hate, and nothing that I clicked the little smiley face for or listened to all the way through.

Billy McCann
March 24th, 2007, 01:50 AM
Why aren't you all using the lastfm package?

sudo apt-get install lastfm

Works brilliantly for me.

theturner
March 24th, 2007, 11:10 AM
Because it's QT, and there's no save patch for it.

videodrome
April 1st, 2007, 03:33 AM
Still no new version?

ZeBob
April 1st, 2007, 10:22 AM
Here is a patch for feisty's last-exit (version 4) : 28732
Apply it against last-exit ubuntu source (i.e. apt-get source last-exit)

And this one is the debian binary package for feisty/i386 : 28731

Check your local law to see if you can register radio.

wilk
April 2nd, 2007, 05:13 AM
I was thinking an option to tag the file saved with style/album=lastm or something like that would be very useful, in order to easily select them in a music library. I very often end up with several versions of a track if I buy the album I first got from lastfm.

lisa
April 3rd, 2007, 06:58 AM
@ZeBob: Thanks a lot for the patch. worked wonderfull. But i wanted to ask how you created this patch?

And last-exit crashes when searching "Music that sounds like". Also with the "official" feisty package.
This is what the console tells me:
Unhandled Exception: System.FormatException: Input string was not in the correct format
at System.Int32.Parse (string) <0x0004e>
at LastExit.FindStation.ParseSimilar (string) <0x00305>
at LastExit.FindStation.FindStationCompleted (LastExit.FMRequest) <0x000b2>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_FMRequest (LastExit.FMRequest) <0x0002a>
at LastExit.FMRequest.request_completed_idle () <0x0001a>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_bool () <0x0002c>
at IdleProxy.Handler () <0x0002a>
at (wrapper native-to-managed) IdleProxy.Handler () <0x00036>
in (unmanaged) 0xb7e9f090
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at LastExit.Driver.Main (string[]) <0x00335>

Has anyone an idea?

j_m
April 6th, 2007, 05:01 AM
Here is a patch for feisty's last-exit (version 4) : 28732
Apply it against last-exit ubuntu source (i.e. apt-get source last-exit)


This breaks last-exit; you only get ~2 seconds of playback, and nothing else after that. Plus a bunch of assertion failed errors. :(

ZeBob
April 7th, 2007, 03:54 AM
@Lisa : i did not create it, there was a patch for version 0.2 of last-exit that i found here : http://raphael.slinckx.net/last-exit-save-song.patch (This man is a GNOME developper)

But it didn't work with version 3, so i've just adapt it, and i also change the gstreamer pipeline which was used by the patch. Notice that i'm not a programmer I've just used the gstreamer manual and example to write the pipeline.

I've got the same error, but if you want to post the bug at bugzilla, check you're using the original version. (http://bugzilla.gnome.org/browse.cgi?product=last-exit )

j_m : sometimes i've got problem to connect to lastfm streams. check later if it still do that.

lisa
April 7th, 2007, 07:33 AM
@ZeBob: Thanks for the Information. I was just wondering how you managed to "get" the patch, cause i was searching so long for the patch-version 4 and didn't know how to do it myself.

After you mentioned it, i tried it again, with the patched version, the ubuntu-package and the original package on http://folks.o-hand.com/iain/last-exit/; coming with all to the same result resp. problem.
Others are having the same problem with version 4, so there allready exists a bug-report:
http://bugzilla.gnome.org/show_bug.cgi?id=423667
But at least i did comment it.

j_m
April 7th, 2007, 05:52 PM
j_m : sometimes i've got problem to connect to lastfm streams. check later if it still do that.

Has nothing to do w/ connection. It plays sound for 2 seconds and then the application freezes. The patch is broken; works perfectly fine without it.

lisa
April 8th, 2007, 01:36 PM
For the search-Bug exists a Patch. And there's a bug-report on http://bugzilla.gnome.org/show_bug.cgi?id=423667

The patch at least works for me.

Nubbie
April 11th, 2007, 10:37 PM
29510

I have built a package for Feisty containing the ubuntu, save song, and search patches.

Thank you Iain for making such an amazing program, and thank you ZeBob for fixing up the save song patch, and thank you Lisa for linking up that search patch.

Note: I did not go in depth at all with dependancies in this package, so please remember to run sudo apt-get build-dep last-exit before installing this package.

videodrome
April 22nd, 2007, 09:17 PM
on a brand new xubuntu install, that last deb doesn't work at all. it starts, then does nothing.

Nubbie
April 24th, 2007, 12:27 AM
Thats very strange, what did sudo dpkg -i <packagename.deb> output in terminal?

Mechanical
April 24th, 2007, 02:15 AM
29510

I have built a package for Feisty containing the ubuntu, save song, and search patches.

Thank you Iain for making such an amazing program, and thank you ZeBob for fixing up the save song patch, and thank you Lisa for linking up that search patch.

Note: I did not go in depth at all with dependancies in this package, so please remember to run sudo apt-get build-dep last-exit before installing this package.

Works great but I don't see the search feature. I am using feisty.

lisa
April 24th, 2007, 08:42 AM
Works great but I don't see the search feature. I am using feisty.

It's not a feature it's a patch :-) The Searching-Tool should work with it properly.

el mariachi
April 30th, 2007, 02:56 PM
It's not a feature it's a patch :-) The Searching-Tool should work with it properly.

is this still in development? I installed the latest deb available here (last-exit_4-1_i386.deb) and it just plays less than 2 seconds of music. when the "cross" icon is clicked it just shuts down instead of going to tray (or is this supposed to happen?)

erdu
May 1st, 2007, 05:06 PM
29510

I have built a package for Feisty containing the ubuntu, save song, and search patches.

Thank you Iain for making such an amazing program, and thank you ZeBob for fixing up the save song patch, and thank you Lisa for linking up that search patch.

Note: I did not go in depth at all with dependancies in this package, so please remember to run sudo apt-get build-dep last-exit before installing this package.
Thanks for the .deb Nubbie. Didn't work the first couple of times on a clean installed Feisty...now it does...except, the "save feature" doesn't save, and "music that sounds like" makes the player disappear (but that's no major problem really, I can launch last-exit from last.fm's website).

erdu
May 1st, 2007, 05:48 PM
Hey Nubbie...save problem is somewhat solved now. Apparently, last-exit manages to save to its own ext3-partition but not to another fat32-partition on the same disk (permissions satisfied)...used to be able to do that when I was still using Edgy.
Btw, I think in my case it may not have been necessary to do sudo apt-get build-dep last-exit before installing, so I wonder if there's a swift way to get rid of the 30 MB build-dep that I downloaded (wouldn't like that to get that in the way of future installs).
Anyway, thanks a bunch again for providing such a neat package!

lisa
May 2nd, 2007, 11:20 AM
@erdu:
autoconf automake1.7 autotools-dev cdbs cli-common-dev debhelper html2text intltool libatk1.0-dev libcairo2-dev libdbus-1-dev libdbus-glib-1-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgconf2-dev libglib2.0-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libgtk2.0-dev libice-dev libidl-dev libmono-accessibility2.0-cil libmono-cairo2.0-cil libmono-data-tds1.0-cil libmono-microsoft-build2.0-cil libmono-peapi1.0-cil libmono-peapi2.0-cil libmono-relaxng1.0-cil libmono-security1.0-cil libmono-sharpzip0.84-cil libmono-system-data1.0-cil libmono-system-runtime1.0-cil libmono-system-web1.0-cil libmono-winforms2.0-cil libmono1.0-cil liborbit2-dev libpango1.0-dev libpng12-dev libpopt-dev libsm-dev libx11-dev libxau-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml-dom-perl libxml-regexp-perl libxml2-dev libxrandr-dev libxrender-dev m4 mono-gmcs mono-mcs mono-utils x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev

These are the packages that have been installed by compiling last-exit (in feisty). so if you want to get rid oft it, ...

but i guess you'l need some of the packages to compile other packages (for example: automake1.7)

el mariachi
May 2nd, 2007, 11:42 AM
installing the [older] version from the repos made it work, although it doesn't have the "save" feature, but I can live with that, because it's a great app: small, simple and does it's job:KS

antouane
May 29th, 2007, 01:31 PM
Hey im noob,

How to patch the last-exit version 4 with the text file attached ?

Sorry for that noobish question but i realy don't know how ...

:(

Tom B
May 29th, 2007, 09:47 PM
I have been using last exit happily for a few months now. I installed it using Nubbie's package. However, now whenever I use it, none of the track information is displayed. It says "Playing [blank] by [blank] " etc. This also causes a crash whenever I try to save a song. I tried reinstalling it- same error. I can't figure out why it all of a sudden started acting funny. I really liked it before, and want to make it work again. Any ideas?

Nubbie
June 3rd, 2007, 08:14 PM
I'm sorry it's not working out for some people. Like I said, I didn't include any dependencies in this package, as it was really the first I've ever made. I think that most problems will be solved by running this before installing..
sudo apt-get build-dep last-exit Please let me know if this solves your problems, and by all means, if you are capable/willing to create a better package, please do. Give it a try!

Tom B
June 3rd, 2007, 10:30 PM
Don't be sorry- we owe you for making it. I personally have no idea how to make one. I did run that code before installing before, but i gave it another shot and reinstalled it again....and now it works! Who knows what happened.

Another thing that has nothing to do with the package and is just a bug in the program (i think)- it seems like if a track doesn't have an album, the program crashes if you try to save it. It's no big deal, though. Overall, it works great. Thanks again for making the package.

Fonsis
June 20th, 2007, 02:09 AM
Will there be a save patch available for last exit 4.x ?
The player works fine, but I would like to use the save option, if possible...

Fonsis

Fonsis
June 20th, 2007, 04:03 AM
Ok, now I got it running with save function in it, but I wonder why I have to click manually on the save button every time I hear a new song?
Isn*t there an option to recored all upcoming songs automatically?

http://img400.imageshack.us/img400/7527/snapshot1ip8.png

lisa
June 23rd, 2007, 02:47 AM
@Fonsis:
Maybe you should try out thelastripper (http://thelastripper.com). This program saves songs automatically. Allthough this software still has bugs and didn't work for me.

introspectif
June 28th, 2007, 01:46 PM
Is anyone working on the save patch for version 5.0?

I've been trying to compile older versions of last-exit with the save patch, but I keep running into errors about ranlib not being able to do something when I reach "make install". And that's preventing me from poking around version 5.0. Anyone has come across this ranlib problem? Btw, I'm using Feisty.

introspectif
June 28th, 2007, 04:28 PM
Is anyone working on the save patch for version 5.0?

OK, this might sound freaky, but I think I've just done it myself. To download, and for more details, read my blog entry (http://mahalkita.nanogeex.com/2007/06/29/shhh-secret-delivery/).

el mariachi
June 29th, 2007, 12:05 PM
OK, this might sound freaky, but I think I've just done it myself. To download, and for more details, read my blog entry (http://mahalkita.nanogeex.com/2007/06/29/shhh-secret-delivery/).

I downloaded it but it won't start...

Starting new Last Exit server

(/usr/local/lib/last-exit/last-exit.exe:5147): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (dest)' failed

(/usr/local/lib/last-exit/last-exit.exe:5147): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (src)' failed

Unhandled Exception: System.DllNotFoundException: libsexy
at (wrapper managed-to-native) LastExit.UrlLabel:sexy_url_label_new ()
at LastExit.UrlLabel..ctor () [0x00000]
at LastExit.PlayerWindow.SetupUI () [0x00000]
at LastExit.PlayerWindow..ctor () [0x00000]
at LastExit.Driver.Main (System.String[] args) [0x00000]

it says something about GStreamer.. I've got the ugly set installed *only*

introspectif
June 29th, 2007, 12:41 PM
I downloaded it but it won't start...

Unhandled Exception: System.DllNotFoundException: libsexy
at (wrapper managed-to-native) LastExit.UrlLabel:sexy_url_label_new ()
at LastExit.UrlLabel..ctor () [0x00000]
at LastExit.PlayerWindow.SetupUI () [0x00000]
at LastExit.PlayerWindow..ctor () [0x00000]
at LastExit.Driver.Main (System.String[] args) [0x00000]



Thanks for trying my package :) It seems that you're missing libsexy. Could you try installing libsexy?

sudo aptitude install libsexy2

el mariachi
June 29th, 2007, 12:44 PM
it didn't work... libsexy2 is installed but the error persists

introspectif
June 29th, 2007, 01:09 PM
Oh no :( I really wanted to share the joy in having the save feature. I hope someone more knowledgeable can show the way.

introspectif
June 29th, 2007, 01:17 PM
Oh yes, perhaps you could try the unpatched version from http://packages.debian.org/unstable/gnome/last-exit just to see if there are any additional dependencies you need. It says gstreamer0.10-fluendo-mp3, so maybe you need that too. Thing is, I tried installing the unpatched version first, and it worked. However, when installing you need to do

sudo dpkg -i --ignore-depends=libc6 last-exit_5-1_i386.deb

I hope that helps.

Nubbie
July 3rd, 2007, 10:27 PM
you need to install libsexy's development package.
sudo apt-get install libsexy-dev
and that package should run. i haven't tested it out yet as i don't have any speakers right now. i'll let you all know.

introspectif
July 8th, 2007, 01:27 PM
Thanks very much for the tip, Nubbie. How did it turn out?

Nubbie
July 8th, 2007, 07:25 PM
Well after a couple of seconds the audio cuts out. This is because of the save patch, because it would happen to other patched versions of last-exit. the question is now how did i get the audio working correctly last time. lol.

introspectif
July 9th, 2007, 01:44 AM
I have that problem too, sometimes, but it's due to a connection problem --- my Linksys WUSB54G disconnects every once in a while. But when the connection's good, it plays and saves perfectly :)

I'm thinking of tinkering with the buffer size of the player, to improve playback. I wonder if that helps.

Tom B
July 13th, 2007, 09:59 PM
After installing libsexy's development package like Nubbie said, the package works perfectly. Thanks for making it.

el mariachi
July 14th, 2007, 06:02 AM
After installing libsexy's development package like Nubbie said, the package works perfectly. Thanks for making it.
for me it plays 1 second of music and then... silence...:confused::confused:

cyber_bushi
July 16th, 2007, 07:59 AM
Hi there,

i have libdbus-1-3 on my sys, but last-exit wants 1-2 - can i just do some ln -l magic to convince it to work, or are there other possibiities?

Thanks in advance for your time,

CB

buzz91
August 2nd, 2007, 06:01 PM
Hello,

i installed the patched last-exit 5 and it works but its very very very slow.

Is this normal? Seems to be a missing package ... i guess?

Maybe someone can help me

Thanks

Greetings

P.S.: Is there any Player (Banshee, BMP, Exail, etc.) playing Last.fm-Streams?
P.S.:P.S.: Anybody running thelastripper under feistay? It des' work for me ...

durand
August 15th, 2007, 08:59 PM
Hello,

i installed the patched last-exit 5 and it works but its very very very slow.

Is this normal? Seems to be a missing package ... i guess?

Maybe someone can help me

Thanks

Greetings

P.S.: Is there any Player (Banshee, BMP, Exail, etc.) playing Last.fm-Streams?
P.S.:P.S.: Anybody running thelastripper under feistay? It des' work for me ...

Try amarok, as for thelastripper, it doesnt seem to work in gutsy either...it downloads the start of the file and thats it...

introspectif
August 15th, 2007, 09:52 PM
P.S.: Is there any Player (Banshee, BMP, Exail, etc.) playing Last.fm-Streams?
P.S.:P.S.: Anybody running thelastripper under feistay? It des' work for me ...

Rhythmbox does play last.fm streams too.

durand
August 16th, 2007, 09:32 AM
Heh, the last ripper seems to work for me now, just leave it to download 2 songs, then it should start working properly :)

wilk
August 17th, 2007, 06:35 AM
I tried to adapt introspectif method to get last-exit 5 patched for amd64 on Gutsy. I can build the package, but no streams are played. Did anyone succeed on a 64bit system ?

immigrant
August 17th, 2007, 11:59 AM
I believe LastExit is playing different songs than official last.fm player. The official player plays my favorite groups more often. Does last.fm feed last-exit player more low quality songs:confused:

lisa
August 22nd, 2007, 07:11 AM
The package from introspectif works good, but when searching "tagged as" last-exit crashes. i allready noticed that this is documented on bugzilla.

el mariachi
August 22nd, 2007, 07:43 AM
I believe LastExit is playing different songs than official last.fm player. The official player plays my favorite groups more often. Does last.fm feed last-exit player more low quality songs:confused:
I don't know about low quality but I also noticed that it plays different songs

introspectif
August 26th, 2007, 12:34 PM
Funny I received an email notification that someone replied the following, but I can't find it here:

Here's another packages for feisty (i386).
I tried the version that was posted by introspectif and i had to install libsexy-dev and all it's dependencies (20 packages).

Anyway: i made a package on my own. it is based on the gutsy-src and i just had to make a change on the dev-dependencies. The package itself has been created by using dh_make and dpkg-buildpackage -rfakeroot.
I didnt add my name and i didn't note the changes. The package contains the save-song-patch.

At least you don't have to install libsexy-dev.

so if anyone wants to try out the package, feel free to use it.

Has anyone tried this one? Care to share the download link again?

introspectif
August 26th, 2007, 03:04 PM
I recompiled the same thing, but this time under Gutsy. Read my notes and download the package (http://mahalkita.nanogeex.com/2007/08/27/last-exit-5-patched-for-ubuntu-gutsy/) from my blog.

lisa
August 28th, 2007, 08:13 AM
Funny I received an email notification that someone replied the following, but I can't find it here:

Has anyone tried this one? Care to share the download link again?

I deleted the post cause i don't know if it's legal in my country.

reda_ea
September 16th, 2007, 09:25 PM
OK, this might sound freaky, but I think I've just done it myself. To download, and for more details, read my blog entry (http://mahalkita.nanogeex.com/2007/06/29/shhh-secret-delivery/).

thanks,
I repackaged your deb with correct dependencies and no need for dev packages (if you're not a programmer libsexy-dev will add lots of unwanted packages, from x11 to gtk and gnome libs and so) and with files in more correct locations (same as most other ubuntu debs).

package is in the first post of this thread (http://ubuntuforums.org/showthread.php?p=1239424#post1239424)

hotweiss
October 2nd, 2007, 11:39 AM
I recompiled the same thing, but this time under Gutsy. Read my notes and download the package (http://mahalkita.nanogeex.com/2007/08/27/last-exit-5-patched-for-ubuntu-gutsy/) from my blog.

OK, I've just installed the Feisty version but it does not appear in my menu. I just right-clicked on it and installed it.

introspectif
October 2nd, 2007, 02:32 PM
[replied via email]

I've had no problems with that before. I think you have to restart or give Feisty some time for it to update its menu. Is there anyone else facing the same problem?

hotweiss
October 2nd, 2007, 03:38 PM
[replied via email]

I've had no problems with that before. I think you have to restart or give Feisty some time for it to update its menu. Is there anyone else facing the same problem?

Do you think me having the real Last.FM player installed is causing the trouble?

introspectif
October 2nd, 2007, 09:49 PM
I don't think so.. I have both apps and faced no problems :)

hotweiss
October 3rd, 2007, 12:53 AM
OK, I've reinstalled it and now it's in the menu, but it won't start up. It says starting Last-Exit at the bottom and then it disappears...

introspectif
October 3rd, 2007, 08:12 AM
try starting it from a terminal window and see if there are error messages?

weed-n-linux
October 3rd, 2007, 09:55 AM
i don't think last.fm puts some good sounds , but if i ever needed it , amarok can play it .even thou i like some features in this program, very smart keep on rocking :)

meindian523
October 3rd, 2007, 10:41 AM
29510

I have built a package for Feisty containing the ubuntu, save song, and search patches.

Thank you Iain for making such an amazing program, and thank you ZeBob for fixing up the save song patch, and thank you Lisa for linking up that search patch.

Note: I did not go in depth at all with dependancies in this package, so please remember to run sudo apt-get build-dep last-exit before installing this package.

Nubbie's package worked for me tho' sudo apt-get build-dep last-exit resulted in E:Could not satisfy build dependencies for last-exit after enabling all repos.:)

Only one problem,it starts with some part of the previous song too.....Also,could we add a previous button,a very-much-missed feature when I jumped across a song I WANTED to save and couldn't go back.:(

But,gimme five,Nubbie!Great Job.

EDIT:I'm sorry,it doesn't start with some part of the previous song....I realized it was the lead :P.But the previous button feature request remains....

hotweiss
October 3rd, 2007, 12:57 PM
try starting it from a terminal window and see if there are error messages?

This is the error that I got when I started it in terminal:


Unhandled Exception: System.DllNotFoundException: libsexy
at (wrapper managed-to-native) LastExit.IconEntry:sexy_icon_entry_new ()
at LastExit.IconEntry..ctor () [0x00000]
at LastExit.FirstRunDialog..ctor () [0x00000]
at LastExit.Driver.Main (System.String[] args) [0x00000]

hotweiss
October 3rd, 2007, 01:03 PM
OK, according to this post I need the libsexy package:

http://ubuntuforums.org/showthread.php?t=213185&page=20

I'm downloading it now.

introspectif
October 3rd, 2007, 01:04 PM
ah, the libsexy problem :)

go download the improved version of my package done by reda_ea himself. it's available from the first post of this thread: http://ubuntuforums.org/showthread.php?p=1239424#post1239424

reda_ea managed to include the libsexy inside the package so you don't have to install it yourself

hotweiss
October 3rd, 2007, 01:10 PM
OK, now it works, but the sound disappears after a second.

introspectif
October 3rd, 2007, 01:19 PM
That's a chronic problem that has not been solved until now. Some say it's because the original, unpatched program has that problem. I suspect it's also due to poor handling of slow connections (e.g. no notification of buffering status).

Nowadays I just listen to last.fm using the original client.

buzz91
October 15th, 2007, 01:20 PM
Hello,

i've just installed the new 5.3savepatch-version of last-exit, but sadly there are probelms:

last-exit
Starting new Last Exit server

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (dest)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (src)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (dest)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GStreamer-CRITICAL **: gst_element_link_pads: assertion `GST_IS_ELEMENT (src)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GStreamer-CRITICAL **: gst_element_get_bus: assertion `GST_IS_ELEMENT (element)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GStreamer-CRITICAL **: gst_bus_add_watch_full: assertion `GST_IS_BUS (bus)' failed

(/usr/lib/last-exit/last-exit.exe:8037): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
Unknown key: info_message
Unknown key: fingerprint_upload_url
Unknown key: permit_bootstrap


Anyone can help me?

Gretz

ZeBob
October 26th, 2007, 08:53 AM
I'm currently working on the SVN version which handle the new lastfm protocol. Good news it seems that this new protocol cut songs perfectly. I'll make further testing but I think we won't have to use audacity anymore.

Here we are :

Full SVN patched source : 47876

How to use ?
1. Remove old version of last-exit
sudo apt-get remove last-exit
2. Get build dependencies
sudo apt-get build-dep last-exit
3. Unzip the archive
4. Configure and install the package
./autogen.sh
make
sudo make install

Note : I won't make a deb package here because it's a development version. Wait for the next release and I will make it.

Source of the patch : 47877 Notice the change made to the change_dump_file function where the GST_STATE are not used anymore, due to the new protocol. Lot of original source code have been simplificated too.

ZeBob
October 28th, 2007, 05:45 PM
Hey hey , new release! I think you'll love this one! :guitar:

New features:

Default save location
Now only saving finished song (that means if you skip or stop the current song, the song won't be saved)
Autosave song mode
Ability to disable the report of song played to last.fm


Some screenshots:
4820148202

The already patched svn source: 48195
Install it as described in the previous post.

The full patch (for information purpose): 48196

TODO: id3 tagging :confused:

meindian523
October 29th, 2007, 03:06 AM
TO DO:

Previous button feature...if we skip a song by mistake.......

ZeBob
October 29th, 2007, 04:08 AM
It is not possible, it's streaming like a webradio, lastfm provides song randomly, so you can't get back.

meindian523
October 29th, 2007, 05:51 AM
Oh,sorry....wish it was possible,I have missed quite a few tracks that way........

introspectif
November 4th, 2007, 05:47 PM
ZeBob,

Thank you for patching the latest SVN source. I tried compiling it; the install went well, and the program can run, but I only hear the first second of each song :(

What might be the problem?

el mariachi
November 4th, 2007, 06:01 PM
Could you compile it for 64-Bit Gutsy?

ZeBob
November 5th, 2007, 09:19 AM
ZeBob,

Thank you for patching the latest SVN source. I tried compiling it; the install went well, and the program can run, but I only hear the first second of each song :(

What might be the problem?

Cause you need libgstlame to be installed (gstreamer0.10-plugins-ugly-multiverse package) or it won't work. If you want to be free you could use vorbis instead of mp3, just change :

encoder = gst_element_factory_make ("lame", "encoder");
with
encoder = gst_element_factory_make ("vorbisenc", "encoder");

And change every ".mp3" by ".ogg" in the patch.

introspectif
November 5th, 2007, 01:23 PM
Thanks ZeBob! That worked marvellously! :D

Mr K
November 11th, 2007, 05:30 PM
Ahem! I'm kind a of noob with ubuntu...i'm running feisty and it give's me this when I try to ./autogen.sh:

/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.61
checking for automake >= 1.9...
testing automake-1.10... not found.
testing automake-1.9... found 1.9.6
checking for libtool >= 1.5...
testing libtoolize... found 1.5.24
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.14.1
checking for intltool >= 0.30...
testing intltoolize... found 0.36.2
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.ac
Running libtoolize...
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running aclocal-1.9...
aclocal:configure.ac:44: warning: macro `AM_GCONF_SOURCE_2' not found in library
Running autoconf...
Running autoheader...
Running automake-1.9...
data/Makefile.am:25: GCONF_SCHEMAS_INSTALL does not appear in AM_CONDITIONAL

I've copied those famous *.m4 files but it still keeps throwing up the same message... Please help me :( !! Otherwise i'll throw my pc out the window!! (may hurt someone) :)
Thanks!!

ZeBob
November 11th, 2007, 08:22 PM
No pb.

Copying thoses things was not necessary.
You need to install libgconf-dev to continue.

Mr K
November 12th, 2007, 12:01 PM
That is installed now but it keeps giving me the same message.. what else should i need to do that my noob brain doesn't tell me? Sorry for filling the post with my stupid questions...

lisa
November 13th, 2007, 10:04 AM
That is installed now but it keeps giving me the same message.. what else should i need to do that my noob brain doesn't tell me? Sorry for filling the post with my stupid questions...

Did you, before compiling the source, use the following command: sudo apt-get build-dep last-exit

And have you installed gnome-common? That did the trick for me.

Mr K
November 13th, 2007, 03:37 PM
Found out the problem! I had my repos messed up for some weird reason! Now it works perfectly!!
Thanks guys!!!!!

Neo4
November 14th, 2007, 02:53 PM
I'm having a problem, last exit isnt playing music!
i have 2 soundcards on my pc i've turned one off to see if that is the problem but i guess not!

if i click play it starts playing but i can't listen anything...
btw one question:
this will srobble my played musics in other players to lastfm too?

thanks

ZeBob
November 14th, 2007, 08:25 PM
Do you have gstreamer-plugins-ugly installed ?

marcgenou
November 18th, 2007, 03:08 PM
im running with 5-3 and ugly multiverse plugins on feisty and i cant hear anything...

running it from a terminal i can see logging to the last.fm station but nothing else happens

keibak
November 19th, 2007, 09:47 PM
Great work, ZeBob!

Only one thing:
When connect with a new account and choose neighbours sender (which is empty) following exception occurs:

Starting new Last Exit server
Scrobbling enabled
session=<sessionID>
stream_url=http:/<IP>:80/last.mp3?Session=<SessionID>
framehack=0..
base_url=ws.audioscrobbler.com
base_path=/radio
info_message=
fingerprint_upload_url=http://ws.audioscrobbler.com/fingerprint/upload.php
permit_bootstrap=1
Unknown key: fingerprint_upload_url Value:http://ws.audioscrobbler.com/fingerprint/upload.php
Unknown key: permit_bootstrap Value:1
station: http://ws.audioscrobbler.com//radio/adjust.php?session=<SessionID>&url=lastfm://user/<UserName>/neighbours&lang=en&debug=1
Playlist: New playlist requested
Playlist: Got new playlist
PlayerWindow: Playlist ready
PlayerWindow: Player is playing? False
Player: Requesting Song
Playlist: Song Requested
Playlist: Getting Playlist? False
Playlist: GetNextSong (): Returning song number 0
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
Parameter name: index
0
at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
at LastExit.Playlist.GetNextSong () [0x00000]
at LastExit.Playlist.RequestNextSong () [0x00000]
at LastExit.Player.Play () [0x00000]
at LastExit.PlayerWindow.OnNewPlaylistReady (LastExit.Playlist playlist) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_Playlist (LastExit.Playlist)
at LastExit.Playlist.GetNewPlaylistCompleted (LastExit.FMRequest request) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_FMRequest (LastExit.FMRequest)
at LastExit.FMRequest.request_completed_idle () [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool ()
at GLib.Idle+IdleProxy.Handler () [0x00000]

at GLib.ExceptionManager.RaiseUnhandledException ()
at GLib.Idle+IdleProxy.Handler ()
at GLib.Idle+IdleProxy.Handler ()
at Gtk.Application.gtk_main ()
at Gtk.Application.gtk_main ()
at Gtk.Application.Run ()
at LastExit.Driver.Main ()