PMS no client profile for Kodi Add-on

My PMS is not recognising the Kodi client Add-on and giving many errors. 200+ in less than 20 minutes

ERROR - Unable to find client profile for device; platform=Linux, platformVersion=4.4.19+rt25, device=Linux-4.4.19+rt25-armv7l-with-glibc2.4, model=Unknown

Running latest
PMS 1.9.4 Server on Synology DSM,
Kodi Add-on (LibreELEC) 0.1.2 on Cubox-i 4 on LibreELEC 8.1.2.

After restart and with debugging on.
The device is recognised
Oct 14, 2017 23:16:18.843 [0x7f16d466b700] DEBUG - [Now] Device is Linux (Kodi Add-on (LibreELEC)).
Oct 14, 2017 23:16:18.844 [0x7f16d466b700] ERROR - Unable to find client profile for device; platform=Linux, platformVersion=4.4.19+rt25, device=Linux-4.4.19+rt25-armv7l-with-glibc2.4, model=Unknown
Oct 14, 2017 23:16:18.844 [0x7f16d466b700] DEBUG - [Now] Updated play state for /library/metadata/41833.
but There is no client under /Resource/Profile, should I copy one and rename it to Kodi Add-on? Kodi Add-on (LibreELEC)? As the debug log seems to recognise the device but then next item is error because there is no profile of that name?

Post in https://github.com/plexinc/plex-for-kodi/issues/130

@BKSteve said:
My PMS is not recognising the Kodi client Add-on and giving many errors. 200+ in less than 20 minutes

ERROR - Unable to find client profile for device; platform=Linux, platformVersion=4.4.19+rt25, device=Linux-4.4.19+rt25-armv7l-with-glibc2.4, model=Unknown

I hadn’t notied this but after checking my logs just now, you’re right. It doesn’t seem to affect playback so everything still works. It’s just very untidy by Plex and really needs to be addressed. Plex for Kodi is a supported client, yes?

Also, PlexKodiConnect seems to have same issue but someone fixed it here:

https://forums.plex.tv/discussion/comment/1536900/#Comment_1536900

@Toolybird said:
I hadn’t notied this but after checking my logs just now, you’re right. It doesn’t seem to affect playback so everything still works. It’s just very untidy by Plex and really needs to be addressed. Plex for Kodi is a supported client, yes?

I’ve looked at the PlexKodiConnect item and they just copy the Generic profile, which is reference to Web, and rename it to PlexKodiConnect.xml but the question is what to name the Profile for Kodi Add-on?
Kodi Add-on?
Kodi Add-on (LibreELEC)? [Is LibreELEC just additional info?]
Is this even the correct naming convention? I didn’t get to the testing of multiple names and sought input from the forum whilst asleep and at work.

Use the same name as the Device section of the error.

You need to alter the new XML to match as well.

@JDWL said:
Use the same name as the Device section of the error.

Sorry, just seeking a little more clarity, so name the file “Linux-4.4.19+rt25-armv7l-with-glibc2.4.xml” ?
And also edit line inside the Generic one to be

?

@BKSteve said:
Sorry, just seeking a little more clarity, so name the file “Linux-4.4.19+rt25-armv7l-with-glibc2.4.xml” ?
And also edit line inside the Generic one to be

?

Yes, it works for me.

But this is just a workaround. The root cause needs to be fixed by Plex. So let me file this in the Plex Media Server bug tracker. Oh wait…

Don’t forget to put it back after an update.
Just updated to 1.9.5 and it wiped the profile from the folder
/…/Plex Media Server/Resources/Profiles

@BKSteve said:
Don’t forget to put it back after an update.
Just updated to 1.9.5 and it wiped the profile from the folder

It won’t get wiped by an update if you install it as a “User” profile:

https://forums.plex.tv/discussion/73702/writing-profiles-for-dlna-devices/p1

@Toolybird said:
It won’t get wiped by an update if you install it as a “User” profile:
https://forums.plex.tv/discussion/73702/writing-profiles-for-dlna-devices/p1

Thanks for the assistance.

For others reading this thread:
Finding the actual folder name to put this in isn’t as easy as reading the the dlna thread, the vague text

User profile files are located in the Plex Media Server user directory, in a directory called Profiles. If you have never authored a user profile before, this directory will not exist.

I’m trying this folder first /volume1/Plex/Library/Application Support/Plex Media Server/Profiles and have put the xml file here after creating the Profiles folder.

I chose this folder after reading https://support.plex.tv/hc/en-us/articles/202915258 and getting the plex media server location for synology.

Further more from the DLNA thread comments I would reiterate @chadcross and @aR3SA4Ry comments on documentation or the lack thereof and needing to search.

It looks like using the Generic profile doesn’t work, I’m seeing all videos transcode even with direct play enabled.

Anyone else having this issue?

To answer my own issue, the transcoding happened due to a minor kernel version bump changing the Device string - so my Profile no longer matched.

Thing is, this Profile biz should not be required at all, any device without a Profile is supposed to default to Generic.

how is this still a thing?
oh wait…this is Plex.

3 Likes