Lines Matching refs:song
423 for (const SongInfo& song : song_list) { in TrackChangedNotificationResponse() local
424 now_playing_ids_.insert(song.media_id); in TrackChangedNotificationResponse()
425 if (curr_song_id == song.media_id) { in TrackChangedNotificationResponse()
427 << song.media_id; in TrackChangedNotificationResponse()
1039 (temp.type == ListItem::SONG && temp.song.media_id == media_id)) { in GetItemAttributesVFSResponse()
1061 if (item_requested.song.attributes.find(attribute) != in GetItemAttributesVFSResponse()
1062 item_requested.song.attributes.end()) { in GetItemAttributesVFSResponse()
1064 *item_requested.song.attributes.find(attribute)); in GetItemAttributesVFSResponse()
1070 for (const auto& attribute : item_requested.song.attributes) { in GetItemAttributesVFSResponse()
1117 const SongInfo& song, const std::vector<Attribute>& attrs) { in filter_attributes_requested() argument
1120 if (song.attributes.find(attr) != song.attributes.end()) { in filter_attributes_requested()
1121 result.insert(*song.attributes.find(attr)); in filter_attributes_requested()
1144 vfs_ids_.insert(item.song.media_id); in GetVFSListResponse()
1162 auto song = items[i].song; in GetVFSListResponse() local
1164 song.attributes.find(Attribute::TITLE) != song.attributes.end() in GetVFSListResponse()
1165 ? song.attributes.find(Attribute::TITLE)->value() in GetVFSListResponse()
1167 MediaElementItem song_item(vfs_ids_.get_uid(song.media_id), title, in GetVFSListResponse()
1171 song_item.attributes_ = std::move(song.attributes); in GetVFSListResponse()
1174 filter_attributes_requested(song, pkt->GetAttributesRequested()); in GetVFSListResponse()
1194 for (const SongInfo& song : song_list) { in GetNowPlayingListResponse() local
1195 now_playing_ids_.insert(song.media_id); in GetNowPlayingListResponse()
1200 auto song = song_list[i]; in GetNowPlayingListResponse() local
1201 auto title = song.attributes.find(Attribute::TITLE) != song.attributes.end() in GetNowPlayingListResponse()
1202 ? song.attributes.find(Attribute::TITLE)->value() in GetNowPlayingListResponse()
1207 item.attributes_ = std::move(song.attributes); in GetNowPlayingListResponse()
1210 filter_attributes_requested(song, pkt->GetAttributesRequested()); in GetNowPlayingListResponse()
1345 for (const SongInfo& song : song_list) { in HandleNowPlayingNotificationResponse() local
1346 now_playing_ids_.insert(song.media_id); in HandleNowPlayingNotificationResponse()