Hi,
I see this problem has been asked many times, but I have tried to
follow the advice to delete the google API project and create a new one
and new API Access key, 0auth Client ID and Secret. The verification
code was generated and authenticated.
Any search still returns a blank, although My Subscriptions and My
Playlists are not throwing a 0auth error.
Here's the log when searching for "beatles":
Code:
--------------------
[21-01-08 11:35:32.9510] Plugins::YouTube::API::_call (146) Calling API:
https://www.googleapis.com/youtube/v3/search?key=[CORRECT_KEY]&maxResults=50&order=relevance&part=snippet&q=beatles®ionCode=&relevanceLanguage=EN&type=video%2Cchannel%2Cplaylist
[21-01-08 11:35:33.1062] Slim::Utils::Misc::msg (1266) Warning:
[11:35:33.1057] do {
my $a = bless([
sub { "???" },
sub { "???" },
{ timeout => 15 },
bless({
ALL => sub { "???" },
DEBUG => 'fix',
ERROR => sub { "???" },
FATAL => 'fix',
INFO => 'fix',
OFF => 'fix',
TRACE => 'fix',
WARN => 'fix',
additivity => 1,
appender_names => [],
category => "network.asynchttp",
is_ALL => 0,
is_DEBUG => 0,
is_ERROR => 1,
is_FATAL => 1,
is_INFO => 0,
is_OFF => 1,
is_TRACE => 0,
is_WARN => 0,
layout => undef,
level => 40_000,
num_appenders => 0,
}, "Slim::Utils::Log"),
"GET",
"https://www.googleapis.com/youtube/v3/search?key=[CORRECT_KEY]&maxResults=50&order=relevance&part=snippet&q=beatles®ionCode=&relevanceLanguage=EN&type=video%2Cchannel%2Cplaylist",
"400 Bad Request",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP");
$a->[3]{DEBUG} = $a->[3]{ALL};
$a->[3]{FATAL} = $a->[3]{ERROR};
$a->[3]{INFO} = $a->[3]{ALL};
$a->[3]{OFF} = $a->[3]{ERROR};
$a->[3]{TRACE} = $a->[3]{ALL};
$a->[3]{WARN} = $a->[3]{ALL};
($a, "400 Bad Request");
} at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm
line 169.
[21-01-08 11:35:33.1066] Plugins::YouTube::API::__ANON__ (170) 400 Bad Request
[21-01-08 11:35:33.1072] Plugins::YouTube::API::__ANON__ (81) no results
[21-01-08 11:35:33.1237] Slim::Networking::IO::Select::__ANON__ (130) Error:
Select task failed calling Slim::Networking::Async::_async_read: Can't use an
undefined value as an ARRAY reference at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm line 97.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x561d42a3b2a0)
--------------------
Here's the log when requesting My Playlists:
Code:
--------------------
[21-01-08 11:47:54.8865] Slim::Utils::Misc::msg (1266) Warning:
[11:47:54.8860] do {
my $a = bless([
sub { "???" },
sub { "???" },
{ timeout => 15 },
bless({
ALL => sub { "???" },
DEBUG => 'fix',
ERROR => sub { "???" },
FATAL => 'fix',
INFO => 'fix',
OFF => 'fix',
TRACE => 'fix',
WARN => 'fix',
additivity => 1,
appender_names => [],
category => "network.asynchttp",
is_ALL => 0,
is_DEBUG => 0,
is_ERROR => 1,
is_FATAL => 1,
is_INFO => 0,
is_OFF => 1,
is_TRACE => 0,
is_WARN => 0,
layout => undef,
level => 40_000,
num_appenders => 0,
}, "Slim::Utils::Log"),
"GET",
"https://www.googleapis.com/youtube/v3/playlists?access_token=ya29.a0AfH6SMC5QUeQAFrSawq2Qz-DSfe1FxO9hilyGSD-XcbKg4Ze9HTSYWh2NBCw818zs3tlBwrCv3zb3MR_jabn8exighDBObYInMlE5IEmyKe2HcFGLe6nWyMiFLacqB3Im1L9ONtsdAqhCTgrBd3huLKy_UPTvuHAB3hhJlzYbJM&maxResults=50&mine=true&order=date&part=snippet",
"404 Not Found",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP");
$a->[3]{DEBUG} = $a->[3]{ALL};
$a->[3]{FATAL} = $a->[3]{ERROR};
$a->[3]{INFO} = $a->[3]{ALL};
$a->[3]{OFF} = $a->[3]{ERROR};
$a->[3]{TRACE} = $a->[3]{ALL};
$a->[3]{WARN} = $a->[3]{ALL};
($a, "404 Not Found");
} at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm
line 169.
[21-01-08 11:47:54.8875] Plugins::YouTube::API::__ANON__ (170) 404 Not Found
[21-01-08 11:47:54.8879] Plugins::YouTube::API::__ANON__ (81) no results
[21-01-08 11:47:54.9033] Slim::Networking::IO::Select::__ANON__ (130) Error:
Select task failed calling Slim::Networking::Async::_async_read: Can't use an
undefined value as an ARRAY reference at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm line 97.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x55922ca1e6b8)
--------------------
Any advice?
------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105840
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins