Page 1 of 1

Serviio will not start after editing profiles.xml

PostPosted: Sat Jan 30, 2016 12:33 am
by willdaedelus
Hi there,
I was looking for support for android devices and found an android profile on the forum. BUT when I edit the profiles.xml file and add in the android profile, then reboot my Windows 7 system, Serviio will not load. When I open the Console it says: "Cannot connect to the server, it doesn't seem to be running..." I tried placing the android profile in several places in the file: as the first profile, as the last profile just before the </Profiles> tag, rebooting each time to ensure Serviio starts afresh, but no success. It just won't start. What am I doing wrong? :(

Hopefully someone else has had this problem and can help me out. Thanks.

Re: Serviio will not start after editing profiles.xml

PostPosted: Sat Jan 30, 2016 2:18 am
by atc98092
willdaedelus wrote:Hi there,
I was looking for support for android devices and found an android profile on the forum. BUT when I edit the profiles.xml file and add in the android profile, then reboot my Windows 7 system, Serviio will not load. When I open the Console it says: "Cannot connect to the server, it doesn't seem to be running..." I tried placing the android profile in several places in the file: as the first profile, as the last profile just before the </Profiles> tag, rebooting each time to ensure Serviio starts afresh, but no success. It just won't start. What am I doing wrong? :(

Hopefully someone else has had this problem and can help me out. Thanks.


We'd have to see what you were pasting in, but one tiny error and that stops Serviio from starting.

Re: Serviio will not start after editing profiles.xml

PostPosted: Sat Jan 30, 2016 8:09 pm
by zip
There have been changes to the profiles syntax in 1.6, so profiles posted for earlier versions might not work out of the box.

Re: Serviio will not start after editing profiles.xml

PostPosted: Sat Jan 30, 2016 11:16 pm
by willdaedelus
I'm using 1.6.

I added the following to profiles.xml

<Profile id="Android" name="BubbleUPnP" extendsProfileId="1" >
<Detection>
<HttpHeaders>
<X-AV-Client-Info>BubbleUPnP?.*</X-AV-Client-Info>
</HttpHeaders>
</Detection>

<Transcoding>
<Audio targetContainer="mp3">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="lpcm" />
<Matches container="adts" />
<Matches container="asf" />
</Audio>
</Transcoding>

<OnlineTranscoding>
<!-- NOTE: Other rules are inherited from profile 1 -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" maxVBitrate="4000">
<Matches container="flv" vCodec="vp6" />
<Matches container="asf"/> <!-- to support mms:// streams -->
</Video>
<Video targetContainer="mpegts" targetACodec="ac3" >
<Matches container="flv"/>
<Matches container="mp4"/>
</Video>
</OnlineTranscoding>

<SubtitlesMimeType>text/srt</SubtitlesMimeType>
</Profile>

The above code was added just before the </Profiles> tag at the bottom of the file.

Re: Serviio will not start after editing profiles.xml

PostPosted: Sun Jan 31, 2016 12:05 am
by zip
Remove this

  Code:
<SubtitlesMimeType>text/srt</SubtitlesMimeType>

Re: Serviio will not start after editing profiles.xml

PostPosted: Mon Feb 01, 2016 12:16 am
by willdaedelus
Thanks for the advice. I deleted the line of code: <SubtitlesMimeType>text/srt</SubtitlesMimeType> , saved and rebooted. Serviio still will not start. If I remove the final profile and reboot, it will start. The only change from original profiles.xml is to add the final profile at the end of the file.

The reason for wanting an android profile is because using the default profile I believe that video files are not rendered. When playing videos on my Android box and also on a Samsung Galaxy tab, files with srt subs do not play the subs. I think that is because the vid files are not rendered. Is that right? I made sure that subs are selected in the Serviio console, but they do still will not play.

Thanks for your help!