SmartTube
SmartTube copied to clipboard
[Feature Request] The ability to send YouTube urls from computer via command line.
It would be cool to be able to cast YouTube videos to SmartTubeNext from a local network computer; possibly via adb... I know I can send urls to the main web browser using adb, but sending video links to SmartTube would be ideal!
Already possible!! adb shell am start -a android.intent.action.VIEW -d "https://www.youtube.com/watch?v=bpQMMPiLkGI" com.google.android.youtube.tv
I am not sure how to do it with an autoplaying playlist though.
For fire tv sticks:
db shell am start -a android.intent.action.VIEW -d "https://www.youtube.com/watch?v=bpQMMPiLkGI" com.amazon.firetv.youtube
To get a list of user installed apps
pm list packages -3"|cut -f 2 -d ":""
Can we also add something to the watch list / queue?
@47xhp36c this opens the built in app. Am I missing something?
I was able to get it to work: adb shell am start -a android.intent.action.VIEW -d "https://www.youtube.com/watch?v=bpQMMPiLkGI" -n com.teamsmart.videomanager.tv/com.liskovsoft.smartyoutubetv2.tv.ui.main.SplashActivity
Below also works
adb shell am start -a android.intent.action.VIEW -d "https://www.youtube.com/watch?v=bpQMMPiLkGI" com.teamsmart.videomanager.tv
Alternatively, below should give you a dialog to select which app to use (if multiple installed)
adb shell am start -a android.intent.action.VIEW -d "vnd.youtube://bpQMMPiLkGI"`
Kodi users can use the below My YouTube for Trailers makes use of this
StartAndroidActivity(com.teamsmart.videomanager.tv,android.intent.action.VIEW,,"https://www.youtube.com/watch?v=bpQMMPiLkGI")