FAQ  •  Register  •  Login

profiles.xml editing issue

<<

lockdown

Serviio newbie

Posts: 6

Joined: Tue Jan 06, 2015 4:08 pm

Post Tue Jan 06, 2015 4:11 pm

profiles.xml editing issue

Everytime I try to edit the xml profile and then restart I always get the 'Cannot start' until I install the serviio program all over again.

Whats going on here?

thanks

:cry:
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 06, 2015 4:28 pm

Re: profiles.xml editing issue

What changes have you made in the profiles.xml file?
<<

lockdown

Serviio newbie

Posts: 6

Joined: Tue Jan 06, 2015 4:08 pm

Post Tue Jan 06, 2015 4:33 pm

Re: profiles.xml editing issue

removed a line that a remark said was OK to remove.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 06, 2015 6:12 pm

Re: profiles.xml editing issue

Could you be more explicit ?
<<

lockdown

Serviio newbie

Posts: 6

Joined: Tue Jan 06, 2015 4:08 pm

Post Wed Jan 07, 2015 1:08 am

Re: profiles.xml editing issue

sure..

I removed the line in the panasonic 2013 profile that said 'if your tv supports xvid delete this'


also is there anyway to make these changes permanent instead of changing them after every install?

what about having seperate profiles for each device?

thanks
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jan 07, 2015 7:51 am

Re: profiles.xml editing issue

I suppose you talk about this
  Code:
            <!-- AVI files will be transcoded into mpeg-ts, mpeg2 video and ac3 audio. 
         This section is NOT inherited by other Panasonic profiles  -->
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                <Matches container="avi" />
                <!-- Remove this line for models that natively support AVI's with Xvid video (some ST60's) -->
                <Matches container="avi" vCodec="mpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
                <Matches container="avi" vCodec="msmpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
                <Matches container="avi" vCodec="dvvideo" />
            </Video>


If your device supports avi/xvid video, change by this :
I suggest to use Notepad++ text editor (file should be UTF8 encoded)
  Code:
            <!-- AVI files will be transcoded into mpeg-ts, mpeg2 video and ac3 audio. 
         This section is NOT inherited by other Panasonic profiles  -->
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                <Matches container="avi" vCodec="mpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
                <Matches container="avi" vCodec="msmpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
                <Matches container="avi" vCodec="dvvideo" />
            </Video>

Save file, then restart serviio service or reboot pc to reload profiles.


After a serviio update, a profiles.xml backup is done, then you can merge your previous profile modification with latest profiles.xml release.
Seperate profiles for each device was already requested https://bitbucket.org/xnejp03/serviio/i ... r-profiles
<<

lockdown

Serviio newbie

Posts: 6

Joined: Tue Jan 06, 2015 4:08 pm

Post Wed Jan 07, 2015 9:51 am

Re: profiles.xml editing issue

where is the backup saved to?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jan 07, 2015 10:49 am

Re: profiles.xml editing issue

In same place after the serviio update.
For windows:
C:\Program Files\Serviio\config\profiles.xml.bak
<<

lockdown

Serviio newbie

Posts: 6

Joined: Tue Jan 06, 2015 4:08 pm

Post Thu Jan 08, 2015 5:06 am

Re: profiles.xml editing issue

OK. That worked.

How do I merge the profiles together when upgrading?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jan 08, 2015 9:49 am

Re: profiles.xml editing issue

profiles.xml is an XML text file.

Then you can use, compare text tool to compare both "profiles.xml" and "profile.xml.bak" files, then merge modifications.
Look at:
- WinMerge (OpenSource) : http://winmerge.org/
- ExamDiff (freeware) : http://www.prestosoft.com/edp_examdiff.asp
- KDiff3 (windows/linux) : http://kdiff3.sourceforge.net
- Beyond compare (pay) but very complete : http://www.scootersoftware.com/features.php
<<

lockdown

Serviio newbie

Posts: 6

Joined: Tue Jan 06, 2015 4:08 pm

Post Thu Jan 08, 2015 10:39 am

Re: profiles.xml editing issue

thanks..

I for one, will be counting down the days till when the profiles are separated into their own 'cannot be over-ridden' directory.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 16 guests

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