forked from len0rd/rockbox
Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
928a09e3f4
commit
9e4262081b
24 changed files with 2310 additions and 1005 deletions
|
|
@ -418,12 +418,7 @@ static char* get_tag(struct mp3entry* id3,
|
|||
#endif
|
||||
case 'p': /* Playlist Position */
|
||||
*flags |= WPS_REFRESH_STATIC;
|
||||
{
|
||||
int index = id3->index - playlist_first_index();
|
||||
if (index < 0)
|
||||
index += playlist_amount();
|
||||
snprintf(buf, buf_size, "%d", index + 1);
|
||||
}
|
||||
snprintf(buf, buf_size, "%d", playlist_get_display_index());
|
||||
return buf;
|
||||
|
||||
case 'n': /* Playlist Name (without path) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue