Open FabioTech opened 7 years ago
Try using other source. example deezer change application/config/autoload.php
$autoload['helper'] = array('functions','url','text','gui','account','spotify');
to
$autoload['helper'] = array('functions','url','text','gui','account','deezer');
Hello, I tried the way you said it but it did not work. There's only one white page.
$autoload['helper'] = array('functions','url','text','gui','account','spotify');
to
$autoload['helper'] = array('functions','url','text','gui','account','deezer');
I want to use spotify. How do you add code? spotify_helper.php, In the new way of using api spotify?
https://github.com/jodacame/cloud-music-engine/blob/master/application/helpers/spotify_helper.php
Other problem, no video or audio plays the error appears:
app.js:1218 Uncaught TypeError: yt_player_1.playVideo is not a function
What do you want to do to work on the youtube video?
Link from the site where the nexxuz script is installed: https://noplayer.com.br/
hello, please how do I search for using spotify run I noticed that missing the token spotify has how do you do this?
I tried like this but it did not work
function _search_all($query,$insert = false) { $headers[] = 'Authorization: Bearer '.$access_token; $access_token = json_decode(_curl("https://accounts.spotify.com/api/token",$query,$headers, $token)); return _curl("https://api.spotify.com/v1/search?q=$query&type=artist,track,album&limit=50",false,$headers); $access_token['grant_type'] = 'authorization_code'; $query = urlencode($query); $CI =& get_instance(); $data = json_decode(_curl($url)); $this->client_id = $this->config->item("spotify_client_id"); $this->client_secret = $this->config->item("spotify_client_secret"); $this->token = $result['access_token'];
Hello, how can you update the search part, the spotify API does not work.
This is so in the current spotify_helper.php
function _search_all($query,$insert = true) { $query = urlencode($query); $CI =& get_instance(); $url = "https://api.spotify.com/v1/search?q=$query&type=artist,track,album&limit=50"; $data = json_decode(_curl($url));
I tested it like this but it did not work, can you put the correct code to search for artists to work?
function _search_all($query,$insert = false) { $headers[] = 'Authorization: Bearer '.$access_token; $access_token = json_decode(_curl("https://accounts.spotify.com/api/token",$query,$headers, $token)); return _curl("https://api.spotify.com/v1/search?q=$query&type=artist,track,album&limit=50",false,$headers); $access_token['grant_type'] = 'authorization_code'; $query = urlencode($query); $CI =& get_instance(); $data = json_decode(_curl($url)); $this->client_id = $this->config->item("spotify_client_id"); $this->client_secret = $this->config->item("spotify_client_secret"); $this->token = $result['access_token'];