Lines Matching refs:song
671 for (const SongInfo& song : song_list) { in TrackChangedNotificationResponse() local
672 now_playing_ids_.insert(song.media_id); in TrackChangedNotificationResponse()
673 if (curr_song_id == song.media_id) { in TrackChangedNotificationResponse()
674 log::verbose("Found media ID match for {}", song.media_id); in TrackChangedNotificationResponse()
1377 (temp.type == ListItem::SONG && temp.song.media_id == media_id)) { in GetItemAttributesVFSResponse()
1384 filter_cover_art(item_requested.song); in GetItemAttributesVFSResponse()
1404 if (item_requested.song.attributes.find(attribute) != in GetItemAttributesVFSResponse()
1405 item_requested.song.attributes.end()) { in GetItemAttributesVFSResponse()
1407 *item_requested.song.attributes.find(attribute)); in GetItemAttributesVFSResponse()
1413 for (const auto& attribute : item_requested.song.attributes) { in GetItemAttributesVFSResponse()
1460 const SongInfo& song, const std::vector<Attribute>& attrs) { in filter_attributes_requested() argument
1463 if (song.attributes.find(attr) != song.attributes.end()) { in filter_attributes_requested()
1464 result.insert(*song.attributes.find(attr)); in filter_attributes_requested()
1487 vfs_ids_.insert(item.song.media_id); in GetVFSListResponse()
1505 auto song = items[i].song; in GetVFSListResponse() local
1509 filter_cover_art(song); in GetVFSListResponse()
1513 song.attributes.find(Attribute::TITLE) != song.attributes.end() in GetVFSListResponse()
1514 ? song.attributes.find(Attribute::TITLE)->value() in GetVFSListResponse()
1516 MediaElementItem song_item(vfs_ids_.get_uid(song.media_id), title, in GetVFSListResponse()
1520 song_item.attributes_ = std::move(song.attributes); in GetVFSListResponse()
1523 filter_attributes_requested(song, pkt->GetAttributesRequested()); in GetVFSListResponse()
1543 for (const SongInfo& song : song_list) { in GetNowPlayingListResponse() local
1544 now_playing_ids_.insert(song.media_id); in GetNowPlayingListResponse()
1549 auto song = song_list[i]; in GetNowPlayingListResponse() local
1553 filter_cover_art(song); in GetNowPlayingListResponse()
1556 auto title = song.attributes.find(Attribute::TITLE) != song.attributes.end() in GetNowPlayingListResponse()
1557 ? song.attributes.find(Attribute::TITLE)->value() in GetNowPlayingListResponse()
1562 item.attributes_ = std::move(song.attributes); in GetNowPlayingListResponse()
1565 filter_attributes_requested(song, pkt->GetAttributesRequested()); in GetNowPlayingListResponse()
1768 for (const SongInfo& song : song_list) { in HandleNowPlayingNotificationResponse() local
1769 now_playing_ids_.insert(song.media_id); in HandleNowPlayingNotificationResponse()