Array
(
    [0] => Array
        (
            [plik] => .
            [timestamp] => 943916400
        )

    [1] => Array
        (
            [plik] => ..
            [timestamp] => 943916400
        )

    [2] => Array
        (
            [plik] => 20200726_114615.jpg
            [timestamp] => 1595760375
        )

    [3] => Array
        (
            [plik] => 20201103_185133.jpg
            [timestamp] => 1604425893
        )

    [4] => Array
        (
            [plik] => 20200726_115112.jpg
            [timestamp] => 1595760672
        )

    [5] => Array
        (
            [plik] => 20201027_060750.jpg
            [timestamp] => 1603775270
        )

    [6] => Array
        (
            [plik] => 20201026_193859.jpg
            [timestamp] => 1603737539
        )

    [7] => Array
        (
            [plik] => 20200726_114624.jpg
            [timestamp] => 1595760384
        )

    [8] => Array
        (
            [plik] => 20201026_203627.jpg
            [timestamp] => 1603740987
        )

    [9] => Array
        (
            [plik] => 20201025_135425.jpg
            [timestamp] => 1603630465
        )

    [10] => Array
        (
            [plik] => 20201104_182641.jpg
            [timestamp] => 1604510801
        )

    [11] => Array
        (
            [plik] => 20201026_203635.jpg
            [timestamp] => 1603740995
        )

    [12] => Array
        (
            [plik] => 20201026_203648.jpg
            [timestamp] => 1603741008
        )

    [13] => Array
        (
            [plik] => 20200726_120046.jpg
            [timestamp] => 1595761246
        )

    [14] => Array
        (
            [plik] => 20201104_182629.jpg
            [timestamp] => 1604510789
        )

    [15] => Array
        (
            [plik] => 20201104_174109.jpg
            [timestamp] => 1604508069
        )

    [16] => Array
        (
            [plik] => 20200726_120027.jpg
            [timestamp] => 1595761227
        )

    [17] => Array
        (
            [plik] => 20200726_120021.jpg
            [timestamp] => 1595761221
        )

    [18] => Array
        (
            [plik] => 20201025_160727.jpg
            [timestamp] => 1603638447
        )

    [19] => Array
        (
            [plik] => 20201104_174029.jpg
            [timestamp] => 1604508029
        )

    [20] => Array
        (
            [plik] => 20201029_121748.jpg
            [timestamp] => 1603970268
        )

    [21] => Array
        (
            [plik] => 20201027_220843.jpg
            [timestamp] => 1603832923
        )

    [22] => Array
        (
            [plik] => 20201028_204240.jpg
            [timestamp] => 1603914160
        )

    [23] => Array
        (
            [plik] => 20201028_204215.jpg
            [timestamp] => 1603914135
        )

    [24] => Array
        (
            [plik] => 20201028_174144.jpg
            [timestamp] => 1603903304
        )

    [25] => Array
        (
            [plik] => 20201025_160824.jpg
            [timestamp] => 1603638504
        )

    [26] => Array
        (
            [plik] => 20201026_193909.jpg
            [timestamp] => 1603737549
        )

    [27] => Array
        (
            [plik] => 20201026_203642.jpg
            [timestamp] => 1603741002
        )

    [28] => Array
        (
            [plik] => 20200726_120010.jpg
            [timestamp] => 1595761210
        )

    [29] => Array
        (
            [plik] => 20201104_183425.jpg
            [timestamp] => 1604511265
        )

)
Number of photos in catalog: 28

Test comparison:
1603630465 = 2020-10-25 13:54:25

Current Timestamp: 1603630465
Current Time: 2020-10-25 13:54:25

Time interwal: -1 second
Current timestamp: 2020-10-25 13:54:24
Current Timestamp: 1603630464

Mp3 length: 00:01:00
Mp3 length in sec: 60

Time interwal: +5 hours
Current Time: 2020-10-25 18:54:25
Current Timestamp: 1603648465

minToSearchTimestampLimit: 1603630464
maxToSearchTimestampLimit: 1603648525

Array
(
    [18] => Array
        (
            [plik] => 20201025_160824.jpg
            [timestamp] => 1603638504
        )

    [19] => Array
        (
            [plik] => 20201025_160727.jpg
            [timestamp] => 1603638447
        )

    [20] => Array
        (
            [plik] => 20201025_135425.jpg
            [timestamp] => 1603630465
        )

)