Kodi Community Forum

Full Version: skin helper service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-10-23, 11:32)Tgxcorporation Wrote: [ -> ]Hi Marcel,

I've tried the latest commit and it seems it got worse. Nothing is working in music player and also in music views (artists, songs, albums). No clearArt, no cdArt...

This is my debug log, i hope it helps. I'm using Jarvis, deleted my userdata folder, started from scratch and rebuilt the Music DB (scanned music folder and scraped artist infos) and this is what happens when entering MyMusicNav.xml > Artists > Albums > Songs > Play a song > Music Player:

http://pastebin.com/s1EgDSsV

Thanks

Tgx

Hmm, strange.. Seems that the Kodi texture cache is refusing to open the images. Are you on latest Jarvis ?
I have tested it on both latest Jarvis builds and Isengard.
Also, make sure that you have an internet connection...
(2015-10-23, 12:48)marcelveldt Wrote: [ -> ]Hmm, strange.. Seems that the Kodi texture cache is refusing to open the images. Are you on latest Jarvis ?
I have tested it on both latest Jarvis builds and Isengard.
Also, make sure that you have an internet connection...

I'm using the latest Jarvis on mac and the internet connection is working.

Tgx
(2015-10-23, 12:48)marcelveldt Wrote: [ -> ]Hmm, strange.. Seems that the Kodi texture cache is refusing to open the images. Are you on latest Jarvis ?
I have tested it on both latest Jarvis builds and Isengard.
Also, make sure that you have an internet connection...

I fear this has something to do with the name of the addon itself: script.skin.helper.service
On mac OS X the ".service" extension is seen as special folder (cannot be browsed) and maybe the script is blocked in some way or has permission problems.

Tgx
(2015-10-23, 12:58)Tgxcorporation Wrote: [ -> ]I'm using the latest Jarvis on mac and the internet connection is working.

Huh This is strange... A few follow up questions.

Can you try one of those images in your browser directly ? I mean of those URL's that is failing.

Can you confirm that the window props itself are not empty ? Just set a label with the window prop to check.
(2015-10-23, 13:08)marcelveldt Wrote: [ -> ]Huh This is strange... A few follow up questions.

Can you try one of those images in your browser directly ? I mean of those URL's that is failing.

Can you confirm that the window props itself are not empty ? Just set a label with the window prop to check.

The copied urls are working in my browser.
The properties are showing as labels - " http://...." - but it seems there's an empty space " " before them.
I'm using $INFO[Window(Home).Property(SkinHelper.Music.ClearLogo)] for example.

Tgx

EDIT: It's not an empty space, but a carriage return + empty space.
I get:
"[carriagereturn]
[emptyspace]http://www.theaudio..."
(2015-10-23, 13:25)Tgxcorporation Wrote: [ -> ]EDIT: It's not an empty space, but a carriage return + empty space.
I get:
"[carriagereturn]
[emptyspace]http://www.theaudio..."

Aha! That explains it a bit ;-) Strange however that this is happening on the mac only. Windows seems to be fine.
Can you take a look at the persistant cache files?

addon_data\script.skin.helper.service\musicart --> one of the artist xml files.
If possible, paste one of the artwork lines here so I know exactly what to strip out.
(2015-10-23, 13:40)marcelveldt Wrote: [ -> ]addon_data\script.skin.helper.service\musicart --> one of the artist xml files.
If possible, paste one of the artwork lines here so I know exactly what to strip out.

This is the file for "Coldplay":

Code:
<?xml version="1.0" encoding="utf-8"?>
<artdetails>
    <info>
        Coldplay are a British alternative rock band formed in 1996 by lead vocalist Chris Martin and lead guitarist Jonny Buckland at University College London. After they formed Pectoralz, Guy Berryman joined the group as a bassist and they changed their name to Starfish. Will Champion joined as a drummer, backing vocalist, and multi-instrumentalist, completing the line-up. Manager Phil Harvey is often considered an unofficial fifth member. The band renamed themselves &quot;Coldplay&quot; in 1998, before recording and releasing three EPs; Safety in 1998, Brothers &amp; Sisters as a single in 1999 and The Blue Room in the same year. The latter was their first release on a major label, after signing to Parlophone.

They achieved worldwide fame with the release of the single &quot;Yellow&quot; in 2000, followed by their debut album released in the same year, Parachutes, which was nominated for the Mercury Prize. The band's second album, A Rush of Blood to the Head (2002), was released to critical acclaim and won multiple awards, including NME's Album of the Year, and has been widely considered the best of the Nelson-produced Coldplay albums. Their next release, X&amp;Y, the best-selling album worldwide in 2005, was met with mostly positive reviews upon its release, though some critics felt that it was inferior to its predecessor. The band's fourth studio album, Viva la Vida or Death and All His Friends (2008), was produced by Brian Eno and released again to largely favourable reviews, earning several Grammy nominations and wins at the 51st Grammy Awards. On 24 October 2011, they released their fifth studio album, Mylo Xyloto, which was met with mixed to positive reviews, and was the UK's best-selling rock album of 2011.

The band has won a number of music awards throughout their career, including seven Brit Awards winning Best British Group three times, four MTV Video Music Awards, and seven Grammy Awards from twenty nominations. As one of the world's best-selling music artists, Coldplay have sold over 55 million records worldwide. In December 2009, Rolling Stone readers voted the group the fourth best artist of the 2000s.

Coldplay have been an active supporter of various social and political causes, such as Oxfam's Make Trade Fair campaign and Amnesty International. The group have also performed at various charity projects such as Band Aid 20, Live 8, Sound Relief, Hope for Haiti Now: A Global Benefit for Earthquake Relief, The Secret Policeman's Ball, and the Teenage Cancer Trust.
    </info>
    <extrafanarts>
        [u'http://www.theaudiodb.com/images/media/artist/fanart/spvryu1347980801.jpg', u'http://www.theaudiodb.com/images/media/artist/fanart/uupyxx1342640221.jpg', u'http://www.theaudiodb.com/images/media/artist/fanart/qstpsp1342640238.jpg']
    </extrafanarts>
    <thumb>
        http://www.theaudiodb.com/images/media/artist/thumb/uxrqxy1347913147.jpg
    </thumb>
    <musicbrainzartistid>
        cc197bad-dc9c-440d-a5b5-d52ba2e14234
    </musicbrainzartistid>
    <albumcount>
        6
    </albumcount>
    <songcount>
        78
    </songcount>
    <clearlogo>
        http://www.theaudiodb.com/images/media/artist/logo/urspuv1434553994.png
    </clearlogo>
    <banner>
        http://www.theaudiodb.com/images/media/artist/banner/xuypqw1386331010.jpg
    </banner>
    <fanart>
        http://assets.fanart.tv/fanart/music/cc197bad-dc9c-440d-a5b5-d52ba2e14234/artistbackground/coldplay-4fc0c681d6f25.jpg
    </fanart>
    <artistname>
        Coldplay
    </artistname>
    <artistthumb>
        http://www.theaudiodb.com/images/media/artist/thumb/uxrqxy1347913147.jpg
    </artistthumb>
    <path>
        smb://SERVER/hd3000/Musica/Coldplay/
    </path>
    <albums>
        A Rush Of Blood To The Head[CR]Ghost Stories[CR]Mylo Xyloto[CR]Parachutes[CR]Viva La Vida/Prospekt's March[CR]X &amp; Y
    </albums>
    <tracklist>
        1 - Politik[CR]2 - In My Place[CR]3 - God Put A Smile Upon Your Face[CR]4 - The Scientist[CR]5 - Clocks[CR]6 - Daylight[CR]7 - Green Eyes[CR]8 - Warning Sign[CR]9 - A Whisper[CR]10 - A Rush Of Blood To The Head[CR]11 - Amsterdam[CR]1 - Always In My Head[CR]2 - Magic[CR]3 - Ink[CR]4 - True Love[CR]5 - Midnight[CR]6 - Another's Arms[CR]7 - Oceans[CR]8 - A Sky Full of Stars[CR]9 - O[CR]10 - All Your Friends[CR]11 - Ghost Story[CR]12 - O (Part 2 - Reprise)[CR]1 - Mylo Xyloto[CR]2 - Hurts Like Heaven[CR]3 - Paradise[CR]4 - Charlie Brown[CR]5 - Us Against the World[CR]6 - M.M.I.X.[CR]7 - Every Teardrop Is a Waterfall[CR]8 - Major Minus[CR]9 - U.F.O.[CR]10 - Princess of China[CR]11 - Up in Flames[CR]12 - A Hopeful Transmission[CR]13 - Don't Let It Break Your Heart[CR]14 - Up with the Birds[CR]1 - Don't Panic[CR]2 - Shiver[CR]3 - Spies[CR]4 - Sparks[CR]5 - Yellow[CR]6 - Trouble[CR]7 - Parachutes[CR]8 - High Speed[CR]9 - We Never Change[CR]10 - Everything's Not Lost[CR]1 - Life In Technicolor[CR]2 - Cemeteries Of London[CR]3 - Lost![CR]4 - 42[CR]5 - Lovers In Japan/Reign Of Love[CR]6 - Yes[CR]7 - Viva La Vida[CR]8 - Violet Hill[CR]9 - Strawberry Swing[CR]10 - Death And All His Friends[CR]11 - Life In Technicolor ii[CR]12 - Postcards From Far Away[CR]13 - Glass Of Water[CR]14 - Rainy Day[CR]15 - Prospekt's March / Poppyfields[CR]16 - Lost+ (with Jay-Z)[CR]17 - Lovers In Japan (Osaka Sun mix)[CR]18 - Now My Feet Won't Touch The Ground[CR]1 - Square One[CR]2 - What If[CR]3 - White Shadows[CR]4 - Fix You[CR]5 - Talk[CR]6 - X &amp; Y[CR]7 - Speed Of Sound[CR]8 - A Message[CR]9 - Low[CR]10 - The Hardest Part[CR]11 - Swallowed In The Sea[CR]12 - Twisted Logic[CR]13 - Til Kingdom Come (Bonus Track)
    </tracklist>
    <folder>
        http://assets.fanart.tv/fanart/music/cc197bad-dc9c-440d-a5b5-d52ba2e14234/artistthumb/coldplay-4fbba04929c5c.jpg
    </folder>
    <extrafanart>
        plugin://script.skin.helper/?action=EXTRAFANART&amp;path=special://profile/addon_data/script.skin.helper/musicart/cache-artists-20.xml
    </extrafanart>
</artdetails>
I'm focusing for example on $INFO[Window(Home).Property(SkinHelper.Music.ClearLogo)].

It works in artist view, but in album and songs view i get the carriage return.

Tgx
(2015-10-23, 12:44)marcelveldt Wrote: [ -> ]
(2015-10-23, 12:27)Dumyat Wrote: [ -> ]Hi Marcel,
Not sure if anybody has seen this, but I've noticed a few instances where I might get some pvr artwork, but when I go add additional artwork that I've either found myself or created manually, the programme folder does not actually exist. I thought that by adding a folder manually with the programme title might resolve the issue, but it doesn't......Obviously the original pieces of artwork are there somewhere, otherwise I guess they would not even show up. I was wondering if there was a way to force a refresh that would catch these missing folders?........

Where did you place that additional folder ? You have to delete the pvrdetails.xml file too and restart Kodi...

I added a new programme folder to the pvrthumbs folder, thinking it would then be captured. Hmmm, I must be missing something, as I don't seem to have a pvrdetails.xml file anywhere. Where is this located?
(2015-10-23, 13:56)Dumyat Wrote: [ -> ]I added a new programme folder to the pvrthumbs folder, thinking it would then be captured. Hmmm, I must be missing something, as I don't seem to have a pvrdetails.xml file anywhere. Where is this located?

inside the pvrthumbs folder...
(2015-10-23, 13:54)Tgxcorporation Wrote: [ -> ]I'm focusing for example on $INFO[Window(Home).Property(SkinHelper.Music.ClearLogo)].

It works in artist view, but in album and songs view i get the carriage return.

Tgx

No, not working in artist view anymore after a restart of Kodi.

Tgx
(2015-10-23, 14:01)Tgxcorporation Wrote: [ -> ]No, not working in artist view anymore after a restart of Kodi.

OK, in that case the issue is with writing to the xml file. Somehow on your platform this carriage return gets added to the persistant cache file.
It was working for your artists because that was retrived directly and not yet in the cachefile.

Hold on, I will try to fix it.
(2015-10-23, 13:58)marcelveldt Wrote: [ -> ]
(2015-10-23, 13:56)Dumyat Wrote: [ -> ]I added a new programme folder to the pvrthumbs folder, thinking it would then be captured. Hmmm, I must be missing something, as I don't seem to have a pvrdetails.xml file anywhere. Where is this located?

inside the pvrthumbs folder...

Not in mine.....
(2015-10-23, 14:08)Dumyat Wrote: [ -> ]Not in mine.....
Using latest Git version of the script ?
In the pvrthumbs folder you should see a folder per title. In each folder will be an xml file with the scraped details.
If you have enabled the option to also download artwork the images will be located there too and you may also put your own images in that folder.

In the script options you can also set a custom folder for the pvrthumbs cache, for example on a network location to share with multiple clients and there's a setting to set the path to your pvr recordings share if you want to look for images for existing recordings.
(2015-10-23, 14:20)marcelveldt Wrote: [ -> ]
(2015-10-23, 14:08)Dumyat Wrote: [ -> ]Not in mine.....
Using latest Git version of the script ?
In the pvrthumbs folder you should see a folder per title. In each folder will be an xml file with the scraped details.
If you have enabled the option to also download artwork the images will be located there too and you may also put your own images in that folder.

In the script options you can also set a custom folder for the pvrthumbs cache, for example on a network location to share with multiple clients and there's a setting to set the path to your pvr recordings share if you want to look for images for existing recordings.

Thanks for the feedback.
Probably not, but I will get it now. I presume all existing artwork downloaded already is retained in the userdata folder when upgrading to latest version?