mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
lastfm_scrobbler: fetch rbversion from plugin API
This prevents needlessly rebuilding the plugin whenever RBVERSION changes. (This was introduced by the removal of CVS $Revision$ tags.) Change-Id: Ic981c86319edb9c7eb7f0c1de71d4fbaba8989ac
This commit is contained in:
parent
fd2b070bb1
commit
a8f8aa40b9
1 changed files with 2 additions and 4 deletions
|
|
@ -87,8 +87,6 @@ Example
|
|||
/* increment this on any code change that effects output */
|
||||
#define SCROBBLER_VERSION "1.1"
|
||||
|
||||
#define SCROBBLER_REVISION " " RBVERSION " "
|
||||
|
||||
#define SCROBBLER_BAD_ENTRY "# FAILED - "
|
||||
|
||||
/* longest entry I've had is 323, add a safety margin */
|
||||
|
|
@ -531,8 +529,8 @@ static int sbl_check_or_open(bool check_only)
|
|||
/* write file header */
|
||||
rb->fdprintf(fd, "#AUDIOSCROBBLER/" SCROBBLER_VERSION "\n"
|
||||
"#TZ/UNKNOWN\n" "#CLIENT/Rockbox "
|
||||
TARGET_NAME SCROBBLER_REVISION
|
||||
HDR_STR_TIMELESS "\n");
|
||||
TARGET_NAME " %s "
|
||||
HDR_STR_TIMELESS "\n", rb->rbversion);
|
||||
rb->fdprintf(fd, ITEM_HDR);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue