[maemo-developers] mafw-lasftm: installed, configured, restarted the device, but plugin is not started
From: Claudio Saavedra csaavedra at igalia.comDate: Tue Dec 8 22:27:41 EET 2009
- Previous message: mafw-lasftm: installed, configured, restarted the device, but plugin is not started
- Next message: mafw-lasftm: installed, configured, restarted the device, but plugin is not started
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[I'm crossposting to mafw-lastfm-devel, but this is my last reply to maemo-developers. I think if we want to discuss stuff in more detail, the mafw-lastfm development list is the proper place] El mar, 08-12-2009 a las 21:18 +0100, Andrea Grandi escribió: > Hi, > > 2009/12/8 Claudio Saavedra <csaavedra at igalia.com>: > >> 1) How can I start it automatically without having to start it manually? > > > > It should do already, after installation, and on the session start > > (after the X session is ready). > > it didn't after installation, but it did after a device restart It's odd, but it works fine if you install the package by hand. I'll have to look into this. > > > Yes, tracks are queued. Once there is a connection available, the queue > > is flushed and the tracks are sent to last.fm. This doesn't happen > > immediately after the connection is available, though, but only when you > > start listening again. This could be improved. > > yes, I've noticed looking in the terminal debug messages that it keeps > doubling the time of retry. It could just check for internet > connection every 60 or 120 seconds (maybe configurable by user). I don't really think it is necessary to have configuration for something like that. In the end, mafw-lastfm retries every 320 seconds (bit more than every 5 min), which is OK to me. However, retrying could stop after playback is stopped, to avoid unnecessary polling. Other alternative would be to use libconn, but I don't feel like adding yet another dependency for something that should be done in a very small daemon. I rather play smart while keeping it simple, so any solution has to go in that direction. > > > Another limitation is that the queue is not serialized, so if the > > process is terminated for any reason, the queue will be emptied. This is > > also important to fix. > > I don't know how much data you have to save for every song scrobbled, > but what about sqlite? It suffices with saving a string. sqlite would be overkill (yet another unnecessary dependency). Serializing to a text file would do. > > p.s: in the configuration dialog, before launching the GUI, the icon is missing. Because there is no icon, yet. Ideally, I'd use last.fm (or audioscrobbler, fwiw) icon, but I am not good at drawing and haven't found anything with a proper license in the last.fm site. Art is welcome, of course. Claudio
- Previous message: mafw-lasftm: installed, configured, restarted the device, but plugin is not started
- Next message: mafw-lasftm: installed, configured, restarted the device, but plugin is not started
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]