Release Artist Slideshow addon (with skin and addon integration)
OK, I've got a new beta for folks to test. It's available here.

v.1.4.1.1
- added ability to override artist bio, albums, and similar artists with local info
- fixed bug when using both local and remote images
- added French localization strings and description (thanks to mikebzh44)
- UTF8 encoded message strings

The local overrides are going to take a little explaining. I was moving right along on the file based album and similar artist override when I ran into a problem. By trying to parse a filename, you are limited to the characters allowed by the file system. My test was an album that had a colon in it (which is not OK on OSX), and I was really unhappy with that compromise. So the final solution uses XML files similar to the ones generated by last.FM, but much simpler (i.e. they only include the necessary elements). I think this balances simplicity with the flexibility to have the full range of characters available.

For bio, similar artists, and albums, override is the default and only behavior. That is, if the necessary files exist in the correct locations, data will be pulled locally. Here's the directory structure:
Code:
root
--<artistname>
----extrafanart
----override
------albums (folder with artist album art)
--------albumname.jpg (any XBMC image type supported)
--------anotheralbumname.jpg
------artistbio.nfo (see below for format)
------artistsalbum.nfo (see below for format)
------artistsimilar.nfo (see below for format)
------similar
--------artistimage.jpg
--------anotherartistimage.jpg

Example artistbio.nfo
Code:
<?xml version="1.0" encoding="utf-8"?>
<artist>
    <content>This is Christina Aguilera's bio.

This is stuff about Christina.
    </content>
</artist>

Example artistsalbum.nfo
Code:
<?xml version="1.0" encoding="utf-8"?>
<topalbums>
    <album>
        <name>Keeps Gettin' Better: A Decade of Hits</name>
        <image>Keeps Gettin' Better - A Decade of Hits.jpg</image>
    </album>
</topalbums>

Example artistsimilar.nfo
Code:
<?xml version="1.0" encoding="utf-8"?>
<similarartists>
    <artist>
        <name>Katy Perry</name>
        <image>katy_perry.jpg</image>
    </artist>
</similarartists>

Let me know what you think and/or if you find anything isn't working as expected.
Reply


Messages In This Thread
New Test Version Available - by pkscout - 2012-03-08, 16:26
[No subject] - by mardup - 2012-03-10, 12:26
[No subject] - by pkscout - 2012-03-11, 01:35
RE: - by mardup - 2012-03-12, 17:50
RE: - by pkscout - 2012-03-13, 03:22
New Beta Version for Testing - by pkscout - 2012-07-13, 17:54
New Beta Version for Testing - by pkscout - 2012-07-14, 22:50
Pull Request for v1.4 Submitted - by pkscout - 2012-07-20, 23:01
New Beta Version for Testing - by pkscout - 2012-08-10, 03:18
New Frodo BETA Support Files - by pkscout - 2012-11-21, 06:20
New 2.0.0 Beta Coming Soon - by pkscout - 2016-05-12, 02:54
Writing tips - by Parkerbup - 2017-02-03, 14:56
Add-on Artist Slideshow - by jo26 - 2014-08-08, 22:58
Logout Mark Read Team Forum Stats Members Help
Artist Slideshow addon (with skin and addon integration)5