Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

BT v1/v2 parser Work — 2022-03-19 13:21:07 in M-BiTsy Support
i mean checkout others 1337x - they use filetree / you remember kickass? even they used filetree
TPB is running on less resources, that is why they are not adding any new/old stuff(comments)
BT v1/v2 parser Work — 2022-02-28 12:20:50 in M-BiTsy Support
TPB is huge and they want to run the site using less resources. even they disabled comments and registration too.

i mean look at others like 1337x, kickass they have been using file tree long before.
BT v1/v2 parser Work — 2022-02-27 20:18:59 in M-BiTsy Support
but most of the torrent sites use file tree still they are fine
BT v1/v2 parser Work — 2022-02-22 14:44:29 in M-BiTsy Support
better use file tree instead of this
Tree file — 2022-01-23 09:47:42 in General Chat
it was very complicated but done it anyway

you need the array output of files from torrent parse / bencode and convert it into another array


function filetree($d){
   $cn = count($d);
   $cd = ($cn - 1);
   $tree = [];
   $stree = [];
for($x = 0; $x <= $cd; $x++){
   $curr = $d[$x]['path'];
   $curr_len = $d[$x]['length'];
$dc = sizeof($curr);
if($dc>1){
   $dcc = ($dc - 1);
   $arr = [];
   $s = 0;
   $arr = addftree($curr,$dcc,$s,$curr_len);
  $stree = array_merge_recursive($stree,$arr);

}else{
   $tree[] = ['name'=> $curr[0], 'size'=>$d[$x]['length']];
}
}

array_push($tree,$stree);
krsort($tree);
return $tree;
}
function addftree($a,$l,$p,$s){
   $y = ($p+1);
   if($p==$l){
       $tree = ['ZZL_files'=>['name'=> $a[$p], 'size'=>$s]];
   }else{
   $tree = [$a[$p] => addftree($a,$l,$y,$s)];
   }
 //  print_r($tree);
return $tree;
}

$f_list = unserialize($row['fstruct']); //serialized whole file structure array from db
print_r(filetree($f_list));
File Tree — 2022-01-22 20:14:43 in General Chat
consider this as obsolete
10.4.22-MariaDB — 2022-01-22 20:11:20 in v3 Support
ALTER TABLE messages ALTER COLUMN subject text DEFAULT '"';

set the default what ever you want and run it
Tree file — 2022-01-22 19:53:40 in General Chat
v1 was little bit tricky but done it

need help — 2022-01-22 19:51:17 in General Chat
finally, file tree for v1 and v2 is ready



need help — 2022-01-20 15:36:08 in General Chat
close this thread, i found a way
need help — 2022-01-17 16:48:47 in General Chat
file output of v1


Array
(
   [0] => Array
       (
           [length] => 30
           [path] => Array
               (
                   [0] => RARBG.txt
               )

       )

   [1] => Array
       (
           [length] => 39660
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [2] => Array
       (
           [length] => 37031
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 11_Finnish.srt
               )

       )

   [3] => Array
       (
           [length] => 41052
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 12_French.srt
               )

       )

   [4] => Array
       (
           [length] => 52896
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 13_Hebrew.srt
               )

       )

   [5] => Array
       (
           [length] => 39462
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 14_hrv.srt
               )

       )

   [6] => Array
       (
           [length] => 40045
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 15_Hungarian.srt
               )

       )

   [7] => Array
       (
           [length] => 41428
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 16_Indonesian.srt
               )

       )

   [8] => Array
       (
           [length] => 39389
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 17_Italian.srt
               )

       )

   [9] => Array
       (
           [length] => 39207
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 18_Japanese.srt
               )

       )

   [10] => Array
       (
           [length] => 45544
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 19_Korean.srt
               )

       )

   [11] => Array
       (
           [length] => 40544
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 20_may.srt
               )

       )

   [12] => Array
       (
           [length] => 37591
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 21_Bokmal.srt
               )

       )

   [13] => Array
       (
           [length] => 37017
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 22_Dutch.srt
               )

       )

   [14] => Array
       (
           [length] => 40640
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 23_Polish.srt
               )

       )

   [15] => Array
       (
           [length] => 40354
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 24_Portuguese.srt
               )

       )

   [16] => Array
       (
           [length] => 41056
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [17] => Array
       (
           [length] => 42715
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 26_Romanian.srt
               )

       )

   [18] => Array
       (
           [length] => 52614
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 27_Russian.srt
               )

       )

   [19] => Array
       (
           [length] => 38447
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 28_Swedish.srt
               )

       )

   [20] => Array
       (
           [length] => 72548
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 29_Thai.srt
               )

       )

   [21] => Array
       (
           [length] => 41729
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [22] => Array
       (
           [length] => 40599
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 30_Turkish.srt
               )

       )

   [23] => Array
       (
           [length] => 50702
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 31_ukr.srt
               )

       )

   [24] => Array
       (
           [length] => 49466
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 32_Vietnamese.srt
               )

       )

   [25] => Array
       (
           [length] => 42619
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 33_Chinese.srt
               )

       )

   [26] => Array
       (
           [length] => 43084
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [27] => Array
       (
           [length] => 52980
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [28] => Array
       (
           [length] => 53706
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 4_Arabic.srt
               )

       )

   [29] => Array
       (
           [length] => 41109
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 5_Czech.srt
               )

       )

   [30] => Array
       (
           [length] => 36656
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 6_Danish.srt
               )

       )

   [31] => Array
       (
           [length] => 40917
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 7_German.srt
               )

       )

   [32] => Array
       (
           [length] => 56320
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 8_Greek.srt
               )

       )

   [33] => Array
       (
           [length] => 40755
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG
                   [2] => 9_Spanish.srt
               )

       )

   [34] => Array
       (
           [length] => 41530
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [35] => Array
       (
           [length] => 40216
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 11_Spanish.srt
               )

       )

   [36] => Array
       (
           [length] => 36929
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 12_Finnish.srt
               )

       )

   [37] => Array
       (
           [length] => 41687
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 13_French.srt
               )

       )

   [38] => Array
       (
           [length] => 55155
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 14_Hebrew.srt
               )

       )

   [39] => Array
       (
           [length] => 40694
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 15_hrv.srt
               )

       )

   [40] => Array
       (
           [length] => 42135
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 16_Hungarian.srt
               )

       )

   [41] => Array
       (
           [length] => 42864
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 17_Indonesian.srt
               )

       )

   [42] => Array
       (
           [length] => 39557
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 18_Italian.srt
               )

       )

   [43] => Array
       (
           [length] => 39149
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 19_Japanese.srt
               )

       )

   [44] => Array
       (
           [length] => 47015
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 20_Korean.srt
               )

       )

   [45] => Array
       (
           [length] => 41177
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 21_may.srt
               )

       )

   [46] => Array
       (
           [length] => 39065
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 22_Bokmal.srt
               )

       )

   [47] => Array
       (
           [length] => 36888
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 23_Dutch.srt
               )

       )

   [48] => Array
       (
           [length] => 40679
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 24_Polish.srt
               )

       )

   [49] => Array
       (
           [length] => 41715
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [50] => Array
       (
           [length] => 41938
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 26_Portuguese.srt
               )

       )

   [51] => Array
       (
           [length] => 43121
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 27_Romanian.srt
               )

       )

   [52] => Array
       (
           [length] => 53666
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 28_Russian.srt
               )

       )

   [53] => Array
       (
           [length] => 38688
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 29_Swedish.srt
               )

       )

   [54] => Array
       (
           [length] => 744
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [55] => Array
       (
           [length] => 74764
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 30_Thai.srt
               )

       )

   [56] => Array
       (
           [length] => 41222
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 31_Turkish.srt
               )

       )

   [57] => Array
       (
           [length] => 52258
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 32_ukr.srt
               )

       )

   [58] => Array
       (
           [length] => 51940
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 33_Vietnamese.srt
               )

       )

   [59] => Array
       (
           [length] => 43998
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [60] => Array
       (
           [length] => 44029
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 35_Chinese.srt
               )

       )

   [61] => Array
       (
           [length] => 42088
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [62] => Array
       (
           [length] => 52124
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 4_English.srt
               )

       )

   [63] => Array
       (
           [length] => 56133
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 5_Arabic.srt
               )

       )

   [64] => Array
       (
           [length] => 42043
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 6_Czech.srt
               )

       )

   [65] => Array
       (
           [length] => 36512
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 7_Danish.srt
               )

       )

   [66] => Array
       (
           [length] => 41089
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 8_German.srt
               )

       )

   [67] => Array
       (
           [length] => 56940
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG
                   [2] => 9_Greek.srt
               )

       )

   [68] => Array
       (
           [length] => 36949
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [69] => Array
       (
           [length] => 34001
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 11_Finnish.srt
               )

       )

   [70] => Array
       (
           [length] => 38174
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 12_French.srt
               )

       )

   [71] => Array
       (
           [length] => 49562
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 13_Hebrew.srt
               )

       )

   [72] => Array
       (
           [length] => 36593
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 14_hrv.srt
               )

       )

   [73] => Array
       (
           [length] => 37106
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 15_Hungarian.srt
               )

       )

   [74] => Array
       (
           [length] => 38979
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 16_Indonesian.srt
               )

       )

   [75] => Array
       (
           [length] => 36982
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 17_Italian.srt
               )

       )

   [76] => Array
       (
           [length] => 36186
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 18_Japanese.srt
               )

       )

   [77] => Array
       (
           [length] => 42946
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 19_Korean.srt
               )

       )

   [78] => Array
       (
           [length] => 37648
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 20_may.srt
               )

       )

   [79] => Array
       (
           [length] => 34451
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 21_Bokmal.srt
               )

       )

   [80] => Array
       (
           [length] => 34697
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 22_Dutch.srt
               )

       )

   [81] => Array
       (
           [length] => 37995
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 23_Polish.srt
               )

       )

   [82] => Array
       (
           [length] => 37898
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 24_Portuguese.srt
               )

       )

   [83] => Array
       (
           [length] => 37804
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [84] => Array
       (
           [length] => 39457
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 26_Romanian.srt
               )

       )

   [85] => Array
       (
           [length] => 49311
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 27_Russian.srt
               )

       )

   [86] => Array
       (
           [length] => 35903
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 28_Swedish.srt
               )

       )

   [87] => Array
       (
           [length] => 69755
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 29_Thai.srt
               )

       )

   [88] => Array
       (
           [length] => 38808
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [89] => Array
       (
           [length] => 37751
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 30_Turkish.srt
               )

       )

   [90] => Array
       (
           [length] => 47432
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 31_ukr.srt
               )

       )

   [91] => Array
       (
           [length] => 46617
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 32_Vietnamese.srt
               )

       )

   [92] => Array
       (
           [length] => 40811
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 33_Chinese.srt
               )

       )

   [93] => Array
       (
           [length] => 39631
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [94] => Array
       (
           [length] => 48640
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [95] => Array
       (
           [length] => 50797
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 4_Arabic.srt
               )

       )

   [96] => Array
       (
           [length] => 38004
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 5_Czech.srt
               )

       )

   [97] => Array
       (
           [length] => 33176
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 6_Danish.srt
               )

       )

   [98] => Array
       (
           [length] => 38420
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 7_German.srt
               )

       )

   [99] => Array
       (
           [length] => 52877
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 8_Greek.srt
               )

       )

   [100] => Array
       (
           [length] => 37901
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG
                   [2] => 9_Spanish.srt
               )

       )

   [101] => Array
       (
           [length] => 48550
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [102] => Array
       (
           [length] => 47744
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 11_Spanish.srt
               )

       )

   [103] => Array
       (
           [length] => 41986
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 12_Finnish.srt
               )

       )

   [104] => Array
       (
           [length] => 48977
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 13_French.srt
               )

       )

   [105] => Array
       (
           [length] => 64093
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 14_Hebrew.srt
               )

       )

   [106] => Array
       (
           [length] => 47400
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 15_hrv.srt
               )

       )

   [107] => Array
       (
           [length] => 47280
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 16_Hungarian.srt
               )

       )

   [108] => Array
       (
           [length] => 50264
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 17_Indonesian.srt
               )

       )

   [109] => Array
       (
           [length] => 47406
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 18_Italian.srt
               )

       )

   [110] => Array
       (
           [length] => 46056
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 19_Japanese.srt
               )

       )

   [111] => Array
       (
           [length] => 54649
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 20_Korean.srt
               )

       )

   [112] => Array
       (
           [length] => 49050
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 21_may.srt
               )

       )

   [113] => Array
       (
           [length] => 43919
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 22_Bokmal.srt
               )

       )

   [114] => Array
       (
           [length] => 43755
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 23_Dutch.srt
               )

       )

   [115] => Array
       (
           [length] => 48744
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 24_Polish.srt
               )

       )

   [116] => Array
       (
           [length] => 48285
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [117] => Array
       (
           [length] => 48007
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 26_Portuguese.srt
               )

       )

   [118] => Array
       (
           [length] => 50327
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 27_Romanian.srt
               )

       )

   [119] => Array
       (
           [length] => 63273
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 28_Russian.srt
               )

       )

   [120] => Array
       (
           [length] => 45931
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 29_Swedish.srt
               )

       )

   [121] => Array
       (
           [length] => 1062
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [122] => Array
       (
           [length] => 88797
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 30_Thai.srt
               )

       )

   [123] => Array
       (
           [length] => 48874
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 31_Turkish.srt
               )

       )

   [124] => Array
       (
           [length] => 61189
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 32_ukr.srt
               )

       )

   [125] => Array
       (
           [length] => 60490
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 33_Vietnamese.srt
               )

       )

   [126] => Array
       (
           [length] => 51709
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [127] => Array
       (
           [length] => 51300
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 35_Chinese.srt
               )

       )

   [128] => Array
       (
           [length] => 49752
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [129] => Array
       (
           [length] => 60831
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 4_English.srt
               )

       )

   [130] => Array
       (
           [length] => 64492
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 5_Arabic.srt
               )

       )

   [131] => Array
       (
           [length] => 48908
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 6_Czech.srt
               )

       )

   [132] => Array
       (
           [length] => 42868
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 7_Danish.srt
               )

       )

   [133] => Array
       (
           [length] => 49139
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 8_German.srt
               )

       )

   [134] => Array
       (
           [length] => 67908
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG
                   [2] => 9_Greek.srt
               )

       )

   [135] => Array
       (
           [length] => 44220
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [136] => Array
       (
           [length] => 39135
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 11_Finnish.srt
               )

       )

   [137] => Array
       (
           [length] => 45166
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 12_French.srt
               )

       )

   [138] => Array
       (
           [length] => 59163
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 13_Hebrew.srt
               )

       )

   [139] => Array
       (
           [length] => 44292
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 14_hrv.srt
               )

       )

   [140] => Array
       (
           [length] => 42689
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 15_Hungarian.srt
               )

       )

   [141] => Array
       (
           [length] => 46714
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 16_Indonesian.srt
               )

       )

   [142] => Array
       (
           [length] => 43922
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 17_Italian.srt
               )

       )

   [143] => Array
       (
           [length] => 43283
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 18_Japanese.srt
               )

       )

   [144] => Array
       (
           [length] => 50567
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 19_Korean.srt
               )

       )

   [145] => Array
       (
           [length] => 44306
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 20_may.srt
               )

       )

   [146] => Array
       (
           [length] => 41186
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 21_Bokmal.srt
               )

       )

   [147] => Array
       (
           [length] => 40361
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 22_Dutch.srt
               )

       )

   [148] => Array
       (
           [length] => 44618
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 23_Polish.srt
               )

       )

   [149] => Array
       (
           [length] => 44786
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 24_Portuguese.srt
               )

       )

   [150] => Array
       (
           [length] => 45670
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [151] => Array
       (
           [length] => 47073
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 26_Romanian.srt
               )

       )

   [152] => Array
       (
           [length] => 59044
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 27_Russian.srt
               )

       )

   [153] => Array
       (
           [length] => 44072
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 28_Swedish.srt
               )

       )

   [154] => Array
       (
           [length] => 82527
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 29_Thai.srt
               )

       )

   [155] => Array
       (
           [length] => 46311
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [156] => Array
       (
           [length] => 45428
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 30_Turkish.srt
               )

       )

   [157] => Array
       (
           [length] => 56720
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 31_ukr.srt
               )

       )

   [158] => Array
       (
           [length] => 56113
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 32_Vietnamese.srt
               )

       )

   [159] => Array
       (
           [length] => 46880
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 33_Chinese.srt
               )

       )

   [160] => Array
       (
           [length] => 47574
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [161] => Array
       (
           [length] => 57046
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [162] => Array
       (
           [length] => 60563
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 4_Arabic.srt
               )

       )

   [163] => Array
       (
           [length] => 45992
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 5_Czech.srt
               )

       )

   [164] => Array
       (
           [length] => 40961
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 6_Danish.srt
               )

       )

   [165] => Array
       (
           [length] => 46327
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 7_German.srt
               )

       )

   [166] => Array
       (
           [length] => 62899
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 8_Greek.srt
               )

       )

   [167] => Array
       (
           [length] => 45133
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG
                   [2] => 9_Spanish.srt
               )

       )

   [168] => Array
       (
           [length] => 41217
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [169] => Array
       (
           [length] => 36389
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 11_Finnish.srt
               )

       )

   [170] => Array
       (
           [length] => 43328
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 12_French.srt
               )

       )

   [171] => Array
       (
           [length] => 53667
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 13_Hebrew.srt
               )

       )

   [172] => Array
       (
           [length] => 40915
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 14_hrv.srt
               )

       )

   [173] => Array
       (
           [length] => 39068
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 15_Hungarian.srt
               )

       )

   [174] => Array
       (
           [length] => 42686
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 16_Indonesian.srt
               )

       )

   [175] => Array
       (
           [length] => 41303
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 17_Italian.srt
               )

       )

   [176] => Array
       (
           [length] => 40664
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 18_Japanese.srt
               )

       )

   [177] => Array
       (
           [length] => 47452
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 19_Korean.srt
               )

       )

   [178] => Array
       (
           [length] => 42057
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 20_may.srt
               )

       )

   [179] => Array
       (
           [length] => 37756
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 21_Bokmal.srt
               )

       )

   [180] => Array
       (
           [length] => 38426
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 22_Dutch.srt
               )

       )

   [181] => Array
       (
           [length] => 41635
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 23_Polish.srt
               )

       )

   [182] => Array
       (
           [length] => 41983
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 24_Portuguese.srt
               )

       )

   [183] => Array
       (
           [length] => 41975
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [184] => Array
       (
           [length] => 43765
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 26_Romanian.srt
               )

       )

   [185] => Array
       (
           [length] => 54089
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 27_Russian.srt
               )

       )

   [186] => Array
       (
           [length] => 40799
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 28_Swedish.srt
               )

       )

   [187] => Array
       (
           [length] => 75862
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 29_Thai.srt
               )

       )

   [188] => Array
       (
           [length] => 43560
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [189] => Array
       (
           [length] => 42817
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 30_Turkish.srt
               )

       )

   [190] => Array
       (
           [length] => 52360
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 31_ukr.srt
               )

       )

   [191] => Array
       (
           [length] => 51456
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 32_Vietnamese.srt
               )

       )

   [192] => Array
       (
           [length] => 43260
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 33_Chinese.srt
               )

       )

   [193] => Array
       (
           [length] => 43713
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [194] => Array
       (
           [length] => 51748
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [195] => Array
       (
           [length] => 55894
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 4_Arabic.srt
               )

       )

   [196] => Array
       (
           [length] => 42295
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 5_Czech.srt
               )

       )

   [197] => Array
       (
           [length] => 37838
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 6_Danish.srt
               )

       )

   [198] => Array
       (
           [length] => 42493
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 7_German.srt
               )

       )

   [199] => Array
       (
           [length] => 58895
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 8_Greek.srt
               )

       )

   [200] => Array
       (
           [length] => 41980
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG
                   [2] => 9_Spanish.srt
               )

       )

   [201] => Array
       (
           [length] => 45785
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [202] => Array
       (
           [length] => 41770
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 11_Finnish.srt
               )

       )

   [203] => Array
       (
           [length] => 47889
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 12_French.srt
               )

       )

   [204] => Array
       (
           [length] => 62328
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 13_Hebrew.srt
               )

       )

   [205] => Array
       (
           [length] => 45798
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 14_hrv.srt
               )

       )

   [206] => Array
       (
           [length] => 44897
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 15_Hungarian.srt
               )

       )

   [207] => Array
       (
           [length] => 48407
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 16_Indonesian.srt
               )

       )

   [208] => Array
       (
           [length] => 45759
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 17_Italian.srt
               )

       )

   [209] => Array
       (
           [length] => 44524
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 18_Japanese.srt
               )

       )

   [210] => Array
       (
           [length] => 53254
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 19_Korean.srt
               )

       )

   [211] => Array
       (
           [length] => 46539
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 20_may.srt
               )

       )

   [212] => Array
       (
           [length] => 42472
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 21_Bokmal.srt
               )

       )

   [213] => Array
       (
           [length] => 43343
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 22_Dutch.srt
               )

       )

   [214] => Array
       (
           [length] => 46423
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 23_Polish.srt
               )

       )

   [215] => Array
       (
           [length] => 47283
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 24_Portuguese.srt
               )

       )

   [216] => Array
       (
           [length] => 47152
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [217] => Array
       (
           [length] => 49268
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 26_Romanian.srt
               )

       )

   [218] => Array
       (
           [length] => 61365
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 27_Russian.srt
               )

       )

   [219] => Array
       (
           [length] => 45895
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 28_Swedish.srt
               )

       )

   [220] => Array
       (
           [length] => 86699
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 29_Thai.srt
               )

       )

   [221] => Array
       (
           [length] => 47681
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [222] => Array
       (
           [length] => 47487
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 30_Turkish.srt
               )

       )

   [223] => Array
       (
           [length] => 59337
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 31_ukr.srt
               )

       )

   [224] => Array
       (
           [length] => 58996
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 32_Vietnamese.srt
               )

       )

   [225] => Array
       (
           [length] => 49487
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 33_Chinese.srt
               )

       )

   [226] => Array
       (
           [length] => 50166
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [227] => Array
       (
           [length] => 56138
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [228] => Array
       (
           [length] => 64036
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 4_Arabic.srt
               )

       )

   [229] => Array
       (
           [length] => 47576
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 5_Czech.srt
               )

       )

   [230] => Array
       (
           [length] => 41967
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 6_Danish.srt
               )

       )

   [231] => Array
       (
           [length] => 47677
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 7_German.srt
               )

       )

   [232] => Array
       (
           [length] => 66685
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 8_Greek.srt
               )

       )

   [233] => Array
       (
           [length] => 46944
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG
                   [2] => 9_Spanish.srt
               )

       )

   [234] => Array
       (
           [length] => 36532
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 10_Spanish.srt
               )

       )

   [235] => Array
       (
           [length] => 32203
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 11_Finnish.srt
               )

       )

   [236] => Array
       (
           [length] => 37871
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 12_French.srt
               )

       )

   [237] => Array
       (
           [length] => 49501
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 13_Hebrew.srt
               )

       )

   [238] => Array
       (
           [length] => 36789
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 14_hrv.srt
               )

       )

   [239] => Array
       (
           [length] => 35938
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 15_Hungarian.srt
               )

       )

   [240] => Array
       (
           [length] => 38740
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 16_Indonesian.srt
               )

       )

   [241] => Array
       (
           [length] => 36603
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 17_Italian.srt
               )

       )

   [242] => Array
       (
           [length] => 37270
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 18_Japanese.srt
               )

       )

   [243] => Array
       (
           [length] => 42819
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 19_Korean.srt
               )

       )

   [244] => Array
       (
           [length] => 37078
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 20_may.srt
               )

       )

   [245] => Array
       (
           [length] => 34474
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 21_Bokmal.srt
               )

       )

   [246] => Array
       (
           [length] => 34073
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 22_Dutch.srt
               )

       )

   [247] => Array
       (
           [length] => 37452
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 23_Polish.srt
               )

       )

   [248] => Array
       (
           [length] => 37826
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 24_Portuguese.srt
               )

       )

   [249] => Array
       (
           [length] => 38046
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 25_Portuguese.srt
               )

       )

   [250] => Array
       (
           [length] => 38632
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 26_Romanian.srt
               )

       )

   [251] => Array
       (
           [length] => 48895
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 27_Russian.srt
               )

       )

   [252] => Array
       (
           [length] => 36141
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 28_Swedish.srt
               )

       )

   [253] => Array
       (
           [length] => 68000
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 29_Thai.srt
               )

       )

   [254] => Array
       (
           [length] => 38533
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 2_English.srt
               )

       )

   [255] => Array
       (
           [length] => 37628
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 30_Turkish.srt
               )

       )

   [256] => Array
       (
           [length] => 46387
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 31_ukr.srt
               )

       )

   [257] => Array
       (
           [length] => 46364
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 32_Vietnamese.srt
               )

       )

   [258] => Array
       (
           [length] => 40239
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 33_Chinese.srt
               )

       )

   [259] => Array
       (
           [length] => 39782
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 34_Chinese.srt
               )

       )

   [260] => Array
       (
           [length] => 49552
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 3_English.srt
               )

       )

   [261] => Array
       (
           [length] => 50141
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 4_Arabic.srt
               )

       )

   [262] => Array
       (
           [length] => 38042
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 5_Czech.srt
               )

       )

   [263] => Array
       (
           [length] => 32904
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 6_Danish.srt
               )

       )

   [264] => Array
       (
           [length] => 37694
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 7_German.srt
               )

       )

   [265] => Array
       (
           [length] => 51304
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 8_Greek.srt
               )

       )

   [266] => Array
       (
           [length] => 37812
           [path] => Array
               (
                   [0] => Subs
                   [1] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG
                   [2] => 9_Spanish.srt
               )

       )

   [267] => Array
       (
           [length] => 1058007902
           [path] => Array
               (
                   [0] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [268] => Array
       (
           [length] => 980896201
           [path] => Array
               (
                   [0] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [269] => Array
       (
           [length] => 997371921
           [path] => Array
               (
                   [0] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [270] => Array
       (
           [length] => 928642196
           [path] => Array
               (
                   [0] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [271] => Array
       (
           [length] => 950965766
           [path] => Array
               (
                   [0] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [272] => Array
       (
           [length] => 960457414
           [path] => Array
               (
                   [0] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [273] => Array
       (
           [length] => 916301957
           [path] => Array
               (
                   [0] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG.mp4
               )

       )

   [274] => Array
       (
           [length] => 920544899
           [path] => Array
               (
                   [0] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG.mp4
               )

       )

)


i want to convert it into another array like i mentioned above

it will look like this

Array
(
   [0] => Array
       (
           [name] => RARBG.txt
           [size] => 30
       )

   [1] => Array
       (
           [name] => The.Witcher.S02E01.1080p.WEBRip.x265-RARBG.mp4
           [size] => 1058007902
       )

   [2] => Array
       (
           [name] => The.Witcher.S02E02.1080p.WEBRip.x265-RARBG.mp4
           [size] => 980896201
       )

   [3] => Array
       (
           [name] => The.Witcher.S02E03.1080p.WEBRip.x265-RARBG.mp4
           [size] => 997371921
       )

   [4] => Array
       (
           [name] => The.Witcher.S02E04.1080p.WEBRip.x265-RARBG.mp4
           [size] => 928642196
       )

   [5] => Array
       (
           [name] => The.Witcher.S02E05.1080p.WEBRip.x265-RARBG.mp4
           [size] => 950965766
       )

   [6] => Array
       (
           [name] => The.Witcher.S02E06.1080p.WEBRip.x265-RARBG.mp4
           [size] => 960457414
       )

   [7] => Array
       (
           [name] => The.Witcher.S02E07.1080p.WEBRip.x265-RARBG.mp4
           [size] => 916301957
       )

   [8] => Array
       (
           [name] => The.Witcher.S02E08.1080p.WEBRip.x265-RARBG.mp4
           [size] => 920544899
       )

   [9] => Array
       (
           [dir] => Array
               (
                   [0] => Subs
                   [1] => Subs
                   [2] => Subs
                   [3] => Subs


i want a array similar to this array

Array
(
   [0] => Array
       (
           [dir] => EA Help
           [files] => Array
               (
                   [0] => Array
                       (
                           [name] => Apoio Técnico.rtf
                           [size] => 66662
                       )

                   [1] => Array
                       (
                           [name] => Asistencia Técnica.rtf
                           [size] => 65850
                       )

                   [2] => Array
                       (
                           [name] => Assistance technique.fr_FR.rtf
                           [size] => 61918
                       )

                   [3] => Array
                       (
                           [name] => Hjælp.rtf
                           [size] => 59450
                       )

                   [4] => Array
                       (
                           [name] => Kundendienst.rtf
                           [size] => 61069
                       )

                   [5] => Array
                       (
                           [name] => Kundestøtte.rtf
                           [size] => 58078
                       )

                   [6] => Array
                       (
                           [name] => Servicio técnico.rtf
                           [size] => 70934
                       )

                   [7] => Array
                       (
                           [name] => Suporte Técnico.rtf
                           [size] => 58920
                       )

                   [8] => Array
                       (
                           [name] => Supporto tecnico.rtf
                           [size] => 60783
                       )

                   [9] => Array
                       (
                           [name] => Technical Support.ar_SA.rtf
                           [size] => 197607
                       )

                   [10] => Array
                       (
                           [name] => Technical Support.en_US.rtf
                           [size] => 63685
                       )

                   [11] => Array
                       (
                           [name] => Technical Support.zh_CN.rtf
                           [size] => 133611
                       )

                   [12] => Array
                       (
                           [name] => Technical Support.zh_TW.rtf
                           [size] => 122417
                       )

                   [13] => Array
                       (
                           [name] => Technická podpora.rtf
                           [size] => 60930
                       )

                   [14] => Array
                       (
                           [name] => Technische ondersteuning.rtf
                           [size] => 58501
                       )

                   [15] => Array
                       (
                           [name] => Teknik Destek.rtf
                           [size] => 66359
                       )

                   [16] => Array
                       (
                           [name] => Teknisk support.rtf
                           [size] => 59653
                       )

               )

       )

   [1] => Array
       (
           [dir] => Privacy and Cookie Policy
           [files] => Array
               (
                   [0] => Array
                       (
                           [name] => ar_SA.html
                           [size] => 52632
                       )

                   [1] => Array
                       (
                           [name] => cs_CZ.html
                           [size] => 38754
                       )

                   [2] => Array
                       (
                           [name] => da_DK.html
                           [size] => 36664
                       )

                   [3] => Array
                       (
                           [name] => de_DE.html
                           [size] => 38616
                       )

                   [4] => Array
                       (
                           [name] => en_US.html
                           [size] => 35052
                       )

                   [5] => Array
                       (
                           [name] => es_ES.html
                           [size] => 39707
                       )

                   [6] => Array
                       (
                           [name] => es_MX.html
                           [size] => 39816
                       )

                   [7] => Array
                       (
                           [name] => fr_FR.html
                           [size] => 40885
                       )

                   [8] => Array
                       (
                           [name] => it_IT.html
                           [size] => 40258
                       )

                   [9] => Array
                       (
                           [name] => nl_NL.html
                           [size] => 37663
                       )

                   [10] => Array
                       (
                           [name] => no_NO.html
                           [size] => 37031
                       )

                   [11] => Array
                       (
                           [name] => pt_BR.html
                           [size] => 38286
                       )

                   [12] => Array
                       (
                           [name] => pt_PT.html
                           [size] => 40058
                       )

                   [13] => Array
                       (
                           [name] => sv_SE.html
                           [size] => 37562
                       )

                   [14] => Array
                       (
                           [name] => tr_TR.html
                           [size] => 38643
                       )

                   [15] => Array
                       (
                           [name] => zh_CN.html
                           [size] => 31623
                       )

                   [16] => Array
                       (
                           [name] => zh_TW.html
                           [size] => 31769
                       )

               )

       )

   [2] => Array
       (
           [dir] => User Agreement
           [files] => Array
               (
                   [0] => Array
                       (
                           [name] => ar_SA.html
                           [size] => 73670
                       )

                   [1] => Array
                       (
                           [name] => cs_CZ.html
                           [size] => 55539
                       )

                   [2] => Array
                       (
                           [name] => da_DK.html
                           [size] => 48941
                       )

                   [3] => Array
                       (
                           [name] => de_DE.html
                           [size] => 46422
                       )

                   [4] => Array
                       (
                           [name] => en_US.html
                           [size] => 44522
                       )

                   [5] => Array
                       (
                           [name] => es_ES.html
                           [size] => 54703
                       )

                   [6] => Array
                       (
                           [name] => es_MX.html
                           [size] => 54705
                       )

                   [7] => Array
                       (
                           [name] => fr_FR.html
                           [size] => 55705
                       )

                   [8] => Array
                       (
                           [name] => it_IT.html
                           [size] => 52147
                       )

                   [9] => Array
                       (
                           [name] => nl_NL.html
                           [size] => 52645
                       )

                   [10] => Array
                       (
                           [name] => no_NO.html
                           [size] => 48176
                       )

                   [11] => Array
                       (
                           [name] => pt_BR.html
                           [size] => 51937
                       )

                   [12] => Array
                       (
                           [name] => pt_PT.html
                           [size] => 51938
                       )

                   [13] => Array
                       (
                           [name] => sv_SE.html
                           [size] => 50139
                       )

                   [14] => Array
                       (
                           [name] => tr_TR.html
                           [size] => 53250
                       )

                   [15] => Array
                       (
                           [name] => zh_CN.html
                           [size] => 41650
                       )

                   [16] => Array
                       (
                           [name] => zh_TW.html
                           [size] => 41800
                       )

               )

       )

   [3] => Array
       (
           [name] => mnfst.txt
           [size] => 78050
       )

)
need help — 2022-01-17 03:34:50 in General Chat
on 3rd loop i want the another key ['files']  at the end of this $arr['files'], like this $arr['files']['files'] then add the array ['dir'=>$curr[$i],'files'=>''] and on last loop i want to add array ['name'=> $curr[$i], 'size'=>$curr_len] to $arr['files']['files']['files']

all i want to do is add next key['files'] at the end of $arr on each loop

if this is possible please help me on this and i will share the full code for file tree for v1 torrent
need help — 2022-01-16 17:12:12 in General Chat
hey guys need help to solve a issue in code


   for($i=0;$i<$dcc;$i++){
       if($i==$dcc){
           $sel = ['name'=> $curr[$i], 'size'=>$curr_len];
           $arr
       }elseif($i=='0'){
           $arr = ['dir'=>$curr[$i],'files'=>''];
          // print_r($arr);
       }else{
          // $sel = ['dir'=>$curr[$i],'files'=>''];
           $arr['files'] = ['dir'=>$curr[$i],'files'=>''];
       }
   }

example if $dcc= 4 then the loop will execute 3 times

this loop on start where $i = 0 ,$arr (['dir'=>$curr[$i],'files'=>''];) is created on next where $i=1 ,i need to insert the same array (['dir'=>$curr[$i],'files'=>'']) into array key ['files'] of the last array.

for demo:
array(
dir=>folder, files=> array(
dir=>folder, files=>array(
dir=>folder, files=>..);
);
)'
i want to create a array like above
if you guys help then the file tree can be completed
V2 LibTorrent — 2022-01-16 12:45:24 in General Chat
new magnet uri protocol for v2

  magnet:?xt=urn:btmh:<tagged-info-hash>&dn=<name>&tr=<tracker-url>

for hybrid : magnet:?xt=urn:btih:<v1 hash>&xt=urn:btmh:<v2hash>&dn=<name>&tr=<tracker-url>
V2 LibTorrent — 2022-01-16 12:19:52 in General Chat

$hashe = hash('sha256', Bencode::encode($data['info']));
$tracker = ["http://tracker.trackerfix.com:80/announce","udp://9.rarbg.to:2830/announce"];
print $hashe;
require_once (__DIR__ ."/backend/class.scraper.php");
     $scraper = new Scrapeer\Scraper();
     $rat = $scraper->scrape($hashe, $tracker);
print_r($rat);


returns empty array
V2 LibTorrent — 2022-01-16 10:40:24 in General Chat
well the scraper only supports v1
V2 LibTorrent — 2022-01-16 10:11:17 in General Chat

//Read info, store as (infovariable)
$infovariable = $array["info"];

// Calculates SHA1 Hash
$infohash = sha1(BEncode($infovariable));
$TorrentInfo[1] = $infohash ;


for v1 the infohashes where calculated using above code

does this work?

$torrentInfo['hash'] = hash('sha256', Bencode::encode($info));
V2 LibTorrent — 2022-01-16 10:09:49 in General Chat
you know how to calculate v2 infohash?
V2 LibTorrent — 2022-01-16 08:02:04 in General Chat
does the scrape lib support v2 hashes and hybrids?
V2 LibTorrent — 2022-01-16 07:23:31 in General Chat
does the file count and total file length works for v2?

and files well i am developing a new way to do it, lets hope it works
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728