CC-4393: Please ignore Flac items for Playlist Preview and disable to preview it as a single track
- fixed
This commit is contained in:
parent
e95933525b
commit
2293fcda01
|
@ -184,6 +184,7 @@ class AudiopreviewController extends Zend_Controller_Action
|
|||
'element_artist' => isset($track['artist_name'])?$track['artist_name']:"",
|
||||
'element_id' => isset($track['id'])?$track['id']:"",
|
||||
'element_position' => isset($track['position'])?$track['position']:"",
|
||||
'mime' => isset($track['mime'])?$track['mime']:""
|
||||
);
|
||||
|
||||
/* If the track type is static we know it must be
|
||||
|
|
|
@ -144,7 +144,7 @@ function buildplaylist(p_url, p_playIndex) {
|
|||
mp3:data[index]['uri']
|
||||
};
|
||||
}
|
||||
if (media) {
|
||||
if (media && isAudioSupported(data[index]['mime'])) {
|
||||
myPlaylist[index] = media;
|
||||
}
|
||||
// we should create a map according to the new position in the
|
||||
|
|
Loading…
Reference in New Issue