Giter VIP home page Giter VIP logo

Comments (21)

lancelotchang avatar lancelotchang commented on May 22, 2024 2

update: after updating Katiness to 4.1.0.310049754, global search works as expected.

from tv-samples.

DarkMike82 avatar DarkMike82 commented on May 22, 2024 2

@IanGClifton
I have downloaded latest version of tv-samples, and updated Katniss application on my Android device to last version.

When I enter 'zeitgeist' as a search query, Google TV sends 'zeitgeist' to VideoProvider. Video is found in DB and displayed.
2 queries received from this case: 'dummy' and then 'zeitgeist'.

But when I enter another text related to sample videos (e.g. 'fusce', which is 1st word in Video description), Google TV sends only 'dummy' to VideoProvider. Hence no video is found by this query.

Could you please help solving this issue.
Thanks in advance.

from tv-samples.

nicusorflorin avatar nicusorflorin commented on May 22, 2024 2

i seem to have a similar problem, I am running the latest leanback sample on a android 10 emulator, and i get nothing from global search from the app, no matter what i search

from tv-samples.

Nathan-Feng avatar Nathan-Feng commented on May 22, 2024 1

@aaghan Hi aaghan ,thank you very much for your reply,
Maybe I can describe the issue clearly, after sun tv-sample in android studio and run in Android TV Q platform, I want to check the this link function is OK or not
Make TV apps searchable
And I have checked the tv-sample creat a sqlite database in /data/data/packagename/databases/leanback.db
there are some programs in that db.
So I return to the ATV Home Lancher, using voice to speak some suggest text words, result is nothing output. also I input some suggest text from leanback.db, bug not got any result.
only Youtube result appear to me .
So I think maybe this searchable function is not OK in ATV 10.0 platform.
Can you help to check ?
Thanks

from tv-samples.

Nathan-Feng avatar Nathan-Feng commented on May 22, 2024 1

update: after updating Katiness to 4.1.0.310049754, global search works as expected.
@lancelotchang
Where can I got Katiness version 4.1.0.310049754 same as you?
Thank you

from tv-samples.

catmans1 avatar catmans1 commented on May 22, 2024 1

Here is issue tracker related to Android TV searchable feature
https://issuetracker.google.com/issues/171236084

from tv-samples.

aaghan avatar aaghan commented on May 22, 2024

For the search by default, there should be mike enabled. Please verify that first. If you don't have mike enabled, need to customize search Fragment

from tv-samples.

lancelotchang avatar lancelotchang commented on May 22, 2024

Hi, we have similar issue.
We tested GlobalSearch on ADT-3, it seems Katniss never try to query suggestion from tv-sample.
It only send "dummy" query to search provider when user press google assistant.
Katniss never send "suggest text" to apps which declared so support Global Search.
However, the same tv-sample app runs on Mibox s works as we expected.
So, we wonder if there is anyone able to make searchable function(global search) works as intended on ATV 10?

from tv-samples.

Nathan-Feng avatar Nathan-Feng commented on May 22, 2024

@lancelotchang Is your Mibox Android version 10.0 ?

from tv-samples.

lancelotchang avatar lancelotchang commented on May 22, 2024

@lancelotchang Is your Mibox Android version 10.0 ?

No, it’s android p, however the version of google app on both devices are identical...

from tv-samples.

Nathan-Feng avatar Nathan-Feng commented on May 22, 2024

@lancelotchang So I think only Android 10.0 has this issue.

from tv-samples.

IanGClifton avatar IanGClifton commented on May 22, 2024

Will need to investigate this.

from tv-samples.

IanGClifton avatar IanGClifton commented on May 22, 2024

Updates to ATV Assistant (Katniss) went out earlier this year, which should have fixed this issue. @Nathan-Feng can you confirm this is working for you now?

from tv-samples.

Nathan-Feng avatar Nathan-Feng commented on May 22, 2024

Updates to ATV Assistant (Katniss) went out earlier this year, which should have fixed this issue. @Nathan-Feng can you confirm this is working for you now?

@IanGClifton Hi ,I found the GTVS (Android Q )package Katniss version always 3.13.0.278974704, so I updating from Google Play store ,
Right now : ATV Katness version is 4.3.0.331205520.
But when searching something ,the result shown me the same : 'dummy'
Can you help to check?
Thank you very much.

from tv-samples.

IanGClifton avatar IanGClifton commented on May 22, 2024

Yeah, there were substantial changes from 3.x to 4.x of Katniss, so it's best to test on the latest 4.x version at this point. Can you clarify what you mean by the 'dummy' result?

from tv-samples.

Nathan-Feng avatar Nathan-Feng commented on May 22, 2024

Yeah, there were substantial changes from 3.x to 4.x of Katniss, so it's best to test on the latest 4.x version at this point. Can you clarify what you mean by the 'dummy' result?

Hi @IanGClifton
In tv-sample.
It only send "dummy" query to search provider when I press google assistant.
VideoProvider.java
line 165:rawQuery always equal dummy

from tv-samples.

IanGClifton avatar IanGClifton commented on May 22, 2024

It looks like the dummy query is used to "warm up" the content provider in case of a future query, but you should see a query go to the app if it's specifically named with something like "Play [content] on [app name]" (e.g., "Play instant upload on videos by google").

from tv-samples.

catmans1 avatar catmans1 commented on May 22, 2024

I'm developing Android TV with Android 9.
about global search feature, it's difficult to recognize by using voice to speak (even it didn't recognize).
with by using search text, it is difficult to find.
It always shows the result from youtube although i search with keyword the same my content.
can anybody suggest to me about the solution for this?

from tv-samples.

szaboa avatar szaboa commented on May 22, 2024

@DarkMike82 have you found out what is happening? we are having the same exact issue.

from tv-samples.

evgentset avatar evgentset commented on May 22, 2024

I have Implemented global search in my app based on this sample, and looks like it works incorrectly. When I type 'panda' in search field I got 'dummy' in query() of ContentProvider's (in selectionArgs param). When I type 'pand' I got 'dummy' and 'pand' in that method. That is very strange logic.
And as usual, there is no documentation, there is no working sample. Say hello Google :/

I used mibox4 with android TV on android 9. But I'm pretty sure that it can be reproduced on any other android TV device (I checked on other TV devices, mostly xiaomi mi tv).

from tv-samples.

samandarkuchkarov avatar samandarkuchkarov commented on May 22, 2024

i downloaded latest version tv-samples Leanback , and run successfully, i want search app content globally, i used key words
"new dad", "dummy" but there is no this app, i used google voice search button on dpad for searching, can someone five any idea or any example . thank you

from tv-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.