Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Strange Images at networked mode #52

Closed
GoogleCodeExporter opened this issue Apr 25, 2015 · 65 comments
Closed

Strange Images at networked mode #52

GoogleCodeExporter opened this issue Apr 25, 2015 · 65 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Ubuntu http mode.
2. Cantata may cosult last.fm
3. Some covers are incorrect and even strange.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Ubuntu 12.04 qt-only(r1388)

Please provide any additional information below.
Some have correct image at ~/.cache/cantata/cover/Artist,
Some don't have any Artist folder and image,
at above cases, strange image shows like below screen-shot.

Original issue reported on code.google.com by parkm...@gmail.com on 17 Aug 2012 at 1:43

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I found some differences between Linux and Windows client version.
I tested Cantata at Ubuntu where the MPD and lighttpd server is running without 
music folder setting to simulate networked mode and I'm not sure it's correct.
Linux seems to find correct covers from Last.fm while Windows don't.
Linus display odd image like above and the latest Windows version from you 
treats this properly.
Therefore please apply the improvements of the latest Windows version to Linux 
as well.

Original comment by parkm...@gmail.com on 17 Aug 2012 at 2:37

@GoogleCodeExporter
Copy link
Author

One more wonderful finding!
Linux version works find with local covers with http://localhost/ setting in 
music folder.
If advantages of Windows and mostly Linux are implemented, it would be great!

Original comment by parkm...@gmail.com on 17 Aug 2012 at 3:00

@GoogleCodeExporter
Copy link
Author

To make it clear,

                | Last.fm Fetch | Local Covers |
Linux Version   |       0K!     |      0K!     | => Several Odd Images unlike 
Windows
Windows Version | NG(Partially) |      NG!     |

Original comment by parkm...@gmail.com on 17 Aug 2012 at 7:12

@GoogleCodeExporter
Copy link
Author

What does NG mean? Not Good??? NO improvements have been made to cover fetching 
from last.fm! You are already using the latest source, so there cant be any 
changes in the windows version that are not in Linux - the source is the SAME.

If last.fm is returning strange covers, you could try manually. Try the 
following URL:

http://ws.audioscrobbler.com/2.0/?method=album.getinfo&api_key=b25b959554ed76058
ac220b7b2e0a026&artist=Cher&album=Believe

Replace 'Cher' with your artist, and 'Believe' with the album name. Cantata 
uses the image URL listed under 'image size="extralarge"'

If windows works for some, linux for others, etc. then it *might* be due to an 
encoding issue on your system.

Original comment by craig.p....@gmail.com on 17 Aug 2012 at 10:40

@GoogleCodeExporter
Copy link
Author

I think the conclusion is that the same code results in different in Linux and 
Windows while Linux works much better.
The last.fm fetch seems to fine in Linux and I see the correct covers in cache 
folder but only strange pictures show.
I would like you to try Windows client and get more feedback on this.
Ignore this and make this issue invalid cause I do not want you bother you 
anymore with this.

Original comment by parkm...@gmail.com on 17 Aug 2012 at 12:58

@GoogleCodeExporter
Copy link
Author

I would've liked to have resolved this issue. 

I asked for you to try the manual last.fm URL above, so that we could see if 
you get odd images when you use that. Or at least if the URL returns different 
images for you then me.

Still, if this issue is no big deal for you - and it works for me. Then I'll 
close as invalid.

Original comment by craig.p....@gmail.com on 21 Aug 2012 at 9:17

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Once again, Windows version properly display the cover image while Linux 
doesn't even though correct covers are found at the cache folder. it's odd!

Original comment by parkm...@gmail.com on 21 Aug 2012 at 10:00

@GoogleCodeExporter
Copy link
Author

FYI, odd images show up at lightspeed and those seems not to coming from 
last.fm.

Original comment by parkm...@gmail.com on 21 Aug 2012 at 10:53

@GoogleCodeExporter
Copy link
Author

Try "버스커 버스커" for Korean artist and album with the same name.
Last.fm finds the artist and album however it does not show properly for me.
Copy "버스커 버스커" and paste it to last.fm and tag editor.

Original comment by parkm...@gmail.com on 22 Aug 2012 at 2:47

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

FYI

Original comment by parkm...@gmail.com on 22 Aug 2012 at 2:56

Attachments:

@GoogleCodeExporter
Copy link
Author

FYI

Original comment by parkm...@gmail.com on 22 Aug 2012 at 3:04

Attachments:

@GoogleCodeExporter
Copy link
Author

Oh, I just found that the year does not show correctly at the above picture.
All is 2012 however it show 777 ???

Original comment by parkm...@gmail.com on 22 Aug 2012 at 3:09

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

There's no folder and picture named "버스커 버스커" in the cache.
Am I possessed by ghosts?

Original comment by parkm...@gmail.com on 22 Aug 2012 at 7:45

@GoogleCodeExporter
Copy link
Author

This is the one of them.

Original comment by parkm...@gmail.com on 22 Aug 2012 at 7:55

Attachments:

@GoogleCodeExporter
Copy link
Author

Only cantata internal tag editor reads 777 for the year while Nautilus, Easytag 
and Kid3-qt reads 2012 correctly.

Original comment by parkm...@gmail.com on 22 Aug 2012 at 8:00

@GoogleCodeExporter
Copy link
Author

I tried several albums to check this.
버스커 버스커 - Wrong Image
버스커 버스커 1집 - Wrong Image
버스커 버스커 1집 마무리 - OK!
서울사람들 - OK!
슈퍼스타K 3 Top11 Part 7 - OK!

Original comment by parkm...@gmail.com on 22 Aug 2012 at 8:14

@GoogleCodeExporter
Copy link
Author

FYI

Original comment by parkm...@gmail.com on 22 Aug 2012 at 8:24

Attachments:

@GoogleCodeExporter
Copy link
Author

Date issue:----------------------

In the ID3v2 tags of the attached MP3, the date seems to contain the month and 
day. This is confusing Cantata, as it expects only the year. I have fixed this 
so as to read just the first 4 characters. However, this will not affect the 
fetching of covers.

Covers:--------------------------

The attached MP3 had an embedded cover, and this showed up fine in Cantata. I 
used eyeD3 to REMOVE the image fro the MP3 - so as to test last.fm via Cantata. 
I unchecked cantata's 'store cover in music path' option, and restarted 
Cantata. This forced it to download a cover from last.fm, and store this as 
"~/.cache/cantata/covers/버스커 버스커/버스커 버스커.png" Upon 
restarting catata, the cached cover was used. This cached cover is the SAME as 
that listed as the "extralarge" cover in the following last.fm query:

http://ws.audioscrobbler.com/2.0/?method=album.getinfo&api_key=b25b959554ed76058
ac220b7b2e0a026&artist=버스커 버스커&버스커 버스커&album=버스커 
버스커&버스커 버스커

This was all under Linux. I've since run Cantata under windows, pointing to my 
MPD on Linux. This again downloaded the cover from last.fm and stored it as 
"C:\Users\%USER%\AppData\Local\mpd\cantata\cache\covers\버스커 
버스커\버스커 버스커.png"

To check HTTP cover fetching from windows to a Linux HTTP server (lighthttpd) I 
placed the attached MP3 into the following folder:

    /var/lib/mpd/music/버스커 버스커/버스커 버스커

In here I also placed a 'cover.jpg' file - that I had edited by hand so that I 
could ensure that the correct file was being used. (As an aside, the edited 
cover appeared fine in Cantata under Linux). To ensure lighthttpd was working 
ok, I confirmed the correct cover was retrieved in firefox using the URL: 
http://127.0.0.1/music/버스커 버스커/버스커 버스커/cover.jpg

In windows, I setup cantata to use "http:/<linux address>/music/" as the MPD 
folder. I then stopped Cantata, and deleted all entries in 
"C:\Users\%USER%\AppData\Local\mpd\cantata\cache\covers" Restarted cantata, and 
my edited cover was downloaded. This confirms that that HTTP fetch works.  (As 
an aside, the MPD dir when specified as http:// NEEDS to end with a slash)


So, all of the above confirms that for MY system with that ONE MP3:

1. Embedded covers works on Linux
2. Last.fm fetch works on Linux AND Windows
3. Retrieving the correct cover from MPD works on Linux
4. Fetching from cache works on Linux AND Windows
5. Fetching cover from Linux via HTTP works under Windows


.....................

So, does the attached MP3 download its cover ok for you? If yes - please remove 
it and attach one where the cover fails.

To attempt to find out what is going wrong on your system, I have added some 
debug to the cover fetching code. Please do the following:

1. copy the attached covers.cpp into the 'gui' sub-folder of your Cantata 
source checkout, and rebuild Cantata.
2. Start cantata end select 'Library' page
3. Stop cantata
4. Delete any cached images in "~/.cache/cantata/covers"
5. Clear any konsole output
6. Start cantata (from a konsole window). (The reason for the start/stop is 
that I only want to see the debug for the affected song - and want to ensure 
you are on the library page)
7. In the library page (which should have been selected at start-up) - navigate 
to the artist that has the incorrect image. (Please only do this for 1 artist, 
with preferably 1 missing image - to reduce the amount of debug!)

Please attach the konsole output to this bug report, and indicate the filename 
of the song with the incorrect cover.



[ I have changed the state of this report to STARTED - as you now seem to want 
to provide more info :-) ]

Original comment by craig.p....@gmail.com on 23 Aug 2012 at 11:15

  • Changed state: Started

Attachments:

@GoogleCodeExporter
Copy link
Author

Date seems to show correctly.
Following you, I removed all the tags including cover and just input the basic 
information such as artist and album with Kid3-qt.
Last.fm fetch does not work and still odd image shows.
FYI, library artist shows well and only albums cover has problem for me.

My debug message will follow in another comment.

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:25

@GoogleCodeExporter
Copy link
Author

It's the debug message of library which works fine.

parkmino@ubuntu:~$ cantata
"(098 버스커 버스커 - 꽃송이가.mp3) GET IMAGE 098 버스커 버스커 
- 꽃송이가.mp3" 
"(098 버스커 버스커 - 꽃송이가.mp3) DOWNLOAD COVER" 
"(098 버스커 버스커 - 꽃송이가.mp3) TRY last.fm" 
"(098 버스커 버스커 - 꽃송이가.mp3) GOT LAST.FM REPSONSE:<?xml 
version="1.0" encoding="utf-8"?>
<lfm status="ok">
<artist>
  <name>버스커 버스커</name>
          <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>
        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
  <image size="small">http://userserve-ak.last.fm/serve/34/76195146.png</image>
  <image size="medium">http://userserve-ak.last.fm/serve/64/76195146.png</image>
  <image size="large">http://userserve-ak.last.fm/serve/126/76195146.png</image>
  <image size="extralarge">http://userserve-ak.last.fm/serve/252/76195146.png</image>
  <image size="mega">http://userserve-ak.last.fm/serve/500/76195146/buskerbusker.png</image>
  <streamable>0</streamable>
  <stats>
    <listeners>3016</listeners>
    <playcount>181208</playcount>
      </stats>

  <similar>
        <artist>
      <name>울랄라세션</name>
      <url>http://www.last.fm/music/%EC%9A%B8%EB%9E%84%EB%9D%BC%EC%84%B8%EC%85%98</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/77815962.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/77815962.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/77815962.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/77815962.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/77815962/ULALA04.png</image>

                </artist>
    <artist>
      <name>투개월</name>
      <url>http://www.last.fm/music/%ED%88%AC%EA%B0%9C%EC%9B%94</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/70869560.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/70869560.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/70869560.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/70869560.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/70869560/2monthspng.png</image>

                </artist>
    <artist>
      <name>노을</name>
      <url>http://www.last.fm/music/%EB%85%B8%EC%9D%84</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/7002.jpg</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/7002.jpg</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/7002.jpg</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/7002.jpg</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/7002.jpg</image>

                </artist>
    <artist>
      <name>허각</name>
      <url>http://www.last.fm/music/%ED%97%88%EA%B0%81</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/54362365.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/54362365.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/54362365.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/54362365.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/54362365.png</image>

                </artist>
    <artist>
      <name>이영현</name>
      <url>http://www.last.fm/music/%EC%9D%B4%EC%98%81%ED%98%84</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/69840434.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/69840434.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/69840434.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/69840434.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/69840434/png.png</image>

                </artist>
  </similar>
    <tags>
        <tag>
      <name>korean</name>
      <url>http://www.last.fm/tag/korean</url>
    </tag>
        <tag>
      <name>k-pop</name>
      <url>http://www.last.fm/tag/k-pop</url>
    </tag>
        <tag>
      <name>indie</name>
      <url>http://www.last.fm/tag/indie</url>
    </tag>
        <tag>
      <name>k-rock</name>
      <url>http://www.last.fm/tag/k-rock</url>
    </tag>
        <tag>
      <name>male vocalists</name>
      <url>http://www.last.fm/tag/male%20vocalists</url>
    </tag>
      </tags>
      <bio>
    <published>Tue, 1 May 2012 09:26:41 +0000</published>
    <summary><![CDATA[Busker Busker (Hangul: 버스커 버스커) is a Korean indie band, most famous for their runner-up performance in the Korean music audition tel Their members consist of guitarist and vocalist Beom-June Jang (Hangul: 장범준), bassist Hyung-Tae Kim (Hangul: 김형태) and drummer Brad Moore(full name: Bradley Ray Moore).  Their first Studio Album \'Busker Busker\' released in March 29, 2012,and its lead single "벚꽃 엔딩(Cherry Blossom Ending) " was great hit in south korea]]></summary>
    <content><![CDATA[Busker Busker (Hangul: 버스커 버스커) is a Korean indie band, most famous for their runner-up performance in the Korean music audition tel Their members consist of guitarist and vocalist Beom-June Jang (Hangul: 장범준), bassist Hyung-Tae Kim (Hangul: 김형태) and drummer Brad Moore(full name: Bradl Their first Studio Album \'Busker Busker\' released in March 29, 2012,and its lead single "벚꽃 엔딩(Cherry Blossom Ending) " was great hit in south korea

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
  </bio>
  </artist></lfm>
" 
"(098 버스커 버스커 - 꽃송이가.mp3) READ 
URL:http://userserve-ak.last.fm/serve/252/76195146.png" 
"(098 버스커 버스커 - 꽃송이가.mp3) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/252/76195146.png" 
"(098 버스커 버스커 - 꽃송이가.mp3) GOT IMAGE NEED TO SCALE" 


Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:26

@GoogleCodeExporter
Copy link
Author

It's the debug message of albums which does not works well.

parkmino@ubuntu:~$ cantata
"(098 버스커 버스커 - 꽃송이가.mp3) GET IMAGE 098 버스커 버스커 
- 꽃송이가.mp3" 
"(098 버스커 버스커 - 꽃송이가.mp3) ATTEMPT TO READ IMAGE FROM CACHE" 
"(098 버스커 버스커 - 꽃송이가.mp3) ATTEMPT TO READ IMAGE FROM 
Amarok/Clementine" 
"(098 버스커 버스커 - 꽃송이가.mp3) FOUND IMAGE IN Amarok/Clementine: 
/home/parkmino/.config//Clementine/albumcovers/cf2ee8a28fae057535ff51d601591b856
672161d.jpg" 


Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:29

@GoogleCodeExporter
Copy link
Author

There seems to be some wrong reference of Clemetine which are not is use any 
more.
I removed ~/.config/Clemetine folders and it finally works fine like following. 

parkmino@ubuntu:~$ cantata
"(098 버스커 버스커 - 꽃송이가.mp3) GET IMAGE 098 버스커 버스커 
- 꽃송이가.mp3" 
"(098 버스커 버스커 - 꽃송이가.mp3) ATTEMPT TO READ IMAGE FROM CACHE" 
"(098 버스커 버스커 - 꽃송이가.mp3) ATTEMPT TO READ IMAGE FROM 
Amarok/Clementine" 
"(098 버스커 버스커 - 꽃송이가.mp3) DOWNLOAD COVER" 
"(098 버스커 버스커 - 꽃송이가.mp3) TRY last.fm" 
"(098 버스커 버스커 - 꽃송이가.mp3) GOT LAST.FM REPSONSE:<?xml 
version="1.0" encoding="utf-8"?>
<lfm status="ok">
<album>
    <name>버스커 버스커</name>
    <artist>버스커 버스커</artist>
    <id>292056689</id>
            <mbid>2dbe4f62-99ea-4440-b3e6-35817c91c919</mbid>
        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    <releasedate>    </releasedate>
    <image size="small">http://userserve-ak.last.fm/serve/34s/76128474.png</image>
    <image size="medium">http://userserve-ak.last.fm/serve/64s/76128474.png</image>
    <image size="large">http://userserve-ak.last.fm/serve/174s/76128474.png</image>
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/76128474.png</image>
    <image size="mega">http://userserve-ak.last.fm/serve/_/76128474.png</image>
        <listeners>449</listeners>
    <playcount>18856</playcount>
        <tracks>
                    <track rank="1">
    <name>봄바람</name>
    <duration>106</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EB%B4%84%EB%B0%94%EB%9E%8C</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="2">
    <name>첫사랑</name>
    <duration>209</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EC%B2%AB%EC%82%AC%EB%9E%91</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="3">
    <name>여수 밤바다</name>
    <duration>280</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EC%97%AC%EC%88%98+%EB%B0%A4%EB%B0%94%EB%8B%A4</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="4">
    <name>벚꽃 엔딩</name>
    <duration>260</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EB%B2%9A%EA%BD%83+%EC%97%94%EB%94%A9</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="5">
    <name>이상형</name>
    <duration>204</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EC%9D%B4%EC%83%81%ED%98%95</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="6">
    <name>외로움증폭장치 (브래드 드럼 한판 쉬기)</name>
    <duration>183</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EC%99%B8%EB%A1%9C%EC%9B%80%EC%A6%9D%ED%8F%AD%EC%9E%A5%EC%B9%98+(%EB%B8%8C%EB%9E%98%EB%93%9C+%EB%93%9C%EB%9F%BC+%ED%95%9C%ED%8C%90+%EC%89%AC%EA%B8%B0)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="7">
    <name>골목길</name>
    <duration>36</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EA%B3%A8%EB%AA%A9%EA%B8%B8</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="8">
    <name>골목길 어귀에서</name>
    <duration>196</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EA%B3%A8%EB%AA%A9%EA%B8%B8+%EC%96%B4%EA%B7%80%EC%97%90%EC%84%9C</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="9">
    <name>전활 거네</name>
    <duration>191</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EC%A0%84%ED%99%9C+%EA%B1%B0%EB%84%A4</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="10">
    <name>꽃송이가</name>
    <duration>203</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%EA%BD%83%EC%86%A1%EC%9D%B4%EA%B0%80</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>                <track rank="11">
    <name>향수</name>
    <duration>219</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4/_/%ED%96%A5%EC%88%98</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>버스커 버스커</name>
                <mbid>910242e8-0ab8-41f5-9d56-eb8f2461e491</mbid>

        <url>http://www.last.fm/music/%EB%B2%84%EC%8A%A4%EC%BB%A4+%EB%B2%84%EC%8A%A4%EC%BB%A4</url>
    </artist>
    </track>        </tracks>
    <toptags>
        <tag>
      <name>busker busker</name>
      <url>http://www.last.fm/tag/busker%20busker</url>
    </tag>
      </toptags>
         <wiki>
        <published>Sun, 15 Apr 2012 04:15:56 +0000</published>
        <summary><![CDATA[\'Busker Busker\' is Busker Busker`s debut album,It was released in March 29, 2012  it was peaked #1 at gaon Weekly album chart,and 벚꽃 엔딩(Cherry Blossom Ending) was peaked #1 at gaon weekly single chart,Billboa 6.외로움증폭장치 (브래드 드럼 한판 쉬기)/Loneliness Amplifier (Excluding Brad\' ]]></summary>
        <content><![CDATA[\'Busker Busker\' is Busker Busker`s debut album,It wa it was peaked #1 at gaon Weekly album chart,and 벚꽃 엔딩(Cherry Blossom Ending 6.외로움증폭장치 (브래드 드럼 한판 쉬기)/Loneliness Amplifier (Excluding Brad\' 10.향수/Perfume lower u  Alley 

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
      </wiki>
    </album></lfm>
" 
"(098 버스커 버스커 - 꽃송이가.mp3) READ 
URL:http://userserve-ak.last.fm/serve/300x300/76128474.png" 
"(098 버스커 버스커 - 꽃송이가.mp3) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/300x300/76128474.png" 
"(098 버스커 버스커 - 꽃송이가.mp3) GOT IMAGE NEED TO SCALE" 
"(098 버스커 버스커 - 꽃송이가.mp3) GOT COVER 
/home/parkmino/.cache/cantata/covers/버스커 버스커/버스커 
버스커.png" 


Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:34

@GoogleCodeExporter
Copy link
Author

Thanks a lot for your trial and summary.
This issue should be closed and I attach the final confirmation shot! ;-)
Good Day!!!

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:38

Attachments:

@GoogleCodeExporter
Copy link
Author

c:\cantata.log file just has been generated along with dbg file.

Original comment by parkm...@gmail.com on 24 Aug 2012 at 11:38

@GoogleCodeExporter
Copy link
Author

I placed a song from Phil Collins' Love Songs.
In Windows, library tab first and albums later.
Last.fm fetching seems to fine however nothing shows.


(01 - Tearing And Breaking.flac) GET IMAGE 01 - Tearing And Breaking.flac
(01 - Tearing And Breaking.flac) DOWNLOAD COVER
(01 - Tearing And Breaking.flac) TRY last.fm
(01 - Tearing And Breaking.flac) GET IMAGE 01 - Tearing And Breaking.flac
(01 - Tearing And Breaking.flac) ATTEMPT TO READ IMAGE FROM CACHE
(01 - Tearing And Breaking.flac) DOWNLOAD COVER
(01 - Tearing And Breaking.flac) TRY http: http://192.168.12.83/01 - Tearing 
And Breaking.flac/cover.jpg
(01 - Tearing And Breaking.flac) GOT LAST.FM REPSONSE:<?xml version="1.0" 
encoding="utf-8"?>
<lfm status="ok">
<artist>
  <name>Phil Collins</name>
          <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>
        <url>http://www.last.fm/music/Phil+Collins</url>
  <image size="small">http://userserve-ak.last.fm/serve/34/529942.jpg</image>
  <image size="medium">http://userserve-ak.last.fm/serve/64/529942.jpg</image>
  <image size="large">http://userserve-ak.last.fm/serve/126/529942.jpg</image>
  <image size="extralarge">http://userserve-ak.last.fm/serve/252/529942.jpg</image>
  <image size="mega">http://userserve-ak.last.fm/serve/_/529942/Phil+Collins.jpg</image>
  <streamable>1</streamable>
  <stats>
    <listeners>1305655</listeners>
    <playcount>18679321</playcount>
      </stats>

  <similar>
        <artist>
      <name>Genesis</name>
      <url>http://www.last.fm/music/Genesis</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57849673.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57849673.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57849673.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57849673.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/57849673/Genesis.png</image>

                </artist>
    <artist>
      <name>Mike & The Mechanics</name>
      <url>http://www.last.fm/music/Mike+&+The+Mechanics</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57142699.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57142699.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57142699.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57142699.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/57142699/Mike++The+Mechanics+PNG.png</image>

                </artist>
    <artist>
      <name>Bryan Adams</name>
      <url>http://www.last.fm/music/Bryan+Adams</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/40597049.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/40597049.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/40597049.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/40597049.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/40597049/Bryan+Adams+bryanadamsPNG+Version.png</image>

                </artist>
    <artist>
      <name>Peter Gabriel</name>
      <url>http://www.last.fm/music/Peter+Gabriel</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/58718657.jpg</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/58718657.jpg</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/58718657.jpg</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/58718657.jpg</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/58718657/Peter+Gabriel.jpg</image>

                </artist>
    <artist>
      <name>Lionel Richie</name>
      <url>http://www.last.fm/music/Lionel+Richie</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/75494808.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/75494808.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/75494808.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/75494808.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/75494808/Lionel+Richie+png.png</image>

                </artist>
  </similar>
    <tags>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>80s</name>
      <url>http://www.last.fm/tag/80s</url>
    </tag>
        <tag>
      <name>rock</name>
      <url>http://www.last.fm/tag/rock</url>
    </tag>
        <tag>
      <name>classic rock</name>
      <url>http://www.last.fm/tag/classic%20rock</url>
    </tag>
        <tag>
      <name>soft rock</name>
      <url>http://www.last.fm/tag/soft%20rock</url>
    </tag>
      </tags>
      <bio>
    <published>Mon, 13 Aug 2012 01:15:34 +0000</published>
    <summary><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.  Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis.]]></summary>
    <content><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.

 Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis. His singles, often dealing with lost love, ranged from the atmospheric <a title="Phil Collins – In The Air Tonight" href="http://www.last.fm/music/Phil+Collins/_/In+The+Air+Tonight" class="bbcode_track">In The Air Tonight</a>, to the dance pop of <a title="Phil Collins – Sussudio" href="http://www.last.fm/music/Phil+Collins/_/Sussudio" class="bbcode_track">Sussudio</a>, to the political statements of his most successful song, "Another Day in Paradise". His international popularity transformed Genesis from a progressive rock group to a regular on the pop charts and an early MTV mainstay. According to britishhitsongwriters.com he is the forty-eighth most successful songwriter in U.K. singles chart history based on weeks that his compositions have spent on the chart.

 Collins\' professional career began as a drummer, first with obscure rock group Flaming Youth and then more famously with Genesis. In Genesis, Collins originally supplied backing vocals for front man Peter Gabriel, singing lead on only two songs: "For Absent Friends" from 1971\'s Nursery Cryme album and "More Fool Me" from Selling England by the Pound, which was released in 1973. On Gabriel\'s departure in 1975, Collins became the group\'s lead singer. As the decade closed, Genesis\' first international hit, "Follow You, Follow Me", demonstrated a drastic change from the band\'s early years.

 His concurrent solo career, heavily influenced by his personal life, brought both him and Genesis commercial success. According to Atlantic Records, Collins\' total worldwide sales as a solo artist, as of 2002, were 150 million.

 Phil Collins, announced in March 2011 that he is retiring from the music business. "I am stopping so I can be a full time father to my two young sons on a daily basis," Phil Collins wrote on his website. He refers to his two sons, Nicholas and Matthew, with his third wife Orianne Cevey, whom he divorced in 2008.

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
  </bio>
  </artist></lfm>

(01 - Tearing And Breaking.flac) READ 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac) GOT NUL FOR JPG, TRY PNG
(01 - Tearing And Breaking.flac) TRY http: http://192.168.12.83/01 - Tearing 
And Breaking.flac/cover.png
(01 - Tearing And Breaking.flac) OK, TRIED ALL HTTP NEED TO DO LAST.FM
(01 - Tearing And Breaking.flac) TRY last.fm
(01 - Tearing And Breaking.flac) GOT LAST.FM REPSONSE:<?xml version="1.0" 
encoding="utf-8"?>
<lfm status="ok">
<album>
    <name>Love Songs</name>
    <artist>Phil Collins</artist>
    <id>2412573</id>
            <mbid></mbid>
        <url>http://www.last.fm/music/Phil+Collins/Love+Songs</url>
    <releasedate>    9 Jun 2005, 00:00</releasedate>
    <image size="small">http://userserve-ak.last.fm/serve/34s/55723627.jpg</image>
    <image size="medium">http://userserve-ak.last.fm/serve/64s/55723627.jpg</image>
    <image size="large">http://userserve-ak.last.fm/serve/174s/55723627.jpg</image>
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/55723627.jpg</image>
    <image size="mega">http://userserve-ak.last.fm/serve/_/55723627/Love+Songs+loves.jpg</image>
        <listeners>40131</listeners>
    <playcount>230606</playcount>
        <tracks>
                    <track rank="1">
    <name>Tearing and Breaking</name>
    <duration>331</duration>

            <mbid>e777b699-1e52-403b-ac49-fb375791fa39</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Tearing+and+Breaking</url>
    <streamable fulltrack="0">1</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="2">
    <name>Do You Remember?</name>
    <duration>274</duration>

            <mbid>546ac0af-9319-4a5c-9ced-c6c73ac52ee0</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Do+You+Remember%3F</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="3">
    <name>One More Night</name>
    <duration>288</duration>

            <mbid>0f14b7dd-21f4-4952-a3cf-c3d8e4d372d4</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/One+More+Night</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="4">
    <name>Against All Odds (Take A Look At Me Now)</name>
    <duration>202</duration>

            <mbid>05cc5f83-f0d1-4317-899e-85dbd7aeac9d</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Against+All+Odds+(Take+A+Look+At+Me+Now)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="5">
    <name>Can\'t Turn Back The Years</name>
    <duration>279</duration>

            <mbid>70622277-d011-40e0-9877-ebb9962ec7d4</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Can%27t+Turn+Back+The+Years</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="6">
    <name>A Groovy Kind Of Love</name>
    <duration>209</duration>

            <mbid>04760a3a-98b4-495a-88d5-3b89794a4234</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/A+Groovy+Kind+Of+Love</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="7">
    <name>Everyday</name>
    <duration>342</duration>

            <mbid>167f97e0-3fd4-4164-a022-66594fd1aae0</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Everyday</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="8">
    <name>Don\'t Let Him Steal Your Heart Away</name>
    <duration>284</duration>

            <mbid>4ce7f4ac-13a1-4a36-8dd4-5c98f18a723c</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Don%27t+Let+Him+Steal+Your+Heart+Away</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="9">
    <name>Please Come Out Tonight</name>
    <duration>345</duration>

            <mbid>c80ad2a5-6232-45a0-b9de-b8cd274f1fa1</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Please+Come+Out+Tonight</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="10">
    <name>This Must Be Love</name>
    <duration>235</duration>

            <mbid>0521012a-f1c3-43a6-870b-6a5c47409115</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/This+Must+Be+Love</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="11">
    <name>It\'s in Your Eyes</name>
    <duration>182</duration>

            <mbid>00bfcb12-cb50-420b-a513-0d81ca6b287b</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/It%27s+in+Your+Eyes</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="12">
    <name>Can\'t Stop Loving You</name>
    <duration>256</duration>

            <mbid>155a71a4-37e4-4993-8473-1e107cf02548</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Can%27t+Stop+Loving+You</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="13">
    <name>Testify</name>
    <duration>388</duration>

            <mbid>5c85f581-8859-4453-9140-f17b1ed5da85</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Testify</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="14">
    <name>True Colours (Rehearsal)</name>
    <duration>330</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/True+Colours+(Rehearsal)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="15">
    <name>You\'ll Be In My Heart</name>
    <duration>258</duration>

            <mbid>0050a3dc-78e2-4cf7-ab1e-14b2c4c9884a</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/You%27ll+Be+In+My+Heart</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="16">
    <name>If Leaving Me Is Easy</name>
    <duration>294</duration>

            <mbid>1b4396f1-0e5a-4722-b8f4-755f79699f01</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/If+Leaving+Me+Is+Easy</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="17">
    <name>I\'ve Been Trying</name>
    <duration>299</duration>

            <mbid>d31bced1-c8e6-4606-b562-bce97adaa0d8</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/I%27ve+Been+Trying</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="18">
    <name>I\'ve Forgotten Everything</name>
    <duration>314</duration>

            <mbid>964ca540-1a51-420c-9cf2-1e4d197786bc</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/I%27ve+Forgotten+Everything</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="19">
    <name>Somewhere</name>
    <duration>240</duration>

            <mbid>15567844-0bc8-417c-b606-7e0d9c2619e3</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Somewhere</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="20">
    <name>The Least You Can Do</name>
    <duration>259</duration>

            <mbid>501699e5-f9cb-4cde-8a59-98b2ee009bcd</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/The+Least+You+Can+Do</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="21">
    <name>Two Hearts</name>
    <duration>204</duration>

            <mbid>01cdff9f-0067-4d1a-92a1-a3383dc9508c</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Two+Hearts</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="22">
    <name>Separate Lives (live)</name>
    <duration>315</duration>

            <mbid>a485391e-86f2-41c5-937b-18a2ce0351db</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Separate+Lives+(live)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="23">
    <name>My Girl (live)</name>
    <duration>222</duration>

            <mbid>5531e785-f2df-41de-8daf-3b28a35f13d7</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/My+Girl+(live)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="24">
    <name>Always (live)</name>
    <duration>270</duration>

            <mbid>0c99d285-9d53-4dea-9f95-3a9dda048ef1</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Always+(live)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="25">
    <name>The Way You Look Tonight (Live Version)</name>
    <duration>238</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/+noredirect/Phil+Collins/_/The+Way+You+Look+Tonight+(Live+Version)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>        </tracks>
    <toptags>
        <tag>
      <name>love</name>
      <url>http://www.last.fm/tag/love</url>
    </tag>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>phil love songs</name>
      <url>http://www.last.fm/tag/phil%20love%20songs</url>
    </tag>
        <tag>
      <name>soft rock</name>
      <url>http://www.last.fm/tag/soft%20rock</url>
    </tag>
        <tag>
      <name>pop rock</name>
      <url>http://www.last.fm/tag/pop%20rock</url>
    </tag>
      </toptags>
   </album></lfm>

(01 - Tearing And Breaking.flac) READ 
URL:http://userserve-ak.last.fm/serve/300x300/55723627.jpg
(01 - Tearing And Breaking.flac) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/300x300/55723627.jpg
(01 - Tearing And Breaking.flac) FAILED TO GET IMAGE

Original comment by parkm...@gmail.com on 24 Aug 2012 at 11:57

@GoogleCodeExporter
Copy link
Author

I place the cover.jpg according to the debug message and now available at web 
browser.
However cantata does not find the cover file.
http://192.168.12.83/01%20-%20Tearing%20And%20Breaking.flac/cover.jpg

Original comment by parkm...@gmail.com on 24 Aug 2012 at 12:09

@GoogleCodeExporter
Copy link
Author

I Love You by 2NE1 succeeds like followings.

(003 2NE1 - I Love You.mp3) GET IMAGE 003 2NE1 - I Love You.mp3
(003 2NE1 - I Love You.mp3) ATTEMPT TO READ IMAGE FROM CACHE
(003 2NE1 - I Love You.mp3) DOWNLOAD COVER
(003 2NE1 - I Love You.mp3) TRY http: http://192.168.12.83/003 2NE1 - I Love 
You.mp3/cover.jpg
(003 2NE1 - I Love You.mp3) GOT NUL FOR JPG, TRY PNG
(003 2NE1 - I Love You.mp3) TRY http: http://192.168.12.83/003 2NE1 - I Love 
You.mp3/cover.png
(003 2NE1 - I Love You.mp3) OK, TRIED ALL HTTP NEED TO DO LAST.FM
(003 2NE1 - I Love You.mp3) TRY last.fm
(003 2NE1 - I Love You.mp3) GOT LAST.FM REPSONSE:<?xml version="1.0" 
encoding="utf-8"?>
<lfm status="ok">
<album>
    <name>I Love You</name>
    <artist>2NE1</artist>
    <id>309267631</id>
            <mbid>1754aa1e-e6e2-4670-9061-00b8052b86c8</mbid>
        <url>http://www.last.fm/music/2NE1/I+Love+You</url>
    <releasedate>    5 Jul 2012, 00:00</releasedate>
    <image size="small">http://userserve-ak.last.fm/serve/34s/79706415.png</image>
    <image size="medium">http://userserve-ak.last.fm/serve/64s/79706415.png</image>
    <image size="large">http://userserve-ak.last.fm/serve/174s/79706415.png</image>
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/79706415.png</image>
    <image size="mega">http://userserve-ak.last.fm/serve/_/79706415/I+Love+You++HQ+PNG.png</image>
        <listeners>5158</listeners>
    <playcount>158896</playcount>
        <tracks>
                    <track rank="1">
    <name>I Love You</name>
    <duration>237</duration>

            <mbid>8e2fd6c3-9ec1-44f0-825f-bf790b18314d</mbid>


    <url>http://www.last.fm/music/2NE1/_/I+Love+You</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>2NE1</name>
                <mbid>e119e5ff-0de0-421c-a630-0516c6acede8</mbid>

        <url>http://www.last.fm/music/2NE1</url>
    </artist>
    </track>        </tracks>
    <toptags>
      </toptags>
   </album></lfm>

(003 2NE1 - I Love You.mp3) READ 
URL:http://userserve-ak.last.fm/serve/300x300/79706415.png
(003 2NE1 - I Love You.mp3) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/300x300/79706415.png
(003 2NE1 - I Love You.mp3) GOT IMAGE NEED TO SCALE
(003 2NE1 - I Love You.mp3) GOT COVER 
C:\Users\Administrator\AppData\Local\mpd\cantata\cache\covers\2NE1\I Love 
You.png
(003 2NE1 - I Love You.mp3) GET IMAGE 003 2NE1 - I Love You.mp3
(003 2NE1 - I Love You.mp3) DOWNLOAD COVER
(003 2NE1 - I Love You.mp3) TRY last.fm
(003 2NE1 - I Love You.mp3) GOT LAST.FM REPSONSE:<?xml version="1.0" 
encoding="utf-8"?>
<lfm status="ok">
<artist>
  <name>2NE1</name>
          <mbid>e119e5ff-0de0-421c-a630-0516c6acede8</mbid>
        <url>http://www.last.fm/music/2NE1</url>
  <image size="small">http://userserve-ak.last.fm/serve/34/79682265.png</image>
  <image size="medium">http://userserve-ak.last.fm/serve/64/79682265.png</image>
  <image size="large">http://userserve-ak.last.fm/serve/126/79682265.png</image>
  <image size="extralarge">http://userserve-ak.last.fm/serve/252/79682265.png</image>
  <image size="mega">http://userserve-ak.last.fm/serve/_/79682265/2NE1+I+Love+You.png</image>
  <streamable>1</streamable>
  <stats>
    <listeners>103329</listeners>
    <playcount>10680457</playcount>
      </stats>

  <similar>
        <artist>
      <name>BIG BANG</name>
      <url>http://www.last.fm/music/BIG+BANG</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/80590821.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/80590821.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/80590821.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/80590821.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/80590821/BIG+BANG+BIGBANG+ALIVE+MAKING+COLLECTIO.png</image>

                </artist>
    <artist>
      <name>박봄</name>
      <url>http://www.last.fm/music/%EB%B0%95%EB%B4%84</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/79792561.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/79792561.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/79792561.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/79792561.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/79792561/Dont+Cry++02.png</image>

                </artist>
    <artist>
      <name>4Minute</name>
      <url>http://www.last.fm/music/4Minute</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/79864071.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/79864071.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/79864071.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/79864071.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/79864071/4Minute+LoveTension.png</image>

                </artist>
    <artist>
      <name>G-Dragon</name>
      <url>http://www.last.fm/music/G-Dragon</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/58935957.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/58935957.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/58935957.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/58935957.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/58935957/GDragon+_BBisback_.png</image>

                </artist>
    <artist>
      <name>GD&TOP</name>
      <url>http://www.last.fm/music/GD&TOP</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/63851953.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/63851953.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/63851953.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/63851953.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/63851953/GDTOP+png.png</image>

                </artist>
  </similar>
    <tags>
        <tag>
      <name>k-pop</name>
      <url>http://www.last.fm/tag/k-pop</url>
    </tag>
        <tag>
      <name>korean</name>
      <url>http://www.last.fm/tag/korean</url>
    </tag>
        <tag>
      <name>dance</name>
      <url>http://www.last.fm/tag/dance</url>
    </tag>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>yg family</name>
      <url>http://www.last.fm/tag/yg%20family</url>
    </tag>
      </tags>
      <bio>
    <published>Sat, 28 Jul 2012 11:28:11 +0000</published>
    <summary><![CDATA[2NE1 (Korean: 투애니원; pronounced "to anyone" or "twenty-one"), formerly known as 21, is a South Korean group under <a href="http://www.last.fm/label/YG+Entertainment+Inc." class="bbcode_label">YG Entertainment Inc.</a> in 2009. Previously promoted as “female <a href="http://www.last.fm/music/BIG+BANG" class="bbcode_artist">BIG BANG</a>" and 21, YG officially stopped using the name 21 because another Korean musical group was using the same name. 2NE1 is supposed to stand for "New Evolution of the 21st Century": "NE" meaning "New Evolution" and "21" standing for the "21st Century."  ]]></summary>
    <content><![CDATA[2NE1 (Korean: 투애니원; pronounced "to anyone" or "twenty-one"), formerly known as 21, is a South Korean group under <a href="http://www.last.fm/label/YG+Entertainment+Inc." class="bbcode_label">YG Entertainment Inc.</a> in 2009. Previously promoted as “female <a href="http://www.last.fm/music/BIG+BANG" class="bbcode_artist">BIG BANG</a>" and 21, YG officially stopped using the name 21 because another Korean musical group was using the same name. 2NE1 is supposed to stand for "New Evolution of the 21st Century": "NE" meaning "New Evolution" and "21" standing for the "21st Century."

 2NE1 has released a promotional song featuring the group <a href="http://www.last.fm/music/BIG+BANG" class="bbcode_artist">BIG BANG</a> called <a title="2NE1 – Lollipop" href="http://www.last.fm/music/2NE1/_/Lollipop" class="bbcode_track">Lollipop</a>. The song was released as a promotional song for the CYON cellular phone Lollipop. Although it was not a promoted single (as it was an advertisement song, there were problems with network chart eligibility), "Lollipop" proved to be a strong chart hit, going to #1 on various online charts and topping music television network M.Net\'s online chart for four weeks in a row. However, despite this, the group did not officially debut until May. On May 6th, they released their debut digital single, <a title="2NE1 – Fire" href="http://www.last.fm/music/2NE1/_/Fire" class="bbcode_track">Fire</a> . The group released 2 music videos for the single, one known as the "space version" and the other known as the "street version. They then released a self-titled mini-album and promoted their hit "I Don\'t Care" followed by "Pretty Boy." Both songs received much success. 

 In August 2010, YG Entertainment  founder, Yang Hyun Suk, announced that 2NE1 will promote three title tracks for their first full length album, <a title="2NE1 - To Anyone" href="http://www.last.fm/music/2NE1/To+Anyone" class="bbcode_album">To Anyone</a>. In addition, three music videos would be produced, filmed, and released for the tracks. The album would be released on September 9, 2010.

 Two days before the release of the album, the pre-orders for the copies of the album were very high. <a href="http://www.last.fm/label/YG+Entertainment" class="bbcode_label">YG Entertainment</a> stated that the pre-orders for the album have already reached around 120,000 copies surpassing the amount of sales made by their previous mini-album which only sold around 100,000 copies in total.

 Music videos for <a title="2NE1 – 박수쳐" href="http://www.last.fm/music/2NE1/_/%EB%B0%95%EC%88%98%EC%B3%90" class="bbcode_track">박수쳐</a> and <a title="2NE1 – Go Away" href="http://www.last.fm/music/2NE1/_/Go+Away" class="bbcode_track">Go Away</a> were released on September 9 and 10, respectively.<a title="2NE1 – Can\'t Nobody" href="http://www.last.fm/music/2NE1/_/Can%27t+Nobody" class="bbcode_track">Can\'t Nobody</a> was originally scheduled to be released on September 11, 2010 but was instead unveiled on September 12.

 2NE1 held their comeback stage of Korean music program Inkigayo on September 12. They performed their three title tracks, <a title="2NE1 – 박수쳐" href="http://www.last.fm/music/2NE1/_/%EB%B0%95%EC%88%98%EC%B3%90" class="bbcode_track">박수쳐</a>, <a title="2NE1 – Go Away" href="http://www.last.fm/music/2NE1/_/Go+Away" class="bbcode_track">Go Away</a>, and <a title="2NE1 – Can\'t Nobody" href="http://www.last.fm/music/2NE1/_/Can%27t+Nobody" class="bbcode_track">Can\'t Nobody</a>. The performances were recorded early in the day so they could perform at the Hallyu Dream Concert in Gyeongju later in the evening.

 According to a <a href="http://www.last.fm/label/YG+Entertainment" class="bbcode_label">YG Entertainment</a> representative, promotions for the album alone cost the company a total of $850,195

 2NE1  is made up of 4 members. All 4 girls have been YG Trainees and have been preparing for their debut for 4 years. 

 • <a href="http://www.last.fm/music/CL" class="bbcode_artist">CL</a> (Leader, Rapper, Vocalist)
 Real Name: Lee Chae Rin (이채린)
 Date of Birth: February 26, 1991 (1991-02-26) (age 19)
 •CL\'s name is not only the initials of her first name and last name but also a nickname thought up by both <a href="http://www.last.fm/music/+noredirect/Tae+Yang" class="bbcode_artist">Tae Yang</a> of <a href="http://www.last.fm/music/BIG+BANG" class="bbcode_artist">BIG BANG</a> and <a href="http://www.last.fm/music/CL" class="bbcode_artist">CL</a>.  Since when you pronounce CL\'s name it means "sky" in french.

 • <a href="http://www.last.fm/music/%EB%B0%95%EB%B4%84" class="bbcode_artist">박봄</a> (BOM / Park Bom) (Lead Vocalist)
 Real Name: Park Bom (박봄)
 Birth date: March 24, 1984 (1984-03-24) (age 27)

 • <a href="http://www.last.fm/music/%EA%B3%B5%EB%AF%BC%EC%A7%80" class="bbcode_artist">공민지</a> (MINZY / Gong Min Ji) (Rapper, Vocalist, Maknae)
 Real Name: Gong Minji (공민지)
 Date of Birth: January 18, 1994 (1994-01-18) (age 17)

 • <a href="http://www.last.fm/music/%EC%82%B0%EB%8B%A4%EB%9D%BC" class="bbcode_artist">산다라</a> (DARA / Sandara Park) (Vocalist)
 Real Name: Sandara Park (박산다라)
 Date of Birth: November 12, 1984 (1984-11-12) (age 26)

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
  </bio>
  </artist></lfm>

(003 2NE1 - I Love You.mp3) READ 
URL:http://userserve-ak.last.fm/serve/252/79682265.png
(003 2NE1 - I Love You.mp3) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/252/79682265.png
(003 2NE1 - I Love You.mp3) GOT IMAGE NEED TO SCALE

Original comment by parkm...@gmail.com on 24 Aug 2012 at 12:16

@GoogleCodeExporter
Copy link
Author

Right, you are downloading artist images and album images at the same time - 
which makes the debug a bit confusing (cant tell which is which.). However, 
this did lead me to notice an error in the code - when checking if Cantata was 
already looking for an image, it wasn't checking the image type. So, if 
downloading an aritist image, when you try to download an album cover - the 
code goes "dont do this, as i'm already getting that cover" (but its the other 
one). This should be fixed now. I've also changed the debug to output if its 
ARTIST or ALBUM image that the debug refers to.


As to not fetching via HTTP - its looking for 
"http://192.168.12.83/01%20-%20Tearing%20And%20Breaking.flac/cover.jpg" This 
would imply that if your MPD dir is /var/lib/music, that the file its looking 
for is "/var/lib/music/01 - Tearing And Breaking.flac/cover.jpg" (do you really 
have a DIRECTORY called "/var/lib/music/01 - Tearing And Breaking.flac" ??) I'm 
guessing not, and your flac is in the root mpd dir (/var/lib/music). The 
Cantata function to get just the dir name from the song filepath is failing - 
as there is no dir! I've fixed this to use "/" in this case.

Please try the attached.

Original comment by craig.p....@gmail.com on 24 Aug 2012 at 12:38

Attachments:

@GoogleCodeExporter
Copy link
Author

Unfortunately there's no improvement in artist and album cover showing.
It's not a debug verion, is it?

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:09

@GoogleCodeExporter
Copy link
Author

Turing back to the previous debug mode, I stick to the one file at library.
I waited several minutes but no cover shows and no further progress. 

(01 - Tearing And Breaking.flac) GET IMAGE 01 - Tearing And Breaking.flac
(01 - Tearing And Breaking.flac) DOWNLOAD COVER
(01 - Tearing And Breaking.flac) TRY last.fm
(01 - Tearing And Breaking.flac) GOT LAST.FM REPSONSE:<?xml version="1.0" 
encoding="utf-8"?>
<lfm status="ok">
<artist>
  <name>Phil Collins</name>
          <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>
        <url>http://www.last.fm/music/Phil+Collins</url>
  <image size="small">http://userserve-ak.last.fm/serve/34/529942.jpg</image>
  <image size="medium">http://userserve-ak.last.fm/serve/64/529942.jpg</image>
  <image size="large">http://userserve-ak.last.fm/serve/126/529942.jpg</image>
  <image size="extralarge">http://userserve-ak.last.fm/serve/252/529942.jpg</image>
  <image size="mega">http://userserve-ak.last.fm/serve/_/529942/Phil+Collins.jpg</image>
  <streamable>1</streamable>
  <stats>
    <listeners>1305655</listeners>
    <playcount>18679321</playcount>
      </stats>

  <similar>
        <artist>
      <name>Genesis</name>
      <url>http://www.last.fm/music/Genesis</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57849673.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57849673.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57849673.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57849673.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/57849673/Genesis.png</image>

                </artist>
    <artist>
      <name>Mike & The Mechanics</name>
      <url>http://www.last.fm/music/Mike+&+The+Mechanics</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57142699.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57142699.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57142699.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57142699.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/57142699/Mike++The+Mechanics+PNG.png</image>

                </artist>
    <artist>
      <name>Bryan Adams</name>
      <url>http://www.last.fm/music/Bryan+Adams</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/40597049.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/40597049.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/40597049.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/40597049.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/40597049/Bryan+Adams+bryanadamsPNG+Version.png</image>

                </artist>
    <artist>
      <name>Peter Gabriel</name>
      <url>http://www.last.fm/music/Peter+Gabriel</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/58718657.jpg</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/58718657.jpg</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/58718657.jpg</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/58718657.jpg</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/58718657/Peter+Gabriel.jpg</image>

                </artist>
    <artist>
      <name>Lionel Richie</name>
      <url>http://www.last.fm/music/Lionel+Richie</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/75494808.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/75494808.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/75494808.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/75494808.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/75494808/Lionel+Richie+png.png</image>

                </artist>
  </similar>
    <tags>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>80s</name>
      <url>http://www.last.fm/tag/80s</url>
    </tag>
        <tag>
      <name>rock</name>
      <url>http://www.last.fm/tag/rock</url>
    </tag>
        <tag>
      <name>classic rock</name>
      <url>http://www.last.fm/tag/classic%20rock</url>
    </tag>
        <tag>
      <name>soft rock</name>
      <url>http://www.last.fm/tag/soft%20rock</url>
    </tag>
      </tags>
      <bio>
    <published>Mon, 13 Aug 2012 01:15:34 +0000</published>
    <summary><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.  Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis.]]></summary>
    <content><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.

 Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis. His singles, often dealing with lost love, ranged from the atmospheric <a title="Phil Collins – In The Air Tonight" href="http://www.last.fm/music/Phil+Collins/_/In+The+Air+Tonight" class="bbcode_track">In The Air Tonight</a>, to the dance pop of <a title="Phil Collins – Sussudio" href="http://www.last.fm/music/Phil+Collins/_/Sussudio" class="bbcode_track">Sussudio</a>, to the political statements of his most successful song, "Another Day in Paradise". His international popularity transformed Genesis from a progressive rock group to a regular on the pop charts and an early MTV mainstay. According to britishhitsongwriters.com he is the forty-eighth most successful songwriter in U.K. singles chart history based on weeks that his compositions have spent on the chart.

 Collins\' professional career began as a drummer, first with obscure rock group Flaming Youth and then more famously with Genesis. In Genesis, Collins originally supplied backing vocals for front man Peter Gabriel, singing lead on only two songs: "For Absent Friends" from 1971\'s Nursery Cryme album and "More Fool Me" from Selling England by the Pound, which was released in 1973. On Gabriel\'s departure in 1975, Collins became the group\'s lead singer. As the decade closed, Genesis\' first international hit, "Follow You, Follow Me", demonstrated a drastic change from the band\'s early years.

 His concurrent solo career, heavily influenced by his personal life, brought both him and Genesis commercial success. According to Atlantic Records, Collins\' total worldwide sales as a solo artist, as of 2002, were 150 million.

 Phil Collins, announced in March 2011 that he is retiring from the music business. "I am stopping so I can be a full time father to my two young sons on a daily basis," Phil Collins wrote on his website. He refers to his two sons, Nicholas and Matthew, with his third wife Orianne Cevey, whom he divorced in 2008.

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
  </bio>
  </artist></lfm>

(01 - Tearing And Breaking.flac) READ 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:15

@GoogleCodeExporter
Copy link
Author

My file location wass /var/lib/mpd/music/01 - Tearing And 
Breaking.flac/cover.jpg

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:18

@GoogleCodeExporter
Copy link
Author

It should log the debug as before. The log file should be in 
C:\Users\%USER%\AppData\Local\mpd\cantata\cache\DEBUG\cantata.log  (You are 
definitely running catata-test2.exe?)  This new debug should have lines such as:

(Phil Collins/Love Songs/x.mp3 ARTIST) GET IMAGE Phil Collins/Love Songs/x.mp3

Note the ARTIST/ALBUM in the bracketed section.

Original comment by craig.p....@gmail.com on 24 Aug 2012 at 1:19

@GoogleCodeExporter
Copy link
Author

OK and location changed.
It's artist tab and no image shows.

(01 - Tearing And Breaking.flac ARTIST) GET IMAGE 01 - Tearing And Breaking.flac
(01 - Tearing And Breaking.flac) DOWNLOAD COVER
(01 - Tearing And Breaking.flac ARTIST) TRY last.fm
(01 - Tearing And Breaking.flac ARTIST) CREATE LAST.FM JOB 64243848
INFO JOB 64243848
(01 - Tearing And Breaking.flac ARTIST) GOT LAST.FM REPSONSE:<?xml 
version="1.0" encoding="utf-8"?>
<lfm status="ok">
<artist>
  <name>Phil Collins</name>
          <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>
        <url>http://www.last.fm/music/Phil+Collins</url>
  <image size="small">http://userserve-ak.last.fm/serve/34/529942.jpg</image>
  <image size="medium">http://userserve-ak.last.fm/serve/64/529942.jpg</image>
  <image size="large">http://userserve-ak.last.fm/serve/126/529942.jpg</image>
  <image size="extralarge">http://userserve-ak.last.fm/serve/252/529942.jpg</image>
  <image size="mega">http://userserve-ak.last.fm/serve/_/529942/Phil+Collins.jpg</image>
  <streamable>1</streamable>
  <stats>
    <listeners>1305655</listeners>
    <playcount>18679321</playcount>
      </stats>

  <similar>
        <artist>
      <name>Genesis</name>
      <url>http://www.last.fm/music/Genesis</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57849673.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57849673.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57849673.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57849673.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/57849673/Genesis.png</image>

                </artist>
    <artist>
      <name>Mike & The Mechanics</name>
      <url>http://www.last.fm/music/Mike+&+The+Mechanics</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57142699.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57142699.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57142699.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57142699.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/57142699/Mike++The+Mechanics+PNG.png</image>

                </artist>
    <artist>
      <name>Bryan Adams</name>
      <url>http://www.last.fm/music/Bryan+Adams</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/40597049.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/40597049.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/40597049.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/40597049.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/40597049/Bryan+Adams+bryanadamsPNG+Version.png</image>

                </artist>
    <artist>
      <name>Peter Gabriel</name>
      <url>http://www.last.fm/music/Peter+Gabriel</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/58718657.jpg</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/58718657.jpg</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/58718657.jpg</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/58718657.jpg</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/58718657/Peter+Gabriel.jpg</image>

                </artist>
    <artist>
      <name>Lionel Richie</name>
      <url>http://www.last.fm/music/Lionel+Richie</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/75494808.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/75494808.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/75494808.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/75494808.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/75494808/Lionel+Richie+png.png</image>

                </artist>
  </similar>
    <tags>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>80s</name>
      <url>http://www.last.fm/tag/80s</url>
    </tag>
        <tag>
      <name>rock</name>
      <url>http://www.last.fm/tag/rock</url>
    </tag>
        <tag>
      <name>classic rock</name>
      <url>http://www.last.fm/tag/classic%20rock</url>
    </tag>
        <tag>
      <name>soft rock</name>
      <url>http://www.last.fm/tag/soft%20rock</url>
    </tag>
      </tags>
      <bio>
    <published>Mon, 13 Aug 2012 01:15:34 +0000</published>
    <summary><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.  Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis.]]></summary>
    <content><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.

 Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis. His singles, often dealing with lost love, ranged from the atmospheric <a title="Phil Collins – In The Air Tonight" href="http://www.last.fm/music/Phil+Collins/_/In+The+Air+Tonight" class="bbcode_track">In The Air Tonight</a>, to the dance pop of <a title="Phil Collins – Sussudio" href="http://www.last.fm/music/Phil+Collins/_/Sussudio" class="bbcode_track">Sussudio</a>, to the political statements of his most successful song, "Another Day in Paradise". His international popularity transformed Genesis from a progressive rock group to a regular on the pop charts and an early MTV mainstay. According to britishhitsongwriters.com he is the forty-eighth most successful songwriter in U.K. singles chart history based on weeks that his compositions have spent on the chart.

 Collins\' professional career began as a drummer, first with obscure rock group Flaming Youth and then more famously with Genesis. In Genesis, Collins originally supplied backing vocals for front man Peter Gabriel, singing lead on only two songs: "For Absent Friends" from 1971\'s Nursery Cryme album and "More Fool Me" from Selling England by the Pound, which was released in 1973. On Gabriel\'s departure in 1975, Collins became the group\'s lead singer. As the decade closed, Genesis\' first international hit, "Follow You, Follow Me", demonstrated a drastic change from the band\'s early years.

 His concurrent solo career, heavily influenced by his personal life, brought both him and Genesis commercial success. According to Atlantic Records, Collins\' total worldwide sales as a solo artist, as of 2002, were 150 million.

 Phil Collins, announced in March 2011 that he is retiring from the music business. "I am stopping so I can be a full time father to my two young sons on a daily basis," Phil Collins wrote on his website. He refers to his two sons, Nicholas and Matthew, with his third wife Orianne Cevey, whom he divorced in 2008.

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
  </bio>
  </artist></lfm>

(01 - Tearing And Breaking.flac ARTIST) READ 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac ARTIST) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac ARTIST) FETCH VIA LAST.FM JOB 106628504
GOT RESPONSE FOR JOB 106628504
(01 - Tearing And Breaking.flac ARTIST) GOT ARTIST 

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:29

@GoogleCodeExporter
Copy link
Author

My concern is not showing some artist and album covers unlike Linux.
No matter how long I wait for one file staying at one tab.

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:36

@GoogleCodeExporter
Copy link
Author

Albums tab

(01 - Tearing And Breaking.flac ALBUM) GET IMAGE 01 - Tearing And Breaking.flac
(01 - Tearing And Breaking.flac ALBUM) ATTEMPT TO READ IMAGE FROM CACHE
(01 - Tearing And Breaking.flac) DOWNLOAD COVER
(01 - Tearing And Breaking.flac ALBUM) TRY http: http://192.168.12.83//cover.jpg
(01 - Tearing And Breaking.flac ALBUM) CREATE HTTP JOB 64768528
GOT RESPONSE FOR JOB 64768528
(01 - Tearing And Breaking.flac ALBUM) GOT NUL FOR JPG, TRY PNG
(01 - Tearing And Breaking.flac ALBUM) TRY http: http://192.168.12.83//cover.png
(01 - Tearing And Breaking.flac ALBUM) CREATE HTTP JOB 111270008
GOT RESPONSE FOR JOB 111270008
(01 - Tearing And Breaking.flac ALBUM) OK, TRIED ALL HTTP NEED TO DO LAST.FM
(01 - Tearing And Breaking.flac ALBUM) TRY last.fm
(01 - Tearing And Breaking.flac ALBUM) CREATE LAST.FM JOB 111269944
INFO JOB 111269944
(01 - Tearing And Breaking.flac ALBUM) GOT LAST.FM REPSONSE:<?xml version="1.0" 
encoding="utf-8"?>
<lfm status="ok">
<album>
    <name>Love Songs</name>
    <artist>Phil Collins</artist>
    <id>2412573</id>
            <mbid></mbid>
        <url>http://www.last.fm/music/Phil+Collins/Love+Songs</url>
    <releasedate>    9 Jun 2005, 00:00</releasedate>
    <image size="small">http://userserve-ak.last.fm/serve/34s/55723627.jpg</image>
    <image size="medium">http://userserve-ak.last.fm/serve/64s/55723627.jpg</image>
    <image size="large">http://userserve-ak.last.fm/serve/174s/55723627.jpg</image>
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/55723627.jpg</image>
    <image size="mega">http://userserve-ak.last.fm/serve/_/55723627/Love+Songs+loves.jpg</image>
        <listeners>40131</listeners>
    <playcount>230606</playcount>
        <tracks>
                    <track rank="1">
    <name>Tearing and Breaking</name>
    <duration>331</duration>

            <mbid>e777b699-1e52-403b-ac49-fb375791fa39</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Tearing+and+Breaking</url>
    <streamable fulltrack="0">1</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="2">
    <name>Do You Remember?</name>
    <duration>274</duration>

            <mbid>546ac0af-9319-4a5c-9ced-c6c73ac52ee0</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Do+You+Remember%3F</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="3">
    <name>One More Night</name>
    <duration>288</duration>

            <mbid>0f14b7dd-21f4-4952-a3cf-c3d8e4d372d4</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/One+More+Night</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="4">
    <name>Against All Odds (Take A Look At Me Now)</name>
    <duration>202</duration>

            <mbid>05cc5f83-f0d1-4317-899e-85dbd7aeac9d</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Against+All+Odds+(Take+A+Look+At+Me+Now)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="5">
    <name>Can\'t Turn Back The Years</name>
    <duration>279</duration>

            <mbid>70622277-d011-40e0-9877-ebb9962ec7d4</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Can%27t+Turn+Back+The+Years</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="6">
    <name>A Groovy Kind Of Love</name>
    <duration>209</duration>

            <mbid>04760a3a-98b4-495a-88d5-3b89794a4234</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/A+Groovy+Kind+Of+Love</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="7">
    <name>Everyday</name>
    <duration>342</duration>

            <mbid>167f97e0-3fd4-4164-a022-66594fd1aae0</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Everyday</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="8">
    <name>Don\'t Let Him Steal Your Heart Away</name>
    <duration>284</duration>

            <mbid>4ce7f4ac-13a1-4a36-8dd4-5c98f18a723c</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Don%27t+Let+Him+Steal+Your+Heart+Away</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="9">
    <name>Please Come Out Tonight</name>
    <duration>345</duration>

            <mbid>c80ad2a5-6232-45a0-b9de-b8cd274f1fa1</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Please+Come+Out+Tonight</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="10">
    <name>This Must Be Love</name>
    <duration>235</duration>

            <mbid>0521012a-f1c3-43a6-870b-6a5c47409115</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/This+Must+Be+Love</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="11">
    <name>It\'s in Your Eyes</name>
    <duration>182</duration>

            <mbid>00bfcb12-cb50-420b-a513-0d81ca6b287b</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/It%27s+in+Your+Eyes</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="12">
    <name>Can\'t Stop Loving You</name>
    <duration>256</duration>

            <mbid>155a71a4-37e4-4993-8473-1e107cf02548</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Can%27t+Stop+Loving+You</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="13">
    <name>Testify</name>
    <duration>388</duration>

            <mbid>5c85f581-8859-4453-9140-f17b1ed5da85</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Testify</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="14">
    <name>True Colours (Rehearsal)</name>
    <duration>330</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/True+Colours+(Rehearsal)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="15">
    <name>You\'ll Be In My Heart</name>
    <duration>258</duration>

            <mbid>0050a3dc-78e2-4cf7-ab1e-14b2c4c9884a</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/You%27ll+Be+In+My+Heart</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="16">
    <name>If Leaving Me Is Easy</name>
    <duration>294</duration>

            <mbid>1b4396f1-0e5a-4722-b8f4-755f79699f01</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/If+Leaving+Me+Is+Easy</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="17">
    <name>I\'ve Been Trying</name>
    <duration>299</duration>

            <mbid>d31bced1-c8e6-4606-b562-bce97adaa0d8</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/I%27ve+Been+Trying</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="18">
    <name>I\'ve Forgotten Everything</name>
    <duration>314</duration>

            <mbid>964ca540-1a51-420c-9cf2-1e4d197786bc</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/I%27ve+Forgotten+Everything</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="19">
    <name>Somewhere</name>
    <duration>240</duration>

            <mbid>15567844-0bc8-417c-b606-7e0d9c2619e3</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Somewhere</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="20">
    <name>The Least You Can Do</name>
    <duration>259</duration>

            <mbid>501699e5-f9cb-4cde-8a59-98b2ee009bcd</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/The+Least+You+Can+Do</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="21">
    <name>Two Hearts</name>
    <duration>204</duration>

            <mbid>01cdff9f-0067-4d1a-92a1-a3383dc9508c</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Two+Hearts</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="22">
    <name>Separate Lives (live)</name>
    <duration>315</duration>

            <mbid>a485391e-86f2-41c5-937b-18a2ce0351db</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Separate+Lives+(live)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="23">
    <name>My Girl (live)</name>
    <duration>222</duration>

            <mbid>5531e785-f2df-41de-8daf-3b28a35f13d7</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/My+Girl+(live)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="24">
    <name>Always (live)</name>
    <duration>270</duration>

            <mbid>0c99d285-9d53-4dea-9f95-3a9dda048ef1</mbid>


    <url>http://www.last.fm/music/Phil+Collins/_/Always+(live)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>                <track rank="25">
    <name>The Way You Look Tonight (Live Version)</name>
    <duration>238</duration>

            <mbid></mbid>


    <url>http://www.last.fm/music/+noredirect/Phil+Collins/_/The+Way+You+Look+Tonight+(Live+Version)</url>
    <streamable fulltrack="0">0</streamable>
            <artist>
        <name>Phil Collins</name>
                <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>

        <url>http://www.last.fm/music/Phil+Collins</url>
    </artist>
    </track>        </tracks>
    <toptags>
        <tag>
      <name>love</name>
      <url>http://www.last.fm/tag/love</url>
    </tag>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>phil love songs</name>
      <url>http://www.last.fm/tag/phil%20love%20songs</url>
    </tag>
        <tag>
      <name>soft rock</name>
      <url>http://www.last.fm/tag/soft%20rock</url>
    </tag>
        <tag>
      <name>pop rock</name>
      <url>http://www.last.fm/tag/pop%20rock</url>
    </tag>
      </toptags>
   </album></lfm>

(01 - Tearing And Breaking.flac ALBUM) READ 
URL:http://userserve-ak.last.fm/serve/300x300/55723627.jpg
(01 - Tearing And Breaking.flac ALBUM) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/300x300/55723627.jpg
(01 - Tearing And Breaking.flac ALBUM) FETCH VIA LAST.FM JOB 111338200
GOT RESPONSE FOR JOB 111338200
(01 - Tearing And Breaking.flac ALBUM) FAILED TO GET IMAGE

Original comment by parkm...@gmail.com on 24 Aug 2012 at 1:53

@GoogleCodeExporter
Copy link
Author

Try the attached. It should make no difference to the fetching, just logs a 
little more.

Than fact that your log has:

GOT RESPONSE FOR JOB 106628504
(01 - Tearing And Breaking.flac ARTIST) GOT ARTIST 

...tells me the image was downloaded, by QImage failed to recognize it.

Original comment by craig.p....@gmail.com on 24 Aug 2012 at 1:55

Attachments:

@GoogleCodeExporter
Copy link
Author

Still no image... IMAGE IS NULL???

(01 - Tearing And Breaking.flac ARTIST) GET IMAGE 01 - Tearing And Breaking.flac
(01 - Tearing And Breaking.flac) DOWNLOAD COVER
(01 - Tearing And Breaking.flac ARTIST) TRY last.fm
(01 - Tearing And Breaking.flac ARTIST) CREATE LAST.FM JOB 64491680
INFO JOB 64491680
(01 - Tearing And Breaking.flac ARTIST) GOT LAST.FM REPSONSE:<?xml 
version="1.0" encoding="utf-8"?>
<lfm status="ok">
<artist>
  <name>Phil Collins</name>
          <mbid>401c3991-b76b-499d-8082-9f2df958ef78</mbid>
        <url>http://www.last.fm/music/Phil+Collins</url>
  <image size="small">http://userserve-ak.last.fm/serve/34/529942.jpg</image>
  <image size="medium">http://userserve-ak.last.fm/serve/64/529942.jpg</image>
  <image size="large">http://userserve-ak.last.fm/serve/126/529942.jpg</image>
  <image size="extralarge">http://userserve-ak.last.fm/serve/252/529942.jpg</image>
  <image size="mega">http://userserve-ak.last.fm/serve/_/529942/Phil+Collins.jpg</image>
  <streamable>1</streamable>
  <stats>
    <listeners>1305655</listeners>
    <playcount>18679321</playcount>
      </stats>

  <similar>
        <artist>
      <name>Genesis</name>
      <url>http://www.last.fm/music/Genesis</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57849673.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57849673.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57849673.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57849673.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/57849673/Genesis.png</image>

                </artist>
    <artist>
      <name>Mike & The Mechanics</name>
      <url>http://www.last.fm/music/Mike+&+The+Mechanics</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/57142699.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/57142699.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/57142699.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/57142699.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/_/57142699/Mike++The+Mechanics+PNG.png</image>

                </artist>
    <artist>
      <name>Bryan Adams</name>
      <url>http://www.last.fm/music/Bryan+Adams</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/40597049.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/40597049.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/40597049.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/40597049.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/40597049/Bryan+Adams+bryanadamsPNG+Version.png</image>

                </artist>
    <artist>
      <name>Peter Gabriel</name>
      <url>http://www.last.fm/music/Peter+Gabriel</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/58718657.jpg</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/58718657.jpg</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/58718657.jpg</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/58718657.jpg</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/58718657/Peter+Gabriel.jpg</image>

                </artist>
    <artist>
      <name>Lionel Richie</name>
      <url>http://www.last.fm/music/Lionel+Richie</url>
      <image size="small">http://userserve-ak.last.fm/serve/34/75494808.png</image>
      <image size="medium">http://userserve-ak.last.fm/serve/64/75494808.png</image>
      <image size="large">http://userserve-ak.last.fm/serve/126/75494808.png</image>
      <image size="extralarge">http://userserve-ak.last.fm/serve/252/75494808.png</image>
      <image size="mega">http://userserve-ak.last.fm/serve/500/75494808/Lionel+Richie+png.png</image>

                </artist>
  </similar>
    <tags>
        <tag>
      <name>pop</name>
      <url>http://www.last.fm/tag/pop</url>
    </tag>
        <tag>
      <name>80s</name>
      <url>http://www.last.fm/tag/80s</url>
    </tag>
        <tag>
      <name>rock</name>
      <url>http://www.last.fm/tag/rock</url>
    </tag>
        <tag>
      <name>classic rock</name>
      <url>http://www.last.fm/tag/classic%20rock</url>
    </tag>
        <tag>
      <name>soft rock</name>
      <url>http://www.last.fm/tag/soft%20rock</url>
    </tag>
      </tags>
      <bio>
    <published>Mon, 13 Aug 2012 01:15:34 +0000</published>
    <summary><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.  Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis.]]></summary>
    <content><![CDATA[Philip David Charles "Phil" Collins LVO (born 30 January 1951 in Chiswick, London) is an English singer-songwriter, drummer, keyboardist and actor best known as a drummer and vocalist for English progressive rock group <a href="http://www.last.fm/music/Genesis" class="bbcode_artist">Genesis</a> and as a Grammy and Academy Award-winning solo artist.

 Collins sang the lead vocals on eight American chart-toppers between 1984 and 1989; seven as a solo artist and one with Genesis. His singles, often dealing with lost love, ranged from the atmospheric <a title="Phil Collins – In The Air Tonight" href="http://www.last.fm/music/Phil+Collins/_/In+The+Air+Tonight" class="bbcode_track">In The Air Tonight</a>, to the dance pop of <a title="Phil Collins – Sussudio" href="http://www.last.fm/music/Phil+Collins/_/Sussudio" class="bbcode_track">Sussudio</a>, to the political statements of his most successful song, "Another Day in Paradise". His international popularity transformed Genesis from a progressive rock group to a regular on the pop charts and an early MTV mainstay. According to britishhitsongwriters.com he is the forty-eighth most successful songwriter in U.K. singles chart history based on weeks that his compositions have spent on the chart.

 Collins\' professional career began as a drummer, first with obscure rock group Flaming Youth and then more famously with Genesis. In Genesis, Collins originally supplied backing vocals for front man Peter Gabriel, singing lead on only two songs: "For Absent Friends" from 1971\'s Nursery Cryme album and "More Fool Me" from Selling England by the Pound, which was released in 1973. On Gabriel\'s departure in 1975, Collins became the group\'s lead singer. As the decade closed, Genesis\' first international hit, "Follow You, Follow Me", demonstrated a drastic change from the band\'s early years.

 His concurrent solo career, heavily influenced by his personal life, brought both him and Genesis commercial success. According to Atlantic Records, Collins\' total worldwide sales as a solo artist, as of 2002, were 150 million.

 Phil Collins, announced in March 2011 that he is retiring from the music business. "I am stopping so I can be a full time father to my two young sons on a daily basis," Phil Collins wrote on his website. He refers to his two sons, Nicholas and Matthew, with his third wife Orianne Cevey, whom he divorced in 2008.

User-contributed text is available under the Creative Commons By-SA License and 
may also be available under the GNU FDL.]]></content>
  </bio>
  </artist></lfm>

(01 - Tearing And Breaking.flac ARTIST) READ 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac ARTIST) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/252/529942.jpg
(01 - Tearing And Breaking.flac ARTIST) FETCH VIA LAST.FM JOB 110447088
GOT RESPONSE FOR JOB 110447088
(01 - Tearing And Breaking.flac ARTIST) REPLY 0 DATA:15423
(01 - Tearing And Breaking.flac ARTIST) IMAGE IS NULL
(01 - Tearing And Breaking.flac ARTIST) GOT ARTIST 

Original comment by parkm...@gmail.com on 24 Aug 2012 at 2:05

@GoogleCodeExporter
Copy link
Author

Odd. The file has been downloaded - completely, the filesize matched the 15423 
above. 

All I can think of is that Qt cant detect the filetype, for some unknown 
reason. The attached build sets the filetype to JPG if it ends with .jpg, 
likewise for png.

Please only post the debug from "GOT RESPONSE FOR JOB..." onwards.

Original comment by craig.p....@gmail.com on 24 Aug 2012 at 2:22

Attachments:

@GoogleCodeExporter
Copy link
Author

Still no.
QT might not going well with Cantata for Windows.

[Artist]

GOT RESPONSE FOR JOB 112215864
(01 - Tearing And Breaking.flac ARTIST) REPLY 0 DATA:15423 TYPE:JPG
(01 - Tearing And Breaking.flac ARTIST) IMAGE IS NULL
(01 - Tearing And Breaking.flac ARTIST) GOT ARTIST 

[Album]

(01 - Tearing And Breaking.flac ALBUM) READ 
URL:http://userserve-ak.last.fm/serve/300x300/55723627.jpg
(01 - Tearing And Breaking.flac ALBUM) NEED TO FETCH LAST.FM IMAGE FROM 
URL:http://userserve-ak.last.fm/serve/300x300/55723627.jpg
(01 - Tearing And Breaking.flac ALBUM) FETCH VIA LAST.FM JOB 109770320
GOT RESPONSE FOR JOB 109770320
(01 - Tearing And Breaking.flac ALBUM) REPLY 0 DATA:40246 TYPE:JPG
(01 - Tearing And Breaking.flac ALBUM) IMAGE IS NULL
(01 - Tearing And Breaking.flac ALBUM) FAILED TO GET IMAGE

Original comment by parkm...@gmail.com on 24 Aug 2012 at 2:37

@GoogleCodeExporter
Copy link
Author

One more attempt. This use QImageReader to read the response. If this does not 
work, then I dont know what the error is.

Original comment by craig.p....@gmail.com on 24 Aug 2012 at 3:09

Attachments:

@GoogleCodeExporter
Copy link
Author

No image and log file at this time.

Original comment by parkm...@gmail.com on 26 Aug 2012 at 3:36

@GoogleCodeExporter
Copy link
Author

There will be no log, I removed that as we know where the issue is occurring.

However, its working fine for me - and it seems to be that (for some reason) Qt 
(on your system) does not like the downloaded image.

Not sure what I can do really. Sorry :-(

Original comment by craig.p....@gmail.com on 27 Aug 2012 at 7:48

@GoogleCodeExporter
Copy link
Author

My college reported that png files finally shows with your latest test5 file 
while  jpg doesn't show.
He changed jpg file extension to png and it works fine.
Your cover fetching seems to be improved and please review the jpeg file 
extension.
I'm on a business trip in China and 'll try this once I get back to my office.

Original comment by parkm...@gmail.com on 28 Aug 2012 at 10:45

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

He seemed to convert jpg file to png and I recommend you to test vice versa.

Original comment by parkm...@gmail.com on 28 Aug 2012 at 10:49

@GoogleCodeExporter
Copy link
Author

Did the jpgs not work with test4? (I have not committed the change in test5, as 
I thought it made no difference - hence wanting to know if JPGs only started 
working after test5)

Did her JUST rename the JPG to PNG? Or did he convert the JPG to PNG? As I'm 
confused by your two comments.

As I said, it all works for me - so there is not much I can test. If I could 
reproduce this issue, then it would be much easier for me to resolve.

Original comment by craig.p....@gmail.com on 29 Aug 2012 at 7:06

@GoogleCodeExporter
Copy link
Author

I'm back and tested to confirm my colleagues' comment.
Yes, jpgs not work with test4 and only png works.
Rename not work and image converting from jpg to png works fine.
In Windows' cache folder, all that I can find is only pngs and no jpg while 
linux has two file extensions.
I think this is the reason why Windows shows less images than Linux for us.
I guess that there are some differences in Windows system between you and us.
This case can be reproduced with my note pc however I'm not sure if it's 
possible with your Windows system.

Original comment by parkm...@gmail.com on 30 Aug 2012 at 2:00

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

For example,
1) Phil Collins' "Love Songs" cover does not appear on artist and album because 
they're all jpgs.
2) 2NE1's "I Love You" shows and all pngs.
3) Maroon 5 does not show in artist while it's song "One More Night" shows in 
album because their fetches are mixed with jpg and png each.
You can edit some tags to test the above examples.
If it works fine and no problem on your side then I have no idea.

Original comment by parkm...@gmail.com on 30 Aug 2012 at 2:26

@GoogleCodeExporter
Copy link
Author

OK, I think the reason is that I'm not distributing the QT jpg plugin with 
Cantata.

Please copy the attached qjpeg4.dll into a imageformats sub-directory in the 
cantata dir. e.g. if cantata is in c:\Cantata:

c:\Cantata\catata.exe
c:\Cantata\icons\
c:\Cantata\imageformats\qjpeg4.dll

Does this resolve the issue?

Original comment by craig.p....@gmail.com on 30 Aug 2012 at 10:11

Attachments:

@GoogleCodeExporter
Copy link
Author

Wow, now jpg really works!!!
Windows version is exactly same as Linux.
Happily close this issue.

Original comment by parkm...@gmail.com on 30 Aug 2012 at 10:26

@GoogleCodeExporter
Copy link
Author

Whew! Thanks for confirming the fix, and sorry it took so long to resolve a 
trivial issue.

I'll release an update 0.8.3 Linux and Windows build soon.

Original comment by craig.p....@gmail.com on 30 Aug 2012 at 10:34

  • Changed state: Verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant