mhsparks wrote: 
> Looks like they are retrieved but then Slim::Schema->objectForUrl is
> unable to find them. Another potential issue (?) is that my spotify
> playlists are added with audio=1, should they be audio=NULL like the
> regular playlists Michael?

audio=1 is correct

mherger wrote: 
> 
> 
> > I’m guessing Slim::Schema->objectForUrl should return them ?
> 
> Yes.
> 
> -- 
> 
> Michael

Michael, are you sure it works, the log provided by mhsparks indicates
that it doesn’t.
I’m calling it like this where url is a string from tracks.url, for
example “spotify:track:4A2OuywV9m5FS6g4Z0BizY”

Code:
--------------------
    
  
  Slim::Schema->objectForUrl({
                'url' => $url
        });
  
  
--------------------



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins&p=998836&viewfull=1#post998836)
)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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

Reply via email to