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-11-16, 16:11)marcelveldt Wrote: [ -> ]There has never been any notification, it is silent, right...
What was there was a dialogbusy while the action is running but I accidentaly removed that.
Now the busdy dialog is back for silent operations, can you confirm with latest Git ?

Yes' it's silent.
Maybe I'm confused with the common restore. Tested that at an early stage of your script and I admit this can be my mistake with the dialogProgress and dialokOK since I was busy on other parts of my skin.

But ... tested it and it works. Much secure to not be able to change the same settings than skin.helper is on IMO (even more when restore takes some time).
Thanks Marcel.
(2015-11-16, 15:26)marcelveldt Wrote: [ -> ]
(2015-11-15, 13:34)Solo0815 Wrote: [ -> ]I can't confirm that. skin.helper isn't loading any logo for some compilations or is loading the "Various Artists" logo for an album which logo was displayed correctly before.
Maybe you can have a look

I changed the code a bit more in the quest to get the music artwork right.
Can you please test with the latest Git version ?
Unfortunately, it doesn't work and does not display any logo. FFmpeg has the correct artist:
Code:
INFO: ffmpeg[B5423000]: Input #0, mp3, from 'musicdb://albums/530/24278.mp3?albumid=530':
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:   Metadata:
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     album           : 100 Hits - Love - Happy Valentines Day
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     artist          : Elvis Presley
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     album_artist    : Collection: 100 Hits / Various Artists
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     encoder         : Lavf52.54.0
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     genre           : Ballad
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     title           : Lover Doll
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     track           : 006
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:   Duration: 00:02:14.53, start: 0.000000, bitrate: 323 kb/s
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:     Metadata:
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:       title           :
17:16:55 T:3041013760    INFO: ffmpeg[B5423000]:       comment         : Cover (front)
I don't know, what your code does, but it should look for the Trackartist (artist) in the mp3-tag. Maybe get it from ffmpeg?
Is there any debug-code in skin.helper, so I can see, what the script is searching for?
(2015-11-16, 18:26)Solo0815 Wrote: [ -> ]I don't know, what your code does, but it should look for the Trackartist (artist) in the mp3-tag. Maybe get it from ffmpeg?
Is there any debug-code in skin.helper, so I can see, what the script is searching for?

In the settings for the addon itself enable verbose debug logging and that should fill your kodi log with all info.
Can you put it into verbose logging, play some songs and show me the results ?
Of course:
Code:
18:01:46 T:3041013760   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
18:01:46 T:3041013760   DEBUG: Open - probing detected format [mp3]
18:01:46 T:3041013760   DEBUG: Open - setting usetoc to 0 for accurate VBR MP3 seek
18:01:46 T:3041013760   DEBUG: CSettingsManager: requested setting (audiooutput.supportdtshdcpudecoding) was not found.
18:01:46 T:3041013760   DEBUG: Open - avformat_find_stream_info starting
18:01:46 T:3041013760   DEBUG: ffmpeg[B5423000]: [mp3] max_analyze_duration 5000000 reached at 5015510 microseconds
18:01:46 T:3041013760   DEBUG: Open - av_find_stream_info finished
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]: Input #0, mp3, from 'musicdb://albums/124/26974.mp3?albumid=124':
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:   Metadata:
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     album           : Die Hit-Giganten - Best Of Party Hits
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     artist          : Scooter
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     album_artist    : Collection: Die Hit-Giganten / Various Artists
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     genre           : Pop
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     title           : Maria (I Like It Loud)
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     track           : 21
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     date            : 2012
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:   Duration: 00:03:41.96, start: 0.025056, bitrate: 243 kb/s
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 240 kb/s
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     Metadata:
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:       encoder         : LAME3.98r
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     Side data:
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:       replaygain: track gain - -8.100000, track peak - unknown, album gain - unknown, album peak - unknown,
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     Stream #0:1: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 500x500, 90k tbr, 90k tbn, 90k tbc
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:     Metadata:
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:       title           :
18:01:46 T:3041013760    INFO: ffmpeg[B5423000]:       comment         : Cover (front)
18:01:46 T:3041013760   DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0
18:01:46 T:3041013760   DEBUG: CDVDDemuxFFmpeg::AddStream(1, ...) -> 1
18:01:46 T:3041013760   DEBUG: FactoryCodec - Audio: passthrough - Opening
18:01:46 T:3041013760   DEBUG: FactoryCodec - Audio: passthrough - Failed
18:01:46 T:3041013760   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
18:01:46 T:3041013760   DEBUG: CSettingsManager: requested setting (audiooutput.supportdtshdcpudecoding) was not found.
18:01:46 T:3041013760   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
...
Code:
18:01:47 T:3020944448   DEBUG:   Frame Size    : 4
18:01:47 T:3041013760   DEBUG: CGUIInfoManager::SetCurrentSong(musicdb://albums/124/26974.mp3?albumid=124)
18:01:47 T:2769429568   DEBUG: script.toolbox: blurred img already created: /storage/.kodi/userdata/addon_data/script.toolbox/0f298fb46b41e60702972fce2bbe8c3e30.png
18:01:47 T:3041013760   DEBUG: SELECT albumview.*,albumartistview.*   FROM albumview   LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum   WHERE albumview.idAlbum = 124   ORDER BY albumartistview.iOrder
18:01:47 T:3041013760   DEBUG: Loading additional tag info for file /var/media/INTENSO/music/Sampler/VA.-.Die.Hit.Giganten.-.diverse/Die Hit-Giganten - Best Of Party Hits/CD 1/21.-.Scooter.-.Maria (I Like It Loud).mp3
18:01:47 T:3041013760   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
18:01:47 T:3041013760   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
18:01:47 T:2889364544  NOTICE: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Player.OnPlay  - data: {"item":{"id":26974,"type":"song"},"player":{"playerid":0,"speed":1}}
18:01:47 T:2769429568   DEBUG: script.toolbox: Average Color: FF83956e
18:01:48 T:2537550912  NOTICE: Skin Helper Service --> setMusicPlayerDetails: {u'album': u'Die Hit-Giganten - Best Of Party Hits', u'artist': [u'Scooter'], u'title': u'Maria (I Like It Loud)', u'label': u'Maria (I Like It Loud)', u'albumid': 124, u'displayartist': u'Scooter', u'type': u'song', u'id': 26974}
18:01:48 T:2537550912  NOTICE: Skin Helper Service --> getMusicArtworkByName artist: Scooter  - track: Maria (I Like It Loud)  -  album: Die Hit-Giganten - Best Of Party Hits
18:01:48 T:2537550912   DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview  WHERE (( EXISTS (SELECT 1 FROM song_artist, artist WHERE song_artist.idSong = songview.idSong AND song_artist.idArtist = artist.idArtist AND artist.strArtist LIKE '%Scooter%'))) AND ((songview.strTitle LIKE '%Maria (I Like It Loud)%'))
18:01:48 T:2537550912   DEBUG: GetSongsByWhere() - took 186 ms
18:01:48 T:2537550912  NOTICE: Skin Helper Service --> getMusicArtworkByDbId dbid: 124  type: albums
18:01:49 T:3041013760   DEBUG: LIRC: Update - NEW at 3021627:e2 0 KEY_MEDIA devinput (KEY_MEDIA)
18:01:49 T:3041013760   DEBUG: OnKey: percent (0x25) pressed, action is fullscreen
It displays the logo of "Various Artists", tried a song from "Boney M." also.
Code:
18:06:36 T:2537550912  NOTICE: Skin Helper Service --> getMusicArtworkByName artist: Boney M.  - track: Daddy Cool  -  album: Die Hit-Giganten - Best Of Party Hits
18:06:36 T:2537550912   DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview  WHERE (( EXISTS (SELECT 1 FROM song_artist, artist WHERE song_artist.idSong = songview.idSong AND song_artist.idArtist = artist.idArtist AND artist.strArtist LIKE '%Boney M.%'))) AND ((songview.strTitle LIKE '%Daddy Cool%'))
18:06:36 T:2802984000   ERROR: GetDirectory - Error getting /var/media/INTENSO/music/Artist-Slideshow/Boney M./extrafanart
18:06:36 T:3041013760   DEBUG: LIRC: Update - NEW at 3308768:e2 0 KEY_MEDIA devinput (KEY_MEDIA)
18:06:36 T:3041013760   DEBUG: OnKey: percent (0x25) pressed, action is fullscreen
It seems that the script is getting the right artist, but maybe there is something wrong with the lookup on theaudiodb?
Both artists above have logos in TheAudioDB
(2015-11-16, 19:09)Solo0815 Wrote: [ -> ]It seems that the script is getting the right artist, but maybe there is something wrong with the lookup on theaudiodb?
Both artists above have logos in TheAudioDB

No.. I see the problem.. This is a compilation album. I must find a way to determine that it's an compilation ad do the lookup based on the artist+track combination and not the artist+album combination...

Are you familiar with SQLite browser ? You could open your MyMusicXX.db with that so we can have a look at how this compilation album is stored in the Kodi db.
I haven't used SQLite, but I'll see, what I can do.
Can't you query TheAudioDB in two separate "threads"? One for the Album and one for the Artist?
(2015-11-16, 19:26)Solo0815 Wrote: [ -> ]I haven't used SQLite, but I'll see, what I can do.
Can't you query TheAudioDB in two separate "threads"? One for the Album and one for the Artist?

No, that would result in wrong results. I have to do a lookup with both album+artist to get accurate results from musicbrainz.
What I can do is change it to prefer the track title for the lookups, that might actually work
(2015-11-16, 19:09)Solo0815 Wrote: [ -> ]It seems that the script is getting the right artist, but maybe there is something wrong with the lookup on theaudiodb?
Both artists above have logos in TheAudioDB

Can you please test with latest Git? I've changed the logic so that it prefers the scraping with the trackname, that would solve issues with compilation albums ( I hope)
Marcel, 10x about the colorpicker fix - confirmed working.
Just one thing, Can you give the current color that is set for the active instance? for example, If I want to change my tile background from "red" to "yellow", I want when I launch the picker, the "red" color will be with "V" icon on it.
so I need to know what is the current color (if set). so I can use it in my <itemlayout\focusedlayout> tags.

10x!
(2015-11-16, 20:03)tomer953 Wrote: [ -> ]Marcel, 10x about the colorpicker fix - confirmed working.
Just one thing, Can you give the current color that is set for the active instance? for example, If I want to change my tile background from "red" to "yellow", I want when I launch the picker, the "red" color will be with "V" icon on it.
so I need to know what is the current color (if set). so I can use it in my <itemlayout\focusedlayout> tags.

10x!

That color is available as a window property... look in the xml file
(2015-11-16, 16:45)Dumyat Wrote: [ -> ]Hi Marcel,
I've just added some additional pvr poster artwork in the MadNox skin to the includes_PVR.xml file for the ChannelOSDExtended section. However, what I'm finding is that whilst the poster artwork is being displayed, it's only showing for the current item being played, ie when I scroll up/down on each channel the artwork is not changing accordingly like it does with the poster artwork I added to the MyPVRChannels.xml.

Aha, well I wasn't supporting the onscreen guide/channel list yet.
I've just added support for that but didn't test it.
Can you grab the latest version from Git and test if it's working ?
(2015-11-16, 19:43)marcelveldt Wrote: [ -> ]
(2015-11-16, 19:09)Solo0815 Wrote: [ -> ]It seems that the script is getting the right artist, but maybe there is something wrong with the lookup on theaudiodb?
Both artists above have logos in TheAudioDB

Can you please test with latest Git? I've changed the logic so that it prefers the scraping with the trackname, that would solve issues with compilation albums ( I hope)
Doesn't work unfortunately. It displays the "Various Artists"-logo instead of the correct one (Scooter).
Code:
21:32:37 T:3041857536   DEBUG: Open - probing detected format [mp3]
21:32:37 T:3041857536   DEBUG: Open - setting usetoc to 0 for accurate VBR MP3 seek
21:32:37 T:3041857536   DEBUG: CSettingsManager: requested setting (audiooutput.supportdtshdcpudecoding) was not found.
21:32:37 T:3041857536   DEBUG: Open - avformat_find_stream_info starting
21:32:37 T:3041857536   DEBUG: ffmpeg[B54F1000]: [mp3] max_analyze_duration 5000000 reached at 5015510 microseconds
21:32:37 T:3041857536   DEBUG: Open - av_find_stream_info finished
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]: Input #0, mp3, from 'musicdb://albums/124/26979.mp3?albumid=124':
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:   Metadata:
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     album           : Die Hit-Giganten - Best Of Party Hits
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     artist          : Boney M.
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     album_artist    : Collection: Die Hit-Giganten / Various Artists
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     genre           : Pop
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     title           : Daddy Cool
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     track           : 26
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     date            : 2012
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:   Duration: 00:03:28.46, start: 0.025056, bitrate: 270 kb/s
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 267 kb/s
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     Metadata:
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:       encoder         : LAME3.98r
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     Side data:
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:       replaygain: track gain - -7.900000, track peak - unknown, album gain - unknown, album peak - unknown,
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     Stream #0:1: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 500x500, 90k tbr, 90k tbn, 90k tbc
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:     Metadata:
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:       title           :
21:32:37 T:3041857536    INFO: ffmpeg[B54F1000]:       comment         : Cover (front)
21:32:37 T:3041857536   DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0
21:32:37 T:3041857536   DEBUG: CDVDDemuxFFmpeg::AddStream(1, ...) -> 1
21:32:37 T:3041857536   DEBUG: FactoryCodec - Audio: passthrough - Opening
21:32:37 T:3041857536   DEBUG: FactoryCodec - Audio: passthrough - Failed
21:32:37 T:3041857536   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
21:32:37 T:3041857536   DEBUG: CSettingsManager: requested setting (audiooutput.supportdtshdcpudecoding) was not found.
21:32:37 T:3041857536   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
21:32:37 T:3041857536   DEBUG: ffmpeg[B54F1000]: [mp3] Could not update timestamps for skipped samples.
21:32:37 T:3041857536   DEBUG: SeekTime - seek ended up on time 0
21:32:37 T:3041857536   DEBUG: Previous line repeats 1 times.
21:32:37 T:3041857536   DEBUG: ffmpeg[B54F1000]: [mp3] Could not update timestamps for skipped samples.
21:32:37 T:3041857536    INFO: AudioDecoder: File is queued
21:32:37 T:3031430208   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
21:32:37 T:3041857536    INFO: PAPlayer::PrepareStream - Ready
21:32:37 T:3041857536   DEBUG: PlayFile: OpenFile succeed, play state 1
21:32:37 T:2319602752  NOTICE: Thread PAPlayer start, auto delete: false
21:32:37 T:2319602752   DEBUG: PAPlayer::Process - Playback started
21:32:37 T:2319602752   DEBUG: OnPlayBackStarted: play state was 1, starting 0
21:32:37 T:3020944448    INFO: CActiveAESink::OpenSink - initialize sink
21:32:37 T:3020944448   DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:default
21:32:37 T:3020944448    INFO: CAESinkALSA::Initialize - Attempting to open device "default"
21:32:37 T:3020944448    INFO: CAESinkALSA::Initialize - Opened device "default"
21:32:37 T:3020944448    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
21:32:37 T:3020944448    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
21:32:37 T:3020944448   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 16384
21:32:37 T:3020944448   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 16384
21:32:37 T:3020944448   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 372 ms
21:32:37 T:3020944448   DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
21:32:37 T:3020944448   DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
21:32:37 T:3020944448   DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none)
21:32:37 T:3020944448   DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
21:32:37 T:3020944448   DEBUG:   Output Device : Default (AML-DUMMY-CODEC S/PDIF)
21:32:37 T:3020944448   DEBUG:   Sample Rate   : 44100
21:32:37 T:3020944448   DEBUG:   Sample Format : AE_FMT_S16NE
21:32:37 T:3020944448   DEBUG:   Channel Count : 2
21:32:37 T:3020944448   DEBUG:   Channel Layout: FL,FR
21:32:37 T:3020944448   DEBUG:   Frames        : 2048
21:32:37 T:3020944448   DEBUG:   Frame Samples : 4096
21:32:37 T:3020944448   DEBUG:   Frame Size    : 4
21:32:37 T:3041857536   DEBUG: ------ Window Init (custom_1191_ConditionalActions.xml) ------
21:32:37 T:3041857536    INFO: Loading skin file: custom_1191_ConditionalActions.xml, load type: KEEP_IN_MEMORY
21:32:37 T:3041857536   DEBUG: CGUIInfoManager::SetCurrentSong(musicdb://albums/124/26979.mp3?albumid=124)
21:32:37 T:3041857536   DEBUG: SELECT albumview.*,albumartistview.*   FROM albumview   LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum   WHERE albumview.idAlbum = 124   ORDER BY albumartistview.iOrder
21:32:37 T:3041857536   DEBUG: Loading additional tag info for file /var/media/INTENSO/music/Sampler/VA.-.Die.Hit.Giganten.-.diverse/Die Hit-Giganten - Best Of Party Hits/CD 2/26.-.Boney M..-.Daddy Cool.mp3
21:32:37 T:3041857536   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
21:32:37 T:3041857536   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
21:32:37 T:3041857536   DEBUG: LIRC: Update - NEW at 147693:1c 0 KEY_ENTER_UP devinput (KEY_ENTER_UP)
21:32:38 T:2890343488  NOTICE: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Player.OnPlay  - data: {"item":{"id":26979,"type":"song"},"player":{"playerid":0,"speed":1}}
21:32:38 T:2769286208   DEBUG: script.toolbox: blurred img already created: /storage/.kodi/userdata/addon_data/script.toolbox/0f298fb46b41e60702972fce2bbe8c3e30.png
21:32:38 T:2769286208   DEBUG: script.toolbox: Average Color: FF83956e
21:32:38 T:2940675136  NOTICE: Skin Helper Service --> setMusicPlayerDetails: {u'album': u'Die Hit-Giganten - Best Of Party Hits', u'artist': [u'Boney M.'], u'title': u'Daddy Cool', u'label': u'Daddy Cool', u'albumid': 124, u'displayartist': u'Boney M.', u'type': u'song', u'id': 26979}
21:32:38 T:2940675136  NOTICE: Skin Helper Service --> getMusicArtworkByName artist: Boney M.  - track: Daddy Cool  -  album: Die Hit-Giganten - Best Of Party Hits
21:32:38 T:2940675136   DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview  WHERE (( EXISTS (SELECT 1 FROM song_artist, artist WHERE song_artist.idSong = songview.idSong AND song_artist.idArtist = artist.idArtist AND artist.strArtist LIKE '%Boney M.%'))) AND ((songview.strTitle LIKE '%Daddy Cool%'))
21:32:38 T:2940675136   DEBUG: GetSongsByWhere() - took 115 ms
21:32:38 T:2940675136  NOTICE: Skin Helper Service --> getMusicArtworkByDbId dbid: 376  type: albums
21:32:38 T:2940675136   DEBUG: SELECT albumview.*,albumartistview.*   FROM albumview   LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum   WHERE albumview.idAlbum = 376   ORDER BY albumartistview.iOrder
21:32:38 T:2940675136   DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview  WHERE songview.idAlbum = 376
21:32:38 T:2940675136   DEBUG: GetSongsByWhere() - took 16 ms
21:32:39 T:2940675136  NOTICE: Skin Helper Service --> getMusicArtworkByDbId - lookup on disk skipped for Various Artists - not correct folder structure (artistnamelbumname)
21:32:39 T:2940675136  NOTICE: Skin Helper Service --> getMusicBrainzId -- artist:  -  Various Artists  - album:  Das goldene Schlagerarchiv - 1976  - track:
21:32:39 T:2803962944   ERROR: GetDirectory - Error getting /var/media/INTENSO/music/Artist-Slideshow/Boney M./extrafanart
21:32:39 T:2940675136  NOTICE: Skin Helper Service --> getMusicBrainzId results for artist Various Artists  - artistid:  89ad4ac3-39f7-470e-963a-56509c546377  - albumid:  874c844b-6268-4ee0-afe4-2589e1ae7d8f

To be clear:
I want to show the Trackartist-logo even on compilations, where every Track is from an other artist. My fanarts are loaded from ArtistSlideshow, which are correct, if there is any extrafanart online

If I search for "Boney M." as "artist" and "Daddy Cool" as track on musicbrainz, I get "Boney M." as an artist everytime. I don't know what this have to do with compilations. Does your script not use the local folder.jpg or the Cover inside of mp3s? Please help me to understand the logic.
Thx
(2015-11-16, 22:22)marcelveldt Wrote: [ -> ]Aha, well I wasn't supporting the onscreen guide/channel list yet.
I've just added support for that but didn't test it.
Can you grab the latest version from Git and test if it's working ?
Just installed 1.0.13 from the Git, but appears to be doing the same as before, ie getting artwork for current item playing, but nothing else when scrolling up/down channel list. Take it no changes on the code that I posted earlier required?

Edit: Now the artwork I was getting for the current item playing disappears after like 1-2 secs
(2015-11-16, 22:50)Solo0815 Wrote: [ -> ]Doesn't work unfortunately. It displays the "Various Artists"-logo instead of the correct one (Scooter).
To be clear:
I want to show the Trackartist-logo even on compilations, where every Track is from an other artist. My fanarts are loaded from ArtistSlideshow, which are correct, if there is any extrafanart online

If I search for "Boney M." as "artist" and "Daddy Cool" as track on musicbrainz, I get "Boney M." as an artist everytime. I don't know what this have to do with compilations. Does your script not use the local folder.jpg or the Cover inside of mp3s? Please help me to understand the logic.
Thx

I understand what you want. It's just that I currently do not have any compilation albums on my disk to test with....
The logic in the script is that it first tries to match the artist/track in the local database. If found it will just return the details of the album in the database and perform any lookups based on that info. The point is that it should ignore any compilations doing that, so I'm trying to filter out any "various artists" matches...

I have just adjusted the code some more and added some more logging. Can you please -again- grab the latest Git version and test ? Offcourse first flush the persistant cache. If it's still not working I'd like to see the log again because I added some info that can help me track down the issue.
(2015-11-16, 22:56)Dumyat Wrote: [ -> ]Just installed 1.0.13 from the Git, but appears to be doing the same as before, ie getting artwork for current item playing, but nothing else when scrolling up/down channel list. Take it no changes on the code that I posted earlier required?

Edit: Now the artwork I was getting for the current item playing disappears after like 1-2 secs

I looked into it and bad news... It is not going to work. Kodi doesn't support it, the script cannot access the infolabels on the OSD channels/guide.
If you want to get it working you can try out the webservice provided by the script, see the readme.