recloudstream / cloudstream

Android app for streaming and downloading media.
GNU General Public License v3.0
6.8k stars 545 forks source link

feat: add mpv+ytdl app #1274

Closed aicynide closed 3 months ago

aicynide commented 3 months ago

Added mpv+ytdl app Apk link- https://github.com/mpv-android/mpv-android/pull/58

int3debug commented 3 months ago

const val ACTION_PLAY_EPISODE_IN_MPV_YTDL = 18 Both 18 correct? const val ACTION_MARK_AS_WATCHED = 18

Luna712 commented 3 months ago

I also think there must be a way to reduce duplicate code as your just copying MTV and changing one single line, but I am not absolutely certain.

aicynide commented 3 months ago

@Luna712 "App not Found" error Maybe issue with package name/Activity intent

Intent working fine am start --user current -R 2 -a android.intent.action.VIEW -d "https://website.domain/file.mkv" -n 'is.xyz.mpv.ytdl/is.xyz.mpv.MPVActivity' (run in termux/adb)

Luna712 commented 3 months ago

I will take a look tomorrow if I have time.

aicynide commented 3 months ago

I've squashed all the commits

fire-light42 commented 3 months ago

Code looks good, will merge after testing. No need to squash yourself as every PR is squashed in the merge to main.

aicynide commented 3 months ago

Code looks good, will merge after testing. No need to squash yourself as every PR is squashed in the merge to main.

"App not Found" error idk why. mpv+ytdl app Package name and Activity name are correct

aicynide commented 3 months ago

Tested and its working fine

aicynide commented 3 months ago

@fire-light42