2014-10-30, 19:54
I have a problem when using the extended info script to get artist details when artist names have a "," in them. I was told that this may be a general problem that
effects all addons and could be a core problem therefore i'm posting here also.
More detail can be found in this thread... http://forum.kodi.tv/showthread.php?tid=...pid1825512
If running a script using...
And the artist names have a "," included like "Crosby, Stills, & Nash" for instance. It seems to ignore anything in the $INFO tag after the ",".
When I run the script it will only return data for "Crosby".
Running the script with "Crosby, Stills, & Nash" you can see that it found "Crosby" and it ignored anything after the "," to get the mbid. It then
shows "Stills & Nash" under that as just extra text or something. But it discards anything after "," to get the mbid.
I'm running Helix nightlies but this has been happening when running Gotham also. It seems as though $ESCINFO doesn't seem to work anymore, if I
use $ESCINFO it acts as though you just ran the script with an empty call.
Not too many artists have a "," in their names so it's not too big of a deal but I thought maybe you all should be aware of this and can maybe check into it. Thanks.
effects all addons and could be a core problem therefore i'm posting here also.
More detail can be found in this thread... http://forum.kodi.tv/showthread.php?tid=...pid1825512
If running a script using...
PHP Code:
RunScript(script.extendedinfo,info=artistdetails,artistname=$INFO[Container(50).ListItem.Property(Headliner)],silent=False)
And the artist names have a "," included like "Crosby, Stills, & Nash" for instance. It seems to ignore anything in the $INFO tag after the ",".
When I run the script it will only return data for "Crosby".
Running the script with "Crosby, Stills, & Nash" you can see that it found "Crosby" and it ignored anything after the "," to get the mbid. It then
shows "Stills & Nash" under that as just extra text or something. But it discards anything after "," to get the mbid.
PHP Code:
09:20:04 T:6276 DEBUG: script.extendedinfo: version 1.0.0 started
09:20:04 T:6276 DEBUG: script.extendedinfo: default.py
09:20:04 T:6276 DEBUG: script.extendedinfo: info=artistdetails
09:20:04 T:6276 DEBUG: script.extendedinfo: artistname=Crosby
09:20:04 T:6276 DEBUG: script.extendedinfo: save to textfile: C:\Users\Woodside\AppData\Roaming\Kodi\userdata\addon_data\script.extendedinfo\07d062a7607dc570bdabe6fe9d5bec10.txt
09:20:04 T:6276 DEBUG: script.extendedinfo: found artist id for Crosby: fcb54ed6-d107-4408-a489-53d1cbf80cb8
09:20:04 T:6276 DEBUG: script.extendedinfo: Stills & Nash
09:20:04 T:6276 DEBUG: script.extendedinfo: Discography.Count = None
09:20:04 T:6276 DEBUG: script.extendedinfo: MusicVideos.Count = None
09:20:05 T:6276 DEBUG: script.extendedinfo: save to textfile: C:\Users\Woodside\AppData\Roaming\Kodi\userdata\addon_data\script.extendedinfo\368891fd5efc9e5d45ff3264d76e9804.txt
09:20:05 T:6276 DEBUG: script.extendedinfo: Error when handling GetExtendedAudioDBInfo results
09:20:05 T:6276 DEBUG: script.extendedinfo: save to textfile: C:\Users\Woodside\AppData\Roaming\Kodi\userdata\addon_data\script.extendedinfo\f0411563d79873192c29cc0daedb9d30.txt
09:20:05 T:6276 DEBUG: script.extendedinfo: Error when handling HandleAudioDBAlbumResult results
09:20:05 T:6276 DEBUG: script.extendedinfo: finished
I'm running Helix nightlies but this has been happening when running Gotham also. It seems as though $ESCINFO doesn't seem to work anymore, if I
use $ESCINFO it acts as though you just ran the script with an empty call.
PHP Code:
10:10:30 T:1400 DEBUG: script.extendedinfo: version 1.0.0 started
10:10:30 T:1400 DEBUG: script.extendedinfo: default.py
10:10:30 T:1400 DEBUG: script.extendedinfo: info=artistdetails
10:10:30 T:1400 DEBUG: script.extendedinfo: artistname=
10:10:30 T:1400 DEBUG: script.extendedinfo: Discography.Count = None
10:10:30 T:1400 DEBUG: script.extendedinfo: MusicVideos.Count = None
10:10:31 T:1400 DEBUG: script.extendedinfo: save to textfile: C:\Users\Woodside\AppData\Roaming\Kodi\userdata\addon_data\script.extendedinfo\6de11549bc707ee9e24cf3005761f40b.txt
10:10:31 T:1400 DEBUG: script.extendedinfo: save to textfile: C:\Users\Woodside\AppData\Roaming\Kodi\userdata\addon_data\script.extendedinfo\efbeebf24d786be8c94781a4bfc582ff.txt
10:10:31 T:1400 DEBUG: script.extendedinfo: Error when handling HandleAudioDBMusicVideoResult results
10:10:31 T:1400 DEBUG: script.extendedinfo: save to textfile: C:\Users\Woodside\AppData\Roaming\Kodi\userdata\addon_data\script.extendedinfo\c6c048a4ffa65e0255e14bc3efc5e059.txt
10:10:31 T:1400 DEBUG: script.extendedinfo: Error when handling HandleAudioDBAlbumResult results
10:10:31 T:1400 DEBUG: script.extendedinfo: finished
Not too many artists have a "," in their names so it's not too big of a deal but I thought maybe you all should be aware of this and can maybe check into it. Thanks.