I am sorry to raise again on this subject but I sincerely believe that
there is a bug.

I had the opportunity to do the same tests on another installation
(piCorePlayer 5 instead of a personal installation based on Raspian Lite
Buster). I get exactly the same result (with the same music files and
the same "genres").

I tried to find out more. I increased the LMS server trace level. This
gives the result provided as an attachment.
30624

I did the test with two different personal genres: "cor" (genre_id 162)
and "flûte" (genre_id 177). The test with the genre "cor" begins on line
83 of the log file. The one with the genre "flûte" begins on line 1452.

At the beginning, everything goes the same way for the two genres. This
is reflected (among other things) by these lines in the log file:


Code:
--------------------
    [20-06-05 17:25:09.1344] Slim::Schema::Debug::query_start (22) SELECT 
me.id, me.name, me.namesort, me.namesearch, me.musicmagic_mixable FROM genres 
me WHERE ( me.id = ? ): '162'
  
  (...)
  
  [20-06-05 17:25:09.1593] Slim::Control::Request::dump (2375)    Result: 
[items] = [do {
  my $a = [
  {
  itemActions => {
  items => {
  command => ["randomplay", "track"],
  fixedParams => { genres => "Cor" },
  },
  play  => 'fix',
  },
  name => "Mix al\xE9atoire Genre Morceaux Cor",
  nextWindow => "nowPlaying",
  type => "play",
  },
  {
  itemActions => {
  items => { command => ["randomplay", "album"], fixedParams => 'fix' },
  play  => 'fix',
  },
  name => "Mix al\xE9atoire Genre Albums Cor",
  nextWindow => "nowPlaying",
  type => "play",
  },
  ];
  $a->[0]{itemActions}{play} = $a->[0]{itemActions}{items};
  $a->[1]{itemActions}{items}{fixedParams} = 
$a->[0]{itemActions}{items}{fixedParams};
  $a->[1]{itemActions}{play} = $a->[1]{itemActions}{items};
  $a;
  }]
  
--------------------



Code:
--------------------
    [20-06-05 17:25:38.5631] Slim::Schema::Debug::query_start (22) SELECT 
me.id, me.name, me.namesort, me.namesearch, me.musicmagic_mixable FROM genres 
me WHERE ( me.id = ? ): '177'
  
  (...)
  
  [20-06-05 17:25:38.5870] Slim::Control::Request::dump (2375)    Result: 
[items] = [do {
  my $a = [
  {
  itemActions => {
  items => {
  command => ["randomplay", "track"],
  fixedParams => { genres => "Fl%C3%BBte" },
  },
  play  => 'fix',
  },
  name => "Mix al\xE9atoire Genre Morceaux Fl\xFBte",
  nextWindow => "nowPlaying",
  type => "play",
  },
  {
  itemActions => {
  items => { command => ["randomplay", "album"], fixedParams => 'fix' },
  play  => 'fix',
  },
  name => "Mix al\xE9atoire Genre Albums Fl\xFBte",
  nextWindow => "nowPlaying",
  type => "play",
  },
  ];
  $a->[0]{itemActions}{play} = $a->[0]{itemActions}{items};
  $a->[1]{itemActions}{items}{fixedParams} = 
$a->[0]{itemActions}{items}{fixedParams};
  $a->[1]{itemActions}{play} = $a->[1]{itemActions}{items};
  $a;
  }]
  
--------------------


Then there are differences. We note that for the genre "flûte", the
random selection generated is not at all filtered by the genre (the
bug), contrary to what is done for the genre "cor".


Code:
--------------------
    [20-06-05 17:25:12.8877] Slim::Control::Request::dump (2339) Request: 
Command [cc:cc:df:45:a2:04->randomplay] cb+  (Dispatchable)
  [20-06-05 17:25:12.8888] Slim::Control::Request::dump (2343)    Param: 
[_mode] = [track]
  [20-06-05 17:25:12.8897] Slim::Control::Request::dump (2343)    Param: 
[genres] = [Cor]
  [20-06-05 17:25:12.8951] Slim::Control::Queries::_getTagDataForTracks (5580) 
_getTagDataForTracks query: SELECT tracks.id AS 'tracks.id', tracks.title AS 
'tracks.title' FROM tracks JOIN genre_track ON genre_track.track = tracks.id 
WHERE (tracks.content_type != "cpl" AND tracks.content_type != "src" AND 
tracks.content_type != "ssp" AND tracks.content_type != "dir") AND 
genre_track.genre IN (?) GROUP BY tracks.id  / [162]
--------------------



Code:
--------------------
    [20-06-05 17:25:43.8539] Slim::Control::Request::dump (2339) Request: 
Command [cc:cc:df:45:a2:04->randomplay] cb+  (Dispatchable)
  [20-06-05 17:25:43.8550] Slim::Control::Request::dump (2343)    Param: 
[_mode] = [track]
  [20-06-05 17:25:43.8559] Slim::Control::Request::dump (2343)    Param: 
[genres] = [Flûte]
  [20-06-05 17:25:43.8631] Slim::Control::Queries::_getTagDataForTracks (5580) 
_getTagDataForTracks query: SELECT tracks.id AS 'tracks.id', tracks.title AS 
'tracks.title' FROM tracks WHERE (tracks.content_type != "cpl" AND 
tracks.content_type != "src" AND tracks.content_type != "ssp" AND 
tracks.content_type != "dir")  / []
  
--------------------


At this moment, I do not know how to provide more information on this
bug. Is this enough to allow a correction? Michael?

Again, sincerely, I don't think it comes from my configuration ... But I
could be wrong ...

Thanks in advance.


+-------------------------------------------------------------------+
|Filename: server.log.zip                                           |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30624|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=112058

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to