FAQ  •  Register  •  Login

Serviio will not start after editing profiles.xml

<<

willdaedelus

Serviio newbie

Posts: 3

Joined: Fri Jan 29, 2016 10:27 pm

Post Sat Jan 30, 2016 12:33 am

Serviio will not start after editing profiles.xml

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.
<<

atc98092

User avatar

DLNA master

Posts: 5433

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sat Jan 30, 2016 2:18 am

Re: Serviio will not start after editing profiles.xml

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.
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: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

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

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 30, 2016 8:09 pm

Re: Serviio will not start after editing profiles.xml

There have been changes to the profiles syntax in 1.6, so profiles posted for earlier versions might not work out of the box.
<<

willdaedelus

Serviio newbie

Posts: 3

Joined: Fri Jan 29, 2016 10:27 pm

Post Sat Jan 30, 2016 11:16 pm

Re: Serviio will not start after editing profiles.xml

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jan 31, 2016 12:05 am

Re: Serviio will not start after editing profiles.xml

Remove this

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

willdaedelus

Serviio newbie

Posts: 3

Joined: Fri Jan 29, 2016 10:27 pm

Post Mon Feb 01, 2016 12:16 am

Re: Serviio will not start after editing profiles.xml

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!

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 27 guests

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