OpenSageTV / sagetv-miniclient

SageTV MiniClient for Android TV (and phone/tablet)
http://forums.sagetv.com/forums/showthread.php?t=62439
Apache License 2.0
17 stars 14 forks source link

Support external links to open videos in other apps directly. #102

Closed cncb-gh closed 3 years ago

cncb-gh commented 3 years ago

This adds external link support to open videos directly in other Android apps from the SageTV library. This is accomplished by renaming and importing a small "placeholder" video in the following format: "TITLE.ESCAPEDURL.exlink". The ESCAPEDURL can be a direct video link (deep link) or an app package name if direct links are not supported. ".exlink" needs to be added to "seeker/video_library_import_filename_extensions" in Sage.properties.

Note that for some reason the OpenGLRenderer is not showing the captions TextView which is what I use to show messages to the user. I have also included a Toast message for now for this reason.

Examples

Amazon movie The Angry Birds Movie 2 (2019).https%3A%2F%2Fwatch%2Eamazon%2Ecom%2Fwatch%3Fasin%3DB07W7KKY9Q.exlink

Netflix movie Escape From Planet Earth (2012).http%3A%2F%2Fwww%2Enetflix%2Ecom%2Fwatch%2F70244165.exlink

Netflix tv episode: Brainchild - S01E04.http%3A%2F%2Fwww%2Enetflix%2Ecom%2Fwatch%2F80215236.exlink

Open Vudu app: Man On Fire (2004).air%2Ecom%2Evudu%2Eair%2EDownloaderTablet.exlink

jvl711 commented 3 years ago

@cncb-gh

Can you see if you can resolve the merge conflicts in the branch. You may need to update to the master branch from this repository. That should resolve the issue I was talking about with the player setting. Let me know if you are having issues with it, and I can take a stab.

Thanks, Josh

cncb-gh commented 3 years ago

I think I was able to resolve the conflicts.