...
$a->{tracks}{items}[199]{album}{streamable} =
\${$a->{albums}{items}[0]{streamable}};
$a->{tracks}{items}[199]{displayable} =
\${$a->{albums}{items}[0]{displayable}};
$a->{tracks}{items}[199]{downloadable} =
\${$a->{albums}{items}[0]{displayable}};
$a->{tracks}{items}[199]{previewable} =
\${$a->{albums}{items}[0]{displayable}};
$a->{tracks}{items}[199]{purchasable} =
\${$a->{albums}{items}[0]{displayable}};
$a->{tracks}{items}[199]{sampleable} =
\${$a->{albums}{items}[0]{displayable}};
$a->{tracks}{items}[199]{streamable} =
\${$a->{albums}{items}[0]{streamable}};
$a;
}
[13-10-24 08:04:39.5841] Plugins::Qobuz::API::_get (414)
http://www.qobuz.com/api.json/0.2/album/get?album_id=0887828018567&app_id=942852567
[13-10-24 08:04:40.1516] Plugins::Qobuz::API::_get (421) found cached
response: do {
my $a = {
articles => [
{
currency => "EUR",
description => "Lossless
16 bits 44,1 kHz (FLAC, ALAC, WMA, AIFF, WAV)",
id => 18_708_731,
label => "Qualit\xE9 CD",
price => "11.99",
type => "lls",
url =>
"http://www.qobuz.com/commande/18708731",
},
{
currency => "EUR",
description => "Jusqu'\xE0
24 bits 96 kHz (FLAC, ALAC, WMA, AIFF, WAV)",
id => 18_708_732,
label => "Qualit\xE9
Studio Masters",
price => "14.99",
type => "smr",
url =>
"http://www.qobuz.com/commande/18708732",
},
],
artist => {
albums_count => 4,
id => 271_119,
name => "The Pastels",
picture => undef,
slug => "the-pastels",
},
awards => [
{
award_id => 60,
award_slug => "ammagic",
awarded_at =>
"1370037600",
name => "Album du mois
Magic",
publication_id => 5,
publication_name =>
"Magic",
publication_slug =>
"magic",
slug => "magic",
},
],
catchline => "",
composer => {
albums_count => 188_212,
id => 26_875,
name => "Compositeurs
Divers",
picture => undef,
slug =>
"compositeurs-divers",
},
copyright => "2013 Domino Recording Co
Ltd",
created_at => "1369175598",
description => "",
displayable => bless(do{\(my $o = 1)},
"JSON::XS::Boolean"),
downloadable => 'fix',
duration => 2607,
genre => {
id => 113,
name => "Alternatif et
Ind\xE9",
path => [112, 119, 113],
slug =>
"alternatif-et-inde",
},
genres_list => [
"Pop Rock",
"Pop Rock\x{2192}Rock",
"Pop
Rock\x{2192}Rock\x{2192}Alternatif et Ind\xE9",
],
id => "0887828018567",
image => {
back => undef,
large =>
"http://static.qobuz.com/images/jaquettes/0887/0887828018567_600.jpg",
small =>
"http://static.qobuz.com/images/jaquettes/0887/0887828018567_230.jpg",
thumbnail =>
"http://static.qobuz.com/images/jaquettes/0887/0887828018567_50.jpg",
},
label => {
albums_count => 620,
id => 9297,
name => "Domino Recording
Co",
slug =>
"domino-recording-co",
supplier_id => 26,
},
"maximum_technical_specifications" => "24 bits / 44.1 kHz -
Stereo",
media_count => 1,
popularity => "0.024",
previewable => 'fix',
purchasable => 'fix',
purchasable_at => "1381442400",
qobuz_id => 9_353_857,
released_at => "1369346400",
sampleable => 'fix',
streamable => bless(do{\(my $o = 0)},
"JSON::XS::Boolean"),
streamable_at => "1381442400",
title => "Slow Summits",
tracks => {
...
tracks_count => 10,
url =>
"http://www.qobuz.com/album/slow-summits-the-pastels/0887828018567",
};
$a->{downloadable} = \${$a->{displayable}};
$a->{previewable} = \${$a->{displayable}};
$a->{purchasable} = \${$a->{displayable}};
$a->{sampleable} = \${$a->{displayable}};
$a->{tracks}{items}[0]{displayable} = \${$a->{displayable}};
$a->{tracks}{items}[0]{downloadable} = \${$a->{displayable}};
....
$a->{tracks}{items}[9]{streamable} = \${$a->{streamable}};
$a;
}
[13-10-24 08:04:40.7157] Slim::Utils::Timers::__ANON__ (273) Error:
Timer Slim::Web::Cometd::__ANON__ failed: illegal file descriptor or
filehandle (either no attached file descriptor or illegal value): at
/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Networking/IO/Select.pm
line 150.
------------------------------------------------------------------------
JG Naum's Profile: http://forums.slimdevices.com/member.php?userid=22403
View this thread: http://forums.slimdevices.com/showthread.php?t=97146
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins