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

2016-09-03 Thread tiggert

Thanks Philippe for working on this and pointing me to this updated
thread, and your suggestion about the api key.

I checked and the key I was using seemed to be correct, but I went ahead
and created another one following the steps at the start of this thread
(apart from enabling it, as it was already enabled - I only had the
option to disable it.)

It still is not working for me.

It seems that whatever video I try to stream I get the message:
"Problem: Can't connect to server for: "name of video"

This is what I see in my logs:
[16-09-03 23:48:16.1572] main::init (368) Starting Logitech Media Server
(v7.8.1, 1401187905, Fri May 30 03:03:20 UTC 2014) perl 5.014002
[16-09-03 23:54:07.8026] Slim::Utils::Timers::__ANON__ (273) Error:
Timer Slim::Web::Cometd::sendResponse failed: 
[16-09-03 23:57:27.8781] Slim::Player::Song:: open (471) Warning: stream
failed to open [youtube://www.youtube.com/v/vj63BiNL4ik].
[16-09-03 23:58:37.5410] Slim::Utils::Timers::__ANON__ (273) Error:
Timer Slim::Web::Cometd::sendResponse failed: illegal file descriptor or
filehandle (either no attached file descriptor or illegal value):  at
/usr/share/perl5/Slim/Networking/IO/Select.pm line 150.
[16-09-04 00:01:39.5087] Slim::Player::Song:: open (471) Warning: stream
failed to open [youtube://www.youtube.com/v/vj63BiNL4ik].
[16-09-04 00:11:19.8383] Slim::Player::Song:: open (471) Warning: stream
failed to open [youtube://xTmIq9xZwks].
[16-09-04 00:12:06.9735] Slim::Player::Song:: open (471) Warning: stream
failed to open [youtube://OB4MsmL2q1A].

I tried running apt-get install libio-socket-ssl-perl
libnet-ssleay-perl
But it didn't install anything new as I already had it.

Any ideas what I'm doing wrong and how I can get it working?

I'm running LMS 7.8.1 with perl 5.014002 on an oldish Raspberry Pi
running Squeezplug.

Thanks.



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

2016-09-03 Thread tiggert

Hi,
Thanks so much for continuing to work on this plugin. I really
appreciate your efforts and I'm glad it's working for others.
I've just upgraded to v0.40.1 and I tried with a new API key but I can't
get music from Youtube videos to play.
It seems that whatever video I try to stream I get the message:
"Problem: Can't connect to server for: "-name of video-"

In my logs all I see is:
E.g:
[16-09-03 19:47:28.5530] Slim::Player::Song:: open (471) Warning: stream
failed to open [youtube://QGDJ75fn6Lw].
[16-09-03 19:47:56.3044] Slim::Player::Song:: open (471) Warning: stream
failed to open [youtube://www.youtube.com/v/xTmIq9xZwks].

Any ideas what I'm doing wrong and how I can get it working?

I'm running LMS 7.8.1 on an oldish Raspberry Pi running Squeezplug.

Thanks.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2016-02-21 Thread tiggert

OK so the API is working now, but the plugin isn't working properly for
me.
The search does work, just a bit slow.
I get the screenshot image, and the timer starts moving, but no sound,
and then the timer keeps going back to 0 if I change the volume or press
paused or do anything else.

Also sometimes it seems to try to play a completely different song than
the one I had chosen.

Any ideas how I can get this to work?

Thanks,
T.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2016-02-21 Thread tiggert

tiggert wrote: 
> I seem to have a problem with the API key.
> I spent a few hours reading most of this thread. 
> But my searches don't work on the plugin (all of them time out) and when
> I go to "recently played" it fails to play (timer starts a few times for
> a few seconds then back to zero and then I get "no more streams".
> 
> I enabled the log and I see (I've removed the key):
> [16-02-21 23:27:48.5045] Slim::Utils::Misc::msg (1311) Warning:
> [23:27:48.4991] (
> bless([
> sub { "???" },
> sub { "???" },
> { params => {}, timeout => 15 },
> "GET",
> "https://www.googleapis.com/youtube/v3/videos?key=  removed>=OB4MsmL2q1A=50=snippet%2CcontentDetails=US",
> "403 Forbidden",
> undef,
> undef,
> undef,
> undef,
> undef,
> undef,
> ], "Slim::Networking::SimpleAsyncHTTP"),
> "403 Forbidden",
> ) at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm
> line 162.
> [16-02-21 23:27:48.5116] Plugins::YouTube::API::__ANON__ (163) 403
> Forbidden
> [16-02-21 23:27:48.5182] Plugins::YouTube::ProtocolHandler::__ANON__
> (724) 403 Forbidden
> [16-02-21 23:27:48.5261] Slim::Networking::IO::Select::__ANON__ (147)
> Error: Select task failed calling Slim::Networking::Async::_async_read:
> Can't use string ("") as a subroutine ref while "strict refs" in use at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
> line 725.
> ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x5f47650)
> 
> I tried to regenerate the key and use a new one but I get the same.
> I then tried paste the link with the key above into a broswer and it
> gets me:
> 
> {
> "error": {
> "errors": [
> {
> "domain": "usageLimits",
> "reason": "accessNotConfigured",
> "message": "Access Not Configured. The API (YouTube Data API) is not
> enabled for your project. Please use the Google Developers Console to
> update your configuration."
> "extendedHelp": "https://console.developers.google.com;
> }
> ],
> "code": 403,
> "message": "Access Not Configured. The API (YouTube Data API) is not
> enabled for your project. Please use the Google Developers Console to
> update your configuration."
> }
> }
> 
> So I try going to my google account to enable the api but under "enabled
> APIs" I don't see it, and when I look the api up there seems to be no
> option to enable/disable it.
> 
> Can anyone let me know how to enable this API key? I would love to have
> youtube working again on my squeezeboxes.
> 
> Thanks,
> T.

Doh! I think I must be tired! I went back to the Google Developers
Console and searched again for the API and saw the enable button!
Now search still not working, and when I try to play from "recent" plays
I now get the video image (that I didn't get before) but the timer just
goes forward a few seconds then back to 0 continuously.
I'll keep digging.
T.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2016-02-21 Thread tiggert

I seem to have a problem with the API key.
I spent a few hours reading most of this thread. 
But my searches don't work on the plugin (all of them time out) and when
I go to "recently played" it fails to play (timer starts a few times for
a few seconds then back to zero and then I get "no more streams".

I enabled the log and I see (I've removed the key):
[16-02-21 23:27:48.5045] Slim::Utils::Misc::msg (1311) Warning:
[23:27:48.4991] (
bless([
sub { "???" },
sub { "???" },
{ params => {}, timeout => 15 },
"GET",
"https://www.googleapis.com/youtube/v3/videos?key= =OB4MsmL2q1A=50=snippet%2CcontentDetails=US",
"403 Forbidden",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP"),
"403 Forbidden",
) at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm
line 162.
[16-02-21 23:27:48.5116] Plugins::YouTube::API::__ANON__ (163) 403
Forbidden
[16-02-21 23:27:48.5182] Plugins::YouTube::ProtocolHandler::__ANON__
(724) 403 Forbidden
[16-02-21 23:27:48.5261] Slim::Networking::IO::Select::__ANON__ (147)
Error: Select task failed calling Slim::Networking::Async::_async_read:
Can't use string ("") as a subroutine ref while "strict refs" in use at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
line 725.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x5f47650)

I tried to regenerate the key and use a new one but I get the same.
I then tried paste the link with the key above into a broswer and it
gets me:

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API (YouTube Data API) is not
enabled for your project. Please use the Google Developers Console to
update your configuration."
"extendedHelp": "https://console.developers.google.com;
}
],
"code": 403,
"message": "Access Not Configured. The API (YouTube Data API) is not
enabled for your project. Please use the Google Developers Console to
update your configuration."
}
}

So I try going to my google account to enable the api but under "enabled
APIs" I don't see it, and when I look the api up there seems to be no
option to enable/disable it.

Can anyone let me know how to enable this API key? I would love to have
youtube working again on my squeezeboxes.

Thanks,
T.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-07-04 Thread tiggert

Thanks loads Rickbox! With your advice I finally have this plugin
working again.
Just strange thing it keeps trying to play me One Direction tracks
when I'm telling it to play other stuff like Sohn!!! (No!) ;-)



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-06-08 Thread tiggert

I installed the youtube-dl application too (apt-get install youtube-dl)
and restarted the squeezplug but still getting the same symptoms as last
night (see previous post).
Not sure what to try next.
tephlon? Anyone?
Thanks!



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-06-07 Thread tiggert

I'm planning on trying this tonight, but wonder about the IPS::Run
module and the youtube-dl application that tephlon mentions you need.
Are they just plugins from LMS or something else?
Thanks.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-06-07 Thread tiggert

OK so I updated Squeezeplug on my Pi to 7.09, that updated my LMS to
7.8. Installed the youtube plugin. Tested, and as expected got the no
more streams symptom as before.
I then installed the IPS::Run module (I think: I did an apt-get install
libipc-run-perl), and tephlon's patch, and tried again.
This time I don't get the no more streams message, and the LMS seems
to think it's playing the stream (the time ticks forwards), but I'm
getting no sound through my squeezelite player, and on my squeezebox
radio it the time ticks forwards *very* slowly, but doesn't play any
sound.

Any ideas what I've done wrong?

Cheers.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-06-04 Thread tiggert

Oh Tephlon you give me some hope!
Would you be able to add a short step by step guide for a newbie like me
(please)? I'll be SO happy if I can get this plugin to work again!



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-06-04 Thread tiggert

Thanks! I'll try to find time to check it out and give it a go. BTW I'm
running my LMS on a raspberry pi via Squeezeplug. And I've just checked
the Squeezeplug website and see there have been lots of updates since I
installed so I should probably try updating that too first. Will need to
backup my image first.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-05-05 Thread tiggert

Thanks Pippin. But if the LMS version won't make a difference then I
can't see why it plays stuff for slimchances but not for me. Any ideas?
Thanks again.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-05-02 Thread tiggert

Hi,
I too am hitting the no more streams error message when trying to use
the Youtube plugin to stream the audio from a video clip.
On my Squeezbox radio it displays an image for the video clip, but it
doesn't play and displays the no more streams message.
Does anyone have a fix for this please? Thanks in advance.
I had this working before I had to restore my Raspberry Pi from a copy I
had before I'd installed the youtube plugin, so had to install it again,
and since then I have this problem.

Information from my system:
Youtube plugin version 0.16

Error in the log:
[14-05-01 18:31:46.2269] Slim::Player::Song::open (471) Warning: stream
failed to open [youtube://x1FGvJuUmS8].

Logitech Media Server Version: 7.7.2 - r33893 @ Wed Mar 14 05:46:46 PDT
2012
(Running on Raspberry Pi)

Operating system: Debian - EN - utf8

Platform Architecture: armv7l-linux

Perl Version: 5.14.2 - arm-linux-gnueabihf-thread-multi-64int

Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)

Total Players 3

Player Model: Squeezebox Radio

Firmware: 7.7.2-r9663

Kitchen Boom

Player Model: Squeezebox Boom

Firmware: 57

Lounge

Player Model: SqueezeLite



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: Custom Clock applet for Touch/Radio/Controller

2014-05-02 Thread tiggert

Hi Slimchances, I'm sorry to briefly hijack this thread, but I can't see
a way on here to pm you.
I saw on your post on this other thread
http://forums.slimdevices.com/showthread.php?87731-Announce-YouTube-Pluginp=768329viewfull=1#post768329
that you had fixed the problem I am seeing with that plugin, so I wanted
to ask you what you did to fix it.
Many thanks, and again I apologise if I missed some other way I could
have pmed you on this.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=68269

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-05-02 Thread tiggert

slimchances - thanks for your reply on the other thread, I'm not sure if
your watching this one but will try here first to not disrupt your other
one.
I'm copying your reply here for reference:
I didn't do anything it just started working for some streams. However
other streams don't work . It is a great plugin (YouTube plugin) but as
I understand it YouTube is frequently making changes that break the
plugin and there is no active developer improving the plugin. Sorry I
couldn't be more help.

I agree that it is (was for me) a great plugin. Are you able to let post
a link to a stream that does work for you, so that I can test if that is
all I'm experiencing or if my problem maybe something else?

Thanks again.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-05-02 Thread tiggert

Thanks again Slimchances. I'll try that when I'm at home.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-05-02 Thread tiggert

Nope, that clip does the same for me and I've tried lots of different
ones but all give me the same message. I notice you're on 7.8 so I
suppose that's the next thing to try. Will try to backup my Pi and try
an upgrade of the server and see if that helps... but not tonight!



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2014-05-02 Thread tiggert

Oh, actually my lms web gui only takes me to uograde to 7.7.3. How would
I upgrade to 7.8.0 ? Thanks.



tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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