mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
log
This commit is contained in:
committed by
GitHub
parent
5a769810c0
commit
9d6a07dbec
@@ -494,6 +494,7 @@ importPlaylist: function(pId,pageToken){
|
|||||||
headers: headers,
|
headers: headers,
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
response = JSON.parse(response);
|
response = JSON.parse(response);
|
||||||
|
Helper.log(["Import response nr1", response]);
|
||||||
if(response.error){
|
if(response.error){
|
||||||
if(response.error.errors[0].reason == "playlistItemsNotAccessible"){
|
if(response.error.errors[0].reason == "playlistItemsNotAccessible"){
|
||||||
var nonce = Helper.randomString(29);
|
var nonce = Helper.randomString(29);
|
||||||
@@ -632,6 +633,8 @@ addVideos: function(ids){
|
|||||||
url: request_url,
|
url: request_url,
|
||||||
success: function(response){
|
success: function(response){
|
||||||
response = JSON.parse(response);
|
response = JSON.parse(response);
|
||||||
|
|
||||||
|
Helper.log(["Import response, separate video nr2", response, "import response, separate video end"]);
|
||||||
var x = 0;
|
var x = 0;
|
||||||
if(response.error) {
|
if(response.error) {
|
||||||
Search.submitYouTubeError = true;
|
Search.submitYouTubeError = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user