fix prev_album skip action when activating during the first album
this should wrap back to the last album, not repeatedly skip to the first album
This commit is contained in:
parent
8eafb3e56e
commit
e893b6cbc1
|
@ -2963,8 +2963,10 @@ control_skip_back_album()
|
|||
|
||||
if (!empd_song_item) return;
|
||||
pick = queue_list_header_prev_get(elm_genlist_item_parent_get(empd_song_item));
|
||||
if (!pick)
|
||||
if ((!pick) || (pick == elm_genlist_item_parent_get(empd_song_item)))
|
||||
pick = elm_genlist_item_parent_get(elm_genlist_last_item_get(queue_list));
|
||||
if (!pick)
|
||||
pick = elm_genlist_last_item_get(queue_list);
|
||||
so = elm_object_item_data_get(pick);
|
||||
empd_empdd_play_id_call(empd_proxy, so->songid);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue