maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [ANNOUNCE/WIP] Last.fm radio player for harmattan (https://talk.maemo.org/showthread.php?t=84084)

CepiPerez 2012-05-05 23:39

[ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Hello all
This is a new project I'm working on
It's very basic for now. I've started today to work on it and this is what I do for now. Not much to say.
Of course I will add more features, but I post this version here for testing.

Screenshots:
http://dl.dropbox.com/u/12134784/MEEGO/lfm1.png http://dl.dropbox.com/u/12134784/MEEGO/lfm2.png
http://dl.dropbox.com/u/12134784/MEEGO/lfm3.png http://dl.dropbox.com/u/12134784/MEEGO/lfm4.png

Download:
http://dl.dropbox.com/u/12134784/MEE....0.5_armel.deb


Changelog:
Version 0.0.5:
- Swipe to skip song
- Mini bio panel in Now Playing window

Version 0.0.4:
- Auto scrobbler all songs
- More UI changes

Version 0.0.3:
- Some fixes
- Transitions

Version 0.0.2:
- Logout option
- Removed My Playlist (it's the same as My Library)
- Added Mix radio, Recommendation radio and Neighbours radio
- Added artist bio
- Added love/unlove, ban and scrobble songs
- UI changes


I'm planing to add this app to Nokia Store
But first I need some feedback
Please let me know what you want in this app.

youmeego 2012-05-06 00:26

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
great to have this app! do i need to pay for thier music service?

derch 2012-05-06 01:28

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Thank you so much this has been the biggest miss so far for me with my n9

law138 2012-05-06 01:40

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I keep getting no tracks found.

derch 2012-05-06 01:52

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
It would be great to add scrobbling support for the default music player, love tracks, also loved tracks station. Stations based on neighbors, individual friends, groups would be nice. Maybe seeing your top lists and last played list.

sorry if thats a bit, if you have a paypal i would donate to the cause

law138 2012-05-06 02:12

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Ok I think I know what it is. I put in the wrong password but the app won't let me put in the right one.

CepiPerez 2012-05-06 02:47

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by law138 (Post 1202409)
Ok I think I know what it is. I put in the wrong password but the app won't let me put in the right one.

Sorry I need to add an option for logout. I'll do it on monday.
Try removing the config file:
/home/user/.config/cepiperez/lastfm.conf
Then you can log in again.

Maserti 2012-05-06 04:10

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
i love last!,ill be using this daily and ill report shortcomings

mr id 2012-05-06 09:04

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Works very well. Good job.

I'd like to see:
Recommended & Neighbour radio stations.
Artist biographies of playing tracks.
Play Artist radio from biography/now playing.
Love/Unlove + Ban buttons for a track.
Now playing and played tracks scrobbling.
Profile screen (for myself and other users potentially) - last played tracks, library etc.
Favourite radio stations.

Extra features:
Integration with Spotify apps and local media (e.g. search for X on Spotify from now playing, Y is in your library play now?), Ability to submit your library to Last.fm

Sent you a PM as I started playing with the API on Harmattan a while ago and may have some code that would help you.

Glad someone else is interested in bringing this to the N9.

PhatApteryx 2012-05-06 10:13

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by derch (Post 1202406)
It would be great to add scrobbling support for the default music player, love tracks, also loved tracks station. Stations based on neighbors, individual friends, groups would be nice. Maybe seeing your top lists and last played list.

sorry if thats a bit, if you have a paypal i would donate to the cause

There is already a way to scrobble the default music player & love tracks... It works nicely too although it is basic

http://talk.maemo.org/showthread.php?t=80931

... Scrobbling now from maemo-scrobbler

Maybe this could be added to this app as well

law138 2012-05-08 02:26

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Any update yet :-)

CepiPerez 2012-05-08 02:35

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I've added some things:
- Logout option
- Removed My Playlist (it's the same as My Library)
- Added Mix radio, Recommendation radio and Neighbours radio
- Added artist bio
- Added love/unlove, ban and scrobble songs

Let me make some changes in UI. I'll post an update tomorrow

EDIT: should I change "My" for "Your" in radios?

CepiPerez 2012-05-08 12:56

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I've uploaded an update, check first post
I made some noticeable changes in now playing window
Hope you like it

wout.martens 2012-05-08 16:50

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Wow perfect update!
Thanks a lot.

Is there a way to get the music control keys on standby screen like the default music player?

One small change request;
recommendation radio should be recommended radio

law138 2012-05-08 17:57

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I'm loving this so far thanks so much .

almamo 2012-05-08 19:14

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Looks amazing! I unfortunately don't use last.fm, but I def. wanna try out your application.

CepiPerez 2012-05-08 19:26

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Another update
Yes, I has nothing to do today :D
Just added some nice transitions on images, and some minor fixes.

achilles333 2012-05-08 19:42

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by wout.martens (Post 1203606)
Is there a way to get the music control keys on standby screen like the default music player?

CepiPerez, is this possible??

wout.martens 2012-05-08 19:47

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
wow, you code fast :)
looking good!

maybe that bottom bar could have a nicer color as well?
do you plan to support landscape?

time to $upport you!

CepiPerez 2012-05-08 20:14

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by achilles333 (Post 1203708)
Quote:

Originally Posted by wout.martens (Post 1203606)
Is there a way to get the music control keys on standby screen like the default music player?

CepiPerez, is this possible??

There's no documentation about lockscreen
I'll see what can I do, but I don't promise anything

Quote:

Originally Posted by wout.martens (Post 1203716)
maybe that bottom bar could have a nicer color as well?
do you plan to support landscape?

I'll change the bottom bar color, just forgot to do this in the last update.
Landscape is easy and will be in the next update too.
Maybe tomorrow, it's very easy

RazorNoobish 2012-05-08 22:23

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Hi, I don't know if it's possible but it would be awesome if you could listen to the tracks on the N9's memory in the same app.


I love you work :D

derch 2012-05-09 03:49

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Can you have an option for the scrobble to happen automaticly, can you have it so we can scrobble from the default media player?

I love the updates so far

PhatApteryx 2012-05-09 09:28

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by CepiPerez (Post 1203701)
Another update
Yes, I has nothing to do today :D
Just added some nice transitions on images, and some minor fixes.

Hey there - what a GREAT app you have made - really really nice! Will encourage me to use last.fm more... I still use the maemo-scrobbler with the default N9 player to keep my scrobbling up to date, but if your app ever gains local library playing and lock screen controls... the default will be redundant... Thanks.

ZogG 2012-05-09 09:51

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
If it's opensource/free app, why don't you release for apps4meego?
Thank you for cool app btw

CepiPerez 2012-05-10 17:37

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
New version
I think I'm done here

nbedford 2012-05-10 18:03

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I just tried thus, but all I can get is

'Login error. Try again.'

How to get past this problem, login works in browser... :(

EDIT: nevermind, user error :rolleyes:

wout.martens 2012-05-10 18:44

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Thanks a lot.
Almost done I would say :)

Could you introduce swipe on artist image to switch to next track?

And may i allow myself to come up with an UI update, see attached image:

http://dl.dropbox.com/u/18936922/example.jpg

What do you think? Maybe auto-scrolling the biography?

Just wanted introduce this as reading the whole biography is sometimes not needed but quickly reading the first lines is just a must.

Could you also bring the feauture that after a call the app automatically skips to next track as after a call the music stops.

fongo 2012-05-10 19:07

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
This is an awesome app CepiPerez, thanks for so much for it! I find it perfectly usable as is, anything more you do is pure icing on the cake.:o

wout.martens 2012-05-10 19:10

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by fongo (Post 1204898)
This is an awesome app CepiPerez, thanks for so much for it! I find it perfectly usable as is, anything more you do is pure icing on the cake.:o

Hey don't get me wrong here, happy as well, just some thoughts about an improvement. :-)

XenGi 2012-05-11 00:46

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Really love this app. Runs nice and stable.

I'm missing a profile screen with last played tracks, library etc.

What I think is important is, if you listen to a track it should only be scrobbled if you listened at least 50% of it. That's the standard behavior of most last.fm clients. If I only listen to 5sec and skip a track I dont want that be scrobbled.

And put that into Ovi store for money so that people can pay your freetime. ;)

Keep up the good work!

CepiPerez 2012-05-11 02:17

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
if you enable scrobble all songs on main screen, all songs will be scrobbled when they gets 30 seconds. I can change it to 50% if you all think its better.
I'll implemet swipe to change next song. It' a nice option.
And maybe I'll add the mini bio panel too.
I can add a profile screen with last played songs I think, but I don't think that last.fm api let me play those songs, that's why there's a collection radio I believe.
All improvements are welcome, so keep giving ideas.

About OVI, I don't think this app will pass the QA, causes last.fm says we can't use their radio api on mobile phone.
But I'll apreciate all donations if you want to support ;)

mr id 2012-05-11 11:15

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by CepiPerez (Post 1205014)
if you enable scrobble all songs on main screen, all songs will be scrobbled when they gets 30 seconds. I can change it to 50% if you all think its better.

I believe either 50% or 75% is the recommendation (user selected)

Quote:

Originally Posted by CepiPerez (Post 1205014)
And maybe I'll add the mini bio panel too.
I can add a profile screen with last played songs I think, but I don't think that last.fm api let me play those songs, that's why there's a collection radio I believe.

+1 for panel and scrobble history.
Correct. The labels won't allow them to stream user selected songs or abums. Only, radio style channels.

Quote:

Originally Posted by CepiPerez (Post 1205014)
About OVI, I don't think this app will pass the QA, causes last.fm says we can't use their radio api on mobile phone.

I believe you could put a version that is WI-FI only into the app store - my understanding of the API EULA is that it's moblie streaming that gives them an issue (you could always make a 'patch' available discretely).

However, I believe the API also restricts commercial use - so charging may be another issue.

Win7Mac 2012-05-11 16:42

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Hi there,
I had some trouble installing this very nice little app.
Error on 1st attempt:
Code:

~ # cd /home/user/MyDocs/Downloads

/home/user/MyDocs/Downloads # dpkg -i lastfm_0.0.4_armel.deb

dpkg: Status-Datenbank-Bereich ist von einem anderen Prozess gesperrt*1*

aegis-installing lastfm (from '')

Package lastfm: denied 'GRP::audio' -- origin '' does not allow it

Package lastfm: denied 'GRP::audio' for '/opt/lastFM/bin/lastFM' -- origin '' does not allow it

Package lastfm: denied 'GRP::audio' for 'applauncherd-launcher::/usr/bin/applauncherd.bin' -- origin '' does not allow it

aegis-loader: Failed loading policy for 'lastfm::/opt/lastFM/bin/lastFM'

/home/user/MyDocs/Downloads #

*1* Translation: status-database-range is blocked by another process (something alike)

I rebootet and tried again, Error on 2nd attempt:
Code:

home/user/MyDocs/Downloads # dpkg -i lastfm_0.::/opt/lastFM/bin/lastFM'

0.4_armel.deb

aegis-loader: Failed loading policy for 'lastfm::/opt/lastFM/bin/lastFM'

Vormals abgewÀhltes Paket lastfm wird gewÀhlt.*2*

(Lese Datenbank ... 48422 Dateien und Verzeichnisse sind derzeit installiert.)*3*

Entpacken von lastfm (aus lastfm_0.0.4_armel.deb) ...

aegis-installing lastfm (from '')

Package lastfm: denied 'GRP::audio' -- origin '' does not allow it

Package lastfm: denied 'GRP::audio' for '/opt/lastFM/bin/lastFM' -- origin '' does not allow it

Package lastfm: denied 'GRP::audio' for 'applauncherd-launcher::/usr/bin/applauncherd.bin' --origin '' does not allow it

lastfm (0.0.4) wird eingerichtet ...

Trigger für applauncherd-launcher werden verarbeitet ...

Trigger für desktop-file-utils werden verarbeitet ...

Trigger für hicolor-icon-theme werden verarbeitet ...

/home/user/MyDocs/Downloads #

*2* Translation: previously deselected package is now selected
*3* Translation: (read database ... 48422 files and directories are actually installed.)
(something alike)

I had a similar issue here:
http://talk.maemo.org/showthread.php?t=84098

Despite the error(s) Last.fm works fine now.
After that, I installed another app (Meecast_0.5.7) via terminal (also uses aegis) without any errors.

Sorry for spoiling this topic, but I really want to know what's wrong. Please shed some light here.

CepiPerez 2012-05-11 23:36

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I had the same issue installing this app
But everything works fine, so I didn't pay attention
I'll check it later

almamo 2012-05-17 14:47

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by CepiPerez (Post 1205518)
I had the same issue installing this app
But everything works fine, so I didn't pay attention
I'll check it later

In case you haven't seen it yet; we wrote an article about your last.fm app on our website: http://www.allboutn9.info/2012/05/wo...-n9-under.html

To me one of the best apps on my phone! :)

What users left in the comment section:

--timezone isn't ajusting when scrobbling. It seems that gmt is configured but no way to change it.
-while scrobbling it says the scrobbler is flowplayer on the last.fm profile.


and

- I would love to have the scrobble-functionality built in the last.fm app (as in the symbian version).

(although I don't understand this post well, since isn't scrobble functionality already integrated? But I don't know the Symbian version of last.fm

EDIT: Ok he meant to have it integrated in the native N9 music player app.

CepiPerez 2012-05-18 11:29

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
I've added the swipe to skip song and the small bio panel and changed the auto scrobbler at 50% instead of 30 seconds.
But I'm working on flowplayer right now (playlists support).
After that, I'll fix the timezone and register this app in last.fm to get a new api key (it uses flowplayer's one to scrobble for now).

imaginaryenemy 2012-05-18 14:54

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by CepiPerez (Post 1208595)
I've added the swipe to skip song and the small bio panel and changed the auto scrobbler at 50% instead of 30 seconds.
But I'm working on flowplayer right now (playlists support).
After that, I'll fix the timezone and register this app in last.fm to get a new api key (it uses flowplayer's one to scrobble for now).

i love this app. great work!

my only fear is that if the app is registered with last.fm i will need to purchase a subscription. is that true? i live in the US so i do not have to subscribe to listen to last.fm radio, but in the US you have to purchase a subscription to listen to last.fm radio on mobile.

if that is the case, i just won't upgrade. i am excited about the updates you mentioned, though, so i hope that is not the case.

CepiPerez 2012-05-18 17:33

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
from last.fm FAQ:

"Where do I need a subscription to listen to the radio?
If you live outside the US, UK or Germany you can try out Last.fm Radio with a free 50 tracks trial, after which a subscription is required to listen to it."

imaginaryenemy 2012-05-18 17:45

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
Quote:

Originally Posted by CepiPerez (Post 1208785)
from last.fm FAQ:

"Where do I need a subscription to listen to the radio?
If you live outside the US, UK or Germany you can try out Last.fm Radio with a free 50 tracks trial, after which a subscription is required to listen to it."

maybe i wasn't clear. i know i don't need a subscription to listen to the last.fm radio because i live in the US. HOWEVER, to listen to listen to the radio via mobile device i DO need a subscription, even though i live in the US. the FAQ on their site is very clear about this fact.

as of right now, i do not need a subscription to listen to the radio on your app. i don't know if it is because it is not "official" or what. my question is, if you register this app with last.fm officially, will that mean i will need a subscription?

CepiPerez 2012-05-18 18:05

Re: [ANNOUNCE/WIP] Last.fm radio player for harmattan
 
You don't need anything, don't worry
We can't use last.fm radio api in mobiles, but this app retrieve the data using a linux browser agent to get all we need.

BTW, here's the last update:
http://dl.dropbox.com/u/12134784/MEE....0.5_armel.deb


All times are GMT. The time now is 02:07.

vBulletin® Version 3.8.8