- #
- {{ __('frontWords.track_title') }}
- {{ __('frontWords.artist') }}
- {{ __('frontWords.duration') }}
- {{ __('frontWords.more') }}
- {{ __('frontWords.remove') }}
@php
if(!empty($getPlaylist)){
$getSongId = json_decode($getPlaylist[0]->song_list);
if(!empty($getSongId)){
$audioArr = [];
$cnt=0;
foreach($getSongId as $songid){
$cnt++;
$getAudio = audioDetail(['songid' => $songid]);
if(!empty($getAudio)){
foreach($getAudio as $audio){
$getArtist = json_decode($audio->artist_id);
$artist_name = '';
foreach($getArtist as $artistName){
$artists = select(['column'=>'artist_name','table'=>'artists','where'=>['id'=>$artistName] ]);
if(count($artists) > 0){
$artist_name .= $artists[0]->artist_name.',';
}
}
$getLikeDislikeAudio = getFavDataId(['column' => 'audio_id', 'audio_id' => $audio->id]);
@endphp
@php
}
}
}
}
}
@endphp