Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-11-17 Thread devgcl


I have v0.144.2 and checked the Signature file which has the necessary
comma. However, I am not getting any sound on Youtube despite they show
as playing.
My logfile shows the following error
[22-11-18 02:41:53.6616] Slim::Web::JSONRPC::requestMethod (425) Request
failed with error: Bad dispatch!
[22-11-18 02:41:53.6688] Slim::Control::Request::execute (1888) Error:
While trying to run function coderef
[Slim::Control::Commands::playlistJumpCommand]: [Can't locate object
method "get_cookies" via package "HTTP::Cookies" at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
line 386.
]

Any advice would be much appreciated. Thanks



devgcl's Profile: http://forums.slimdevices.com/member.php?userid=68358
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread JedY


snubber wrote: 
> You can make the change locally as shown here prior to the pull request
> approval: https://github.com/philippe44/LMS-YouTube/pull/41/files
> 
> The file to edit was located in
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm
> on my server, your host may differ.

Thanks for the help! I also noticed the update to 0.144.2 came available
today. Prior to making the local edit or updating the plugin i decided
to test if the problem was still there. To my suprise the audio started
playing (same videos that didnt work few days ago). Don't know how this
is possible but happy anyway things work again.



JedY's Profile: http://forums.slimdevices.com/member.php?userid=73075
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread slartibartfast


Paul Webster wrote: 
> To update the plugin use the regular web interface to LMS
> Settings/Plugins
> However, that will only collect the official release of the plugin
> unless you add some other beta repo or you patch the source yourselfThe 
> plugin has been updated 

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread slartibartfast


tannaroo wrote: 
> Not sure how to fix this on my system as I'm running LMS through a
> docker on open media vault (OMV5)?
> 
> Tried to restarting the docker container hoping it would pull the latest
> plugin etc but that didn't work.Can't you update plugins from the plugins tab 
> in strings?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread Paul Webster


To update the plugin use the regular web interface to LMS
Settings/Plugins
However, that will only collect the official release of the plugin
unless you add some other beta repo or you patch the source yourself



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread tannaroo


snubber wrote: 
> You can make the change locally as shown here prior to the pull request
> approval: https://github.com/philippe44/LMS-YouTube/pull/41/files
> 
> The file to edit was located in
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm
> on my server, your host may differ.

Not sure how to fix this on my system as I'm running LMS through a
docker on open media vault (OMV5)?

Tried to restarting the docker container hoping it would pull the latest
plugin etc but that didn't work.



tannaroo's Profile: http://forums.slimdevices.com/member.php?userid=69547
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread dmon


snubber wrote: 
> You can make the change locally as shown here prior to the pull request
> approval: https://github.com/philippe44/LMS-YouTube/pull/41/files
> 
> The file to edit was located in
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm
> on my server, your host may differ.

Working. Thank You. :)



dmon's Profile: http://forums.slimdevices.com/member.php?userid=68874
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-11 Thread rb_07


snubber wrote: 
> You can make the change locally as shown here prior to the pull request
> approval: https://github.com/philippe44/LMS-YouTube/pull/41/files
> 
> The file to edit was located in
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm
> on my server, your host may differ.

This fix is working for me!! thanks



rb_07's Profile: http://forums.slimdevices.com/member.php?userid=73081
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread snubber


slartibartfast wrote: 
> Works for me [emoji106]. Good work and welcome to the forum.
> 
> Sent from my Pixel 3a using Tapatalk

Thanks, glad to have it working again.  I just switched everything in my
house over from mopidy+snapcast+librespot to LMS+PiCorePlayer and
couldn't be happier.



snubber's Profile: http://forums.slimdevices.com/member.php?userid=73082
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread slartibartfast


snubber wrote: 
> You can make the change locally as shown here prior to the pull request
> approval: https://github.com/philippe44/LMS-YouTube/pull/41/files
> 
> The file to edit was located in
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm
> on my server, your host may differ.Works for me [emoji106]. Good work and 
> welcome to the forum.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread snubber


You can make the change locally as shown here prior to the pull request
approval: https://github.com/philippe44/LMS-YouTube/pull/41/files

The file to edit was located in
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm
on my server, your host may differ.



snubber's Profile: http://forums.slimdevices.com/member.php?userid=73082
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread snubber


I've posted a pull request that fixes the bug:
github.com/philippe44/LMS-YouTube/pull/41

A single comma is all that is needed to fix this bug.



snubber's Profile: http://forums.slimdevices.com/member.php?userid=73082
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread slartibartfast


tannaroo wrote: 
> I thought I had this same problem but mine is different. For some reason
> 2 of my songs which I play from YT don't work but when I go to YT they
> work, so that got me thinking does this plugin stop working for songs
> after a while as I've played them loads and loads of time over a long
> period (i.e. is there a limit on the number of times, it will access a
> particular song)?
> 
> The error I get for these selected songs is 'can not open file'.No

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread rb_07


This is reproducible with huge number of songs (not all) and I confirm
if I go to youtube it can be played.

Code:

Plugins::YouTube::JSInterp::extract_function (405) Could not find JS 
function: va
  Plugins::YouTube::ProtocolHandler::__ANON__ (817) cannot load player code: 
Could not find JS function 'va' at 
/config/lms/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 406.




rb_07's Profile: http://forums.slimdevices.com/member.php?userid=73081
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread tannaroo


I thought I had this same problem but mine different. For some reason 2
of my songs which I play from YT don't work but when I go to YT they
work, so that got me thinking does this plugin stop working for songs
after a while (i.e. is there a limit on the number of times, it will
access a particular song)?

The error I get for these selected songs is 'can not open file'.



tannaroo's Profile: http://forums.slimdevices.com/member.php?userid=69547
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-10 Thread rb_07


JedY wrote: 
> Just to add i'm experiencing the same problem.
> 
> > 
Code:

  >   > [22-10-08 12:04:10.1453] Plugins::YouTube::JSInterp::extract_function 
(405) Could not find JS function: va
  > [22-10-08 12:04:10.1456] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
406.

> > 
> 
> LMS 8.2.0 on Raspberry pi running Youtube plugin 0.144.1.

Any solution found for this?



rb_07's Profile: http://forums.slimdevices.com/member.php?userid=73081
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-08 Thread dedline


gattacus wrote: 
> same here

Same for me. Tried reinstalling plugin - no difference.



dedline's Profile: http://forums.slimdevices.com/member.php?userid=73077
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-08 Thread gattacus


JedY wrote: 
> Just to add i'm experiencing the same problem.
> 
> > 
Code:

  >   > [22-10-08 12:04:10.1453] Plugins::YouTube::JSInterp::extract_function 
(405) Could not find JS function: va
  > [22-10-08 12:04:10.1456] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
406.

> > 
> 
> LMS 8.2.0 on Raspberry pi running Youtube plugin 0.144.1.

same here



gattacus's Profile: http://forums.slimdevices.com/member.php?userid=42228
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-08 Thread slartibartfast


JedY wrote: 
> Just to add i'm experiencing the same problem.
> 
> > 
Code:

  >   > [22-10-08 12:04:10.1453] Plugins::YouTube::JSInterp::extract_function 
(405) Could not find JS function: va
  > [22-10-08 12:04:10.1456] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
406.

> > 
> 
> LMS 8.2.0 on Raspberry pi running Youtube plugin 0.144.1.If the symptoms are 
> that you can search but nothing plays I am probably
seeing the same.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-08 Thread JedY


Just to add i'm experiencing the same problem.


Code:

[22-10-08 12:04:10.1453] Plugins::YouTube::JSInterp::extract_function (405) 
Could not find JS function: va
  [22-10-08 12:04:10.1456] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
406.



LMS 8.2.0 on Raspberry pi running Youtube plugin 0.144.1.



JedY's Profile: http://forums.slimdevices.com/member.php?userid=73075
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-08 Thread dmon


MichaelPr wrote: 
> Currently I've exactly this problem, too! I already setup/ re-new my
> API-Key/ Credentials - everything worked out fine but still:
> 
> > 
Code:

  >   > [22-10-07 17:25:35.2119] Plugins::YouTube::JSInterp::extract_function 
(405) Could not find JS function: va
  > [22-10-07 17:25:35.2123] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm 
line 406.

> > 
> 
> I know, I've had this in the past but I don'T rember how I solved it.
> Any ideas...?
> 
> Edit: I just found out - a very few songs I can play

I have the same error : "Plugins::YouTube::JSInterp::extract_function
(405) Could not find JS function: va"
Is there any solution to this ?



dmon's Profile: http://forums.slimdevices.com/member.php?userid=68874
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-10-07 Thread MichaelPr


Listen Closely wrote: 
> Running LMS 8.2.0 on Debian 11 Bullseye.
> 
> YouTube Plugin version .0144.1.
> 
> YouTube API access key is appropriate and enabled.
> 
> I can search for YouTube videos, but when I select to play them, the
> scrubber shows about 3-7 seconds of playback with no sound, and then
> resets to zero minutes/seconds and stops.
> 
> Log reports the following:
> 
> 
> 
> [22-09-13 19:34:42.4592] main::init (390) Starting Logitech Media Server
> (v8.2.0, 1627922070, Tue Aug  3 11:40:14 CEST 2021) perl 5.032001 -
> x86_64-linux-gnu-thread-multi
> [22-09-13 20:02:08.3341] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:02:08.3345] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:03:14.2801] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:03:14.2804] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:03:24.3029] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:03:24.3032] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:09:44.1865] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:09:44.1868] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:19:10.8095] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:19:10.8098] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:19:21.3653] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:19:21.3656] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:19:30.1029] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:19:30.1032] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> [22-09-13 20:19:40.8919] Plugins::YouTube::JSInterp::extract_function
> (405) Could not find JS function: va
> [22-09-13 20:19:40.8922] Plugins::YouTube::ProtocolHandler::__ANON__
> (817) cannot load player code: Could not find JS function 'va' at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.

Currently I've exactly this problem, too! I already setup/ re-new my
API-Key/ Credentials - everything worked out fine but still:


Code:

[22-10-07 17:25:35.2119] Plugins::YouTube::JSInterp::extract_function (405) 
Could not find JS function: va
  [22-10-07 17:25:35.2123] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm 
line 406.



I know, I've had this in the past but I don'T rember how I solved it.
Any ideas...?



lms: 8.3.0 - 1662271221 @ sun 04 sep 2022
on rpi4/ raspbian buster 10
points to musiclibrary on qnap ts212 (nfs) 

1x duet - cntrl-fw: 8.0.1-r16862/ receiver-fw: 77
2x sb radio - fw: 8.0.1-r16881
1x squeezebox boom - fw 57
1x transporter - fw: 87
rpi 2b - pcp 8.0.1/ squeezelite  v1.9.9-1391-pcp
softsqueeze 3.9.2 on win 10 / squeezeplay 8.0.1r1343 on win 10
squeeze player 1.3.21 on s7/android 8.0.0 

controller:
android phone - squeezer 2.2.9/ material skin 2.10.3

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-03-12 Thread svetter


I have recently enabled YouTube in my LMS environment - this is greatly
appreciated as another source of music.  not at the same streaming
quality as Tidal or Deezer, but a nice complement.

I am able to search in YouTube and play items.  And I see my
subscriptions and am able to play items from the channels.  Both are
greatly appreciated!

However, I am not able to see all of my playlists.  I see only two of my
four playlists.  Any advice on how to chase this down?


Thanks,



svetter's Profile: http://forums.slimdevices.com/member.php?userid=65593
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-25 Thread beneix

I've been using the plugin successfully but suddenly it stopped
producing sound. The API works – I can search etc., but when I start
playing something it only looks like it is playing. There is no sound
and after a while, the stream stalls. This is in the server log:


Code:

[22-02-25 08:14:31.5151] Slim::Utils::Misc::msg (1341) Warning: 
[08:14:31.5140] 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/videos?key=[my key removed 
here]&id=poYStHY__-I%2COADZN77kkps%2CuuHK_m4eyhM%2Cg8pCNK9C_YY%2C7Zx6XI-6B8I%2C7Qu7KOXu_V4%2CPFuslakJCms%2C31nFhWnE5a0%2CEr8Mat-i3Xw%2CTMt85c6oLqg%2CNDw0G8VVqKc&maxResults=50&order=date&part=snippet%2CcontentDetails®ionCode=GB",
  "Connect timed out: ",
  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, "Connect timed out: ");
  } at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/API.pm line 
169.
  [22-02-25 08:14:31.5162] Plugins::YouTube::API::__ANON__ (170) Connect timed 
out: 
  [22-02-25 08:14:31.5171] Plugins::YouTube::ProtocolHandler::__ANON__ (932) 
Connect timed out: 
  [22-02-25 10:33:10.8760] Slim::Utils::Timers::__ANON__ (272) Error: Timer 
Slim::Networking::Async::HTTP::_http_read_timeout failed: Could not extract JS 
object 'qy' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
370.
  [22-02-25 10:33:50.6836] Slim::Networking::IO::Select::__ANON__ (130) Error: 
Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: 
Could not extract JS object 'qy' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
370.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x80a36f0)
  [22-02-25 10:34:45.5681] Slim::Networking::IO::Select::__ANON__ (130) Error: 
Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: 
Could not extract JS object 'qy' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
370.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x800f658)
  [22-02-25 10:35:53.2431] Slim::Networking::IO::Select::__ANON__ (130) Error: 
Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: 
Could not extract JS object 'qy' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
370.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x81d2f78)
  [22-02-25 10:38:00.1212] Slim::Networking::IO::Select::__ANON__ (130) Error: 
Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: 
Could not extract JS object 'qy' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
370.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x8393268)



Any idea what might be up?



RPi 3B+ with HiFiBerry DAC+ADC running piCorePlayer v8.1.0 – LMS 8.2.0
Music library on NAS via network mount
SB3 firmware 137
SB Radio Community firmware 8.0.1-r16867
RPi 3B with PiCorePlayer 8.1.0
SqueezeLite-X

beneix's Profile: http://forums.slimdevices.com/member.php?userid=59783
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-22 Thread tbessie


Hi Philippe et. al...

I've been using this plugin for a long time now, and I'm happy it's
there.

I can't find what the latest version of the plugin is; mine reports
v0.144.1, but how do I find out what the very latest available version
is?

Also, when I play back from a YouTube playlist, often a video plays back
(as audio), but stops after about 10 or 20 seconds of playback and goes
to the next item in the playlist.

Do you know why that might be happening?

- Tim



Integra Integrated Stereo Amp / Home Built Intel-based HTPC (running
LMS) w/BluRay Player / Panasonic Viera TV
Squeezebox Duet (Receiver in living room attached to stereo amp,
Controller in bedroom).
Squeezebox Boom in Storage (gift from Slim Devices after they came to my
home to debug a networking issue).
Squeezebox 3 in Bedroom, attached to small "executive" stereo system
with bookshelf speakers mounted on wall.
Squeezebox Radio in Bedroom, next to bed, used as radio alarm.

tbessie's Profile: http://forums.slimdevices.com/member.php?userid=8521
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-10 Thread nbkelvin


Sorry if the answer to this posted elsewhere, but after several days
trying I've not found it and I suspect the solution is simple. (I'm no
programmer.)

I have managed to get the YT plugin apparently working, but there's no
sound.

The server log states this:

[22-02-10 09:52:31.6289] Slim::Control::Request::execute (1890) Error:
While trying to run function coderef
[Slim::Control::Commands::playlistJumpCommand]: [Can't locate object
method "get_cookies" via package "HTTP::Cookies" at
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
line 386.]

[22-02-10 09:52:31.6318] Plugins::DynamicMix::Plugin::commandCallback
(371) DynamicMix: received command: playlist play
[22-02-10 09:52:31.6330] Plugins::DynamicMix::Plugin::commandCallback
(371) DynamicMix: received command: playlist stop
[22-02-10 09:52:31.6350] Plugins::DynamicMix::Plugin::commandCallback
(371) DynamicMix: received command: playlist load_done

Any advice appreciated!

nbkelvin

My system:
Logitech Media Server Version: 7.7.6 - 1521467459 @ Thu Mar 29 16:46:01
WEDT 2018 
Operating system: Windows 10 - EN - cp1252 
Platform Architecture: 8664 
Perl Version: 5.14.1 - MSWin32-x86-multi-thread 
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) 
Total Players Recognized: 7



nbkelvin's Profile: http://forums.slimdevices.com/member.php?userid=22941
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-09 Thread lomcovaks


lomcovaks wrote: 
> Hi Philippe,
> 
> I recently upgraded my Pi3 1Gb LMS system to a Pi4 8Gb with external SSD
> and had to reconfigure my YouTube plugin.
> 
> I worked my way around the project creation and OAuth configuration
> screens fairly well and authorised the plugin to access LMS.
> 
> The YouTube plugin is working fine - I can access my YouTube playlists
> etc and see the artwork thumbnails in the overview screen.
> You can see the artwork when within a particular playlist and both
> individual tracks and playlists play.
> 
> However, when a playlist is selected to play, the playing track in the
> screen only displays the generic YouTube icon and not the individual
> track's artwork.
> 
> The log is also showing some errors (below the images) but I can't see
> where I can correct the problem.
> 
> If you or anyone is able to offer any insights I'd much appreciate it.
> 
> Many thanks.
> 
> UPDATE - SOLUTION FOUND!
> 
> To update the forum I found the solution to the artwork not showing.
> 
> It wasn't anything to do with the set up of the Google Cloud Platform
> Credentials Screen.
> 
> For some reason, LMS YouTube Plugin Settings page default enters the
> 'Country For Categories' section with 'EN_GB'
> Simply by changing this to 'GB' allowed the track artwork to appear in
> the 'now playing screen' of my client.



lomcovaks's Profile: http://forums.slimdevices.com/member.php?userid=38453
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-04 Thread csduetto69


slartibartfast wrote: 
> Did you see this post? I don't know if it helps.
> https://forums.slimdevices.com/showthread.php?p=1045146
> 
> Sent from my Pixel 3a using Tapatalk

Hi there - I have not come across this part in my configuration yet -
must be after where I am getting stuck - I am aware of the post though
so on the lookout for that - thanks...  c.S.



csduetto69's Profile: http://forums.slimdevices.com/member.php?userid=72516
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-03 Thread slartibartfast


csduetto69 wrote: 
> Hi Phillipe - I deleted everything on my google API page including the
> project and started from scratch - I documented everything in the
> attached word file for you to look over and got stuck where the
> directions do not seem to match the screens options.  I figured if we
> can get this documented with pics it will make life easier for the
> newbies who come after me.  If you could look at the attached below and
> let me know my error that would be great - thanks  c.S.Did you see this post? 
> I don't know if it helps.
https://forums.slimdevices.com/showthread.php?p=1045146

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-03 Thread csduetto69


csduetto69 wrote: 
> Will try this tonight Philippe - appreciate the quick response...  c.S.

Hi Phillipe - I deleted everything on my google API page including the
project and started from scratch - I documented everything in the
attached word file for you to look over and got stuck where the
directions do not seem to match the screens options.  I figured if we
can get this documented with pics it will make life easier for the
newbies who come after me.  If you could look at the attached below and
let me know my error that would be great - thanks  c.S.


+---+
|Filename: Youtube Plugin Setup Directions.pdf  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37115|
+---+


csduetto69's Profile: http://forums.slimdevices.com/member.php?userid=72516
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-02 Thread lomcovaks

Hi Philippe,

I recently upgraded my Pi3 1Gb LMS system to a Pi4 8Gb with external SSD
and had to reconfigure my YouTube plugin.

I worked my way around the project creation and OAuth configuration
screens fairly well and authorised the plugin to access LMS.

The YouTube plugin is working fine - I can access my YouTube playlists
etc and see the artwork thumbnails in the overview screen.
You can see the artwork when within a particular playlist and both
individual tracks and playlists play.

However, when a playlist is selected to play, the playing track in the
screen only displays the generic YouTube icon and not the individual
track's artwork.

The log is also showing some errors (below the images) but I can't see
where I can correct the problem.

If you or anyone is able to offer any insights I'd much appreciate it.

Many thanks.

37101

Log -

"https://www.googleapis.com/youtube/v3/videos?key=AIzaSyCVjJF37f0W6sMOPjpfdN8dP-BJg_K2qSY&id=28761G6UKf0%2CtetvnQqkxGA%2CGYQWGomAbns%2C9f7UyUDHFaA%2CpzX4rIdODwM%2CRR8Bh4alfRI%2CNvryolGa19A%2CLrP73SfV-eM%2CuAcALH67-2A%2C9kZJI43p_gs%2CBOUpNtk5Spk%2CAmv_2A4__Bc&maxResults=50&order=date&part=snippet%2CcontentDetails®ionCode=EN_GB";,
"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-02-02 12:45:53.5541] Plugins::YouTube::API::__ANON__ (170) 400 Bad
Request
[22-02-02 12:45:53.5543] Plugins::YouTube::ProtocolHandler::__ANON__
(932) 400 Bad Request


+---+
|Filename: playlists overview.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37101|
+---+


lomcovaks's Profile: http://forums.slimdevices.com/member.php?userid=38453
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-01 Thread harrys


MichaelPr wrote: 
> Mmhhh... I don't know why but somehow I love this 'useless' plugin
> :cool: At this point thank you very much for all the effort you've
> put in.
> 
> And thanks for fixing this annoying Windows/UNIX CRLF mismatch that
> fast. I guess it will never die :mad:

seconded... another admirer of this "useless plugin" :)

Must be a PITA to maintain dealing with googles (probably necessary)
endless backend changes!



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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-31 Thread Lukenuke


harrys wrote: 
> Hi, as per post #1349 by chaug above. need to change type to "TV and
> limited input" instead of "desktop app" just tried it and it worked
> for me, can now access my subscriptions... how odd, thats why i never
> even thought of trying this "type"
> 
> (also had to change to "publish" from "testing" in "OAuth consent
> screen" option and ignore the security error during steps after clicking
> on "click here to authorize")
> 
> *one big thank you to chaug  :)*

I can confirm it works! Funny coz i've checked this before during my
tries without any success. Thx chaug and thx harrys for confirmation!



Lukenuke's Profile: http://forums.slimdevices.com/member.php?userid=72503
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-31 Thread MichaelPr


philippe_44 wrote: 
> Well, you should do yourself a favor and remove that useless plugin :)
> 
> Joke aside, somebody kindly added some corrections and new translations
> in strings.txt but I forgot to check format (the infamous Windows/Unix
> CRLF problem)

Mmhhh... I don't know why but somehow I love this 'useless' plugin
:cool: At this point thank you very much for all the effort you've
put in.

And thanks for fixing this annoying Windows/UNIX CRLF mismatch that
fast. I guess it will never die :mad:



lms: 8.2.1
on rpi4/ raspbian buster 10
points (nfs) to musiclibrary on qnap ts212 

1x duet - cntrl-fw: 8.0.1-r16855/ receiver-fw: 77
2x sb radio - fw: 8.0.1-r16855
1x squeezebox boom - fw 57
1x transporter - fw: 87
rpi 2b - pcp 8.0.0/ squeezelite  v1.9.9-1386-pcp
softsqueeze 3.9.2 on win 10 / squeezeplay 8.0.1r1343 on win 10
squeeze player 1.3.21 on s7/android 8.0.0 

controller:
android phone - squeezer 2.2.7/ material skin 2.6.2

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-30 Thread philippe_44


MichaelPr wrote: 
> Hi Philippe,
> 
> I guess your SCM played a trick on you:
> 
> Have a good evening
> Michael

Well, you should do yourself a favor and remove that useless plugin :)

Joke aside, somebody kindly added some corrections and new translations
in strings.txt but I forgot to check format (the infamous Windows/Unix
CRLF problem)



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-30 Thread MichaelPr


Hi Philippe,

I guess your SCM played trick on you:

install.xml

Code:

PLUGIN_YOUTUBE 



37076

Have a good evening
Michael


+---+
|Filename: Screenshot_20220130-222820_Squeezer.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37076|
+---+


lms: 8.2.1
on rpi4/ raspbian buster 10
points (nfs) to musiclibrary on qnap ts212 

1x duet - cntrl-fw: 8.0.1-r16855/ receiver-fw: 77
2x sb radio - fw: 8.0.1-r16855
1x squeezebox boom - fw 57
1x transporter - fw: 87
rpi 2b - pcp 8.0.0/ squeezelite  v1.9.9-1386-pcp
softsqueeze 3.9.2 on win 10 / squeezeplay 8.0.1r1343 on win 10
squeeze player 1.3.21 on s7/android 8.0.0 

controller:
android phone - squeezer 2.2.7/ material skin 2.6.2

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-30 Thread Zombie


Did my self a favour and deleted this meaningless plugin and exercise of
efforts. Got it working several years ago but then some sticky fingers
somewhere needed to change smth.



Zombie's Profile: http://forums.slimdevices.com/member.php?userid=25009
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-27 Thread philippe_44


chaug wrote: 
> 
> Then I have a question to @philippe: I'm struggling a bit with using
> YouTube music URLs to work with the plugin. Part of the reason is that
> some URLs (e.g. the Radio URLs) don't seem to work independently of the
> page on which they're on (I assume they need a correct referrer url to
> work).
> 
> But part of it also seems to be that the plugin doesn't seem to accept
> urls starting with music.youtube A lot of the time, "music" can just
> be manually replaced my "www" and then it works. Do you think you could
> make the plugin accept music. youtube urls directly?
> 

Done - you can use such URLs from "TuneIn" now



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-27 Thread csduetto69


philippe_44 wrote: 
> I don't know... I just tried as well to enable another installation and
> after hitting "refresh" I got the code. Maybe there is something funny
> with Win10 but to know better I'd need a log of what's happening. You'd
> need to set YT logging to "debug"

Will try this tonight PHilippe - appreciate the quick response...  c.S.



csduetto69's Profile: http://forums.slimdevices.com/member.php?userid=72516
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-26 Thread harrys


Lukenuke wrote: 
> Hello.
> 
> I also. I have tried different solutions described here but without
> success. Still getting in log "[22-01-22 17:05:28.6720]
> Plugins::YouTube::Oauth2::__ANON__ (97) 401 Unauthorized"
> No code in red or anything else shows after click "Get code". I'll be
> much appreciated for any help.

Hi, as per post #1349 by chaug above. need to hanging type to "TV
and limited input" instead of "desktop app" just tried it and it
worked for me, can now access my subscriptions... how odd, thats why i
never even thought of trying this "type"

*one big thank you to chaug  :)*



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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-26 Thread philippe_44

chaug wrote: 
> I recently had to re-do the procedure for oauth (to access subscriptions
> and playlists) and I noticed that the instructions don't quite match the
> UI anymore. For example, there is no "other" type app to choose. I think
> it didn't work when I chose "Desktop app" but now I use "TV" or
> something and it works.
> 
> I don't remember where I found these instructions, but I had reasons to
> believe they were the latest version. Could it have been somewhere in
> the LMS plugins UI?
> 
> [Edit: yes, the instructions are on the plugin's settings page)] 
> 
> Anyway, I just wanted to mention that.
> 
> Then I have a question to @philippe: I'm struggling a bit with using
> YouTube music URLs to work with the plugin. Part of the reason is that
> some URLs (e.g. the Radio URLs) don't seem to work independently of the
> page on which they're on (I assume they need a correct referrer url to
> work).
> 
> But part of it also seems to be that the plugin doesn't seem to accept
> urls starting with music.youtube A lot of the time, "music" can just
> be manually replaced my "www" and then it works. Do you think you could
> make the plugin accept music. youtube urls directly?
> 
> Another little thing: the playlist identification tags don't work as
> font modifiers. If you use  and , these will simply be added as
> strings to the playlist names, not as html tags.

I see where the issue for url comes from. For the rest, I’m not sure,
you much have to use a different encoding or maybe the renderer does not
recognize any



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-25 Thread chaug


philippe_44 wrote: 
> I've just redone all steps following #1 post of this thread to create a
> key for a new account on a fresh computer and it worked.

I recently had to re-do the procedure for oauth (to access subscriptions
and playlists) and I noticed that the instructions don't quite match the
UI anymore. For example, there is no "other" type app to choose. I think
it didn't work when I chose "Desktop app" but now I use "TV" or
something and it works.

I don't remember where I found these instructions, but I had reasons to
believe they were the latest version. Could it have been somewhere in
the LMS plugins UI?

Anyway, I just wanted to mention that.

Then I have a question to @philippe: I'm struggling a bit with using
YouTube music URLs to work with the plugin. Part of the reason is that
some URLs (e.g. the Radio URLs) don't seem to work independently of the
page on which they're on (I assume they need a correct referrer url to
work).

But part of it also seems to be that the plugin doesn't seem to accept
urls starting with music.youtube A lot of the time, "music" can just
be manually replaced my "www" and then it works. Do you think you could
make the plugin accept music. youtube urls directly?



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-25 Thread philippe_44


Lukenuke wrote: 
> Hello.
> 
> I also. I have tried different solutions described here but without
> success. Still getting in log "[22-01-22 17:05:28.6720]
> Plugins::YouTube::Oauth2::__ANON__ (97) 401 Unauthorized"
> No code in red or anything else shows after click "Get code". I'll be
> much appreciated for any help.

harrys wrote: 
> hi, been doing some google searching on oauth and google, seems that
> google are constantly making subtle changes with time, must be a tedious
> ongoing maintenance task for phillipe!
> 
> hopefully next update he get round to doing will fix this issue 
> until the next time it happens again :) 
> 
> mixing this plugin with the castbridge plugin in combination with;
> 
> 1) google mini's
> 2) google audiocasts
> 3) hifiberry addon card for pi's (running squeezelite)
> 
> with the squeezer android app makes an awesome multiroom audio
> system for streaming my flacs/podcasts/youtube content around the house
> (especially powerfull as it also streams to speaker groups)
> 
> because of this problem, just missing the icing on the cake, ... being
> able to quickly access my utube playlists/subscriptions within the
> squeezer app to stream around the house

I don't know... I just tried as well to enable another installation and
after hitting "refresh" I got the code. Maybe there is something funny
with Win10 but to know better I'd need a log of what's happening. You'd
need to set YT logging to "debug"



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-25 Thread philippe_44


csduetto69 wrote: 
> Done!  Any ideas what may be the matter - I thought if someone wanted to
> confirm the keys to work on their setup it would eliminate one of the
> variables in this equation.  Thanks  c.S.

For a reason that I cannot guess, your key is invalid. Make sure you
have checked the right options when you created it. Maybe just erase
your project and restart from scratch



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-25 Thread csduetto69


Paul Webster wrote: 
> You should edit these two forum posts and remove your private keys.

Done!  Any ideas what may be the matter - I thought if someone wanted to
confirm the keys to work on their setup it would eliminate one of the
variables in this equation.  Thanks  c.S.



csduetto69's Profile: http://forums.slimdevices.com/member.php?userid=72516
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-24 Thread Paul Webster


csduetto69 wrote: 
> 
> Any idea what may be the issue?   My API shows restricted and active on
> my developer page in Google...
> 

You should edit these two forum posts and remove your private keys.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-24 Thread csduetto69

--
"GET",

"https://www.googleapis.com/youtube/v3/videoCategories?key=AIzaSyB9Rzn5wJv96fz4CWD2b2unT0DIDKI5zic&hl=EN&maxResults=50&order=date&part=snippet®ionCode=US";,
"403 Forbidden",
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, "403 Forbidden");
} at
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/API.pm
line 169.
[22-01-24 21:11:52.0827] Plugins::YouTube::API::__ANON__ (170) 403
Forbidden
[22-01-24 21:11:52.0836] Plugins::YouTube::API::__ANON__ (81) no
results
[22-01-24 21:11:52.1172] 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
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/API.pm
line 97.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0xbed750c)
[22-01-24 21:33:21.2695] Slim::Formats::XML::gotViaHTTP (271) XML/JSON
parse error: Invalid XML feed
[22-01-24 21:33:21.2723] Slim::Plugin::RSSNews::Plugin::gotError (356)
While loading feed http://news.com.com/2547-1_3-0-5.xml: Failed to
parse, skipping!
-
Any idea what may be the issue?   My API shows restricted and active on
my developer page in Google...

Any advice appreciated...  c.S.



csduetto69's Profile: http://forums.slimdevices.com/member.php?userid=72516
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-24 Thread csduetto69


Hi - new to the community and have spent about 2 hours researching this
thread and trying various solutions - am on the latest build:

Logitech Media Server Version: 8.2.0 - 1627922070 @ Tue Aug 3 11:28:42
WEDT 2021

and latest version of YouTube Plugin as well 

v0.143.0 with the following settings:

API Key: AIzaSyB9Rzn5wJv96fz4CWD2b2unT0DIDKI5zic
Client ID:
1015994468862-ieoos18gg5abtst8m4ndhaps7q6vuusb.apps.googleusercontent.com
Client Secret: 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

When I do a search for anything in my youtube plugin I get a blank
screen - the log is showing the following:



csduetto69's Profile: http://forums.slimdevices.com/member.php?userid=72516
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-24 Thread harrys


hi, been doing some google searching on oauth and google, seems that
google are constantly making subtle changes with time, must be a tedious
ongoing maintenance task for phillipe!

hopefully next update he get round to doing will fix this issue 
until the next time it happens again :) 


Lukenuke wrote: 
> Hello.
> 
> I also. I have tried different solutions described here but without
> success. Still getting in log "[22-01-22 17:05:28.6720]
> Plugins::YouTube::Oauth2::__ANON__ (97) 401 Unauthorized"
> No code in red or anything else shows after click "Get code". I'll be
> much appreciated for any help.



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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-22 Thread Lukenuke


harrys wrote: 
> hi, just saw your post, I'm getting same issue, but even with desktop
> app select, still no link/code shows up botton of the plugin screen ...
> any help be appreciated, thanks
> 
> harry

Hello.

I also. I have tried different solutions described here but without
success. Still getting in log "[22-01-22 17:05:28.6720]
Plugins::YouTube::Oauth2::__ANON__ (97) 401 Unauthorized"
No code in red or anything else shows after click "Get code". I'll be
much appreciated for any help.



Lukenuke's Profile: http://forums.slimdevices.com/member.php?userid=72503
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-22 Thread harrys


hi, just saw your post, I'm getting same issue, but even with desktop
app select, still no link/code shows up botton of the plugin screen ...
any help be appreciated, thanks

harry



ModelCitizen wrote: 
> Well I've been going round the houses with this.
> 
> But in case it helps anyone else to generate their OAuth client ID
> correctly (so they can use their person YouTube account) I found I had
> to select 'Desktop App' as the application type when I created it. 
> 
> I tried a few others before settling on 'Desktop App' and none of them
> worked for me (the Client ID and Client Secret did not generate a code
> to the plugin settings page).
> 
> YouTube plugin vs: 0.140.1
> Server vs: 8.1.1



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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-22 Thread harrys


can anyone help me please :(

found out "other" has been changed to "desktop app" when creating an
oauth client id

but still same problem . when i click on "get code" (or "refresh"),
i just dont get anything below/next to these buttons on the page, so
cant access my utube playlist/subcriptions with lms



harrys wrote: 
> 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 in with me developer account, and enable the api from
> there, apparently just creating credentials as per the instructions does
> not work unless I do :)
> 
> PS Now trying to work out "personal account" setup, there is no "other"
> option (as per instructions) now when creating credentials, so far tried
> creating OAuth client ID's choosing "desktop app" and "Web application",
> but neither so far gives me a link after entering credentials and
> choosing "get code" then "refresh". 
> 
> This is such a brilliant/powerfull addon to LMS especially in
> conjunction with squeezer android app / castbridge plugin / google
> minis/chromecasts, especially when streaming youtube content to "speaker
> groups" around the house
> 
> 
> 
> 
> 
> *
> 
> > 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,
> > ..> >



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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-11 Thread harrys

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

Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-10 Thread harrys

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

Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-17 Thread diggerdig


Yes, it's back.
How odd.



diggerdig's Profile: http://forums.slimdevices.com/member.php?userid=35490
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-17 Thread tonyu


Yes, it is strange...



tonyu's Profile: http://forums.slimdevices.com/member.php?userid=72383
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-17 Thread slartibartfast


tonyu wrote: 
> back in service... :DStrange but true [emoji2]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-17 Thread tonyu


back in service... :D



tonyu's Profile: http://forums.slimdevices.com/member.php?userid=72383
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-16 Thread slartibartfast


diggerdig wrote: 
> Exact same problem here. Running 8.1.2 with latest plugin on Raspberry
> Pi 4.
> Nothing plays, unfortunately.
> Any advice would be wonderful!I found 2 or 3 things in my playlists that do 
> play  (opus and aac) but
nothing else plays.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-16 Thread diggerdig


tonyu wrote: 
> 
> Plugins::YouTube::ProtocolHandler::__ANON__ (817) cannot load player
> code: Could not find JS function 'na' at
> /usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
> line 406.
> 

Exact same problem here. Running 8.1.2 with latest plugin on Raspberry
Pi 4.
Nothing plays, unfortunately.
Any advice would be wonderful!



diggerdig's Profile: http://forums.slimdevices.com/member.php?userid=35490
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-12-16 Thread tonyu


Hello,

I can't read a track. There must have been an evolution of the API ?

Plugins::YouTube::ProtocolHandler::__ANON__ (817) cannot load player
code: Could not find JS function 'na' at
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
line 406.

If you have an idea how to solve the problem.

Thanks and happy end of year party

tony



tonyu's Profile: http://forums.slimdevices.com/member.php?userid=72383
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-11-16 Thread gly

Hello, I am new to this forum.

A few weeks ago I installed "picore player" on a "pi3". It gave a new
lease of life to my radio squeezebox.

I tried to install the youtube plugin today.

Everything is installing very well, the code generation and account
authorization is going very well.

On the other hand, when I launch the plugin “my playlist”, “my
subcription” and everything else remains hopelessly empty….

What did I do wrong?

Thanks for your help

Gilles



gly's Profile: http://forums.slimdevices.com/member.php?userid=47908
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-28 Thread adamslim


philippe_44 wrote: 
> No I mean there is a set of crypto extension that I add as part of the
> plugin and I need to build them for each Perl / CPU / OS combination.
> What do you have?

Oh OK. I'm using a Raspberry Pi 4 with Raspbian.



Own music plus Qobuz, PC with Squeezelite-X, JRiver as digital XO
System 1: Lynx AES16, 5x SMSL DACs, various amps, 5 way horns
System 2: Asus Xonar u7, Restek Sextet, JBL L300
3xBoom, 1xRadio

adamslim's Profile: http://forums.slimdevices.com/member.php?userid=7355
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-26 Thread bvrulez


adamslim wrote: 
> It appears that the next step is to click the "get code" box, but this
> does nothing

This step worked fine for me. I had to click the button and update the
site if I correctly remember. Anyway, it is stated in the steps what to
do. It might be, that clicking on the "get code" link does nothing and
for this there is a hint of what to do. 

Where I failed is later in the stage, when trying to link to my personal
youtube account so I can play my favorites. 

Linking the general API key to play any video from youtube in general
should work fine.



bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-25 Thread philippe_44


adamslim wrote: 
> It has the latest versions of the ones you added on the first post on
> here. Odd.
> 
> Anyway it plays YouTube but badly - there are lots of gaps etc. I may
> just find some work round or help the kids to make their own playlists.

No I mean there is a set of crypto extension that I add as part of the
plugin and I need to build them for each Perl / CPU / OS combination.
What do you have?



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-25 Thread adamslim


philippe_44 wrote: 
> Probably a Perl version that does not contain all the crypto needed

It has the latest versions of the ones you added on the first post on
here. Odd.

Anyway it plays YouTube but badly - there are lots of gaps etc. I may
just find some work round or help the kids to make their own playlists.



Own music plus Qobuz, PC with Squeezelite-X, JRiver as digital XO
System 1: Lynx AES16, 5x SMSL DACs, various amps, 5 way horns
System 2: Asus Xonar u7, Restek Sextet, JBL L300
3xBoom, 1xRadio

adamslim's Profile: http://forums.slimdevices.com/member.php?userid=7355
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-24 Thread philippe_44


adamslim wrote: 
> I just tried to set this up and failed, for I think similar reasons to
> the above.
> 
> I sorted the API and initial credentials/secret, all input into the
> plugin ok. It appears that the next step is to click the "get code" box,
> but this does nothing. Looking at the log file, it shows that a URL was
> unauthorized, but I don't know what the URL is.
> 
> The server is a pi, and I'm accessing the settings from a Ubuntu PC that
> is logged into the relevant Google account. Do I need to log into the
> Google account from the pi to sort this?
> 
> As an aside, it would be great if this worked with multiple YouTube
> accounts, so the kids could each access their own accounts on their own
> Squeezeboxes. In case you're bored and fancy doing something :)

Probably a Perl version that does not contain all the crypto needed



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-24 Thread adamslim


I just tried to set this up and failed, for I think similar reasons to
the above.

I sorted the API and initial credentials/secret, all input into the
plugin ok. It appears that the next step is to click the "get code" box,
but this does nothing. Looking at the log file, it shows that a URL was
unauthorized, but I don't know what the URL is.

The server is a pi, and I'm accessing the settings from a Ubuntu PC that
is logged into the relevant Google account. Do I need to log into the
Google account from the pi to sort this?



As an aside, it would be great if this worked with multiple YouTube
accounts, so the kids could each access their own accounts on their own
Squeezeboxes. In case you're bored and fancy doing something :)



Own music plus Qobuz, PC with Squeezelite-X, JRiver as digital XO
System 1: Lynx AES16, 5x SMSL DACs, various amps, 5 way horns
System 2: Asus Xonar u7, Restek Sextet, JBL L300
3xBoom, 1xRadio

adamslim's Profile: http://forums.slimdevices.com/member.php?userid=7355
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-08-09 Thread bvrulez


I wanted to setup Youtube API today and it was not working. I got this
error in the log with some JSON following:


Code:

[21-08-09 16:15:20.3710] 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(0x81a3770)
  [21-08-09 16:16:42.8351] Slim::Utils::Misc::msg (1341) Warning: 
[16:16:42.8346] do {
  



I then manually opened up the URL it was trying to connect to in a
browser and got a response saying I have to activate the key, which was
possible and it now works.

THIS STEP OF EXTRA ACTIVATION SEEMS TO BE MISSING IN THE DESCRIPTION FOR
SETTING UP AN API KEY IN THE LMS GUI WHEN NO KEY IS YET APPLIED. 


Also, I think the OAuth-process might be a bit different now. Maybe we
have to setup a test user. It's not working yet for me, altough I got
the 8 digit code and authorized it and got a "successfull". I had to
chose a platform for my app and used "Desktop".



bvrulez's Profile: http://forums.slimdevices.com/member.php?userid=67251
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-26 Thread tomkonott

philippe_44 wrote: 
> I mean erase totally your current project on YouTube console (another
> just keys, the project itself) and restart from real scratch with just a
> key first and then take care of the auth option later
> 
> 
> Envoyé de mon iPad en utilisant Tapatalk



Hi Philippe, i did a fresh installation of the piCorePlayer. And now
your plugin is working again. I don't know what happened before. Maybe
something went wrong with the last update of the plugin. Many thanks for
your support! Tom



tomkonott's Profile: http://forums.slimdevices.com/member.php?userid=70166
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-25 Thread philippe_44

tomkonott wrote: 
> If you mean make a new auth2 authorization with get code and authorize
> it then yes. 
> Do i have to create a new project instead of?
> So far I have only made a new authorization when installing a new
> plugin.

I mean erase totally your current project on YouTube console (another
just keys, the project itself) and restart from real scratch with just a
key first and then take care of the auth option later


Envoyé de mon iPad en utilisant Tapatalk



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-25 Thread tomkonott


philippe_44 wrote: 
> Have you tried creating a new project?

If you mean make a new auth2 authorization with get code and authorize
it then yes. 
Do i have to create a new project instead of?
So far I have only made a new authorization when installing a new
plugin.



tomkonott's Profile: http://forums.slimdevices.com/member.php?userid=70166
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-24 Thread philippe_44


tomkonott wrote: 
> Unfortunately nobody seems to have the same problem as me.  
> If version 140 works, how can I install the older version 140 on the
> picoreplayer instead of the current version 142?  
> Maybe someone can give me some advice.
> Thanks

Have you tried creating a new project?



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-24 Thread tomkonott


tomkonott wrote: 
> Since last weekend I cannot play my Youtube lists, all songs are skipped
> or don't start playing. 
> The server.log shows this message:
> "Plugins::YouTube::ProtocolHandler::__ANON__ (460) no stream/DASH
> found". 
> 
> My setting is  piCorePlayer v6.1.0, LMS 8.1.1 - 1610364019, YouTube
> plugin 0.142.1, Perl Version: 5.28.2 -
> arm-linux-gnueabihf-thread-multi-64int. 
> 
> Thanks!

Unfortunately nobody seems to have the same problem as me.  
If version 140 works, how can I install the older version 140 on the
picoreplayer instead of the current version 142?  
Maybe someone can give me some advice.
Thanks



tomkonott's Profile: http://forums.slimdevices.com/member.php?userid=70166
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-19 Thread tomkonott


Since last weekend I cannot play my Youtube lists, all songs are skipped
or don't start playing. 
The server.log shows this message:
"Plugins::YouTube::ProtocolHandler::__ANON__ (460) no stream/DASH
found". 

My setting is  piCorePlayer v6.1.0, LMS 8.1.1 - 1610364019, YouTube
plugin 0.142.1, Perl Version: 5.28.2 -
arm-linux-gnueabihf-thread-multi-64int. 

Thanks!



tomkonott's Profile: http://forums.slimdevices.com/member.php?userid=70166
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-07-15 Thread adamdea


35247 I'm drawing a blank from all searches. Have tried
making new API key. Am running Logitech Media Server Version: 8.2.0 -
1625545980 on a pi4. I haven;t used plugin in a while and have
reinstalled fresh lms some time ago.


+---+
|Filename: server.log(7).zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35247|
+---+


adamdea's Profile: http://forums.slimdevices.com/member.php?userid=37603
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-27 Thread mikeybs


philippe_44 wrote: 
> Try 0.140.2

working for me too! thanks philippe!



mikeybs's Profile: http://forums.slimdevices.com/member.php?userid=62630
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-26 Thread networx


Excellent 👌🏼



| LMS 8.2.0 @ ONAP | SB Radio | SB Duet | SB Classic 3 |
SqueezeLite-ESP32 | Pioneer VSX-S510 |

networx's Profile: http://forums.slimdevices.com/member.php?userid=68778
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-25 Thread Keys


philippe_44 wrote: 
> Try 0.140.2

Working now with 0.140.2.  You're the best.  Many thanks!



Keys's Profile: http://forums.slimdevices.com/member.php?userid=70461
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-25 Thread Verulam


Working now.

Thanks



Verulam's Profile: http://forums.slimdevices.com/member.php?userid=70962
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-25 Thread slartibartfast


philippe_44 wrote: 
> Try 0.140.2Fixed [emoji106]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread philippe_44


Keys wrote: 
> Like nervoteso, I suddenly started having trouble playing most anything
> on YouTube.  I think I found one file which works  I can search and
> get results, and the file's icon and metadata come up normally, but
> audio doesn't play.  It was working fine until the last week or two; I
> don't use YouTube daily so it's hard to say.  I've attached the server
> log file with YouTube set to "verbose".   Any ideas?
> 
> Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:22:21
> CET 2021
> YouTube v0.140.1
> 
> Thanks!

It's a new issue due to a format change, nothing like @nervoteso



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread slartibartfast


mikeybs wrote: 
> Trying to get the plugin working on raspberry pi 2 with max2play, I also
> tried with picoreplayer first and was unable to get it working.  I
> switched over to max2play hoping maybe the issue was missing packages,
> but max2play not working either
> 
> did a clean install of max2play
> 
> when I try to play one of my playlists it just tries one track after
> another endlessly with the following errors
> 
> 
> [21-06-24 23:55:48.7727] Plugins::YouTube::ProtocolHandler::__ANON__
> (460) no stream/DASH found
> [21-06-24 23:55:49.4014] Plugins::YouTube::ProtocolHandler::getSignature
> (786) no player url to unobfuscate signature
> 
> mostly 
> [21-06-24 23:55:49.4014] Plugins::YouTube::ProtocolHandler::getSignature
> (786) no player url to unobfuscate signature
> 
> libio-socket-ssl-perl libnet-ssleay-perl are all installed
> 
> I'm using the same google account that I have working on a different
> setup with debian, that one works perfectly and is running LMS 8.1
> 
> This max2play setup is running LMS 8.0.1 - perhaps that is the
> difference maker?
> 
> Any suggestions?
> 
> Logitech Media Server Status
> Logitech Media Server Version: 8.0.1 - 1608617100 @ Tue Dec 22 07:18:04
> CET 2020
> Hostname: max2play
> Server IP Address: 192.168.69.100
> Server HTTP Port Number: 9000
> Operating system: Debian - EN - utf8
> Platform Architecture: armv7l-linux
> Perl Version: 5.28.1 - arm-linux-gnueabihf-thread-multi-64int
> Audio::Scan: 1.02
> IO::Socket::SSL: 2.060
> Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> Total Players Recognized: 2Lots of others have the same issue.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread mikeybs


Trying to get the plugin working on raspberry pi 2 with max2play, I also
tried with picoreplayer first and was unable to get it working.  I
switched over to max2play hoping maybe the issue was missing packages,
but max2play not working either

did a clean install of max2play

when I try to play one of my playlists it just tries one track after
another endlessly with the following errors


[21-06-24 23:55:48.7727] Plugins::YouTube::ProtocolHandler::__ANON__
(460) no stream/DASH found
[21-06-24 23:55:49.4014] Plugins::YouTube::ProtocolHandler::getSignature
(786) no player url to unobfuscate signature

mostly 
[21-06-24 23:55:49.4014] Plugins::YouTube::ProtocolHandler::getSignature
(786) no player url to unobfuscate signature

libio-socket-ssl-perl libnet-ssleay-perl are all installed

I'm using the same google account that I have working on a different
setup with debian, that one works perfectly and is running LMS 8.1

This max2play setup is running LMS 8.0.1 - perhaps that is the
difference maker?

Any suggestions?

Logitech Media Server Status
Logitech Media Server Version: 8.0.1 - 1608617100 @ Tue Dec 22 07:18:04
CET 2020
Hostname: max2play
Server IP Address: 192.168.69.100
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.28.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.060
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 2



mikeybs's Profile: http://forums.slimdevices.com/member.php?userid=62630
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread Verulam


I am having the same problem.

Trying to compare the logging information, my thoughts are:

Using MPD stream would appear to work.

Using DASH with JSON stream works if the encryption is 0, but if the
encryption is 1 is does not.



Verulam's Profile: http://forums.slimdevices.com/member.php?userid=70962
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread kidstypike


slartibartfast wrote: 
> Same here. Some tracks play but most don't.

Same here, play list of 70 tracks, only a random 6 played, the rest were
skipped.



*Server - LMS 8.2.0 *Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi4/pCP 7.0.1/Topping E30 DAC/Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Pi3B/pCP/Bluetooth/Echo Show 8
*Garage* - DAC32 > Edifier speakers

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread slartibartfast


sanghoku wrote: 
> I have noticed the same thing; 
> confirmed on 3 different LMS servers and players.
> Playlist search works & loads, but skips most of the songs;
> 
> "getSignature (786) no player url to unobfuscate signature"
> 
> Possibly a EU localisation thing again? Belgium here ;)Same here. Some tracks 
> play but most don't.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-24 Thread sanghoku


I have noticed the same thing; 
confirmed on 3 different LMS servers and players.
Playlist search works & loads, but skips most of the songs;

"getSignature (786) no player url to unobfuscate signature"

Possibly a EU localisation thing again? Belgium here ;)



sanghoku's Profile: http://forums.slimdevices.com/member.php?userid=71604
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-23 Thread Keys


Like nervoteso, I suddenly started having trouble playing most anything
on YouTube.  I think I found one file which works  I can search and
get results, and the file's icon and metadata come up normally, but
audio doesn't play.  It was working fine until the last week or two; I
don't use YouTube daily so it's hard to say.  I've attached the server
log file with YouTube set to "verbose".   Any ideas?

Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:22:21
CET 2021
YouTube v0.140.1

Thanks!


+---+
|Filename: server.log(1).zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35063|
+---+


Keys's Profile: http://forums.slimdevices.com/member.php?userid=70461
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-17 Thread billtsig


hello everyone 

im using youtube plugin and it works extremely well! 

but i'm wondering if it's possible to make the sound bitrate higher than
160kbps if so how can i do it? 

is a pitty to hear  a 320kbps file in 160kbps 

Thank you for your time and the wellmade plugin



billtsig's Profile: http://forums.slimdevices.com/member.php?userid=71096
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-12 Thread nervoteso


slartibartfast wrote: 
> I have only had issues when YouTube have changed something. Maybe set
> the plugin logging to debug and play something then upload the server
> log.
> 
> Sent from my Pixel 3a using Tapatalk

i've tried to make an other project and new api but no luck.



Touchx2,radiox4, Squeezebox Server 7.9 (Raspberrypi 3 and qnap ts-269)

nervoteso's Profile: http://forums.slimdevices.com/member.php?userid=30262
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-12 Thread slartibartfast


nervoteso wrote: 
> everything
> 
> incredible i've been fighting with this youtube plugin  for years
> sometimes work sometjhimes not, it changes everytime. should i change
> any api?I have only had issues when YouTube have changed something. Maybe set
the plugin logging to debug and play something then upload the server
log.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-12 Thread nervoteso


slartibartfast wrote: 
> Any particular tracks? Seems to be working for me.
> 
> Sent from my Pixel 3a using Tapatalk

everything



Touchx2,radiox4, Squeezebox Server 7.9 (Raspberrypi 3 and qnap ts-269)

nervoteso's Profile: http://forums.slimdevices.com/member.php?userid=30262
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-12 Thread slartibartfast


nervoteso wrote: 
> hi
> i can't listen to any video with youtuble plugin , it finds video but no
> sound.Any particular tracks? Seems to be working for me.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-12 Thread nervoteso


hi
i can't listen to any video with youtuble plugin , it finds video but no
sound.



Touchx2,radiox4, Squeezebox Server 7.9 (Raspberrypi 3 and qnap ts-269)

nervoteso's Profile: http://forums.slimdevices.com/member.php?userid=30262
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-11 Thread ModelCitizen


Well I've been going round the houses with this.

But in case it helps anyone else to generate their OAuth client ID
correctly (so they can use their person YouTube account) I found I had
to select 'Desktop App' as the application type when I created it. 

I tried a few others before settling on 'Desktop App' and none of them
worked for me (the Client ID and Client Secret did not generate a code
in the plugin settings page).

YouTube plugin vs: 0.140.1
Server vs: 8.1.1



Take care of your tongue. It is in a wet place and can easily slip.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-06-06 Thread ModelCitizen


My YouTube plugin returns nothing at all. Every search/listing or
whatever produces a blank.

Checked my credentials, keys etc. All fine. Re-entered them just in
case. No joy

So I uninstalled the plugin and deleted my preferences. Reinstalled,
added back details. No joy

I deleted my Google OAuth Project and remade it, recreating the new
credentials. No joy. Still the same.

Now all I'm left with is I'm doing something really, really stupid.

Anyone any idea what it might be? My 8.1.1 server is on a dedicated
64bit Windows 10 machine. Everything else works as it should

BTW. The instructions for creating a new key and client ID are out of
date.

Thanks



Take care of your tongue. It is in a wet place and can easily slip.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-05-29 Thread Eckerda

philippe_44 wrote: 
> Unfortunately the log level has not been set to « debug » so I cannot
> investigate further

Sorry for my late reply.
Now set all Advanced Log Settings to debug.
Attached the ZIP files.
Thanks


+---+
|Filename: server.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34858|
+---+


Eckerda's Profile: http://forums.slimdevices.com/member.php?userid=71613
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-05-22 Thread philippe_44

Eckerda wrote: 
> Hallo Philippe,
> 
> sorry for my late reply.
> Attached the zip files as you rerquested.
> Thanks for your support.

Unfortunately the log level has not been set to « debug » so I cannot
investigate further



LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,  Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-05-22 Thread Eckerda


philippe_44 wrote: 
> Please provide a log with debug level set. Do not copy/paste it but zip
> it and attach it as a file

Hallo Philippe,

sorry for my late reply.
Attached the zip files as you rerquested.
Thanks for your support.


+---+
|Filename: server.log (1).zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34751|
+---+


Eckerda's Profile: http://forums.slimdevices.com/member.php?userid=71613
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


  1   2   3   4   5   6   7   8   9   10   >