#10 Please catch intent VIEW with mime type video

Open
opened 1 year ago by rz · 3 comments
rz commented 1 year ago

Hi,

using https://github.com/mediathekview/zapp which has a broken donwloader ... I can share the stream URI which generates an intent like

intent://arteptweb-a.akamaihd.net/am/ptweb/096000/096200/096293-003-A_EQ_0_VOA-STMA_07512877_MP4-1500_AMM-PTWEB-101114119767602_20A7aKRTaf.mp4#Intent;scheme=https;type=video/*;launchFlags=0x3000000;S.android.intent.extra.TITLE=Entdeckung%20der%20Welt%20-%20Leben%20anderswo%20-%20Die%20gef%C3%A4hrlichsten%20Schulwege%20der%20Welt%20-%20Brasilien%20(mit%20Untertitel);end 
------------ 
ACTION: android.intent.action.VIEW 
DATA: https://arteptweb-a.akamaihd.net/am/ptweb/096000/096200/096293-003-A_EQ_0_VOA-STMA_07512877_MP4-1500_AMM-PTWEB-101114119767602_20A7aKRTaf.mp4 
MIME: video/* 
URI: intent://arteptweb-a.akamaihd.net/am/ptweb/096000/096200/096293-003-A_EQ_0_VOA-STMA_07512877_MP4-1500_AMM-PTWEB-101114119767602_20A7aKRTaf.mp4#Intent;scheme=https;type=video/*;launchFlags=0x3000000;S.android.intent.extra.TITLE=Entdeckung%20der%20Welt%20-%20Leben%20anderswo%20-%20Die%20gef%C3%A4hrlichsten%20Schulwege%20der%20Welt%20-%20Brasilien%20(mit%20Untertitel);end 
FLAGS: 
FLAG_ACTIVITY_FORWARD_RESULT 
FLAG_ACTIVITY_PREVIOUS_IS_TOP 
EXTRAS: 
1 Class: java.lang.String 
Key: android.intent.extra.TITLE 
Value: Entdeckung der Welt - Leben anderswo - Die gefährlichsten Schulwege der Welt - Brasilien (mit Untertitel) 

------------ 
MATCHING ACTIVITIES: 
Video Player (com.alienpants.leafpicrevived - com.alienpants.leafpicrevived.activities.PlayerActivity) 
VLC (org.videolan.vlc - org.videolan.vlc.StartActivity)

I think DownloaderTo could handle this quite easily .. if it would catch the intent?

TIA

Hi, using https://github.com/mediathekview/zapp which has a broken donwloader ... I can share the stream URI which generates an intent like ``` intent://arteptweb-a.akamaihd.net/am/ptweb/096000/096200/096293-003-A_EQ_0_VOA-STMA_07512877_MP4-1500_AMM-PTWEB-101114119767602_20A7aKRTaf.mp4#Intent;scheme=https;type=video/*;launchFlags=0x3000000;S.android.intent.extra.TITLE=Entdeckung%20der%20Welt%20-%20Leben%20anderswo%20-%20Die%20gef%C3%A4hrlichsten%20Schulwege%20der%20Welt%20-%20Brasilien%20(mit%20Untertitel);end ------------ ACTION: android.intent.action.VIEW DATA: https://arteptweb-a.akamaihd.net/am/ptweb/096000/096200/096293-003-A_EQ_0_VOA-STMA_07512877_MP4-1500_AMM-PTWEB-101114119767602_20A7aKRTaf.mp4 MIME: video/* URI: intent://arteptweb-a.akamaihd.net/am/ptweb/096000/096200/096293-003-A_EQ_0_VOA-STMA_07512877_MP4-1500_AMM-PTWEB-101114119767602_20A7aKRTaf.mp4#Intent;scheme=https;type=video/*;launchFlags=0x3000000;S.android.intent.extra.TITLE=Entdeckung%20der%20Welt%20-%20Leben%20anderswo%20-%20Die%20gef%C3%A4hrlichsten%20Schulwege%20der%20Welt%20-%20Brasilien%20(mit%20Untertitel);end FLAGS: FLAG_ACTIVITY_FORWARD_RESULT FLAG_ACTIVITY_PREVIOUS_IS_TOP EXTRAS: 1 Class: java.lang.String Key: android.intent.extra.TITLE Value: Entdeckung der Welt - Leben anderswo - Die gefährlichsten Schulwege der Welt - Brasilien (mit Untertitel) ------------ MATCHING ACTIVITIES: Video Player (com.alienpants.leafpicrevived - com.alienpants.leafpicrevived.activities.PlayerActivity) VLC (org.videolan.vlc - org.videolan.vlc.StartActivity) ``` I think DownloaderTo could handle this quite easily .. if it would catch the intent? TIA
Umnik commented 1 year ago
Owner

Hello,

SaveTo app has option "Process ACTION_VIEW". Maybe it will be usefull in this case? SaveTo accepts intent and sends it to Downloader.

Hello, SaveTo app has option "Process ACTION_VIEW". Maybe it will be usefull in this case? SaveTo accepts intent and sends it to Downloader.
rz commented 1 year ago
Poster

I use SaveTo with this option enabled and for some reason it doesn't catch this intent.

For my use I found that https://f-droid.org/en/packages/com.tachibana.downloader/ does the trick nicely but SaveTo could be a lightweight alternative.

I use SaveTo with this option enabled and for some reason it doesn't catch this intent. For my use I found that https://f-droid.org/en/packages/com.tachibana.downloader/ does the trick nicely but SaveTo could be a lightweight alternative.
Umnik commented 1 year ago
Owner

OK, I take issue to review

OK, I take issue to review
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.