(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