Author Topic: using the 'composer' tag for images gives very strange results?  (Read 4930 times)

hiccup

  • Sr. Member
  • ****
  • Posts: 7758
This is weird and confusing.

I took XBOX Music Style as a bases, and tried to generate a gallery of pictures of the 'composer' instead of the 'artist'.
  
So I only changed:

Code
<element type="Gallery" x="1" y="1" widthDock="Panel" width="-2" heightDock="Panel" height="-2" aspectRatio="zoomKeep" interval="60" tags="artist"></element>
to:

Code
<element type="Gallery" x="1" y="1" widthDock="Panel" width="-2" heightDock="Panel" height="-2" aspectRatio="zoomKeep" interval="60" tags="composer"></element>

I expected TM would then look at the contents of the 'composer' tag, and display images of that person.

But I get: houses, walls, lakes, windows, plaques, furniture and whatnot.
But no portraits of the composer?

Very funny, but even more confusing.
How can I get the results I would like?
Last Edit: December 07, 2017, 07:49:07 AM by hiccup

hiccup

  • Sr. Member
  • ****
  • Posts: 7758
To illustrate it a bit better, these are some typical images it generates.
None of them being a nice and flattering portrait of good old Bach.

(the composer tag is populated here with: johann sebastian bach)


Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34296
looking at the code, the way its been implemented is
Code
<element type="Gallery" x="1" y="1" widthDock="Panel" width="-2" heightDock="Panel" height="-2" aspectRatio="zoomKeep" interval="60" tags="artist" artistType="composer"></element>

hiccup

  • Sr. Member
  • ****
  • Posts: 7758
Yes, I noticed that being an option for Pictures.

Could it be it isn't working for Gallery?

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34296

hiccup

  • Sr. Member
  • ****
  • Posts: 7758
Yes, and I am getting slightly better results by now.

But the results are very mixed and far from perfect.
I now mostly get images from artists (performers), and only sometimes from the composer.
So it doesn't seem to strictly source from the 'composer' tag?

(and when it indeed shows the composer, it sometimes will still be a photograph of a statue of him, but that might be more difficult to avoid)

Are there other settings or tagging aspects this is depending on that might be influencing the results?
(I'd hate the culprit of this strictly being on my side)


edit:

This is the xml I am using to test this:

Code
<?xml version="1.0" encoding="utf-8"?>
<root>
<settings enableScaling="true" />
<element type="Gallery" x="100" y="100" width="600" height="300" aspectRatio="zoomKeep" interval="31" tags="artist" artistType="composer"></element>
</root>


edit:
Never mind, I'm no longer pursuing this.
Last Edit: December 07, 2017, 07:49:29 AM by hiccup

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34296
I think the plugin falls back to the artist picture if none is found for the composer ie. if the behavior was changed, you would have no picture at all in the cases where the artist picture is being displayed or only one or two composer pictures repeated