View Full Version : [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
andy80
07-21-2010, 08:32 PM
Hi all,
my name is Andrea Grandi (http://www.andreagrandi.it) and I'm a member of Maemo Community since the first device appeared (Nokia 770).
To improve my Qt/C++ skills I'm developing a multimedia application called LastGo. It's a Last.fm (http://www.lastfm.com) client just like Vagalume.
You can view a screenshot here:
http://www.andreagrandi.it/wp-content/uploads/2010/07/Screenshot-20100716-222755.png
Currently the application is available in extras-testing (http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/lastgo/0.2.1-4/) with 0.2.1-4 version and needs testers.
The following features are available:
* Authentication with Last.fm webservice
* Play/Stop/Skip a song
* Update display with song's cover, title, album, artist
* Scrobble the listened song to Last.fm website
Please note the following limitation:
* Last.fm service requires to be a subscribed user to listen their music
* I cannot distribute a valid API key with the application due to an API restriction (but the user can download apikey.xml from this link (http://gitorious.org/lastgo/lastgo/blobs/raw/master/LastGo/apikey.xml) and import it choosing "Import Api Key" from application menu).
In the next days I'm going to implement the following features:
* Contextual window to mark a song as Loved, Banned, ecc...
* Portrait mode UI
* Support more radio
* Internazionalization support
* Let the user choose if 64 or 128 kbit streaming
* Make scrobbling optional
* Add discovery option
* Add support for user's playlist (adding songs and playing)
of course if you have any idea you can file a feature request here: https://bugs.maemo.org/enter_bug.cgi?product=LastGo
Important: I need your FEEDBACK to improve this application. Please test it, vote/comment it in its extras-testing page (http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/lastgo/0.2.1-4/) and file any bug you can find using the Maemo bugzilla: https://bugs.maemo.org/enter_bug.cgi?product=LastGo
Complete source code is available here: http://gitorious.org/lastgo
Good work mate;)......keep it comming...gr8 App
andy80
07-21-2010, 08:39 PM
Good work mate;)......keep it comming...gr8 App
Thanks :)
Please test it if you can. I need users feedback to fix all bugs and improve it ;)
gregoranderson
07-22-2010, 09:32 AM
Good luck - and if you haven't already, please do take a look at the Mobbler (http://code.google.com/p/mobbler/) project (Last.fm scrobbler / client for S60v3/5).
A brilliant app with some enviable features I would gladly see on Maemo / Meego.
I already have an API key generated by the website - how do I import it?
andy80
07-26-2010, 05:33 PM
I already have an API key generated by the website - how do I import it?
donwload this http://gitorious.org/lastgo/lastgo/blobs/raw/master/LastGo/apikey.xml
and substitute my values with your values, then save the file and copy on your N900. Once you've copied, choose "Import Api Key" from LastGo's application menu.
Excellent app! just tried it
andy80
07-26-2010, 05:41 PM
Excellent app! just tried it
Thanks Yuko! More features incoming, so stay tuned :)
I'm doing my best, but it's my first Qt/C++ application ;)
cardiff-blues
07-26-2010, 05:49 PM
i have already tried that and am getting 'api key does not have permission to stream' I'm pretty sure I haven't had a problem with the key before.
donwload this http://gitorious.org/lastgo/lastgo/blobs/raw/master/LastGo/apikey.xml
and substitute my values with your values, then save the file and copy on your N900. Once you've copied, choose "Import Api Key" from LastGo's application menu.
Ok I have done that - now it says there is a 'server error - please try that again'. I have signed out of lastfm on my PC and restarted my phone no effect. Do you have any idea what might be causing it?
andy80
07-26-2010, 05:50 PM
i have already tried that and am getting 'api key does not have permission to stream' I'm pretty sure I haven't had a problem with the key before.
are you sure you are a Last.fm subscriber? Streaming API are only available for subscribed users: http://www.lastfm.it/api/radio
are you sure you are a Last.fm subscriber? Streaming API are only available for subscribed users: http://www.lastfm.it/api/radio
Ah yes - a case of reading the microscipic print! I am not a paid subscriber (yet) which is why the API does not function.
andy80
07-26-2010, 06:01 PM
Ok I have done that - now it says there is a 'server error - please try that again'. I have signed out of lastfm on my PC and restarted my phone no effect. Do you have any idea what might be causing it?
a "server error" ? Uhm... it's not in the error list neither: http://www.lastfm.it/api/errorcodes so I don't think it's a "managed" error. I think I'll have to investigate better on this.
Could you please open a bug here: https://bugs.maemo.org/enter_bug.cgi?product=LastGo so I can keep track of it? Thanks!
Please report any details, step by step the operation you try to do, if you're connected to internet ecc...
andy80
07-26-2010, 06:07 PM
i have already tried that and am getting 'api key does not have permission to stream' I'm pretty sure I haven't had a problem with the key before.
could you please do a test for me? Please try to install Vagalume application (it's in Maemo-Extras) and try if it works. I see from the signature that you lives in UK and streaming should be free there (but only using the official applicatiion, not 3rd party application... but please try anyway).
Thanks!
could you please do a test for me? Please try to install Vagalume application (it's in Maemo-Extras) and try if it works. I see from the signature that you lives in UK and streaming should be free there (but only using the official applicatiion, not 3rd party application... but please try anyway).
Thanks!
OK I installed Vagalume but I do not have a libre.fm account and it is asking me for username / password which of course I don't have. There is no option to change libre.fm to last.fm so of course when I try to connect I get "Network Connection Error". I get this using WiFi or my phone network's data service.
Do you know how to change the service?
andy80
07-26-2010, 06:23 PM
OK I installed Vagalume but I do not have a libre.fm account and it is asking me for username / password which of course I don't have. There is no option to change libre.fm to last.fm so of course when I try to connect I get "Network Connection Error". I get this using WiFi or my phone network's data service.
Do you know how to change the service?
because neither Vagalume can distribute the API Key on a mobile phone :) It has a similar functionality... in their case you need to import this: http://gitorious.org/vagalume/vagalume/blobs/raw/vagalume-0.8/data/servers.xml.in (rename .xml )
because neither Vagalume can distribute the API Key on a mobile phone :) It has a similar functionality... in their case you need to import this: http://gitorious.org/vagalume/vagalume/blobs/raw/vagalume-0.8/data/servers.xml.in (rename .xml )
OK thanks for the file. I imported it successfully but on pressing play I get 'network error' and I can be pretty well assured that password is correct. This makes me suspect a problem with my phone but I can connect to and play last.fm fine through browser and so I don't know what it could be.
I submitted a bug at your request
andy80
07-27-2010, 07:48 AM
OK thanks for the file. I imported it successfully but on pressing play I get 'network error' and I can be pretty well assured that password is correct. This makes me suspect a problem with my phone but I can connect to and play last.fm fine through browser and so I don't know what it could be.
I submitted a bug at your request
Let's try to understand better your problem, but please do these tests I tell you:
1) Test both LastGo and Vagalume and tell me if this error happens with both clients.
2) open a terminal on your N900 and try this: mv /home/user/.config/LastGo/LastGo.conf /home/user/.config/LastGo/LastGo.conf.bak
shortly: this renames the configuration file, so you'll have to import api key again, insert username/password again and a NEW SESSION KEY will be requested.
ivnvir
07-27-2010, 08:04 AM
I tried it but still using Vagalume.
My only complaints are the lack of fast shortcuts for next, love and ban tracks.
I've made some suggestion for Vagalume's developer, and if you think they're good, you can put it at LastGo andy80:
shortcuts: skip track with right arrow, stop with left, love track with up and ban with down.
song name: make espeak says the name of song and artist, since we'll listen to new songs wich we don't know what is.
You're at the car, or at bed, not looking at n900/device itself, these two tips becomes useful.
andy80
07-27-2010, 08:09 AM
I tried it but still using Vagalume.
My only complaints are the lack of fast shortcuts for next, love and ban tracks.
I've made some suggestion for Vagalume's developer, and if you think they're good, you can put it at LastGo andy80:
shortcuts: skip track with right arrow, stop with left, love track with up and ban with down.
song name: make espeak says the name of song and artist, since we'll listen to new songs wich we don't know what is.
You're at the car, or at bed, not looking at n900/device itself, these two tips becomes useful.
please open a feature request here: https://bugs.maemo.org/enter_bug.cgi?product=LastGo
one for each request (at least don't mix espeak with shortcuts ecc...).
Except this missing features, the client works?
Let's try to understand better your problem, but please do these tests I tell you:
1) Test both LastGo and Vagalume and tell me if this error happens with both clients.
2) open a terminal on your N900 and try this: mv /home/user/.config/LastGo/LastGo.conf /home/user/.config/LastGo/LastGo.conf.bak
shortly: this renames the configuration file, so you'll have to import api key again, insert username/password again and a NEW SESSION KEY will be requested.
Ok - I copied and pasted your text into XTerm and renamed the file. I then went to LastGo and I got a request to re-import the API Key. I did this and was prompted to enter my username and password (which I did). I then got the message "server error - please try that again".
I have repeated the process for Vagalume and I just get "network error".
Many thanks
andy80
07-27-2010, 03:22 PM
Ok - I copied and pasted your text into XTerm and renamed the file. I then went to LastGo and I got a request to re-import the API Key. I did this and was prompted to enter my username and password (which I did). I then got the message "server error - please try that again".
I have repeated the process for Vagalume and I just get "network error".
Many thanks
You followed my instruction in a perfect way. The only thing I cannot explain is: why it still doesn't work?
If, for some reason, you had some problem with subscription, the client would say "You need to be subscribed ecc...". But it says "server error" that is not something I explicitly write in the status.
I cannot explain.... do you have any connection problems with your N900? How much signal UMTS/WIFI do you have when you click Play button?
You followed my instruction in a perfect way. The only thing I cannot explain is: why it still doesn't work?
If, for some reason, you had some problem with subscription, the client would say "You need to be subscribed ecc...". But it says "server error" that is not something I explicitly write in the status.
I cannot explain.... do you have any connection problems with your N900? How much signal UMTS/WIFI do you have when you click Play button?
The WiFi signal is at 100% but interestingly I get the same issue if I use the provider network (I think you call this GPRS) but not if I access the website and play the tracks from there.
Could it be that LastFM has a means to prevent mobiles accessing content in this way which has not been considered? I see there are others for whom this works, so if any of them are reading perhaps they might offer an explanation?
andy80
07-27-2010, 06:08 PM
The WiFi signal is at 100% but interestingly I get the same issue if I use the provider network (I think you call this GPRS) but not if I access the website and play the tracks from there.
Could it be that LastFM has a means to prevent mobiles accessing content in this way which has not been considered? I see there are others for whom this works, so if any of them are reading perhaps they might offer an explanation?
I don't know if Last.fm has a way to prevent users from using a mobile connection for last.fm streaming.
All I know is that I can use LastGo (or Vagalume) both with my home's wifi connection and with my "3" ThreeHG UMTS connection (even if it's not allowed by them).
Are you having this problem both with wifi and with umts? Or just with UMTS?
I don't know if Last.fm has a way to prevent users from using a mobile connection for last.fm streaming.
All I know is that I can use LastGo (or Vagalume) both with my home's wifi connection and with my "3" ThreeHG UMTS connection (even if it's not allowed by them).
Are you having this problem both with wifi and with umts? Or just with UMTS?
I am having problems with both
andy80
07-27-2010, 06:24 PM
I am having problems with both
at the moment, the only way for me to understand why you have that problem is trying to insert more debugging code (and maybe let LastGo to log it into a .txt file) into the application and make a new "experimental" release as soon as I can.
I wish I had more feedback from other users, to understand if this is only your problem or if it's a common one.
at the moment, the only way for me to understand why you have that problem is trying to insert more debugging code (and maybe let LastGo to log it into a .txt file) into the application and make a new "experimental" release as soon as I can.
I wish I had more feedback from other users, to understand if this is only your problem or if it's a common one.
Ok well thanks for your support so far - one question though, can you generate a new API key somehow on lastfm? Maybe I can try that?
cardiff-blues
07-27-2010, 07:00 PM
I'll come back with some feedback as well soon. Just reflashing my device.
andy80
07-27-2010, 07:14 PM
Ok well thanks for your support so far - one question though, can you generate a new API key somehow on lastfm? Maybe I can try that?
You can ask for a new API here: http://www.lastfm.it/api/account
but I don't think this will fix your problem...
cardiff-blues
07-27-2010, 07:58 PM
Ok I can report that I can play my Last FM library through Vagalume 0.8.3
andy80
07-28-2010, 06:13 AM
Ok I can report that I can play my Last FM library through Vagalume 0.8.3
I can explain why: Vagalume also support the OLD (unsupported) Api. This allow UK, USA, Germany people to listen Last.fm for free.
Last.fm has not disabled the old API yet, and I find this very un-fair for new developers that want to create a new client.
planetf1
07-28-2010, 08:52 AM
Interesting app, I'm in the UK but at work my internet traffic goes out of another country.
I have a (authentictaed) proxy at home for such purposes. Vagalume supports a proxy, but unfortunately lastgo doesn't appear to yet.
Is this something that can be added to the wish list...
Thanks!
I can explain why: Vagalume also support the OLD (unsupported) Api. This allow UK, USA, Germany people to listen Last.fm for free.
Last.fm has not disabled the old API yet, and I find this very un-fair for new developers that want to create a new client.
Does that mean I can use the LastFM api key I have on Vagalume? If so how do I do that because the api file you gave me to import to lastgo cannot be read by Vagalume?
andy80
07-28-2010, 08:58 AM
Does that mean I can use the LastFM api key I have on Vagalume? If so how do I do that because the api file you gave me to import to lastgo cannot be read by Vagalume?
We (LastGo and Vagalume) use a different format for our apikey files. You've to manually edit those files and substitute the strings.
But I REPEAT: it's useless you use a different api key. The problem is not the API KEY, the problem is that I'm using the NEW APIs while Vagalume uses the OLD ONE that allow to stream for free. Those api are UNDOCUMENTED, I cannot use them, and I don't know how to use them.
So, please, don't spend time trying to mess with apikey files, it's pretty useless.
We (LastGo and Vagalume) use a different format for our apikey files. You've to manually edit those files and substitute the strings.
But I REPEAT: it's useless you use a different api key. The problem is not the API KEY, the problem is that I'm using the NEW APIs while Vagalume uses the OLD ONE that allow to stream for free. Those api are UNDOCUMENTED, I cannot use them, and I don't know how to use them.
So, please, don't spend time trying to mess with apikey files, it's pretty useless.
Ok well thanks for trying. Shame really, but I will just have to use the website. Never mind.
xuggs
08-06-2010, 07:37 AM
So this only works for paid subscribers? Not for the free ones?
andy80
08-06-2010, 07:42 AM
So this only works for paid subscribers? Not for the free ones?
exactly. It's not a my restriction, but a last.fm restriction.
silvermountain
08-10-2010, 07:15 PM
exactly. It's not a my restriction, but a last.fm restriction.
Phew, good I caught that before I downloaded it :)
I'm using Vagalume and loving my free music.
andy80
08-10-2010, 09:03 PM
Phew, good I caught that before I downloaded it :)
I'm using Vagalume and loving my free music.
Vagalume is using the old protocol API, but it (the old protocol) will be disabled soon.
crenquis
09-17-2010, 06:08 AM
Thanks for the app....
No problems so far - looking forward to the new features.
andy80
09-17-2010, 06:10 AM
Thanks for the app....
No problems so far - looking forward to the new features.
Thanks for testing!
thandk
09-29-2010, 07:50 AM
Fantastic that you have made a Last.FM client, I have been looking for one. Unfortunately lastGo won't start on my N900. I have installed the app and restarted the phone.
When I start lastGO the application frame and header comes up and the status indicator rotates for a while and then the app closes.
Any idear why that happens? Are there any mandatory dependencies?
andy80
09-29-2010, 08:16 AM
Fantastic that you have made a Last.FM client, I have been looking for one. Unfortunately lastGo won't start on my N900. I have installed the app and restarted the phone.
When I start lastGO the application frame and header comes up and the status indicator rotates for a while and then the app closes.
Any idear why that happens? Are there any mandatory dependencies?
do you have the latest PR 1.2 firmware?
please try to start the application from terminal, it should display you any error (for example: missin xxxx dependencies...)
Thanks for your help!
thandk
09-29-2010, 02:21 PM
Hi Andy
Thanks for your quick response. The phone is running PR 1.2.
When I run the LastGo app from the command line i get:
~ $ run-standalone.sh /opt/LastGo
/opt/LastGo: error while loading shared libraries: libQtMultimediaKit.so.1: cannot open shared object file: No such file or directory
~ $
I have tried to apt-get install libQtMultimediaKit.so.1, but the result is:
/home/user # apt-get install libQtMultimediaKit.so.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libQtMultimediaKit.so.1
/home/user #
andy80
09-29-2010, 02:27 PM
Hi Andy
Thanks for your quick response. The phone is running PR 1.2.
When I run the LastGo app from the command line i get:
~ $ run-standalone.sh /opt/LastGo
/opt/LastGo: error while loading shared libraries: libQtMultimediaKit.so.1: cannot open shared object file: No such file or directory
~ $
I have tried to apt-get install libQtMultimediaKit.so.1, but the result is:
/home/user # apt-get install libQtMultimediaKit.so.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libQtMultimediaKit.so.1
/home/user #
try with: apt-get install libqtm-multimedia
it's strange it wasn't installed automatically :\
thandk
09-29-2010, 02:45 PM
That did the trick, now I just need to import the API key.
Thanks.
thandk
09-30-2010, 04:21 PM
Hi Andrea
Got to play around with your app. and it works nicely.
Does the lastFm web service support searching for stations? And will it be possible to do so through LastGo?
Have a nice evening.
martycollinsesq
11-19-2010, 03:41 AM
Love it. Can't get it to scrobble, but still love it. thanks!
martycollinsesq
01-03-2011, 02:58 AM
Still love it. Totally addicted. Must have it. Now I'm scrobbling. Thank you so much for this app!
thopiekar
09-08-2011, 05:28 PM
Tried to get it working but very time I want to start a radio I get:
The user must be a subscriber to use this method.
What does that mean in detail and what do to have to do to fix that?
kaos_king
09-11-2011, 04:08 PM
Hi, I also have an error when selecting any radio list, looking forward to using the app though, looks great.
Console doesn't state too much....
~ $ run-standalone.sh /opt/LastGo
QNetworkReplyImpl::_q_startOperation was called more than once
~ $
This is the error I get in the app...
http://farm7.static.flickr.com/6174/6137160361_c1bd064d26.jpg (http://www.flickr.com/photos/67433556@N04/6137160361/)
Got a new key and tried again but that didn't sort it along with reboot etc. Any ideas? Cheers
kaos_king
09-14-2011, 08:25 AM
Anyone?
( . Y . )
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.