<?xml version="1.0" encoding="utf-8"?>
<HmsMediaItem>
  <MediaType>3</MediaType>
  <ClassID>51</ClassID>
  <ItemID>165683c1-2fb0-4545-85f9-385133cba960</ItemID>
  <ItemPath></ItemPath>
  <ParentID>234DF17B-418C-4FDC-9DFE-CD0C586D2E76</ParentID>
  <Properties>
    <Property>
      <ID>4</ID>
      <Value>Тучка TV</Value>
    </Property>
    <Property>
      <ID>515</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>700</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>701</ID>
      <Value>-1</Value>
    </Property>
    <Property>
      <ID>702</ID>
      <Value>-1</Value>
    </Property>
    <Property>
      <ID>517</ID>
      <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
    </Property>
    <Property>
      <ID>518</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>512</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>532</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>553</ID>
      <Value>1</Value>
    </Property>
    <Property>
      <ID>522</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>570</ID>
      <Value>0</Value>
    </Property>
    <Property>
      <ID>245</ID>
      <Value>165683c1-2fb0-4545-85f9-385133cba960</Value>
    </Property>
    <Property>
      <ID>93</ID>
      <Value>42242,9235293287</Value>
    </Property>
    <Property>
      <ID>550</ID>
      <Value>const
  //csCommandLine1 = &apos;cmd://"%s"  --no-crashdump --play-and-exit --language en -Idummy --demuxdump-file="&lt;OUTPUT FILE&gt;" --access=p2p_access "%s" :demux=dump&apos;;
  csCommandLine1 = &apos;cmd://"%s"   --no-crashdump --play-and-exit --language en -Idummy --demuxdump-file="&lt;OUTPUT FILE&gt;" vlc://pause:2 --access=p2p_access "%s" :demux=dump&apos;;
  csCommandLine2 = &apos;cmd://"%s"  --no-crashdump --play-and-exit --language en --no-auto-preparse --no-playlist-autostart --extraintf=dummy -Iluaintf --lua-intf=hmsts --lua-config "hmsts={torrentfile=&apos;#39&apos;%s&apos;#39&apos;, torrentsubfile=&apos;#39&apos;%s&apos;#39&apos;}" --demuxdump-file="&lt;OUTPUT FILE&gt;" --access=p2p_access "%s"&apos;;

// ---------------------------------------------------------------------------------------
// Получение пути AceStream плеера

function GetTsPlayerPath: string;
var
  sResult: string;
begin
  sResult := IncludeTrailingBackslash(RegistryRead(&apos;Software\AceStream\InstallDir&apos;)) + &apos;Player\ace_player.exe&apos;;
  Result := ExtractShortPathName(sResult);
  HmsLogMessage(1, &apos;Result = &apos; + Result);
  
  if Result = &apos;&apos; then Result := sResult
end;

var sItemLink,sWebPage1,sWeb:string;
begin
//  CreateHmsTsLuaScript;
  HmsLogMessage(1, &apos;Открываем &apos; + mpTitle);

  sWebPage1 := HmsDownloadURL(mpFilePath); //загружаем главную страницу сайта
    sWebPage1 :=HmsUtf8Decode(sWebPage1); //переводим из уникода
    sWebPage1 :=HmsRemoveLineBreaks(sWebPage1);
    
     HmsRegExMatch(&apos;&lt;center&gt;&lt;iframe id="player" scrolling="no" frameborder="0" src="(.*?)"&apos;, sWebPage1, sItemLink);  //выделяем ссылку на видео
     if  sItemLink=&apos;&apos;  then
     HmsRegExMatch(&apos;loadPlayer.*?"(.*?)", {autoplay&apos;, sWebPage1, sItemLink);
     mpFilePath := sItemLink;   
        
  if (Pos(&apos;http&apos;,mpFilePath)&lt;&gt;0) and (Pos(&apos;.acelive&apos;,mpFilePath)=0) then begin
    sWeb := HmsUtf8Decode (HmsDownloadURL(mpFilePath)); 
      HmsRegExMatch(&apos;loadPlayer.*?"(.*?)"&apos;, sWeb, sWeb);
    MediaResourceLink := Format(csCommandLine1, [GetTsPlayerPath, sWeb]);
  end
  else MediaResourceLink := Format(csCommandLine1, [GetTsPlayerPath, mpFilePath]);
  
end.</Value>
    </Property>
    <Property>
      <ID>551</ID>
      <Value>PascalScript</Value>
    </Property>
    <Property>
      <ID>50</ID>
      <Value>AceStream (ACEPLAYER - FFMPEG)</Value>
    </Property>
  </Properties>
  <ChildItems>
    <Item>
      <ClassID>51</ClassID>
      <ItemID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ItemID>
      <ItemPath>http://tuchkatv.ru/</ItemPath>
      <ParentID>165683c1-2fb0-4545-85f9-385133cba960</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>1</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>1</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>701</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>702</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>517</ID>
          <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
        </Property>
        <Property>
          <ID>518</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>522</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>571</ID>
          <Value>const
  PCRE_CASELESS   = $00000001;  
  PCRE_DOTALL     = $00000004;
  PCRE_SINGLELINE = PCRE_CASELESS + PCRE_DOTALL;       

var
  s,s1,s2,ini, file,kat,id,pap,pap1,mes,god,img: string;
  j,i,aPercent,e,grp:Integer;
  ItemsRegExpr,ItemsRegExpr1,ItemsRegExpr2,ItemsRegExpr3: TRegExpr;
  sWebPage_,sWebPage_1,sWebPage,sWebPage1,sWebPage2,total,total1: string;
  Item: THmsScriptMediaItem;
  myYear, myMonth, myDay : Word;
  k:byte;
kol: string;
   kol_i,ka,kolS:integer;
    sez_adr,sez_nazv:string;
   sItemLink,s3,s4,s5,nazv: string;    
  t_na4,t_kon,t_pr:TDatetime; 
   Hour, Min, Sec, MSec: Word;
   ACaption, APrompt, ADefault: string;
   sc: THmsScriptMediaItem;
  
 procedure serial(const aItemDescr: string);   // поцедура выделение свойств фильмов   aItemDescr -строка -результат поиска ItemsRegExpr1.Match между  &lt;li&gt; и &lt;/li&gt;
  
  var              //   обьявление в процедуре              
    Item: THmsScriptMediaItem;   // обьект Item из класса THmsScriptMediaItem -пункт в перечне фильмов
            //  строка
    

    
  begin               //      начало процедуры
       inc(kolS);
        HmsRegExMatch(&apos;"&gt;(.*?)&lt;/&apos;, aItemDescr, s2);    //  в строку  sItemLink вставить то что между   (href=") и (") из  aItemDescr  .Пример: sItemLink = /trillery/23781-punkt-naznacheniya-5-final-destination-5-2011.html
 
  //       kat:=s2[1];  // Алфавит     
         kat := &apos;\&apos; + kat ;
        HmsRegExMatch(&apos;href="(.*?)"&apos;, aItemDescr, s3);

// if (s2 = &apos;Сериалы&apos;) or (s2 = &apos;- Русские сериалы&apos;) or (s2 = &apos;- Зарубежные сериалы&apos;) or (s2 = &apos;Аниме&apos;) or (s2 = &apos;HQ качество&apos;) then    // 

if (s2 = &apos;HD&apos;) then
   begin
     s2:= &apos;&apos;; 
     s3:= &apos;&apos;;
   end  
       else
   begin      
        Item := Folderitem.AddFolder(kat,true).AddFolder(&apos;http://tuchkatv.ru&apos; + s3, false); // Создаём подкаст (Сериал)
       s2:=ReplaceStr(s2, &apos;\&apos;,&apos; &apos;);
        s2:=ReplaceStr(s2, &apos;/&apos;,&apos; &apos;);
       s2:=ReplaceStr(s2, &apos;&lt;br/&gt;&apos;,&apos; &apos;);
	   s2 := Uppercase(s2) ;
        Item[mpiTitle]     := s2;      // Название
        
//      HmsRegExMatch(&apos;&lt;img src="(.*?)"&apos;, aItemDescr, img); 
//ShowMessage(img);                 
//exit;   
        
//        Item.Properties[mpiThumbnail] := &apos;http://tuchkatv.ru&apos; +img ; //картинка
   end;  
  end;               //  конец процедуры 
  
 
 
begin
       
    FolderItem.DeleteChildItems; 
    sWebPage1 := HmsDownloadURL(mpFilePath); 
     sWebPage1 :=HmsUtf8Decode (sWebPage1);
    sWebPage1 :=HmsRemoveLineBreaks(sWebPage1);
     HmsRegExMatch(&apos;&lt;ul id="slidemenu" class="reset"&gt;(.*?)&lt;div class="wwide footbg"&gt;&apos;, sWebPage1, sWebPage1);  
     ItemsRegExpr1 := TRegExpr.Create(&apos;&lt;li&gt;(.*?)&lt;/li&gt;&apos;,PCRE_SINGLELINE);  //создать объект с содерж. между кавычек
    try
      if ItemsRegExpr1.Search(sWebPage1) then repeat    //искать в исх.строке объект и повторять
      serial(ItemsRegExpr1.Match)   //запускать процедуру получения свойств фильма каждый раз как найден объект
      until not ItemsRegExpr1.SearchAgain; 
    finally       
      ItemsRegExpr1.Free;

  
     end;
 
  HmsHideInformation  ; 
 // Hmslogmessage(1,&apos;добавлено сериалов &apos;+inttostr(kols)); 

end.</Value>
        </Property>
        <Property>
          <ID>572</ID>
          <Value>PascalScript</Value>
        </Property>
        <Property>
          <ID>570</ID>
          <Value>1</Value>
        </Property>
        <Property>
          <ID>245</ID>
          <Value>45b87c96-af17-42a6-8960-e7ca02bf3cf0</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42242,9239712732</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Категории</Value>
        </Property>
        <Property>
          <ID>530</ID>
          <Value>const
  PCRE_CASELESS   = $00000001;  
  PCRE_DOTALL     = $00000004;
  PCRE_SINGLELINE = PCRE_CASELESS + PCRE_DOTALL;    //нужны для класса TRegExpr   

var
  jpg1,jpg,pap,id,kat,nazva: string;   //объявляем строки
  i,j,grp:Integer;                   //объявляем целые числа
  ItemsRegExpr,ItemsRegExpr1: TRegExpr;   //объявляем  объект из класса TRegExpr
  sWebPage,sWebPage1,total,total1: string;   //объявляем строки
  

 procedure ProcessItem1(const aItemDescr: string);   // процедура обработки инфы о видео , aItemDescr -строка с инфой о видео
  var  
  Item: THmsScriptMediaItem;              //объявляем файл в списке медиафайлов
  sItemLink1,sItemLink,s: string;    

 begin
       HmsRegExMatch(&apos;href="(.*?)"&apos;, aItemDescr, sItemLink);
       
       HmsRegExMatch(&apos;http://tuchkatv.ru/.*?-(.*?).html&apos;, sItemLink, nazva);
       
       Item := HmsCreateMediaItem(sItemLink, FolderItem.ItemID); 
  //   Item := HmsCreateMediaItem(sItemLink+&apos;&amp;n=&apos;+IntToStr(FolderItem.ChildCount), FolderItem.ItemID );
        
       HmsRegExMatch(&apos;канал(.*?)онлайн&apos;, aItemDescr, sItemLink); //Смотреть
// ShowMessage(sItemLink);
  
       if (Pos(&apos;http&apos;,sItemLink)&lt;&gt;0)  then 
       sItemLink := nazva; 
       
       if sItemLink=&apos;&apos;  then
       sItemLink := nazva;
       
       sItemLink := Uppercase(sItemLink) ;
       Item.Properties[mpiTitle] := sItemLink ;
       
       HmsRegExMatch(&apos;/uploads(.*?)png&apos;, aItemDescr, jpg);
       jpg1 :=  &apos;http://tuchkatv.ru/uploads&apos; + jpg + &apos;png&apos;;
       Item.Properties[mpiThumbnail] := jpg1;
 
 end;  
           
    //Тут начинается сама программа 
begin
    FolderItem.DeleteChildItems;  //удаляем список видеофайлов
    HmsShowInformation(mptitle); 
    sWebPage1 := HmsDownloadURL(mpFilePath); //загружаем главную страницу сайта
    sWebPage1 :=HmsUtf8Decode(sWebPage1); //переводим из уникода
    sWebPage1 :=HmsRemoveLineBreaks(sWebPage1);  //убираем переводы строки
    HmsRegExMatch(&apos;&lt;div id="midside" class="lcol"&gt;(.*?)&lt;div id="sidebar" class="rcol"&gt;&apos;, sWebPage1, sWebPage1);  
    ItemsRegExpr1 := TRegExpr.Create(&apos;&lt;div class="maincont"&gt;(.*?)&lt;div class="clr"&gt;&apos;,PCRE_SINGLELINE);  //создать объект с содерж. между кавычек (инфа о категории) искать между подстрокой (&lt;li&gt;) и (&lt;/li&gt;)
    try
      if ItemsRegExpr1.Search(sWebPage1) then repeat    //искать в исх.строке объект и повторять
// ShowMessage(ItemsRegExpr1.Match);
      ProcessItem1(ItemsRegExpr1.Match)   // запускать процедуру обработки категории каждый раз как найден объект ItemsRegExpr1.Match = aItemDescr
      until not ItemsRegExpr1.SearchAgain; 
    finally       
      ItemsRegExpr1.Free    //освободить объект
    end  ; 
    
  
  
HmsHideInformation;   

end.</Value>
        </Property>
        <Property>
          <ID>531</ID>
          <Value>PascalScript</Value>
        </Property>
      </Properties>
      <ChildItems>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>261dbe3c4464fc404fa1f459f82034e3</ItemID>
          <ItemPath>http://tuchkatv.ru/razvlekatelnye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Развлекательные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907174074</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>261dbe3c4464fc404fa1f459f82034e3</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>d966a3fea0ef906fd7b9ad26b654a8bc</ItemID>
          <ItemPath>http://tuchkatv.ru/poznavatelnye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Познавательные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907217361</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>d966a3fea0ef906fd7b9ad26b654a8bc</Value>
            </Property>
            <Property>
              <ID>50</ID>
              <Value>AceStream (ACEPLAYER - FFMPEG)</Value>
            </Property>
          </Properties>
          <HmsTranscodingConfig>
            <TranscoderList>
              <Transcoder>
                <Name>HMSMPEG</Name>
                <Path>hmsmpeg.exe</Path>
                <HomePage>http://www.ffmpeg.org/</HomePage>
                <Download></Download>
              </Transcoder>
              <Transcoder>
                <Name>HmsMPEG</Name>
                <Path>Hmsmpeg.exe</Path>
                <HomePage>http://www.ffmpeg.org/</HomePage>
                <Download></Download>
              </Transcoder>
              <Transcoder>
                <Name>hmsMPEG</Name>
                <Path>hmsmpeg.exe</Path>
                <HomePage>http://www.ffmpeg.org/</HomePage>
                <Download></Download>
              </Transcoder>
            </TranscoderList>
            <TranscodingProfileList>
              <Profile>
                <TranscoderName>HMSMPEG</TranscoderName>
                <TranscodingCondition></TranscodingCondition>
                <TranscodingConditionSyntaxType>PascalScript</TranscodingConditionSyntaxType>
                <TranscodingComment></TranscodingComment>
                <TranscodingFolder>Транскодирование для TorrentStream, AceStream медиа-ресурсов</TranscodingFolder>
                <TranscodingMediaType>3</TranscodingMediaType>
                <TranscodingMimeType></TranscodingMimeType>
                <TranscodingMimeTypeScript>cfgTranscodingVideoMimeType</TranscodingMimeTypeScript>
                <TranscodingMimeTypeSyntaxType>PascalScript</TranscodingMimeTypeSyntaxType>
                <TranscodingMode>1</TranscodingMode>
                <TranscodingParams>const
  csVlcParams = &apos;-Idummy --language en vlc://pause:2 --demuxdump-file="%s" --access=p2p_access "%s" :demux=dump&apos;;  
var
  sFileType, sInputFileName, sMediaResourceLink, sReadPipeName, sWritePipeName, sTranscodingParams: string;    
begin
  TranscodingResult := False;
  sInputFileName := InputFileName;
  if sInputFileName = &apos;-&apos; then begin
    sMediaResourceLink := HmsGetItemProperty(mpiMediaResourceLink);
    if Pos(&apos;--demuxdump-file&apos;, sMediaResourceLink) &gt; 0 then begin
      if not HmsRegExMatch(&apos;--access=p2p_access "(.*?)"&apos;, sMediaResourceLink, sInputFileName) then 
        HmsRegExMatch(&apos;"(.*?\.torrent)"&apos;, sMediaResourceLink, sInputFileName)
     end    
  end;      
  if HmsCreateDualPipe(sReadPipeName, sWritePipeName) then begin
    if HmsTranscodingExecute(&apos;ACEPLAYER&apos;, Format(csVlcParams, [sWritePipeName, sInputFileName]), False) then begin    
      if mpFileType &lt;&gt; &apos;&apos; then      
        sFileType := &apos;-f "&apos; + mpFileType + &apos;" &apos;
      else                          
        sFileType := &apos;&apos;;
      mpInternetItem := False;
      sTranscodingParams := HmsTranscodingProfileParams(&apos;Фильмы (основной)&apos;);
      sTranscodingParams := ReplaceStr(sTranscodingParams, &apos;&lt;HMSMPEG&gt; &apos;, sFileType);          
      sTranscodingParams := ReplaceStr(sTranscodingParams, &apos;&lt;INPUT FILE&gt;&apos;, sReadPipeName);      
      sTranscodingParams := sTranscodingParams + &apos; "&apos; + OutputFileName + &apos;"&apos;;
      TranscodingResult := HmsTranscodingExecute(&apos;HMSMPEG&apos;, sTranscodingParams, True)          
    end 
  end 
end.</TranscodingParams>
                <TranscodingParamsSyntaxType>PascalScript</TranscodingParamsSyntaxType>
                <TranscodingProfile>AceStream (ACEPLAYER - FFMPEG)</TranscodingProfile>
                <TranscodingProfileActive>-1</TranscodingProfileActive>
                <TranscodingProfilePriority>37</TranscodingProfilePriority>
                <TranscodingProfileUuid>09d8f390-166e-4b6d-88cf-64820cf53475</TranscodingProfileUuid>
              </Profile>
            </TranscodingProfileList>
          </HmsTranscodingConfig>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>433fddfcda50b2e329ebfdf7c353c5d0</ItemID>
          <ItemPath>http://tuchkatv.ru/kino-serialy/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Фильмы</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907261806</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>433fddfcda50b2e329ebfdf7c353c5d0</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>a263baaa04168cad5b8e0f9c5c0aba29</ItemID>
          <ItemPath>http://tuchkatv.ru/obschestvennye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Общественные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907313889</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>a263baaa04168cad5b8e0f9c5c0aba29</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>dfac16efd39de296f5759fbe73a74393</ItemID>
          <ItemPath>http://tuchkatv.ru/muzykalnye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Музыкальные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907370255</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>dfac16efd39de296f5759fbe73a74393</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>97f3053a0be7a2b02097fdb2005d38f5</ItemID>
          <ItemPath>http://tuchkatv.ru/sportivnye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Спортивные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907446991</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>97f3053a0be7a2b02097fdb2005d38f5</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>61e513b7fc95779bebb05f35bad9def0</ItemID>
          <ItemPath>http://tuchkatv.ru/novostnye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Новостные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907489468</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>61e513b7fc95779bebb05f35bad9def0</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>1b68f407abc86141a010a2424057ab73</ItemID>
          <ItemPath>http://tuchkatv.ru/detskie/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Детские</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907534375</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>1b68f407abc86141a010a2424057ab73</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>f856d65364f5b7469eba11cda23f519d</ItemID>
          <ItemPath>http://tuchkatv.ru/regionalnye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Региональные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907568403</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>f856d65364f5b7469eba11cda23f519d</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>7efe363344781686471d1031f1a2f576</ItemID>
          <ItemPath>http://tuchkatv.ru/religioznye/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>Религиозные</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907600116</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>7efe363344781686471d1031f1a2f576</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>30e02830633456f4e5893325f79dd68c</ItemID>
          <ItemPath>http://tuchkatv.ru/18/</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>XXX</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,5408579282</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907642477</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>30e02830633456f4e5893325f79dd68c</Value>
            </Property>
          </Properties>
        </Item>
        <Item>
          <ClassID>53</ClassID>
          <ItemID>ada5988e-7e57-4c90-b770-a60bf877c62d</ItemID>
          <ItemPath>http://tuchkatv.ru/hd</ItemPath>
          <ParentID>45b87c96-af17-42a6-8960-e7ca02bf3cf0</ParentID>
          <Properties>
            <Property>
              <ID>515</ID>
              <Value>1</Value>
            </Property>
            <Property>
              <ID>512</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>532</ID>
              <Value>1</Value>
            </Property>
            <Property>
              <ID>700</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>553</ID>
              <Value>2</Value>
            </Property>
            <Property>
              <ID>42</ID>
              <Value>3</Value>
            </Property>
            <Property>
              <ID>4</ID>
              <Value>HD</Value>
            </Property>
            <Property>
              <ID>701</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>702</ID>
              <Value>-1</Value>
            </Property>
            <Property>
              <ID>517</ID>
              <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
            </Property>
            <Property>
              <ID>518</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>522</ID>
              <Value>0</Value>
            </Property>
            <Property>
              <ID>245</ID>
              <Value>ada5988e-7e57-4c90-b770-a60bf877c62d</Value>
            </Property>
            <Property>
              <ID>93</ID>
              <Value>42243,3496395718</Value>
            </Property>
            <Property>
              <ID>530</ID>
              <Value>const
  PCRE_CASELESS   = $00000001;  
  PCRE_DOTALL     = $00000004;
  PCRE_SINGLELINE = PCRE_CASELESS + PCRE_DOTALL;    //нужны для класса TRegExpr   

var
  jpg1,jpg,pap,id,kat,nazva: string;   //объявляем строки
  i,j,grp:Integer;                   //объявляем целые числа
  ItemsRegExpr,ItemsRegExpr1: TRegExpr;   //объявляем  объект из класса TRegExpr
  sWebPage,sWebPage1,total,total1: string;   //объявляем строки
  

 procedure ProcessItem1(const aItemDescr: string);   // процедура обработки инфы о видео , aItemDescr -строка с инфой о видео
  var  
  Item: THmsScriptMediaItem;              //объявляем файл в списке медиафайлов
  sItemLink1,sItemLink,s: string;    

 begin
       HmsRegExMatch(&apos;href="(.*?)"&apos;, aItemDescr, sItemLink);
       
       HmsRegExMatch(&apos;http://tuchkatv.ru/.*?-(.*?).html&apos;, sItemLink, nazva);
       
       Item := HmsCreateMediaItem(sItemLink, FolderItem.ItemID); 
  //   Item := HmsCreateMediaItem(sItemLink+&apos;&amp;n=&apos;+IntToStr(FolderItem.ChildCount), FolderItem.ItemID );
        
       HmsRegExMatch(&apos;канал(.*?)онлайн&apos;, aItemDescr, sItemLink); //Смотреть
// ShowMessage(sItemLink);
  
       if (Pos(&apos;http&apos;,sItemLink)&lt;&gt;0)  then 
       sItemLink := nazva; 
       
       if sItemLink=&apos;&apos;  then
       sItemLink := nazva;
       
       sItemLink := Uppercase(sItemLink) ;
       Item.Properties[mpiTitle] := sItemLink ;
       
       HmsRegExMatch(&apos;/uploads(.*?)png&apos;, aItemDescr, jpg);
       jpg1 :=  &apos;http://tuchkatv.ru/uploads&apos; + jpg + &apos;png&apos;;
       Item.Properties[mpiThumbnail] := jpg1;
 
 end;  
           
    //Тут начинается сама программа 
begin
    FolderItem.DeleteChildItems;  //удаляем список видеофайлов
    HmsShowInformation(mptitle); 
    sWebPage1 := HmsDownloadURL(mpFilePath); //загружаем главную страницу сайта
    sWebPage1 :=HmsUtf8Decode(sWebPage1); //переводим из уникода
    sWebPage1 :=HmsRemoveLineBreaks(sWebPage1);  //убираем переводы строки
    HmsRegExMatch(&apos;&lt;div id="midside" class="lcol"&gt;(.*?)&lt;div id="sidebar" class="rcol"&gt;&apos;, sWebPage1, sWebPage1);  
    ItemsRegExpr1 := TRegExpr.Create(&apos;&lt;div class="maincont"&gt;(.*?)&lt;div class="clr"&gt;&apos;,PCRE_SINGLELINE);  //создать объект с содерж. между кавычек (инфа о категории) искать между подстрокой (&lt;li&gt;) и (&lt;/li&gt;)
    try
      if ItemsRegExpr1.Search(sWebPage1) then repeat    //искать в исх.строке объект и повторять
// ShowMessage(ItemsRegExpr1.Match);
      ProcessItem1(ItemsRegExpr1.Match)   // запускать процедуру обработки категории каждый раз как найден объект ItemsRegExpr1.Match = aItemDescr
      until not ItemsRegExpr1.SearchAgain; 
    finally       
      ItemsRegExpr1.Free    //освободить объект
    end  ; 
    
  
  
HmsHideInformation;   

end.</Value>
            </Property>
            <Property>
              <ID>531</ID>
              <Value>PascalScript</Value>
            </Property>
            <Property>
              <ID>525</ID>
              <Value>42457,8907715972</Value>
            </Property>
          </Properties>
        </Item>
      </ChildItems>
    </Item>
    <Item>
      <ClassID>53</ClassID>
      <ItemID>64832dfe-9755-4ed5-9b54-f9b2fe11b6a5</ItemID>
      <ItemPath></ItemPath>
      <ParentID>165683c1-2fb0-4545-85f9-385133cba960</ParentID>
      <Properties>
        <Property>
          <ID>515</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>512</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>532</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>700</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>553</ID>
          <Value>2</Value>
        </Property>
        <Property>
          <ID>42</ID>
          <Value>3</Value>
        </Property>
        <Property>
          <ID>4</ID>
          <Value>Избранное</Value>
        </Property>
        <Property>
          <ID>701</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>702</ID>
          <Value>-1</Value>
        </Property>
        <Property>
          <ID>517</ID>
          <Value>578-720,722-1080,482-576,402-480,322-400,202-320,0-200</Value>
        </Property>
        <Property>
          <ID>518</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>522</ID>
          <Value>0</Value>
        </Property>
        <Property>
          <ID>245</ID>
          <Value>64832dfe-9755-4ed5-9b54-f9b2fe11b6a5</Value>
        </Property>
        <Property>
          <ID>93</ID>
          <Value>42243,3532790741</Value>
        </Property>
        <Property>
          <ID>525</ID>
          <Value>42457,8907715972</Value>
        </Property>
      </Properties>
    </Item>
  </ChildItems>
  <HmsTranscodingConfig>
    <TranscoderList>
      <Transcoder>
        <Name>HMSMPEG</Name>
        <Path>hmsmpeg.exe</Path>
        <HomePage>http://www.ffmpeg.org/</HomePage>
        <Download></Download>
      </Transcoder>
      <Transcoder>
        <Name>HmsMPEG</Name>
        <Path>Hmsmpeg.exe</Path>
        <HomePage>http://www.ffmpeg.org/</HomePage>
        <Download></Download>
      </Transcoder>
      <Transcoder>
        <Name>hmsMPEG</Name>
        <Path>hmsmpeg.exe</Path>
        <HomePage>http://www.ffmpeg.org/</HomePage>
        <Download></Download>
      </Transcoder>
    </TranscoderList>
    <TranscodingProfileList>
      <Profile>
        <TranscoderName>HMSMPEG</TranscoderName>
        <TranscodingCondition></TranscodingCondition>
        <TranscodingConditionSyntaxType>PascalScript</TranscodingConditionSyntaxType>
        <TranscodingComment></TranscodingComment>
        <TranscodingFolder>Транскодирование для TorrentStream, AceStream медиа-ресурсов</TranscodingFolder>
        <TranscodingMediaType>3</TranscodingMediaType>
        <TranscodingMimeType></TranscodingMimeType>
        <TranscodingMimeTypeScript>cfgTranscodingVideoMimeType</TranscodingMimeTypeScript>
        <TranscodingMimeTypeSyntaxType>PascalScript</TranscodingMimeTypeSyntaxType>
        <TranscodingMode>1</TranscodingMode>
        <TranscodingParams>const
  csVlcParams = &apos;-Idummy --language en vlc://pause:2 --demuxdump-file="%s" --access=p2p_access "%s" :demux=dump&apos;;  
var
  sFileType, sInputFileName, sMediaResourceLink, sReadPipeName, sWritePipeName, sTranscodingParams: string;    
begin
  TranscodingResult := False;
  sInputFileName := InputFileName;
  if sInputFileName = &apos;-&apos; then begin
    sMediaResourceLink := HmsGetItemProperty(mpiMediaResourceLink);
    if Pos(&apos;--demuxdump-file&apos;, sMediaResourceLink) &gt; 0 then begin
      if not HmsRegExMatch(&apos;--access=p2p_access "(.*?)"&apos;, sMediaResourceLink, sInputFileName) then 
        HmsRegExMatch(&apos;"(.*?\.torrent)"&apos;, sMediaResourceLink, sInputFileName)
     end    
  end;      
  if HmsCreateDualPipe(sReadPipeName, sWritePipeName) then begin
    if HmsTranscodingExecute(&apos;ACEPLAYER&apos;, Format(csVlcParams, [sWritePipeName, sInputFileName]), False) then begin    
      if mpFileType &lt;&gt; &apos;&apos; then      
        sFileType := &apos;-f "&apos; + mpFileType + &apos;" &apos;
      else                          
        sFileType := &apos;&apos;;
      mpInternetItem := False;
      sTranscodingParams := HmsTranscodingProfileParams(&apos;Фильмы (основной)&apos;);
      sTranscodingParams := ReplaceStr(sTranscodingParams, &apos;&lt;HMSMPEG&gt; &apos;, sFileType);          
      sTranscodingParams := ReplaceStr(sTranscodingParams, &apos;&lt;INPUT FILE&gt;&apos;, sReadPipeName);      
      sTranscodingParams := sTranscodingParams + &apos; "&apos; + OutputFileName + &apos;"&apos;;
      TranscodingResult := HmsTranscodingExecute(&apos;HMSMPEG&apos;, sTranscodingParams, True)          
    end 
  end 
end.</TranscodingParams>
        <TranscodingParamsSyntaxType>PascalScript</TranscodingParamsSyntaxType>
        <TranscodingProfile>AceStream (ACEPLAYER - FFMPEG)</TranscodingProfile>
        <TranscodingProfileActive>-1</TranscodingProfileActive>
        <TranscodingProfilePriority>37</TranscodingProfilePriority>
        <TranscodingProfileUuid>09d8f390-166e-4b6d-88cf-64820cf53475</TranscodingProfileUuid>
      </Profile>
    </TranscodingProfileList>
  </HmsTranscodingConfig>
</HmsMediaItem>
