benh wrote:
> Log with Data :: Dumper added, and debug for player.source enabled.
>
> >
Code:
--------------------
> >
> [21-04-23 14:25:01.4179] Slim::Player::StreamingController::_Stream (1210)
Song queue is now 0
> [21-04-23 14:25:01.4180] Slim::Player::StreamingController::_Stream (1213)
02:00:96:66:70:5e: preparing to stream song index 0
> [21-04-23 14:25:01.4181] Slim::Player::Song::open (360)
file:///music/Smokey%20Robinson%20&%20The%20Miracles/Solid%20Gold%20Soul%201970/01%20The%20Tears%20Of%20A%20Clown.m4a
> [21-04-23 14:25:01.4183]
SLIM::PLAYER::TRANSCODINGHELPER::GETCONVERTCOMMAND2 (383) $VAR1 = [];
> $VAR1 = [];
> [21-04-23 14:25:01.4184]
Slim::Player::TranscodingHelper::getConvertCommand2 (488) Error: Didn't find
any command matches for type: mp4
> [21-04-23 14:25:01.4184] Slim::Player::Song::open (384) seek=false time=0
canSeek=0SEEK_ERROR_TRANSCODED
> [21-04-23 14:25:01.4186]
SLIM::PLAYER::TRANSCODINGHELPER::GETCONVERTCOMMAND2 (383) $VAR1 = [];
> $VAR1 = [];
> [21-04-23 14:25:01.4186]
Slim::Player::TranscodingHelper::getConvertCommand2 (488) Error: Didn't find
any command matches for type: mp4
> [21-04-23 14:25:01.4187] Slim::Player::Song::open (415) Error: Couldn't
create command line for mp4 playback for
--------------------
> >
Right, so this is the insanity: it means that the players are saying
that they do not support any common format. When LMS does a sync group,
it builds a list of supported codecs by retaining the overlapping ones
from all players and feeds that to the transcoder to find a matching
rule. The problem is is that there is zero common codecs...
The "common" codec is done the same way, where it's a static group or a
group player.
Now, the sync group of the group player is built on the fly, but it is
build *before* the transcoding rule search happen, so I have no idea
what's happening with your system. If you feel adventurous, you can
change that function in Slim::Player::CapabilitiesHelper
Code:
--------------------
sub supportedFormats {
my $client = shift;
my @supportedformats = ();
my %formatcounter = ();
my @playergroup = $client->syncGroupActiveMembers();
foreach my $everyclient (@playergroup) {
foreach my $supported ($everyclient->formats()) {
$formatcounter{$supported}++;
}
}
use Data::Dumper;
my @list = map {$_->name} @playergroup;
Slim::Utils::Log::logger('player.source')->error(Dumper(\@list,
\%formatcounter));
foreach my $testformat ($client->formats()) {
if (($formatcounter{$testformat} || 0) == @playergroup) {
push @supportedformats, $testformat;
}
}
return @supportedformats;
}
--------------------
LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=114439
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins