Found the solution for anyone in same issue, the instructions for the
developer screens is out of date and I've never really used that google
developer area...

all i had to do was goto https://developers.google.com/youtube/v3/
whilst logged into with me developer account, and enable the api from
there, apparently just creating credentials as per the instructions does
not work unless I do :)


*****************************************************

harrys wrote: 
> Hi, none of the searches or any options work, just give an "empty"
> measage, getting this error in my logs...
> 
> any ideas please?
> 
> youtube plugin version is: (v0.143.0)
> 
> also tried to refresh my oath credentials.... but clicking on "get code"
> or "refresh" does nothing with nothing in logs
> 
> server details....
> 
> Version: 8.2.0 - 1627922070 @ Tue Aug 3 11:37:35 CEST 2021
> Operating system: Debian - EN - utf8
> Platform Architecture: x86_64-linux
> Perl Version: 5.28.1 - x86_64-linux-gnu-thread-multi
> Audio::Scan: 1.02
> IO::Socket::SSL: 2.060
> Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> 
> Thanks
> 
> Harry
> 
> **************************************************************************
> 
> Refresh (50, 100, 500, 1000 lines) Download
> 
> 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=AIzaSyDtCdywz62ovnUzqtEiEkGDF5GSkMsOj_w&maxResults=50&order=relevance&part=snippet&q=level1chat®ionCode=GB&relevanceLanguage=EN&type=video";,
> "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.
> [22-01-10 11:30:06.7783] Plugins::YouTube::API::__ANON__ (170) 400 Bad
> Request
> [22-01-10 11:30:06.7785] Plugins::YouTube::API::__ANON__ (81) no
> results
> [22-01-10 11:30:06.7815] 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(0x55eff91e1cc0)
> [22-01-10 11:30:17.6195] Slim::Utils::Misc::msg (1341) Warning:
> [11:30:17.6193] 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=AIzaSyDtCdywz62ovnUzqtEiEkGDF5GSkMsOj_w&maxResults=50&order=relevance&part=snippet&q=test®ionCode=GB&relevanceLanguage=EN&type=video";,
> "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.
> [22-01-10 11:30:17.6197] Plugins::YouTube::API::__ANON__ (170) 400 Bad
> Request
> [22-01-10 11:30:17.6199] Plugins::YouTube::API::__ANON__ (81) no
> results
> [22-01-10 11:30:17.6209] 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(0x55eff90fe730)
> [22-01-10 11:32:27.2117] Slim::Plugin::CLI::Plugin::cli_process (615)
> Error: Connections require authentication, check login command.
> [22-01-10 11:32:27.2120] Slim::Plugin::CLI::Plugin::cli_process (616)
> Error: Disconnecting: 192.168.13.10:44932
> [22-01-10 11:32:27.2751] Slim::Plugin::CLI::Plugin::cli_process (615)
> Error: Connections require authentication, check login command.
> [22-01-10 11:32:27.2753] Slim::Plugin::CLI::Plugin::cli_process (616)
> Error: Disconnecting: 192.168.13.10:44934
> [22-01-10 11:32:27.2761] Slim::Plugin::CLI::Plugin::cli_process (615)
> Error: Connections require authentication, check login command.
> [22-01-10 11:32:27.2763] Slim::Plugin::CLI::Plugin::cli_process (616)
> Error: Disconnecting: 192.168.13.10:44936
> [22-01-10 11:32:27.3337] Slim::Plugin::CLI::Plugin::cli_process (615)
> Error: Connections require authentication, check login command.
> [22-01-10 11:32:27.3338] Slim::Plugin::CLI::Plugin::cli_process (616)
> Error: Disconnecting: 192.168.13.10:44938


------------------------------------------------------------------------
harrys's Profile: http://forums.slimdevices.com/member.php?userid=66525
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to