Page 1 of 1

When I add a profile serviio does not start up

PostPosted: Thu Mar 21, 2013 3:53 pm
by chrismallia
Hello

When I add a profile to the profile.xml file and restart the pc serviio gives this error

cannot connect to serviio server it does not seem to be running exiting.

any profile I try to add it happens

Re: When I add a profile serviio does not start up

PostPosted: Thu Mar 21, 2013 4:23 pm
by slyguy42o
post a copy of your profiles.xml and details of what your trying to add please.

Re: When I add a profile serviio does not start up

PostPosted: Thu Mar 21, 2013 5:03 pm
by chrismallia
slyguy42o wrote:post a copy of your profiles.xml and details of what your trying to add please.

<Profile id="netbox" name="SetTopBox Netgem" extendsProfileId="1">
<Detection>
<UPnPSearch>
<FriendlyName>netbox</FriendlyName>
</UPnPSearch>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="mp4" vCodec="mjpeg" />
</Video>
</Transcoding>
</Profile>

Re: When I add a profile serviio does not start up

PostPosted: Thu Mar 21, 2013 10:20 pm
by zip
you should see the error in the log after serviio startup

Re: When I add a profile serviio does not start up

PostPosted: Fri Mar 22, 2013 5:20 pm
by chrismallia
zip wrote:you should see the error in the log after serviio startup


2013-03-18 12:32:19,438 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: The markup in the document following the root element must be well-formed.
2013-03-18 12:32:19,438 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log

Re: When I add a profile serviio does not start up

PostPosted: Fri Mar 22, 2013 6:03 pm
by Illico
I suppose you still have the original profiles.xml file ?
Could you add the same section just before the last </Profiles> line on the original profiles.xml ?

  Code:
<Profile id="netbox" name="SetTopBox Netgem" extendsProfileId="1">
<Detection>
<UPnPSearch>
<FriendlyName>netbox</FriendlyName>
</UPnPSearch>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="mp4" vCodec="mjpeg" />
</Video>
</Transcoding>
</Profile>

Re: When I add a profile serviio does not start up

PostPosted: Fri Mar 22, 2013 9:34 pm
by chrismallia
Illico wrote:I suppose you still have the original profiles.xml file ?
Could you add the same section just before the last </Profiles> line on the original profiles.xml ?

  Code:
<Profile id="netbox" name="SetTopBox Netgem" extendsProfileId="1">
<Detection>
<UPnPSearch>
<FriendlyName>netbox</FriendlyName>
</UPnPSearch>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="mp4" vCodec="mjpeg" />
</Video>
</Transcoding>
</Profile>

That was the problem. I now added the profile the way you told me to and it workes Great Thank you