FAQ  •  Register  •  Login

user-profiles.xml recognized on one server, but not the othe

<<

mherger

Serviio newbie

Posts: 4

Joined: Sun Oct 21, 2018 5:45 am

Post Sun Oct 21, 2018 5:57 am

user-profiles.xml recognized on one server, but not the othe

Hi there!

I'm a new Serviio user - and like it very much so far!

After testing the software on my Mac (macOS 10.12) and creating a user-profiles.xml to tweak the thumbnail size and display name I set Serviio up on a Rock64 using Debian 9. It's all up and running nicely, serving > 40k photos.

The only issue I'm having right now is that it's ignoring my user-profiles.xml. It's a copy of what I tested on the Mac. It's found and parsed correctly (if I read the log file right):

  Code:
2018-10-21 07:28:07,266 INFO  [ProfileManager] Loading profiles from file /user-profiles.xml
2018-10-21 07:28:07,424 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2018-10-21 07:28:07,429 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (M-series - custom)' (id=sam_mx)


Alas, the tweaks don't take effect. Neither the custom name nor the thumbnails change take effect. I'm running 1.10 on the Linux box, 1.9.2 Mac right now, but experienced the same with 1.9.2 on both.

Any hints as to what might be causing this?

Michael
<<

atc98092

User avatar

DLNA master

Posts: 5205

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Oct 21, 2018 2:08 pm

Re: user-profiles.xml recognized on one server, but not the

I don't think the thumbnail size will work with a custom profile. I thought that was a global setting. But Zip can answer for sure.

Could you attach your custom file here, so we can see exactly what you are attempting with it?
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 21, 2018 7:50 pm

Re: user-profiles.xml recognized on one server, but not the

It should work, if your device is picking up the right (custom) profile.

You can see the detailed log to see what profile is used in the responses to your TV.
<<

mherger

Serviio newbie

Posts: 4

Joined: Sun Oct 21, 2018 5:45 am

Post Mon Oct 22, 2018 7:55 am

Re: user-profiles.xml recognized on one server, but not the

As the subject line says that one same user-profiles.xml file is working on one machine, but not the other.

I'll get a detailed log when I'm back home tonight.
<<

mherger

Serviio newbie

Posts: 4

Joined: Sun Oct 21, 2018 5:45 am

Post Mon Oct 22, 2018 4:05 pm

Re: user-profiles.xml recognized on one server, but not the

Ok, attached you'd find both the user-profiles.xml file as well as the detailed log file. The device I'd like customise is the Samsung TV set. Thanks for looking into this!

  Code:
<?xml version="1.0" encoding="UTF-8"?>
<Profiles version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.serviio.org/xsd/profiles/v/1.9.1/Profiles.xsd">
   <Profile id="sam_mx" name="Samsung TV / player (M-series - custom)" extendsProfileId="sam_m">
                <DeviceDescription>
                        <FriendlyName>Fötelisammlung ({computerName})</FriendlyName>
                </DeviceDescription>
      <Detection>
         <UPnPSearch>
            <ModelName>(^UE55MU6270.*)</ModelName>
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>
         <HttpHeaders>
            <!-- some models only support headers -->
            <User-Agent>(.*SEC_HHP_\[TV\] [A-Z]{2}\d{2}M[A-Z]?\d{3,4}.*)</User-Agent>
         </HttpHeaders>
      </Detection>
      <ThumbnailsResolution>HD</ThumbnailsResolution>
   </Profile>
</Profiles>

Attachments
serviio.log.gz
Log file form Debian based system
(7.85 KiB) Downloaded 187 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 22, 2018 8:50 pm

Re: user-profiles.xml recognized on one server, but not the

I can see it's using the Samsung M series profile

  Code:
2018-10-22 17:50:41,480 DEBUG [RendererManager] Adding renderer Renderer[uuid='907ff95d-fe4d-47fa-92c2-b3768c56b99d', ipAddress='192.168.0.84', name='UE55MU6270', profileId='sam_m', manuallyAdded=false, forcedProfile=false, enabled=true, accessGroupId=1, friendlyName='null'] to list of active renderers


It's probably because the detection is first matched by the built-in profile.

You can force your profile to be used for your device in the Console (Status tab).
<<

mherger

Serviio newbie

Posts: 4

Joined: Sun Oct 21, 2018 5:45 am

Post Tue Oct 23, 2018 7:29 am

Re: user-profiles.xml recognized on one server, but not the

Oh wow... that was easy... almost embarrassing... thank you very much!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 23, 2018 1:13 pm

Re: user-profiles.xml recognized on one server, but not the

glad it worked

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 24 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.