# Поправил кодинг-стиль

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12880 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Откатил http://code.google.com/p/flylinkdc/source/detail?r=12866#
  

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12881 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Исправлено падение https://crash-server.com/DumpGroup.aspx?ClientID=ppa&DumpGroupID=29760
  - Попытка сделать ctrlToolbar.AddStrings до ctrlToolbar.AddButtons
  - Текст подсказок у нас достается динамически в обработчике. тут его грузить не нужно (завтра for merge)

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12882 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [fly-server] 
 - Передаем на сервер JSON запросы сжатыми (экономия 3-10x)


git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12883 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [public-build] astyle

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12884 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Отключил мертвый цикл for (int i = 0; i < ToolbarButtons[0].image; i++) (for merge)

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12885 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Убрал статические массивы из h файла. т.к. при каждом включении в cpp порождается отдельная копия для каждого модуля.

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12886 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [public-build] astyle

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12887 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Забыли инициализировать переменную размера шары - иногда возвращали мусор
  <wasd123> с шарой отрицательного размера $MyINFO $ALL deny71 <FlylinkDC++ V:r502-beta63-x64,M:P,H:2/0/0,S:15>$ $50!$$-8102383044816893560$

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12891 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Перименовал .cmd в .bat
  Свежий фар ветки 2.x почему-то при запуске cmd открывает его в блокноте

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12893 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [fly-server] 
 - Если сервер вернул ответ с медиа-инфой, то затеняем запись в списке на 0.02 (раньше стоял к=0.1f - в блоге жаловались на контраст)
 - В окне поиска реализована колонка "Длительность" по аналогии с окном просмотра файл-листов
 - Обобщил вырезатель длительности из атрибута fly_audio в сервисной функции CFlyMediaInfo::translateDuration

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12897 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [lang] an auto commit from localization system...

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12898 698e6f95-9b2e-0410-bd61-4358ed8d4160
# fix

Прерывистая линия, при нажатии на ALT становится нормальной.
https://dl.dropbox.com/u/76033475/Image%20000%20FLylink%20Line.png

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12899 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [fly-server] Ускорил формирование JSON пакета для многоконального звука. 
  - TODO собрать повторяюшиеся атрибуты каналов и сохранить в общий блок channet-x

Пример представления файла с болшим количеством Channel-*

{
   "array" : [
      {
         "media" : {
            "fly_audio" : "1h 32mn | AC-3, 5.1, 640 Kbps, Russian | DTS, 5.1, 1 509 Kbps, Russian | DTS, 5.1, 1 509 Kbps, Russian | DTS, 5.1, 1 509 Kbps, Russian | DTS, 5.1, 1 509 Kbps, Russian | DTS, 5.1, 1 509 Kbps, English | AC-3, 5.1, 448 Kbps, Russian | AC-3, 5.1, 448 Kbps, Russian | AC-3, 5.1, 448 Kbps, Russian | AC-3, 2.0, 192 Kbps, Ukrainian | AC-3, 2.0, 192 Kbps, English | AC-3, 2.0, 192 Kbps, English",
            "fly_audio_br" : 1509,
            "fly_video" : "AVC, 9 000 Kbps, 23.976 fps",
            "fly_xy" : "1920x1080"
         },
         "media-ext" : {
            "audio" : {
               "channel-0" : {
                  "BitDepth" : "16",
                  "BitRate" : "640000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "248",
                  "Default" : "Yes",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "2",
                  "Inform" : "ID : 2\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 640 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 423 MiB (3%)\r\nTitle : AC3 5.1ch 640 kbps - Дубляж, Blu-ray\r\nLanguage : Russian\r\nDefault : Yes\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "0",
                  "StreamKindPos" : "1",
                  "StreamOrder" : "1",
                  "StreamSize" : "443550720",
                  "Title" : "AC3 5.1ch 640 kbps - Дубляж, Blu-ray",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-1" : {
                  "BitDepth" : "24",
                  "BitRate" : "1509000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "DTS",
                  "Codec/Family" : "DTS",
                  "CodecID" : "A_DTS",
                  "Compression_Mode" : "Lossy",
                  "Count" : "220",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "DTS",
                  "Format/Info" : "Digital Theater Systems",
                  "Format_Commercial" : "DTS",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_Mode" : "16",
                  "ID" : "3",
                  "Inform" : "ID : 3\r\nFormat : DTS\r\nFormat/Info : Digital Theater Systems\r\nMode : 16\r\nFormat settings, Endianness : Big\r\nCodec ID : A_DTS\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 1 509 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 24 bits\r\nCompression mode : Lossy\r\nStream size : 997 MiB (8%)\r\nTitle : DTS 5.1ch 1510 kbps - Одноголосый, Д.Пучков (Гобя)\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "24",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "1",
                  "StreamKindPos" : "2",
                  "StreamOrder" : "2",
                  "StreamSize" : "1045809432",
                  "Title" : "DTS 5.1ch 1510 kbps - Одноголосый, Д.Пучков (Гобя)",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-10" : {
                  "BitDepth" : "16",
                  "BitRate" : "192000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "2",
                  "ChannelPositions" : "Front: L R",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "231",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "12",
                  "Inform" : "ID : 12\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 192 Kbps\r\nChannel(s) : 2 channels\r\nChannel positions : Front: L R\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 127 MiB (1%)\r\nTitle : AC3 2.0ch 192 kbps - Commentary\r\nLanguage : English\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "en",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "10",
                  "StreamKindPos" : "11",
                  "StreamOrder" : "11",
                  "StreamSize" : "133065216",
                  "Title" : "AC3 2.0ch 192 kbps - Commentary",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-11" : {
                  "BitDepth" : "16",
                  "BitRate" : "192000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "2",
                  "ChannelPositions" : "Front: L R",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "231",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "13",
                  "Inform" : "ID : 13\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 192 Kbps\r\nChannel(s) : 2 channels\r\nChannel positions : Front: L R\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 127 MiB (1%)\r\nTitle : AC3 2.0ch 192 kbps - Commentary\r\nLanguage : English\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "en",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "11",
                  "StreamKindPos" : "12",
                  "StreamOrder" : "12",
                  "StreamSize" : "133065216",
                  "Title" : "AC3 2.0ch 192 kbps - Commentary",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-2" : {
                  "BitDepth" : "24",
                  "BitRate" : "1509000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "DTS",
                  "Codec/Family" : "DTS",
                  "CodecID" : "A_DTS",
                  "Compression_Mode" : "Lossy",
                  "Count" : "220",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "DTS",
                  "Format/Info" : "Digital Theater Systems",
                  "Format_Commercial" : "DTS",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_Mode" : "16",
                  "ID" : "4",
                  "Inform" : "ID : 4\r\nFormat : DTS\r\nFormat/Info : Digital Theater Systems\r\nMode : 16\r\nFormat settings, Endianness : Big\r\nCodec ID : A_DTS\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 1 509 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 24 bits\r\nCompression mode : Lossy\r\nStream size : 997 MiB (8%)\r\nTitle : DTS 5.1ch 1510 kbps - Двухголосый, Tycoon\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "24",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "2",
                  "StreamKindPos" : "3",
                  "StreamOrder" : "3",
                  "StreamSize" : "1045809432",
                  "Title" : "DTS 5.1ch 1510 kbps - Двухголосый, Tycoon",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-3" : {
                  "BitDepth" : "24",
                  "BitRate" : "1509000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "DTS",
                  "Codec/Family" : "DTS",
                  "CodecID" : "A_DTS",
                  "Compression_Mode" : "Lossy",
                  "Count" : "220",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "DTS",
                  "Format/Info" : "Digital Theater Systems",
                  "Format_Commercial" : "DTS",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_Mode" : "16",
                  "ID" : "5",
                  "Inform" : "ID : 5\r\nFormat : DTS\r\nFormat/Info : Digital Theater Systems\r\nMode : 16\r\nFormat settings, Endianness : Big\r\nCodec ID : A_DTS\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 1 509 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 24 bits\r\nCompression mode : Lossy\r\nStream size : 997 MiB (8%)\r\nTitle : DTS 5.1ch 1510 kbps - Двухголосый, П.Гланц, И.Королева\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "24",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "3",
                  "StreamKindPos" : "4",
                  "StreamOrder" : "4",
                  "StreamSize" : "1045809432",
                  "Title" : "DTS 5.1ch 1510 kbps - Двухголосый, П.Гланц, И.Королева",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-4" : {
                  "BitDepth" : "24",
                  "BitRate" : "1509000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "DTS",
                  "Codec/Family" : "DTS",
                  "CodecID" : "A_DTS",
                  "Compression_Mode" : "Lossy",
                  "Count" : "220",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "DTS",
                  "Format/Info" : "Digital Theater Systems",
                  "Format_Commercial" : "DTS",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_Mode" : "16",
                  "ID" : "6",
                  "Inform" : "ID : 6\r\nFormat : DTS\r\nFormat/Info : Digital Theater Systems\r\nMode : 16\r\nFormat settings, Endianness : Big\r\nCodec ID : A_DTS\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 1 509 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 24 bits\r\nCompression mode : Lossy\r\nStream size : 997 MiB (8%)\r\nTitle : DTS 5.1ch 1510 kbps - Одноголосый, А.Гаврилов\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "24",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "4",
                  "StreamKindPos" : "5",
                  "StreamOrder" : "5",
                  "StreamSize" : "1045809432",
                  "Title" : "DTS 5.1ch 1510 kbps - Одноголосый, А.Гаврилов",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-5" : {
                  "BitDepth" : "24",
                  "BitRate" : "1509000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "DTS",
                  "Codec/Family" : "DTS",
                  "CodecID" : "A_DTS",
                  "Compression_Mode" : "Lossy",
                  "Count" : "220",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "DTS",
                  "Format/Info" : "Digital Theater Systems",
                  "Format_Commercial" : "DTS",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_Mode" : "16",
                  "ID" : "7",
                  "Inform" : "ID : 7\r\nFormat : DTS\r\nFormat/Info : Digital Theater Systems\r\nMode : 16\r\nFormat settings, Endianness : Big\r\nCodec ID : A_DTS\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 1 509 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 24 bits\r\nCompression mode : Lossy\r\nStream size : 997 MiB (8%)\r\nTitle : DTS 5.1ch 1510 kbps\r\nLanguage : English\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "en",
                  "Resolution" : "24",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "5",
                  "StreamKindPos" : "6",
                  "StreamOrder" : "6",
                  "StreamSize" : "1045809432",
                  "Title" : "DTS 5.1ch 1510 kbps",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-6" : {
                  "BitDepth" : "16",
                  "BitRate" : "448000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "230",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "8",
                  "Inform" : "ID : 8\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 448 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 296 MiB (2%)\r\nTitle : AC3 5.1ch 448 kbps - Многоголосый, Киномания\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "6",
                  "StreamKindPos" : "7",
                  "StreamOrder" : "7",
                  "StreamSize" : "310485504",
                  "Title" : "AC3 5.1ch 448 kbps - Многоголосый, Киномания",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-7" : {
                  "BitDepth" : "16",
                  "BitRate" : "448000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "230",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "9",
                  "Inform" : "ID : 9\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 448 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 296 MiB (2%)\r\nTitle : AC3 5.1ch 448 kbps - Одноголосый, Д.Пучков (Гобя) #2\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "7",
                  "StreamKindPos" : "8",
                  "StreamOrder" : "8",
                  "StreamSize" : "310485504",
                  "Title" : "AC3 5.1ch 448 kbps - Одноголосый, Д.Пучков (Гобя) #2",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-8" : {
                  "BitDepth" : "16",
                  "BitRate" : "448000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "6",
                  "ChannelPositions" : "Front: L C R, Side: L R, LFE",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "230",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "10",
                  "Inform" : "ID : 10\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 448 Kbps\r\nChannel(s) : 6 channels\r\nChannel positions : Front: L C R, Side: L R, LFE\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 296 MiB (2%)\r\nTitle : AC3 5.1ch 448 kbps - Одноголосый, Д.Пучков (Гобя) #3\r\nLanguage : Russian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "ru",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "8",
                  "StreamKindPos" : "9",
                  "StreamOrder" : "9",
                  "StreamSize" : "310485504",
                  "Title" : "AC3 5.1ch 448 kbps - Одноголосый, Д.Пучков (Гобя) #3",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               },
               "channel-9" : {
                  "BitDepth" : "16",
                  "BitRate" : "192000",
                  "BitRate_Mode" : "CBR",
                  "Channel(s)" : "2",
                  "ChannelPositions" : "Front: L R",
                  "Codec" : "AC3",
                  "Codec/Family" : "AC3",
                  "Codec/Info" : "Dolby AC3",
                  "CodecID" : "A_AC3",
                  "Compression_Mode" : "Lossy",
                  "Count" : "231",
                  "Default" : "No",
                  "Delay" : "0",
                  "Delay_Source" : "Container",
                  "Duration" : "5544384",
                  "Forced" : "No",
                  "Format" : "AC-3",
                  "Format/Info" : "Audio Coding 3",
                  "Format_Commercial" : "AC-3",
                  "Format_Settings_Endianness" : "Big",
                  "Format_Settings_ModeExtension" : "CM (complete main)",
                  "ID" : "11",
                  "Inform" : "ID : 11\r\nFormat : AC-3\r\nFormat/Info : Audio Coding 3\r\nMode extension : CM (complete main)\r\nFormat settings, Endianness : Big\r\nCodec ID : A_AC3\r\nDuration : 1h 32mn\r\nBit rate mode : Constant\r\nBit rate : 192 Kbps\r\nChannel(s) : 2 channels\r\nChannel positions : Front: L R\r\nSampling rate : 48.0 KHz\r\nBit depth : 16 bits\r\nCompression mode : Lossy\r\nStream size : 127 MiB (1%)\r\nTitle : AC3 2.0ch 192 kbps - Многоголосый, Новый Канал\r\nLanguage : Ukrainian\r\nDefault : No\r\nForced : No\r\n",
                  "Language" : "uk",
                  "Resolution" : "16",
                  "SamplingCount" : "266130432",
                  "SamplingRate" : "48000",
                  "StreamCount" : "12",
                  "StreamKind" : "Audio",
                  "StreamKindID" : "9",
                  "StreamKindPos" : "10",
                  "StreamOrder" : "10",
                  "StreamSize" : "133065216",
                  "Title" : "AC3 2.0ch 192 kbps - Многоголосый, Новый Канал",
                  "Video0_Delay" : "0",
                  "Video_Delay" : "0"
               }
            },
            "general" : {
               "AudioCount" : "12",
               "Audio_Codec_List" : "AC3 / DTS / DTS / DTS / DTS / DTS / AC3 / AC3 / AC3 / AC3 / AC3 / AC3",
               "Audio_Format_List" : "AC-3 / DTS / DTS / DTS / DTS / DTS / AC-3 / AC-3 / AC-3 / AC-3 / AC-3 / AC-3",
               "Audio_Format_WithHint_List" : "AC-3 / DTS / DTS / DTS / DTS / DTS / AC-3 / AC-3 / AC-3 / AC-3 / AC-3 / AC-3",
               "Audio_Language_List" : "Russian / Russian / Russian / Russian / Russian / English / Russian / Russian / Russian / Ukrainian / English / English",
               "Codec" : "Matroska",
               "Count" : "280",
               "Duration" : "5544384",
               "Encoded_Date" : "UTC 2011-03-22 22:03:47",
               "Encoded_Library" : "libebml v1.2.0 + libmatroska v1.1.0",
               "FileExtension" : "mkv",
               "Format" : "Matroska",
               "Format_Commercial" : "Matroska",
               "Format_Version" : "Version 2",
               "Inform" : "Unique ID : 203255661060539978619997371941752269459 (0x98E99DCC688008C1BB6DA7E70221EA93)\r\nFormat : Matroska\r\nFormat version : Version 2\r\nFile size : 12.3 GiB\r\nDuration : 1h 32mn\r\nOverall bit rate : 19.1 Mbps\r\nWriting application : mkvmerge v4.6.0 ('Still Crazy After All These Years') сборка от Mar 10 2011 02:50:32\r\nWriting library : libebml v1.2.0 + libmatroska v1.1.0\r\n",
               "MenuCount" : "1",
               "OverallBitRate" : "19104981",
               "StreamCount" : "1",
               "StreamKind" : "General",
               "StreamKindID" : "0",
               "StreamSize" : "263495865",
               "TextCount" : "3",
               "Text_Codec_List" : "UTF-8 / UTF-8 / UTF-8",
               "Text_Format_List" : "UTF-8 / UTF-8 / UTF-8",
               "Text_Format_WithHint_List" : "UTF-8 / UTF-8 / UTF-8",
               "Text_Language_List" : "Russian / Ukrainian / English",
               "VideoCount" : "1",
               "Video_Codec_List" : "AVC",
               "Video_Format_List" : "AVC",
               "Video_Format_WithHint_List" : "AVC",
               "Video_Language_List" : "English"
            },
            "video" : {
               "BitDepth" : "8",
               "BitRate" : "9000000",
               "Bits-(Pixel*Frame)" : "0.181",
               "ChromaSubsampling" : "4:2:0",
               "Codec" : "V_MPEG4/ISO/AVC",
               "Codec/Family" : "AVC",
               "Codec/Info" : "Advanced Video Codec",
               "CodecID" : "V_MPEG4/ISO/AVC",
               "Codec_Profile" : "High@L4.1",
               "Codec_Settings" : "CABAC / 4 Ref Frames",
               "Codec_Settings_CABAC" : "Yes",
               "Codec_Settings_RefFrames" : "4",
               "ColorSpace" : "YUV",
               "Colorimetry" : "4:2:0",
               "Count" : "263",
               "Default" : "Yes",
               "Delay" : "0",
               "Delay_Source" : "Container",
               "DisplayAspectRatio" : "1.778",
               "Duration" : "5544378",
               "Encoded_Library" : "x264 - core 114 r1913 5fd3dce",
               "Encoded_Library/Name" : "x264",
               "Encoded_Library/Version" : "core 114 r1913 5fd3dce",
               "Forced" : "No",
               "Format" : "AVC",
               "Format/Info" : "Advanced Video Codec",
               "Format_Commercial" : "AVC",
               "Format_Profile" : "High@L4.1",
               "Format_Settings" : "CABAC / 4 Ref Frames",
               "Format_Settings_CABAC" : "Yes",
               "Format_Settings_RefFrames" : "4",
               "FrameCount" : "132932",
               "FrameRate" : "23.976",
               "FrameRate_Mode" : "CFR",
               "Height" : "1080",
               "ID" : "1",
               "Inform" : "ID : 1\r\nFormat : AVC\r\nFormat/Info : Advanced Video Codec\r\nFormat profile : High@L4.1\r\nFormat settings, CABAC : Yes\r\nFormat settings, ReFrames : 4 frames\r\nCodec ID : V_MPEG4/ISO/AVC\r\nDuration : 1h 32mn\r\nBit rate : 9 000 Kbps\r\nWidth : 1 920 pixels\r\nHeight : 1 080 pixels\r\nDisplay aspect ratio : 16:9\r\nFrame rate mode : Constant\r\nFrame rate : 23.976 fps\r\nColor space : YUV\r\nChroma subsampling : 4:2:0\r\nBit depth : 8 bits\r\nScan type : Progressive\r\nBits/(Pixel*Frame) : 0.181\r\nStream size : 5.56 GiB (45%)\r\nWriting library : x264 core 114 r1913 5fd3dce\r\nLanguage : English\r\nDefault : Yes\r\nForced : No\r\n",
               "Interlacement" : "PPF",
               "InternetMediaType" : "video/H264",
               "Language" : "en",
               "PixelAspectRatio" : "1.000",
               "Resolution" : "8",
               "ScanType" : "Progressive",
               "StreamCount" : "1",
               "StreamKind" : "Video",
               "StreamKindID" : "0",
               "StreamOrder" : "0",
               "StreamSize" : "5973922745",
               "Width" : "1920"
            }
         },
         "size" : "13240668650",
         "tth" : "LIWFBIU5HNQN6XDGDM7OLGXQRVE45P6IN6Q2SDY"
      }
   ]
}


git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12900 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Убрал в игнор странный файл mrgtmp0

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12901 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Явно прописал BOOST_ALL_NO_LIB

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12902 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [fly-server] 
 Ошибочно кидал в лог Error compress query: l_zlib_result =  " + Util::toString(l_zlib_result)
 для случая если сжатый пакет получался больше оригинала.(случай с мелкими размерами входного массива)

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12903 698e6f95-9b2e-0410-bd61-4358ed8d4160
# Исправлены падения 
  - https://crash-server.com/Problem.aspx?ClientID=ppa&ProblemID=12626
  удаление листенеров унес из onClose в деструктор

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12904 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [рефакторинг] Убрал преобразование из Search::SizeModes в int
# Для getShareSize поставил капкан на Ежа 
  - dcassert(m_CurrentShareSize != -1); // TODO - баг. попытка получить размер шары до вызова internal_calcShareSize

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12905 698e6f95-9b2e-0410-bd61-4358ed8d4160
# [public-build] 

git-svn-id: http://flylinkdc.googlecode.com/svn/trunk@12906 698e6f95-9b2e-0410-bd61-4358ed8d4160