maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo (https://talk.maemo.org/showthread.php?t=58916)

andy80 2010-07-22 00:32

[ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Hi all,

my name is Andrea Grandi 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 client just like Vagalume.

You can view a screenshot here:

http://www.andreagrandi.it/wp-conten...716-222755.png

Currently the application is available in extras-testing 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 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 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

s33 2010-07-22 00:34

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Good work mate;)......keep it comming...gr8 App

andy80 2010-07-22 00:39

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by s33 (Post 760088)
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 2010-07-22 13:32

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Good luck - and if you haven't already, please do take a look at the Mobbler project (Last.fm scrobbler / client for S60v3/5).

A brilliant app with some enviable features I would gladly see on Maemo / Meego.

Lake 2010-07-26 21:28

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
I already have an API key generated by the website - how do I import it?

andy80 2010-07-26 21:33

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 765755)
I already have an API key generated by the website - how do I import it?

donwload this http://gitorious.org/lastgo/lastgo/b...tGo/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.

yuko 2010-07-26 21:37

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Excellent app! just tried it

andy80 2010-07-26 21:41

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by yuko (Post 765765)
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 2010-07-26 21:49

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
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.

Lake 2010-07-26 21:50

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 765760)
donwload this http://gitorious.org/lastgo/lastgo/b...tGo/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 2010-07-26 21:50

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by cardiff-blues (Post 765775)
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

Lake 2010-07-26 21:54

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 765782)
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 2010-07-26 22:01

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 765781)
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 2010-07-26 22:07

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by cardiff-blues (Post 765775)
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!

Lake 2010-07-26 22:20

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 765792)
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 2010-07-26 22:23

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 765801)
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/vagalu...servers.xml.in (rename .xml )

Lake 2010-07-27 11:42

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 765805)
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/vagalu...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 2010-07-27 11:48

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 766322)
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 2010-07-27 12:04

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
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 2010-07-27 12:09

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by ivnvir (Post 766342)
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?

Lake 2010-07-27 17:40

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 766331)
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 2010-07-27 19:22

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 766710)
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?

Lake 2010-07-27 21:56

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 766819)
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 2010-07-27 22:08

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 767023)
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?

Lake 2010-07-27 22:20

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 767039)
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 2010-07-27 22:24

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 767058)
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.

Lake 2010-07-27 22:51

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 767061)
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 2010-07-27 23:00

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
I'll come back with some feedback as well soon. Just reflashing my device.

andy80 2010-07-27 23:14

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 767084)
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 2010-07-27 23:58

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Ok I can report that I can play my Last FM library through Vagalume 0.8.3

andy80 2010-07-28 10:13

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by cardiff-blues (Post 767160)
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 2010-07-28 12:52

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
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!

Lake 2010-07-28 12:53

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 767574)
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 2010-07-28 12:58

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by Lake (Post 767718)
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.

Lake 2010-07-28 17:53

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 767724)
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 2010-08-06 11:37

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
So this only works for paid subscribers? Not for the free ones?

andy80 2010-08-06 11:42

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by xuggs (Post 777695)
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 2010-08-10 23:15

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by andy80 (Post 777697)
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 2010-08-11 01:03

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Quote:

Originally Posted by silvermountain (Post 782246)
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 2010-09-17 10:08

Re: [ANNOUNCE] LastGo 0.2.1 - Last.fm client for MeeGo and Maemo
 
Thanks for the app....
No problems so far - looking forward to the new features.


All times are GMT. The time now is 12:55.

vBulletin® Version 3.8.8