Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thanks for chiming in Dave. I'm going to try to reply as best as I can here but I don't see an easy way to do multiquotes in this forum software in order to reply to parts of your post in individual sections so apologies in advance. I'll start at the top and work my way down.Thanks for all the feedback it greatly helps in development. Here are some comments from this thread.
Launching Apps on Android
In the server's data folder there is a file called tvapps.json. This is the file that the Android driver uses for identifying apps and finding their launch codes.
There is an entry in there for an app called SmartTubeNext. Is this your SmartTube? CuriosityStream is in there with the name Curiosity Stream.
You can try to run these apps using the driver's launch command
SmartTube = AV|<<ID>>~Launch~am start -n com.teamsmart.videomanager.tv/com.liskovsoft.smartyoutubetv2.tv.ui.main.SplashActivity
CuriosityStream = AV|<<ID>>~Launch~am start -n com.curiosity.curiositystream.androidtv/com.curiosity.activities.MainActivity
This holds true for any Android apps you want to run. If you can find a published launch command use it.
"Also, I really REALLY dislike that there is no long press functionality to be had with the SmartRemote"
Huh? Hold down any hard button on the remote for more than 1 second and it will trigger a long-press. Hold it down for longer than 1.5 seconds and it turns on num-lock. Are those not working for you?
Samsung: "The only command I can't get working correctly is volume"
Which Samsung driver are you having volume issues with?
"The Denon driver works fine for basic controls like on/off, changing source, and volume up/down/mute. Anything beyond that..."
What additional functionality are you looking for? You are correct that these drivers cater to the basic needs but perhaps there are other commands that we should consider to be basic too? They're all there in the protocol docs.
"I don't want to press volume down 50 frigging times...."
We can only execute a command on button release because I have to listen for a long-press and then a really-long-press to turn on num lock. This means I can only act on release.
The volume up and down commands do support an optional "steps" parameter that will control how make ups or downs are done on a single press.
AV|<ID>~Volume~up~5 will do 5 on each press.
I'm not opposed to rethinking button press logic I just have to make sure it is universal and not just tailored to a particular use.
Please Log in or Create an account to join the conversation.
Thanks bud things are coming together nicely!Hi Nillaz! Good to hear you are making good progress!!
I noticed you are using Android players as your main source of content (or one of them), I use an android tv box so the same driver, and been having a very noticeable lag in navigating using ADB (as I explained here: allonis.com/forum/androidtv-driver/118-l...n-android-tv-box#841 )
I was just wondering what your experience is? Do you have a very noticeable lag?
Please Log in or Create an account to join the conversation.
So // is a comment tag, //! is a comment and //some text! is a comment and can span multible lines likeMacro|// Source activation macro for Shield TV!
// SetActiveSource creates the following server variables!
// activesource_sourceid_<clientname>, activesource_source_<clientname>, activesource_sourcename_<clientname>!
// activesource_image_<clientname>, activesource_macro_<clientname>, activesource_type_<clientname>!
// activeroom_<clientname>!
//!
SetActiveSource|Shield TV!
//!
SetVariable|{{activeroom_{{clientname}}}}_source~{{activesource_sourcename_{{clientname}}}}!
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_shieldtv_id}}~SelectDevice!
//!
// This next section is for systems that utilize audio and video distribution via AV switchers!
// If your system does not use this technology then you can ignore all of the following section!
// The Audio and/or Video switcher inputs this source is on!
// Uncomment and set if needed!
// SetVariable|{{activeroom_{{clientname}}}}_audio_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_sonos_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_video_switcher_input~0!
//!
// Now do the switching if necessary!
//!
// If|isGT##{{{{activeroom_{{clientname}}}}_video_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_video_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_video_switcher_input}}!
// If|isGT##{{{{activeroom_{{clientname}}}}_audio_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_audio_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_audio_switcher_input}}!
// If|IsGT##{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}##0##Sonos|{{{{activeroom_{{clientname}}}}_sonos_switcher_id}}~LineIn~{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}!
//!
// Additional commands!
// Set Denon to Media Player!
AV|2~Source~MPlay!
// Pause to ensure TV accepts input switch!
Pause|2!
// Set TV to HDMI2!
AV|1~Source~HDMI2!
// Set HDFury matrix to InputSel3!
Control|2~SendIR~HD Fury-4K Diva~INPUTSEL3!
// Ensure Xbox is turned off!
Control|4~SendIR~Microsoft-Xbox Series X~POWER OFF!
// Ensure Bluray player is off!
Control|4~SendIR~Panasonic-DMP-UB9000~POWER OFF!
// Ensure Apple TV is off!
AV|5~Power~Off!
//!
// Finally everything is ready. Send the client to the appropriate page!
LoadScene|shieldtv!
// fini
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.