stremio-addon-sdk icon indicating copy to clipboard operation
stremio-addon-sdk copied to clipboard

Submit infoHash when play-stream is executed instead on defineStreamHandler()

Open svetlozardraganov opened this issue 1 year ago β€’ 4 comments

I'm working on addon that provides the ability to videos from torrent files.

The defineStreamHandler() function expects to receive infoHash information but the extraction of this information is time consuming, especially when involving multiple streams.

Is there a way to submit everything but the infoHash information to defineSteamHandler() function and only when the play-stream is executed to download and submit the infoHash information for the respective stream? This will save a lot of time to pre-download all infoHash-es.

svetlozardraganov avatar Feb 20 '24 22:02 svetlozardraganov

Π—Π΄Ρ€Π°Π²Π΅ΠΉΡ‚Π΅, Π½Π΅ Π΅ ΠΏΠΎ Ρ‚Π΅ΠΌΠ°Ρ‚Π°, Π½ΠΎ ΠΊΠ°ΠΊΠ²ΠΈ са Π²ΡŠΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΠΈΡ‚Π΅ Π΄Π° сС ΡΡŠΠ·Π΄Π°Π΄Π°Ρ‚ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ към Π±ΡŠΠ»Π³Π°Ρ€ΡΠΊΠΈΡ‚Π΅ сайтовС Π·Π° субтитри? Някой ΠΏΡ€ΠΎΠ±Π²Π°Π» Π»ΠΈ Π΅?

На ср, 21.02.2024β€―Π³. Π² 0:05 Svetlozar Draganov @.***> написа:

I'm working on addon that provides the ability to videos from torrent files.

The defineStreamHandler() function expects to receive infoHash information but the extraction of this information is time consuming, especially when involving multiple streams.

Is there a way to submit everything but the infoHash information to defineSteamHandler() function and only when the play-stream is executed to download and submit the infoHash information for the respective stream? This will save a lot of time to pre-download all infoHash-es.

β€” Reply to this email directly, view it on GitHub https://github.com/Stremio/stremio-addon-sdk/issues/262, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEVOV56MHJ3WSM5423MRSQ3YUUMZVAVCNFSM6AAAAABDR53N4KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DKMZWHE3TIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hris828 avatar Feb 21 '24 07:02 Hris828

Not sure if this is allowed but I will answer the question below:

Π—Π΄Ρ€Π°Π²Π΅ΠΉΡ‚Π΅, Π½Π΅ Π΅ ΠΏΠΎ Ρ‚Π΅ΠΌΠ°Ρ‚Π°, Π½ΠΎ ΠΊΠ°ΠΊΠ²ΠΈ са Π²ΡŠΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΠΈΡ‚Π΅ Π΄Π° сС ΡΡŠΠ·Π΄Π°Π΄Π°Ρ‚ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ към Π±ΡŠΠ»Π³Π°Ρ€ΡΠΊΠΈΡ‚Π΅ сайтовС Π·Π° субтитри? Някой ΠΏΡ€ΠΎΠ±Π²Π°Π» Π»ΠΈ Π΅?

Π”ΠΎΠΊΠΎΠ»ΠΊΠΎΡ‚ΠΎ Π²ΠΈΠΆΠ΄Π°ΠΌ ΠΌΠΎΠ³Π°Ρ‚ Π΄Π° сС направят всякакви Π΄ΠΎΠ±Π°Π²ΠΊΠΈ Π²ΠΊΠ»ΡŽΡ‡ΠΈΡ‚Π΅Π»Π½ΠΎ ΠΈ Π·Π° субтитри.

svetlozardraganov avatar Feb 21 '24 22:02 svetlozardraganov

Π‘Ρ‚Ρ€Π°Ρ…ΠΎΡ‚Π½ΠΎ. Π—Π° съТалСниС Π½ΠΈΡ‰ΠΎ Π½Π΅ Ρ€Π°Π·Π±ΠΈΡ€Π°ΠΌ ΠΎΡ‚ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΈΡ€Π°Π½Π΅, Π½ΠΎ Ρ‰Π΅ бъдС ΠΌΠ½ΠΎΠ³ΠΎ Π΄ΠΎΠ±Ρ€Π΅ Π°ΠΊΠΎ сС появят Π΄ΠΎΠ±Π°Π²ΠΊΠΈ към subs.sab.bz , subunacs.net & yavka.net.

На Ρ‡Ρ‚, 22.02.2024 Π³., 00:19 Ρ‡. Svetlozar Draganov @.***> написа:

Not sure if this is allowed but I will answer the question below:

Π—Π΄Ρ€Π°Π²Π΅ΠΉΡ‚Π΅, Π½Π΅ Π΅ ΠΏΠΎ Ρ‚Π΅ΠΌΠ°Ρ‚Π°, Π½ΠΎ ΠΊΠ°ΠΊΠ²ΠΈ са Π²ΡŠΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΠΈΡ‚Π΅ Π΄Π° сС ΡΡŠΠ·Π΄Π°Π΄Π°Ρ‚ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ към Π±ΡŠΠ»Π³Π°Ρ€ΡΠΊΠΈΡ‚Π΅ сайтовС Π·Π° субтитри? Някой ΠΏΡ€ΠΎΠ±Π²Π°Π» Π»ΠΈ Π΅?

Π”ΠΎΠΊΠΎΠ»ΠΊΠΎΡ‚ΠΎ Π²ΠΈΠΆΠ΄Π°ΠΌ ΠΌΠΎΠ³Π°Ρ‚ Π΄Π° сС направят всякакви Π΄ΠΎΠ±Π°Π²ΠΊΠΈ Π²ΠΊΠ»ΡŽΡ‡ΠΈΡ‚Π΅Π»Π½ΠΎ ΠΈ Π·Π° субтитри. Π’ ΠΌΠΎΠΌΠ΅Π½Ρ‚Π° Ρ‚ΠΎΡ‡Π½ΠΎ Π²ΡŠΡ€Ρ…Ρƒ Ρ‚ΠΎΠ²Π° работя.

β€” Reply to this email directly, view it on GitHub https://github.com/Stremio/stremio-addon-sdk/issues/262#issuecomment-1958123763, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEVOV5YKFUV7HB7YCLDM5C3YUZXH3AVCNFSM6AAAAABDR53N4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJYGEZDGNZWGM . You are receiving this because you commented.Message ID: @.***>

Hris828 avatar Feb 22 '24 05:02 Hris828

Бъс сигурност, Π½Π΅ съм сигурСн ΠΎΠ±Π°Ρ‡Π΅ Π΄Π°Π»ΠΈ Ρ‚ΠΎΠ²Π° Π±ΠΈ Π±ΠΈΠ»ΠΎ Π² интСрСс Π½Π° Stremio.

svetlozardraganov avatar Mar 02 '24 08:03 svetlozardraganov