After scraping all artist data with Kodi I would like to download and dump that content to my harddrive. The technical part is no problem but I don’t know how to name the images in the folder. For example (The Rolling Stones).
As you can see below there are different providers with different rules (e.g. the audiodb has images with a “/preview” suffix and without it).
I just want to know where to store and how to name these files in the “Rolling Stones” artist folder.
MusicDB: Table: artist, Column: strImage
Code:
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-4fdb9607ec297.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-4fdb9607ec297.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-4fdb9651487cd.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-4fdb9651487cd.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-4fdb9699ece2f.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-4fdb9699ece2f.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-55a3a27f9053d.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-55a3a27f9053d.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-55a3d5af883c9.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistthumb/rolling-stones-the-55a3d5af883c9.jpg</thumb>
<thumb preview="http://www.theaudiodb.com/images/media/artist/thumb/rputqs1367245834.jpg/preview">http://www.theaudiodb.com/images/media/artist/thumb/rputqs1367245834.jpg</thumb>
MusicDB: Table: artist, Column: strFanrt
Code:
<fanart>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-4fb29c1316732.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-4fb29c1316732.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-52cc3ee862e65.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-52cc3ee862e65.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/the-rolling-stones-4ddc7278befc3.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/the-rolling-stones-4ddc7278befc3.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/the-rolling-stones-4e492a8f61b76.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/the-rolling-stones-4e492a8f61b76.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-4fb29bd5d755c.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-4fb29bd5d755c.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-515dda0040cef.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-515dda0040cef.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-554e55707fb75.jpeg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-554e55707fb75.jpeg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a2437611f.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a2437611f.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a243772c3.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a243772c3.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a264a0e4a.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a264a0e4a.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a264a12c2.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a264a12c2.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d61814648.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d61814648.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a2437679a.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a2437679a.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a24376ccd.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a24376ccd.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a264a08b9.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3a264a08b9.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d61813f2d.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d61813f2d.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d6181501e.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d6181501e.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d618154ff.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d618154ff.jpg</thumb>
<thumb preview="http://assets.fanart.tv/preview/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d618159e8.jpg">http://assets.fanart.tv/fanart/music/b071f9fa-14b0-4217-8e97-eb41da73f598/artistbackground/rolling-stones-the-55a3d618159e8.jpg</thumb></fanart>
<fanart>
<thumb preview="http://media.theaudiodb.com/images/media/artist/fanart/xpwypt1367246036.jpg/preview">http://media.theaudiodb.com/images/media/artist/fanart/xpwypt1367246036.jpg</thumb>
<thumb preview="http://media.theaudiodb.com/images/media/artist/fanart/uyuvtx1367246043.jpg/preview">http://media.theaudiodb.com/images/media/artist/fanart/uyuvtx1367246043.jpg</thumb>
<thumb preview="http://media.theaudiodb.com/images/media/artist/fanart/tuxrsv1367246050.jpg/preview">http://media.theaudiodb.com/images/media/artist/fanart/tuxrsv1367246050.jpg</thumb>
</fanart>
Any help is highly appreciated.
Many thanks in advance.