Project

General

Profile

Actions

Feature #674

closed

Save scrobbling queue

Added by 0xd34df00d over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: LastFMScrobble
Target version:
Start date:
04/25/2012
Due date:
% Done:

100%

Estimated time:
4:00 h

Description

If a track has failed to be scrobbled, it should be saved to be scrobbled later.
According to official documentation ( http://www.audioscrobbler.net/development/protocol/ ):

Clients should be able to cope with long (multiples hours) downtime from the server. This may be caused by either server failure or a lack of network connectivity by the client (e.g. a portable system such as a laptop with only brief connectivity).

Seems like the best way to do this is to use Track::toDomElement() to save tracks and to use the Track (QDomElement) ctor to restore them later on.

Keep in mind that the queue must survive between LC's restarts.

Actions

Also available in: Atom PDF