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

2020-11-01 Thread Squid


Anyone else running in a Quota issue with the YouTube API ?
I had not used the plugin in a while, so definitely did not do any API
calls. Today i want to try it again, and first, for some reason the
Plugin was not installed. However, after installation again, the plugin
did still not work, even though all settings/credentials... are correct.
I noticed in the logs that I'm getting a 403 Refused. Calling the API
URL manually, I see I'm getting an error that my quota are exceeded.

So I went into the API Dashboard and see that one of the quota settings
is that I can make '0 queries per day'. There is a link to edit your
quota, which brings me to console.cloud.google.com. Now, when I want to
edit this quota, it says: "Enter a new quota limit between 0 and 0."
So basically I'm screwed.



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

2020-05-29 Thread Squid


Squid wrote: 
> EDIT: bingo ! YT plugin works again !

Less than a week later, I have the same problem again. Looking at the
logs, it seems like some module error in the plugin has triggered this :


Code:


  main::init (387) Starting Logitech Media Server (v7.9.2, 1578996832, Tue Jan 
14 12:09:46 WEST 2020) perl 5.014001 - MSWin32-x86-multi-thread
  Plugins::YouTube::WebM::__ANON__ (700) could not get codec info: Cannot 
request non-HTTP URL 
  Plugins::YouTube::WebM::__ANON__ (640) could not find start offset
  Plugins::YouTube::WebM::__ANON__ (700) could not get codec info: Cannot 
request non-HTTP URL 
  Plugins::YouTube::WebM::__ANON__ (640) could not find start offset
  Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed 
calling Slim::Networking::Async::HTTP::_http_read_body: Can't use string ("") 
as a subroutine ref while "strict refs" in use at 
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
 line 393.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0xcd23fd4)
  Plugins::YouTube::ProtocolHandler::__ANON__ (424) no stream/DASH found 
  Plugins::YouTube::ProtocolHandler::__ANON__ (424) no stream/DASH found 
  Plugins::YouTube::ProtocolHandler::__ANON__ (424) no stream/DASH found 
  Slim::Utils::PluginManager::shutdownPlugins (409) Shutting down plugins...
  Slim::bootstrap::theEND (438) Got to the END
  main::init (387) Starting Logitech Media Server (v7.9.2, 1578996832, Tue Jan 
14 12:09:46 WEST 2020) perl 5.014001 - MSWin32-x86-multi-thread
  Plugins::YouTube::ProtocolHandler::__ANON__ (424) no stream/DASH found 
  Plugins::YouTube::ProtocolHandler::__ANON__ (424) no stream/DASH found 
  



Note that the "no stream/Dash errors" started after that
ProtocolHandler.pm error, and then persist even across server restarts.
However, I must say that I already had an issue at that moment (see
errors before that perl error), as tonight I would simply not have audio
with whatever track I played that worked a week ago.

On an unrelated note, when I reset everything a week ago (see my posts
from then that fixed the issue), my logs started missing a timestamp...
I have not found in the GUI where to modify that, so I'm a bit clueless
while suddenly my logs are missing them.



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

2020-05-23 Thread Squid


philippe_44 wrote: 
> Why does you region odd show empty?

Ah, that's because I found that weird encoding/interpretation of ''
into that registered trademark sign rather weird. Wasn't sure whether it
was purely a logging thing or something else was wrong. So tried setting
an empty region string instead of my country code.

But given all the weirdness, I now also did a full reset of not only the
cache/db but also the settings. Am in the process of reconfiguring, and
will then give the YT plugin a try.



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

2020-05-23 Thread Squid

Not sure what caused it, but right now my logs are being filled with the
following snippet that keeps repeating like every 7 seconds :


Code:


  [20-05-23 17:32:08.2816] Slim::Utils::Misc::msg (1255) Warning: 
[17:32:08.2809] (
  bless([
  sub { "???" },
  sub { "???" },
  { params => {}, timeout => 15 },
  "GET",
  
"https://www.googleapis.com/youtube/v3/videos?key=AIzaSyD-WBAAwUjjoNih0uRKGSI0ZysSvcjCVg0=6xckBwPdo1c=50=date=snippet%2CcontentDetails®ionCode=;,
  "400 Bad Request",
  undef,
  undef,
  undef,
  undef,
  undef,
  undef,
  ], "Slim::Networking::SimpleAsyncHTTP"),
  "400 Bad Request",
  ) at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/API.pm 
line 169.
  [20-05-23 17:32:08.2821] Plugins::YouTube::API::__ANON__ (170) 400 Bad Request
  [20-05-23 17:32:08.2826] Plugins::YouTube::ProtocolHandler::__ANON__ (877) 
400 Bad Request
  




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

2020-05-23 Thread Squid


slartibartfast wrote: 
> What are your file type settings in LMS settings/advanced?

Ah, we may be on to something! It's identical to what you have in your
screenshot, except that all MP3 settings are 'Disabled' and I cannot
change that setting. I've never seen these settings before so definitely
did not change them.



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

2020-05-23 Thread Squid


philippe_44 wrote: 
> Have you enabled ogg format in YT settings

Do you mean settings of the YT Plugin, and do you mean the "Allowed
Codecs" setting ? There "vorbis/opus" is enabled yes. It's one of the
first things I set, as I recalled that being an issue when I first tried
out this plug-in quite a while ago.

BTW, I updated my post above with some Info log lines.



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

2020-05-23 Thread Squid

philippe_44 wrote: 
> Give a precise link that does not work for you, I cannot investigate
> otherwise

If you mean a YouTube video link: it’s with literally every song I try,
so must be something at my end, but just can’t find what. Even the Ry
Cooder one that someone posted a few posts back.



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

2020-05-22 Thread Squid


Since a couple weeks I also can no longer play music with the plugin.
Search, playlists, subscriptions,... all work. But when trying to play
an actual track, I don't hear anything and the time jumps back to 0:00.
In the logs, I can see the following :

[20-05-22 19:36:04.4535] Plugins::YouTube::ProtocolHandler::__ANON__
(424) no stream/DASH found 

What also seems wrong, is that in the playback/queue plane (righthand
side), next to the thumbnail, it would say:

Horizon: Zero Dawn
Horizon: Zero Dawn - Full Original Soundtrack
*0, *YouTube

That zero definitely doesn't look right, since from memory, I thought it
would show information about the stream. 

I've seen old reports of this error message, but none of the tips
helped. ogg/vorbis was already enabled, and I could also disable aac but
that didn't help either.



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

2020-04-28 Thread Squid


I guess I don't need to hold my breath. I realized that YouTube Music in
LMS would require there being an API key, similar to what you do with
YouTube for this plugin. A quick google revealed that there is no API
key yet. Also on : https://developers.google.com/products/develop/#y
there is mention of YouTube, but not of YouTube Music. So right now I'm
afraid it's not even possible to have any integration with YouTube
Music.



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

2020-04-28 Thread Squid


slartibartfast wrote: 
> YouTube Music is a subscription music service separate from the free
> video service.

It's much less separate than you make it believe. In YouTube Music
(whether app or website) do a search for an artist and/or song/album
there, and you will immediately see that it returns matches from the
video service. Content seems to be divided in Video, Songs, Albums,
Artists and Playlists. The Video and Playlist sections are 100% Youtube
video service content, and includes tons of unofficial, often fan-based,
material. In fact, the YouTube uploader is even mentioned under the
title.
I do think/suspect/hope that if you filter on Albums and Songs, you only
get officially released music and is where it is similar to Spotify and
which I would like to be able to play through LMS.



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

2020-04-27 Thread Squid


slartibartfast wrote: 
> It is searching YouTube. YouTube Music is a different service.

Thanks. I'm trying to understand the difference between both as there is
clearly a big overlap between both (I find unofficial content from fans
etc... on YouTube Music, which makes me wonder whether I should go with
YouTube Music to begin with).

Is there any plugin then for YouTube Music, similar to Spotty for
Spotify ?



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

2020-04-27 Thread Squid


Man in a van wrote: 
> Type a name into Playlist Search

Thanks, that already helps !
Yet, from what I can tell it still searches YouTube, as I get matches
from people who created their own public playlists, rather than an
official 'album'. This seems to indicate that the plugin is still just
searching YouTube rather than YouTube Music.



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

2020-04-27 Thread Squid


Is there any way to play back full albums from YouTube Music with this
plugin ? When I use "Music Search" from this plugin, I have the
impression it simply just searches YouTube and therefore comes up with a
lot of junk like people's TV rip or own concert recordings etc.
I'd like to use YouTube Music as a replacement for Spotify Premium as
Spotify stopped supporting Carrier Billing and I want to spend excess
call credit to a music service that I can play back through LMS.



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

2020-04-27 Thread Squid


Is there any way to play back full albums from YouTube Music with this
plugin ? When I use "Music Search" from this plugin, I have the
impression it simply just searches YouTube and therefore comes up with a
lot of junk like people's TV rip or own concert recordings etc.
I'd like to use YouTube Music as a replacement for Spotify Premium as
Spotify stopped supporting Carrier Billing and I want to spend excess
call credit to a music service that I can play back through LMS.



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
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 (API v3)

2019-08-10 Thread Squid


I somehow cannot get the plugin to work. Plugin v0.90 and LMS v7.9.1.
I double checked the API access key, then also tried by enabling Client
ID/Secret, but nothing is working.

In the GUI I can search YouTube, see the thumbnails, etc... But when I
start to play, it seems to try a few seconds (but cannot hear anything)
and then aborts. The error log is also consistent and always shows this
: 
> 
> [19-08-10 12:08:30.3546] Plugins::YouTube::WebM::decode_u (592) can't
> unpack 64 bits integer, using 32 bits LSB
> [19-08-10 12:08:30.3551] Plugins::YouTube::WebM::decode_u (592) can't
> unpack 64 bits integer, using 32 bits LSB
> [19-08-10 12:08:30.3556] Plugins::YouTube::WebM::decode_u (592) can't
> unpack 64 bits integer, using 32 bits LSB
> [19-08-10 12:08:30.3561] Plugins::YouTube::WebM::decode_u (592) can't
> unpack 64 bits integer, using 32 bits LSB
> [19-08-10 12:08:30.3567] Plugins::YouTube::WebM::decode_u (592) can't
> unpack 64 bits integer, using 32 bits LSB
> [19-08-10 12:08:30.3606] Slim::Player::Song::open (409) Error: Couldn't
> create command line for ops playback for
> [youtube://www.youtube.com/v/sIaT8Jl2zpI]
> 

Any ideas ?



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
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] Spotty 2.0.0 - Spotify Connect for your Squeezebox

2018-02-02 Thread Squid

mherger wrote: 
> Did you try the latest 2.1.3 update?
> 

Yes, but see first line of my post (which I added last). The problem was
solved by basically clearing my Spotty config and reconfiguring the
account.



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=108561

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


Re: [SlimDevices: Plugins] [Announce] Spotty 2.0.0 - Spotify Connect for your Squeezebox

2018-02-01 Thread Squid

mherger wrote: 
> Could you please set logging for plugin.spotty to INFO, then reproduce
> the issue. Then provide the server.log. Above error message means that
> the helper tries to access a file it can't find. From the server.log I
> might see what it tries to do, what files/folders it's trying to access.

INFO didn't seem to reveal much more so opted for DEBUG. Even then not
sure if it is that helpful. The cachefolder does exist.


[18-02-02 08:18:13.8644] Plugins::Spotty::API::getToken (98) Didn't find
cached token. Need to refresh.
[18-02-02 08:18:13.8660] Plugins::Spotty::API::getToken (118) Trying to
get access token:
C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\Spotty\Bin\MSWIN3~1\spotty.exe
-n Squeezebox -c 'C:\ProgramData\Squeezebox\Cache\spotty\03f3660b' -i
abcdef1234567890 --get-token --scope
'user-read-private,user-follow-modify,user-follow-read,user-library-read,user-library-modify,user-top-read,user-read-recently-played,user-read-playback-state,user-modify-playback-state,playlist-read-private,playlist-read-collaborative,playlist-modify-public,playlist-modify-private'
[18-02-02 08:18:22.7929] Plugins::Spotty::API::getToken (121) Got
response: thread 'main' panicked at 'called `Result::unwrap()` on an
`Err` value: Error { repr: Os { code: 123, message: "The filename,
directory name, or volume label syntax is incorrect." } }',
src\libcore\result.rs:860
note: Run with `RUST_BACKTRACE=1` for a backtrace.
[18-02-02 08:18:22.7933] Plugins::Spotty::API::getToken (125) Failed to
get Spotify access token: 'true' expected, at character offset 0 (before
"thread 'main' panick...") at
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/Spotty/API.pm
line 122.

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
Error { repr: Os { code: 123, message: "The filename, directory name, or
volume label syntax is incorrect." } }', src\libcore\result.rs:860
note: Run with `RUST_BACKTRACE=1` for a backtrace.
[18-02-02 08:18:22.7935] Plugins::Spotty::API::getToken (142) Failed to
get Spotify access token



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=108561

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


Re: [SlimDevices: Plugins] [Announce] Spotty 2.0.0 - Spotify Connect for your Squeezebox

2018-02-01 Thread Squid

Since a couple days, spotty.exe is crashing on me on Windows10 running
LMS 7.9.0. I don't recall the last time that I successfully used Spotty
but it's probably not that long ago.
The crash happens as soon as I select the Spotty application in either
the Web UI or my Squeezebox apps (Squeezepad on IOS or Squeeze Commander
on Android). The crash actually blocks LMS entirely until on the server
I go click 'Close Program' in the Spotty.exe crash popup. 
The crash happens regardless of whether I have 'Spotify Connect'
checkbox ticked or not.

The versions numbers are 2.1.2 for Spotty and 0.9.0 for Spotty Helper.



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=108561

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2017-04-27 Thread Squid

Leonard1052 wrote: 
> I don't know wat is wrong but it seems to me this is getting obsolete
> technology and think on getting ChromeCast.

Been there, done that. After a week, I decided to go back to my trusted
SB3 with LMS. Biggest problem with CC is that it does not support
gapless playback, which is a huge omission for a media playback
product.

But anyway, I now also have the problem that since a couple of days,
Spotify Search (and Top 100...) is no longer working with the Triode
plugin. I hope this gets solved, because without Search there is no
point in having Spotify on my Squeezebox. And then I'll have to consider
going back to the CC after all.



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

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


Re: [SlimDevices: Plugins] Announce: Google Music plugin

2016-09-18 Thread Squid

I looked at the Github page and it seems like this is not supported
under Windows. What is not clear to me: is it that it won't work, or no
one ever did the job of figuring out how to get this to work on Windows
? 

apnar wrote: 
> If anyone is interested I modified larks Docker container to include all
> the dependancies needed to run this plugin:
> https://hub.docker.com/r/apnar/logitech-media-server/
> Once you fire it up you just need to add askvictor's repo URL and
> activate the plugin.

I'm not familiar with Docker, but would that allow me to run LMS with
Google Play Music support on a Windows server ?
I want to switch from Spotify to Google Play Music because Google
supports Direct Carrier Billing so I can pay my subscription with unused
phone credit. Am a bit disappointed now to learn that getting Google
Play to work with my Squeezebox is not straightforward at all,
definitely on Windows.



Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=105800

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


Re: [SlimDevices: Plugins] Listen to last.fm ??

2011-07-20 Thread Squid

I live in Belgium. But the fact is that despite the plugin being
installed, there is nowhere any sign of the Last.FM radio. I would at
least expect it to show up somewhere but then fail to work if Belgium
is not supported.

However... I now found a reference on the Last.FM forums to a plugin
called SqueezeScrobbler. That one works a bit better in the sense that
I now do get Last.FM as a separate entry in the GUI and I can choose
what radiostation to play or make my own custom one. There's one
problem left though: when starting the radio, it seems to download the
first track, shows the cover art and info, but there is simply no
sound. Google revealed more people with the same problem, but so far no
solution.


-- 
Squid

Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=2

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


[SlimDevices: Plugins] Listen to last.fm ??

2011-07-19 Thread Squid

This is driving me nuts. This is such a basic thing and I've googled and
looked for 2 hours and still can't find it.
How can I listen to Last.FM through my Squeezebox Classic ?

I notice that my Server has both the Scrobbler and Radio plugins
active. The scrobbling does work too, as I can verify on the Last.FM
website. But what I simply want to do is listen to Last.FM just like I
can on their website.
From what I read so far, it definitely seems like people are doing
this, but I simply don't find Last.FM anywhere in the Squeeze menus.
I'd expect it to appear under Internet Radios, but there is no sign of
it.


-- 
Squid

Squid's Profile: http://forums.slimdevices.com/member.php?userid=9073
View this thread: http://forums.slimdevices.com/showthread.php?t=2

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