Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-04 Thread elParaguayo

Yes, MAC address is sent. However, I don't think the error is my apps
because the problem is visible on the web UI even when my apps aren't
running.



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-04 Thread Michael Herger

For my own apps I use python and the command line interface. Using the
tags I can retrieve "artwork_url" for the spotify artwork for tracks in
the playlist but this tag is missing for some tracks (the same ones that
are missing the artwork in the web UI).


Are you sending a client ID (player MAC) with all your requests? The 
errors you're seeing most likely are caused by the lack of a valid 
client object.


--

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-04 Thread elParaguayo

Michael,

You may well be right, this could just be happening on the saved
playlists. I genuinely believed this happened when queuing things
directly from the Spotify app but that may not be the case. Apologies
for misleading you.

The artwork isn't shown in the web UI for some tracks so I don't think
it's an issue for my own apps.

For my own apps I use python and the command line interface. Using the
tags I can retrieve "artwork_url" for the spotify artwork for tracks in
the playlist but this tag is missing for some tracks (the same ones that
are missing the artwork in the web UI).



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-04 Thread Michael Herger

Yes. It happens with my LMS playlists but also when I just choose an
album/playlist from Spotify.


The log file snippet you mention imho comes from a call to display a 
saved playlist, NOT the currently playing list of songs. Is this correct?


Would the artwork be shown when the playlist is being played, eg. in the 
right hand side panel of the web UI?


You should probably elaborate on the "I have a couple of custom apps 
that need to access the artwork". What kind of apps? And how would they 
try to access the artwork? As pippin said, the artwork is not stored 
with the playlist and would need to be evaluated whenever the track is 
being used.


--

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-03 Thread elParaguayo

I should add that I don't remember this being a problem with squeezelite
when i used the Triode plugin. I have also recently upgraded the server
version.



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-02 Thread elParaguayo

Squeezelite.



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-02 Thread Michael Herger

[17-02-02 07:05:16.4432] Slim::Control::Request::execute (1888) Error: While trying 
to run function coderef [Slim::Control::Queries::playlistsTracksQuery]: [Can't call 
method "currentSongForUrl" on an undefined value at 
/usr/share/perl5/Slim/Plugin/SpotifyLogi/ProtocolHandler.pm line 207.


What kind of player are you using?

--

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-02 Thread elParaguayo

There are a couple of "requesting relogins" but I logged in again and
still have the same problem. It doesn't refresh all metadata.

There are also these lines

Code:

[17-02-02 07:05:16.4432] Slim::Control::Request::execute (1888) Error: 
While trying to run function coderef 
[Slim::Control::Queries::playlistsTracksQuery]: [Can't call method 
"currentSongForUrl" on an undefined value at 
/usr/share/perl5/Slim/Plugin/SpotifyLogi/ProtocolHandler.pm line 207.
  ]
  [17-02-02 07:05:16.4435] Slim::Plugin::CLI::Plugin::cli_process (634) Request 
[playlists] failed with error: Bad dispatch!
  [17-02-02 07:05:21.3716] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef [Slim::Control::Queries::playlistsTracksQuery]: 
[Can't call method "currentSongForUrl" on an undefined value at 
/usr/share/perl5/Slim/Plugin/SpotifyLogi/ProtocolHandler.pm line 207.
  ]
  [17-02-02 07:05:21.3719] Slim::Plugin::CLI::Plugin::cli_process (634) Request 
[playlists] failed with error: Bad dispatch!

but they don't appear at the times I load the playlists.



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-02 Thread Michael Herger

Did you ever take a peek at the server.log file? Anything in there?

--

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-01 Thread elParaguayo

Yes. It happens with my LMS playlists but also when I just choose an
album/playlist from Spotify.

No. It doesn't come back when it's reloaded.



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


Re: [SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-01 Thread pippin

LMS playlists?
Does it come back when you load the playlist a second time?
The metadata for remote playlist tracks is not stored permanently but
needs to be read from Spotify again which takes more time than the
server has to respond.
That's why it's usual,y missing the first time. If you re-open the
playlist (or play it), the metadata will have been read in the
background and the artwork should be back,



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App, 
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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


[SlimDevices: Plugins] Problem with Spotify Artwork

2017-02-01 Thread elParaguayo

I've got a strange issue and I'll see if I can explain it here.

I'm using the Spotify Protocol Handler plugin and the official Spotify
app on Logitech Media Server Version: 7.9.0 - 1483028105.

When I browse Spotify (using Squeezer app or web interface) I can see
all the spotify artwork. However, once I add this to my own playlist the
artwork for many tracks disappears.

I have a couple of custom apps that need to access the artwork so it's a
shame that this is getting lost.

Does anyone have any ideas what's happening?

I appreciate I've given little information here so I'm happy to provide
any other info that anyone thinks may be relevant.



elParaguayo's Profile: http://forums.slimdevices.com/member.php?userid=65009
View this thread: http://forums.slimdevices.com/showthread.php?t=106902

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