The playlist 5oPKSs2zPrrzQTIp2lliIP shows several tracks with a
restriction on market NL.
Thanks, that's very helpful!
However, after changing this in Sync.pm I got
{
track => { is_playable => 'fix', uri =>
"spotify:track:6lFmtdoWhYyD5A8uPRUEZE" },
},
{
track => { is_playable => 'fix', uri =>
"spotify:track:63rTTYYRQUMK2JZIJ6pwXz" },
},
Notice that for both tracks is_playable is fix. So this was a no go.
That "fix" isn't the actual value, but only a hint to tell you to look
at the bottom, where it would explain what "fix" was pointing to what
actual value. It's a feature of Data::Dump. In the case of a boolean
these references don't make much sense. But if the value was another
data structure, this can save a lot of noise.
What I like about the restriction vs. is_playable is that the former
would only be given for items where there are restrictions. is_playable
OTOH is returned for each value, adding much more data to be downloaded
and processed (I have playlists with thousands of tracks, where this can
make a difference). Thanks for the pointer! I'll give that a try.
--
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins