Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-04 Thread PasTim

mherger wrote: 
> > I'm bemused by your statement that Album Artists don't equate to
> > ALBUMARTIST tags, but I'd better leave that aside.
> 
> Thanks :-). This has been the topic of lengthy and heated discussions.
> 
> > BTW - How do I turn off the counts? I can't find that setting
> (sorry).
> 
> That one I can answer: Settings/Advanced/Performance/Statistics.
> 
> -- 
> 
> Michael
I was vaguely aware that the AlbumArtist issue was a heated one - best
left to fester quietly in a corner somewhere :)

Thanks for the menu info - I've turned the stats off.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. 
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.  
Also a Touch with EDO, plus spare, unused.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105268

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-04 Thread Michael Herger

I'm bemused by your statement that Album Artists don't equate to
ALBUMARTIST tags, but I'd better leave that aside.


Thanks :-). This has been the topic of lengthy and heated discussions.


BTW - How do I turn off the counts? I can't find that setting (sorry).


That one I can answer: Settings/Advanced/Performance/Statistics.

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-04 Thread PasTim

mherger wrote: 
> > I really don't understand why this distinction is made. There must
> have
> > been a reason, at some stage, but what was it?  Surely an Artist on a
> > track when there is also a different AlbumArtist is a perfectly good
> > Artist?
> 
> Yes it is. But traditionally the "artists" list only listed what was 
> considered an album artist (which is not the same as the ALBUMARTIST tag
> 
> only), and whatever you selected to show up in that list.
> 
> But now that we have the "all artists" list, too, what are you missing?
> 
> Piece of mind because you don't understand how those groups are
> counted?
> 
> > I'm still left with this slightly irritatingly weird calculation of
> > Artists on the Web GUI (and in the scan information).
> 
> If it bothers you, then you can turn of the display of those values in 
> the settings :-).
> 
> > If there really is a good reason why they are excluded, maybe you
> could
> > add an option to include them, along with Composers, Conductors etc,
> in
> > the My Music configuration.
> 
> TBH: I don't know why it is the way it is. It had grown before my times
> 
> in others heads.
> 
> -- 
> 
> Michael
I guess it all just seems rather inconsistent.  So for instance I
include 'Composers' in 'Artists' (in My Music) but Composers don't then
appear in the 'All Artists' menu, so I get another count of Artists (at
the bottom of the menu) that takes a while to comprehend.  It's all
seems rather random.

I'm bemused by your statement that Album Artists don't equate to
ALBUMARTIST tags, but I'd better leave that aside.

I'm also still puzzled as to why my attempt to add TRACKARTIST to the
artistOnlyRoles function failed.  TRACKARTIST seems to be a value
literal elsewhere, and I can find other calls to the function that add
'TRACKARTIST' as an argument, but my attempt in Schema.pm generates an
error.  I don't understand Perl, or the LMS implementation, well enough
to be able to work out why.  Never mind.

BTW - How do I turn off the counts? I can't find that setting (sorry).



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. 
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.  
Also a Touch with EDO, plus spare, unused.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105268

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-04 Thread Michael Herger

I really don't understand why this distinction is made. There must have
been a reason, at some stage, but what was it?  Surely an Artist on a
track when there is also a different AlbumArtist is a perfectly good
Artist?


Yes it is. But traditionally the "artists" list only listed what was 
considered an album artist (which is not the same as the ALBUMARTIST tag 
only), and whatever you selected to show up in that list.


But now that we have the "all artists" list, too, what are you missing? 
Piece of mind because you don't understand how those groups are counted?



I'm still left with this slightly irritatingly weird calculation of
Artists on the Web GUI (and in the scan information).


If it bothers you, then you can turn of the display of those values in 
the settings :-).



If there really is a good reason why they are excluded, maybe you could
add an option to include them, along with Composers, Conductors etc, in
the My Music configuration.


TBH: I don't know why it is the way it is. It had grown before my times 
in others heads.


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-04 Thread PasTim

mherger wrote: 
> > I tried modifying Queries.pm, artistsQuery, adding the TRACKARTIST
> role
> > to the call to artistOnlyRoles (copying a method used elsewhere in
> LMS),
> > and got the error I reported:
> 
> What exactly are trying to achieve? What's the goal of this exercise?
> 
> -- 
> 
> Michael
As far as I am concerned, what LMS calls TRACKARTISTs are real
honest-to-god Artists.  Unfortunately, several LMS features, such as the
count of Artists, and list of Artists in some menus, seem to exclude
them.  

I really don't understand why this distinction is made. There must have
been a reason, at some stage, but what was it?  Surely an Artist on a
track when there is also a different AlbumArtist is a perfectly good
Artist?  

One of the reasons I originally used CustomBrowse was to get round this
problem.  Then came the extended Browse menus (very nice they are too by
the way) so I had to make my own to add the extra artists back in.  And
I'm still left with this slightly irritatingly weird calculation of
Artists on the Web GUI (and in the scan information).

If there really is a good reason why they are excluded, maybe you could
add an option to include them, along with Composers, Conductors etc, in
the My Music configuration.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. 
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.  
Also a Touch with EDO, plus spare, unused.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105268

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-04 Thread Michael Herger

I tried modifying Queries.pm, artistsQuery, adding the TRACKARTIST role
to the call to artistOnlyRoles (copying a method used elsewhere in LMS),
and got the error I reported:


What exactly are trying to achieve? What's the goal of this exercise?

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-02 Thread Michael Herger

I've tried to understand /ResultSet/contributor.pm, and the


That's outdated code, never called in LMS itself. It could probably be 
removed...


The code we're using nowadays is in Slim/Control/Queries.pm -> 
artistsQuery(). But that's even more convoluted to cover even more use 
cases :-).


You could run LMS with the database.sql flag set to see most SQL 
queries. Then when firing up the web UI (or somewhere around the 
startup) you might see several "... totals query..." lines. But wth? The 
one for contributors is missing... I've just added it for you. Please 
make sure you get the latest code.


Here's what it _could_ be logging:

SELECT contributors.id, contributors.name, contributors.namesort FROM 
contributors JOIN contributor_album ON contributor_album.contributor = 
contributors.id WHERE (contributor_album.role IN (5,1,4,2,3,6) )


...where the numeric album roles (1-6 in this case) represent the roles 
you've chosen to be included as artists. I say _could_ be logging, 
because it also depends on your VA settings etc.


And from Slim::Schema::Contributors you can learn this:
'ARTIST'  => 1,
'COMPOSER'=> 2,
'CONDUCTOR'   => 3,
'BAND'=> 4,
'ALBUMARTIST' => 5,
'TRACKARTIST' => 6,

Good luck with your educated guessing :-)

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-03-02 Thread PasTim

I've tried to understand /ResultSet/contributor.pm, and the
countTotal routine, but my Perl skills are way too inadequate to even
know if I'm looking the the right place, let alone understand the code. 


I can see that attention is paid to the unified artists list (which I
have set on) and to the name of the 'compilation' artist (in my case
'Various'), but what the code is actually doing I can't tell.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. 
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.  
Also a Touch with EDO, plus spare, unused.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105268

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-02-28 Thread PasTim

mherger wrote: 
> > Now it's true that many contributors have more than one role. So if I
> > just count the number of unique contributor names overall I get 3437.
> 
> The count also depends on what you consider an artist. What are your 
> settings?
> 
> -- 
> 
> Michael
I've juggled with all my counts, including removing duplicates where a
contributor has more than one role, and still can't get close to the
number reported.  I'm sure there's good sound logic behind it but what
does the Artist count represent?  I'd happily look at some code if I
knew where to start.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. 
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.  
Also a Touch with EDO, plus spare, unused.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105268

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-02-28 Thread PasTim

mherger wrote: 
> > Now it's true that many contributors have more than one role. So if I
> > just count the number of unique contributor names overall I get 3437.
> 
> The count also depends on what you consider an artist. What are your 
> settings?
> 
> -- 
> 
> Michael
If you mean which tick boxes I have set for 'Artists' on the 'My Music'
tab, I include Composer, Conductor, Band/Orchestra, and have a single
configurable list.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. 
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.  
Also a Touch with EDO, plus spare, unused.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105268

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Count of Artists

2016-02-27 Thread Michael Herger

Now it's true that many contributors have more than one role. So if I
just count the number of unique contributor names overall I get 3437.


The count also depends on what you consider an artist. What are your 
settings?


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter