Kodi Community Forum
v17 Are these errors in log generated by Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263)
+--- Thread: v17 Are these errors in log generated by Kodi (/showthread.php?tid=302932)



Are these errors in log generated by Kodi - Mike_Doc - 2017-01-03

Hi,

Getting some music related 'warnings' in my logfile and can't really id them and asking if they are created by Kodi itself or if not if anyone might know what is creating these warnings:

An example:

10:12:46.308 T:12988 WARNING: Invalid media type "album/compilation"
10:12:46.322 T:12988 WARNING: Invalid media type "album/remix"
10:12:46.326 T:7320 WARNING: Invalid media type "single"
10:12:46.329 T:14656 WARNING: Previous line repeats 1 times.
10:12:46.329 T:14656 WARNING: Invalid media type "album/soundtrack"
10:12:46.330 T:852 WARNING: Invalid media type "album/compilation"

Regards,

Mike.


RE: Are these errors in log generated by Kodi - ronie - 2017-01-03

it's from an addon that tries to set invalid media types.
perhaps you can refer the addon dev to: http://forum.kodi.tv/showthread.php?tid=299107


RE: Are these errors in log generated by Kodi - Mike_Doc - 2017-01-03

Thanks ronie, now just to hunt down the add-on to inform the dev


RE: Are these errors in log generated by Kodi - DaveBlake - 2017-01-03

Mike when you find them they may want to know that the album table, has two slightly confusingly names fields:
a) strType - this could contain anything. It is populated from both music file tags (new to v17) and scraped from NFO files and maybe online, but as far as Kodi knows it is just arbitary text. Returned in the "Album_type" listitem and music player property

b) strReleaseType - this is an internal codification of album into "album" or "single" (for the fake album used for all singles by an artist). It will contain either "album" or "single", and can only be edited by Kodi when music files are scanned into the library. Returned in the "album_releasetype" listitem and music player property

The values in the log are clearly from strType, probably having been picked up by v17 from scanning music files tagged using Picard. It would seem the addon is then trying to use these as a media type.