Page 1 of 1

Can I save my modified installation in case I need it again

PostPosted: Tue Aug 16, 2011 1:29 pm
by hexeta
Having still not found why my PC hangs on shutdown, and I might have to re-install from a saved image about 3 years old. :cry:
To save some of the pain, is it possible to save a copy of the modified Serviio installation so that I don't have to copy, paste and delete sections of the code again in order to get it to display certain file types etc.?

Re: Can I save my modified installation in case I need it ag

PostPosted: Tue Aug 16, 2011 1:46 pm
by moltra
I would copy your profile.xml file. that will save all your custom settings. When 0.6 comes out shortly you will have to make the changes to the new profile.xml file since I do not think the current and the new one are not compatible.

Re: Can I save my modified installation in case I need it ag

PostPosted: Tue Aug 16, 2011 2:13 pm
by hexeta
Thanks moltra, if I do have to re-install before ver.6 is released, presumably all I do is replace the original "profile.xml file " with my saved one.
How frequently is Serviio revised?

Can't say that I'm looking forward to the prospect of bending a new installation to my will....but then, it's you guys that do all the work, I just find the problems! :mrgreen:

Re: Can I save my modified installation in case I need it ag

PostPosted: Tue Aug 16, 2011 2:32 pm
by moltra
Normally it is easy to upgrade. this time is a little different due to the upgrades in database speed, and online feeds.

You will have to place your custom elements in the new profile.xml

What kinds of changes have you made to your profiles? If they are for a certain render to make it work better, if we can get a couple of other users to verify that it works, Zip will make the changes to the stock profle.xml

Re: Can I save my modified installation in case I need it ag

PostPosted: Tue Aug 16, 2011 2:52 pm
by hexeta
There were two edits, full detail is on this page:- viewtopic.php?f=11&t=2492&start=20

The first was to try and play ".ts" files, though it didn't work, the changed script still remains:-

<Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
<Detection>
<UPnPSearch> <!-- for 2010 models -->
<FriendlyName>.*BRAVIA.*</FriendlyName>
</UPnPSearch>
<HttpHeaders> <!-- for 2009 models -->
<X-AV-Client-Info>.*BRAVIA.*</X-AV-Client-Info>
</HttpHeaders>
</Detection>
<MediaFormatProfiles>
<!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
<!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems -->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.1" />
</Video>
<!-- Remux all other h264 video on MPEG-TS stream with ac3 audio transcoding -->
<!-- expected profile AVC_TS_MP_HD_AC3_ISO -->
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="avi" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="h264" />
<!-- if audio different to ac3, must be transcoded -->
<Matches container="mpegts" aCodec="aac" />
<Matches container="mpegts" aCodec="mp3" />
<Matches container="mpegts" aCodec="dca" />
<Matches container="mpegts" aCodec="lpcm" />
<Matches container="mpeg" aCodec="dca" />
</Video>
<!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192">
<Matches container="asf" />
<Matches container="avi" />
<Matches container="mp4" />
<Matches container="matroska" />
<Matches container="flv" />
<Matches container="wtv" />
</Video>
<Audio targetContainer="lpcm">
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="ogg" />
</Audio>
<!-- To allow "pause" then "resume" functions on flac must be transcode to mp3 -->
<Audio targetContainer="mp3">
<Matches container="flac" />
</Audio>
</Transcoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>

The next was another try:-
Ok, another chance:
Could you insert this line on the transcoding tab of the "Sony Bravia" profile section:

<Matches container="mpegts" aCodec="mp2" />


That was a success.

I'm surprised that this only amounted to basically two edits, it seemed like brain surgery by phone at the time! :lol: