diff --git a/modules/hls-downloader/android/build/.transforms/420100c8100a6b5d3c3531350a94e3e2/results.bin b/modules/hls-downloader/android/build/.transforms/420100c8100a6b5d3c3531350a94e3e2/results.bin new file mode 100644 index 00000000..0d259ddc --- /dev/null +++ b/modules/hls-downloader/android/build/.transforms/420100c8100a6b5d3c3531350a94e3e2/results.bin @@ -0,0 +1 @@ +o/classes diff --git a/modules/hls-downloader/android/build/.transforms/420100c8100a6b5d3c3531350a94e3e2/transformed/classes/classes_dex/classes.dex b/modules/hls-downloader/android/build/.transforms/420100c8100a6b5d3c3531350a94e3e2/transformed/classes/classes_dex/classes.dex new file mode 100644 index 00000000..66f68c84 Binary files /dev/null and b/modules/hls-downloader/android/build/.transforms/420100c8100a6b5d3c3531350a94e3e2/transformed/classes/classes_dex/classes.dex differ diff --git a/modules/hls-downloader/android/build/.transforms/72884e7f1fc4d4d3d21d192f72accc4d/results.bin b/modules/hls-downloader/android/build/.transforms/72884e7f1fc4d4d3d21d192f72accc4d/results.bin new file mode 100644 index 00000000..0d259ddc --- /dev/null +++ b/modules/hls-downloader/android/build/.transforms/72884e7f1fc4d4d3d21d192f72accc4d/results.bin @@ -0,0 +1 @@ +o/classes diff --git a/modules/hls-downloader/android/build/.transforms/72884e7f1fc4d4d3d21d192f72accc4d/transformed/classes/classes_dex/classes.dex b/modules/hls-downloader/android/build/.transforms/72884e7f1fc4d4d3d21d192f72accc4d/transformed/classes/classes_dex/classes.dex new file mode 100644 index 00000000..ba5c02c0 Binary files /dev/null and b/modules/hls-downloader/android/build/.transforms/72884e7f1fc4d4d3d21d192f72accc4d/transformed/classes/classes_dex/classes.dex differ diff --git a/modules/hls-downloader/android/build/.transforms/9b62e90f89bb930167df4abad84f7517/results.bin b/modules/hls-downloader/android/build/.transforms/9b62e90f89bb930167df4abad84f7517/results.bin new file mode 100644 index 00000000..0d259ddc --- /dev/null +++ b/modules/hls-downloader/android/build/.transforms/9b62e90f89bb930167df4abad84f7517/results.bin @@ -0,0 +1 @@ +o/classes diff --git a/modules/hls-downloader/android/build/.transforms/9b62e90f89bb930167df4abad84f7517/transformed/classes/classes_dex/classes.dex b/modules/hls-downloader/android/build/.transforms/9b62e90f89bb930167df4abad84f7517/transformed/classes/classes_dex/classes.dex new file mode 100644 index 00000000..92378c08 Binary files /dev/null and b/modules/hls-downloader/android/build/.transforms/9b62e90f89bb930167df4abad84f7517/transformed/classes/classes_dex/classes.dex differ diff --git a/modules/hls-downloader/android/build/.transforms/acbc341a3fec256278702366015ed94f/results.bin b/modules/hls-downloader/android/build/.transforms/acbc341a3fec256278702366015ed94f/results.bin new file mode 100644 index 00000000..0d259ddc --- /dev/null +++ b/modules/hls-downloader/android/build/.transforms/acbc341a3fec256278702366015ed94f/results.bin @@ -0,0 +1 @@ +o/classes diff --git a/modules/hls-downloader/android/build/.transforms/acbc341a3fec256278702366015ed94f/transformed/classes/classes_dex/classes.dex b/modules/hls-downloader/android/build/.transforms/acbc341a3fec256278702366015ed94f/transformed/classes/classes_dex/classes.dex new file mode 100644 index 00000000..c2bc7243 Binary files /dev/null and b/modules/hls-downloader/android/build/.transforms/acbc341a3fec256278702366015ed94f/transformed/classes/classes_dex/classes.dex differ diff --git a/modules/hls-downloader/android/build/.transforms/ae5ef218c41de4a6ffa8e38074ee1c07/results.bin b/modules/hls-downloader/android/build/.transforms/ae5ef218c41de4a6ffa8e38074ee1c07/results.bin new file mode 100644 index 00000000..0d259ddc --- /dev/null +++ b/modules/hls-downloader/android/build/.transforms/ae5ef218c41de4a6ffa8e38074ee1c07/results.bin @@ -0,0 +1 @@ +o/classes diff --git a/modules/hls-downloader/android/build/.transforms/ae5ef218c41de4a6ffa8e38074ee1c07/transformed/classes/classes_dex/classes.dex b/modules/hls-downloader/android/build/.transforms/ae5ef218c41de4a6ffa8e38074ee1c07/transformed/classes/classes_dex/classes.dex new file mode 100644 index 00000000..c59aaec9 Binary files /dev/null and b/modules/hls-downloader/android/build/.transforms/ae5ef218c41de4a6ffa8e38074ee1c07/transformed/classes/classes_dex/classes.dex differ diff --git a/modules/hls-downloader/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar b/modules/hls-downloader/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar index bca38667..4ec7b15d 100644 Binary files a/modules/hls-downloader/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar and b/modules/hls-downloader/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar differ diff --git a/modules/hls-downloader/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar b/modules/hls-downloader/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar index d20b9485..35535437 100644 Binary files a/modules/hls-downloader/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar and b/modules/hls-downloader/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab index bdf584a8..605fed36 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at index eed82a4b..6d7dcd9e 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab index 297a3a9a..e6bc45dc 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at index fc0e2217..9e593fa7 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab index b2025c4e..078492c1 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at index ea4dce08..ad38cfe6 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab index 86920b22..b1ed9270 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream index f943ad72..fd242941 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len index 4015edf0..5318c25b 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len index a5413564..14f7c061 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at index 6351e40a..be019b5d 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i index 02b0b2ae..5a5c51d6 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab index f46c6675..289bf7c8 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at index 18af3ff0..38464473 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab index bdf584a8..390fd25c 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at index 232a39a3..0e088a3c 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab index bdf584a8..44636a11 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at index 4f5b6f84..7341f98e 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab index bdf584a8..d19d17b9 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at index 875403eb..4ed69115 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab index 166c0578..4a12deaa 100644 --- a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +++ b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab @@ -1,2 +1,2 @@ -1 +5 0 \ No newline at end of file diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab index bdf584a8..d4be18c5 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at index 58753723..f6a4f172 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab index 8aad32b3..60965b02 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream index 08e7df17..1dd772ce 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len index b7da01d9..62f3e6ff 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len index 2a17e6e5..ec8f944c 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at index 2cab566e..2b490fb9 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i new file mode 100644 index 00000000..e6ff6ac7 Binary files /dev/null and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len index 1b1cb4d4..131e2657 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab index 2b690957..e1511c1d 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream index 7f8ed1d1..ffc373c6 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len index 723db649..396abe0c 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len index d0848d70..e862f594 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at index 5ba25fe1..ef46d859 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i index 949d826d..993e28e4 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i differ diff --git a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin index a81121c5..7e07d8bc 100644 Binary files a/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin and b/modules/hls-downloader/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin differ diff --git a/modules/hls-downloader/android/build/kotlin/kaptGenerateStubsDebugKotlin/cacheable/last-build.bin b/modules/hls-downloader/android/build/kotlin/kaptGenerateStubsDebugKotlin/cacheable/last-build.bin index ae5279d0..3b549641 100644 Binary files a/modules/hls-downloader/android/build/kotlin/kaptGenerateStubsDebugKotlin/cacheable/last-build.bin and b/modules/hls-downloader/android/build/kotlin/kaptGenerateStubsDebugKotlin/cacheable/last-build.bin differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$1$1$1.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$1$1$1.class index af68a849..d6d58955 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$1$1$1.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$1$1$1.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$1.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$1.class similarity index 91% rename from modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$1.class rename to modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$1.class index dca41407..4b510e69 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$1.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$1.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$2.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$2.class similarity index 91% rename from modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$2.class rename to modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$2.class index 2ef413d4..3a810f74 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$2.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$2.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$3.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$3.class similarity index 93% rename from modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$3.class rename to modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$3.class index ef67f5a4..d0c3c853 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$3.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$3.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$4.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$4.class new file mode 100644 index 00000000..3dc73222 Binary files /dev/null and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$4.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$5.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$5.class similarity index 91% rename from modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$5.class rename to modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$5.class index 9817e298..610a5e47 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$5.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$5.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$6.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$6.class similarity index 97% rename from modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$6.class rename to modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$6.class index 67058cfd..acb271f9 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$6.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$Function$6.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$FunctionWithoutArgs$1.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$FunctionWithoutArgs$1.class similarity index 93% rename from modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$FunctionWithoutArgs$1.class rename to modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$FunctionWithoutArgs$1.class index 05e70d7a..f8f97d21 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$FunctionWithoutArgs$1.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$FunctionWithoutArgs$1.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$OnCreate$1.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$OnCreate$1.class new file mode 100644 index 00000000..df32bc8e Binary files /dev/null and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$6$$inlined$OnCreate$1.class differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$4.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$4.class deleted file mode 100644 index 2cb0f738..00000000 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$Function$4.class and /dev/null differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$OnCreate$1.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$OnCreate$1.class deleted file mode 100644 index a498abae..00000000 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule$definition$lambda$7$$inlined$OnCreate$1.class and /dev/null differ diff --git a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule.class b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule.class index 75a95dab..e68288e6 100644 Binary files a/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule.class and b/modules/hls-downloader/android/build/tmp/kotlin-classes/debug/expo/modules/hlsdownloader/HlsDownloaderModule.class differ diff --git a/modules/hls-downloader/android/src/main/java/expo/modules/hls-downloader/HlsDownloaderModule.kt b/modules/hls-downloader/android/src/main/java/expo/modules/hls-downloader/HlsDownloaderModule.kt index b211d27a..4db5537d 100644 --- a/modules/hls-downloader/android/src/main/java/expo/modules/hls-downloader/HlsDownloaderModule.kt +++ b/modules/hls-downloader/android/src/main/java/expo/modules/hls-downloader/HlsDownloaderModule.kt @@ -41,16 +41,18 @@ class HlsDownloaderModule : Module() { OnCreate { android.util.Log.d(TAG, "Creating HLS Downloader module") val context = appContext.reactContext as Context - val cacheDir = File(context.getExternalFilesDir(null), "downloads") + + val cacheDir = File(context.filesDir, "downloads") if (!cacheDir.exists()) { cacheDir.mkdirs() + android.util.Log.d(TAG, "Created base downloads directory: ${cacheDir.absolutePath}") } val databaseProvider = StandaloneDatabaseProvider(context) downloadCache = SimpleCache(cacheDir, NoOpCacheEvictor(), databaseProvider) val dataSourceFactory = DefaultHttpDataSource.Factory() - .setUserAgent("MyApp/1.0") + .setUserAgent("Streamyfin/1.0") .setAllowCrossProtocolRedirects(true) downloadManager = DownloadManager( @@ -161,23 +163,15 @@ class HlsDownloaderModule : Module() { } Function("downloadHLSAsset") { providedId: String, url: String, metadata: Map? -> - android.util.Log.d(TAG, "Starting download for $providedId from $url") + android.util.Log.d(TAG, "Starting download for $providedId from $url") val startTime = System.currentTimeMillis() val context = appContext.reactContext as Context - val downloadDir = File(context.getExternalFilesDir(null), "downloads/$providedId") - if (downloadDir.exists() && downloadDir.listFiles()?.any { file -> file.name.endsWith(".m3u8") } == true) { - sendEvent( - "onComplete", - mapOf( - "id" to providedId, - "location" to downloadDir.absolutePath, - "state" to "DONE", - "metadata" to (metadata ?: emptyMap()), - "startTime" to startTime - ) - ) - return@Function + // Create the directory for this download + val downloadDir = File(context.filesDir, "downloads/$providedId") + if (!downloadDir.exists()) { + downloadDir.mkdirs() + android.util.Log.d(TAG, "Created directory: ${downloadDir.absolutePath}") } try { @@ -191,6 +185,12 @@ class HlsDownloaderModule : Module() { downloadManager.addDownload(downloadRequest) android.util.Log.d(TAG, "Download request added for $providedId") + saveMetadataFile(DownloadMetadata( + providedId = providedId, + metadata = metadata ?: emptyMap(), + startTime = startTime + )) + activeDownloads[providedId] = DownloadMetadata( providedId = providedId, metadata = metadata ?: emptyMap(), @@ -244,12 +244,19 @@ class HlsDownloaderModule : Module() { private fun saveMetadataFile(metadata: DownloadMetadata) { try { val context = appContext.reactContext as Context + // Create metadata file in internal storage val metadataFile = File( - context.getExternalFilesDir(null), - "downloads/${metadata.providedId}.json" + context.filesDir, + "downloads/${metadata.providedId}/${metadata.providedId}.json" ) + + // Ensure the parent directory exists + metadataFile.parentFile?.mkdirs() + + android.util.Log.d(TAG, "Saving metadata to: ${metadataFile.absolutePath}") metadataFile.writeText(JSONObject(metadata.metadata).toString()) } catch (e: Exception) { + android.util.Log.e(TAG, "Error saving metadata file", e) e.printStackTrace() } } diff --git a/providers/NativeDownloadProvider.tsx b/providers/NativeDownloadProvider.tsx index a3c951e0..9c5409fc 100644 --- a/providers/NativeDownloadProvider.tsx +++ b/providers/NativeDownloadProvider.tsx @@ -1,5 +1,6 @@ import useImageStorage from "@/hooks/useImageStorage"; import { + addCompleteListener, addErrorListener, addProgressListener, cancelDownload, @@ -69,55 +70,48 @@ export type DownloadedFileInfo = { }; const getDownloadedFiles = async (): Promise => { - console.log("getDownloadedFiles ~"); + const downloaded: DownloadedFileInfo[] = []; - const files = await FileSystem.readDirectoryAsync( - FileSystem.documentDirectory! - ); - console.log(files); + const downloadsDir = Platform.select({ + ios: FileSystem.documentDirectory + "downloads/", + android: FileSystem.documentDirectory + "downloads/", + }); - return []; + console.log("downloadsDir ~", downloadsDir); - // const downloaded: DownloadedFileInfo[] = []; + if (!downloadsDir) throw new Error("Downloads directory not found"); - // const downloadsDir = Platform.select({ - // ios: FileSystem.documentDirectory + "downloads/", - // android: FileSystem.cacheDirectory + "../files/downloads/", - // }); + const dirInfo = await FileSystem.getInfoAsync(downloadsDir); - // if (!downloadsDir) throw new Error("Downloads directory not found"); + if (!dirInfo.exists) { + console.warn("Downloads directory does not exist"); + return []; + } - // const dirInfo = await FileSystem.getInfoAsync(downloadsDir); + const files = await FileSystem.readDirectoryAsync(downloadsDir); - // if (!dirInfo.exists) { - // console.warn("Downloads directory does not exist"); - // return []; - // } + console.log("getDownloadedFiles ~", files.length); - // const files = await FileSystem.readDirectoryAsync(downloadsDir); + for (let file of files) { + console.log(file); + const fileInfo = await FileSystem.getInfoAsync(downloadsDir + file); + if (fileInfo.isDirectory) continue; + if (!file.endsWith(".json")) continue; - // console.log("getDownloadedFiles ~", files.length); + const fileContent = await FileSystem.readAsStringAsync(downloadsDir + file); - // for (let file of files) { - // console.log(file); - // const fileInfo = await FileSystem.getInfoAsync(downloadsDir + file); - // if (fileInfo.isDirectory) continue; - // if (!file.endsWith(".json")) continue; + // Check that fileContent is actually DownloadMetadata + if (!fileContent) continue; + if (!fileContent.includes("mediaSource")) continue; + if (!fileContent.includes("item")) continue; - // const fileContent = await FileSystem.readAsStringAsync(downloadsDir + file); - - // // Check that fileContent is actually DownloadMetadata - // if (!fileContent) continue; - // if (!fileContent.includes("mediaSource")) continue; - // if (!fileContent.includes("item")) continue; - - // downloaded.push({ - // id: file.replace(".json", ""), - // path: downloadsDir + file.replace(".json", ""), - // metadata: JSON.parse(fileContent) as DownloadMetadata, - // }); - // } - // return downloaded; + downloaded.push({ + id: file.replace(".json", ""), + path: downloadsDir + file.replace(".json", ""), + metadata: JSON.parse(fileContent) as DownloadMetadata, + }); + } + return downloaded; }; const getDownloadedFile = async (id: string) => { @@ -220,6 +214,21 @@ export const NativeDownloadProvider: React.FC<{ } }); + const completeListener = addCompleteListener((download) => { + console.log("c ~", { + id: download.id, + state: download.state, + }); + + // Remove the active download from the state + setDownloads((prev) => { + const newDownloads = { ...prev }; + delete newDownloads[download.id]; + return newDownloads; + }); + refetchDownloadedFiles(); + }); + const errorListener = addErrorListener((error) => { setDownloads((prev) => { const newDownloads = { ...prev }; @@ -239,6 +248,7 @@ export const NativeDownloadProvider: React.FC<{ return () => { progressListener.remove(); errorListener.remove(); + completeListener.remove(); }; }, []);