yuliskov / SmartTube

SmartTube - an advanced player for set-top boxes and tvs running Android OS
https://www.patreon.com/smarttube
Other
20.09k stars 1.08k forks source link

Add touch screen controls and screen scaling. #236

Open UNOTEHNIKS opened 3 years ago

UNOTEHNIKS commented 3 years ago

Great app to watch on TV I would like to see support for devices without a control panel, with a touch screen. On tablets and smartphones. The function of scaling the image for non-standard displays is missing.Good luck with the development of the project.

S0und commented 3 years ago

It's not worth the time when you have Youtube Vanced on phones. This is the smaller issue.

The app uses the Leanback framework which is designed for remote use. Navigating this UI by touch is possible, but it's a nightmare. You literally have to redesign the UI to work well with phones / tables, and that not gonna happen. Or i would not invest my time in it. This app is for TVs, you have to live with that.

UNOTEHNIKS commented 3 years ago

Any alternative is crutches. you need either root, or dances with Google services. I have never met such a problem-free and convenient client. Therefore, I really want to see it on my devices. In any case, good luck in your future endeavors. вторник, 15 декабря 2020г., 12:41 +03:00 от S0und notifications@github.com :

It's not worth the time when you have Youtube Vanced on phones. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe .

yuliskov commented 3 years ago

@S0und hi. May I ask a question? What library is used for displaying a chat in S0undTV app? I need something similar in my app.

S0und commented 3 years ago

@yuliskov I started off with Pocket Plays for Twitch's chat, but over the years I had to change it (and improve it so much) that i recommend you to build your own, or look at Dankchat. That's a really good starting point.

yuliskov commented 3 years ago

@S0und thx for the info

S0und commented 3 years ago

@yuliskov

The way I'm doing it right now, i have a Okhtttp websocket to receive the messages. On that thread i do the message parsing, emote parsing, emote download. Then I send the half-baked ChatMessage object to another thread that finishes the processing. This thread creates the final SpannableStringBuilder object which will show up in the Adapter. The reason why I made it this overcomplicated because, i couldnt fit the whole message processing onto a single thread. Lower end devices experienced a lot it "slow and laggy" chat on high population streams. Splitting the workload helped a lot. DankChat does everything on the same thread, but it doesn't playbacks a 1080@60 stream while processing the chat. Also the average phone is better then the average tv box.

yuliskov commented 3 years ago

@S0und thanks, friend. Appreciate your help a lot.

rsunde commented 2 years ago

Now that Vanced is ending their development, it would be nice to get this more finger friendly for mobile phones...

maybe show a small D-Pad ?? maybe there are other D-Pads you can install in android?

would be nice with some help regarding an ad-free YouTube experience, preferably using STN, but maybe talk about alternatives as well ?

f1vefour commented 2 years ago

Just no, let's not get the best ATV player shutdown also.

KAMiKAZOW commented 2 years ago

Just no, let's not get the best ATV player shutdown also.

Vanced was shut down because it was an illegal modification of Google's own YouTube app which STN is not.

amberdambey commented 2 years ago

Just no, let's not get the best ATV player shutdown also.

YT Vanced was discontinued because it used the official YouTube app and redistributed it. SmartTube Next is not that. It does not use YouTube as a code base. However, it does use YouTube TV's API. If it switches to Invidious or something, then it could be brought to Android mobile.

KAMiKAZOW commented 2 years ago

If it switches to Invidious or something, then it could be brought to Android mobile.

But then it would be yet another useless FOSS YT client that does not support logging into the actual YT account.

DraconicNEO commented 2 years ago

Just no, let's not get the best ATV player shutdown also.

YT Vanced was discontinued because it used the official YouTube app and redistributed it. SmartTube Next is not that. It does not use YouTube as a code base. However, it does use YouTube TV's API. If it switches to Invidious or something, then it could be brought to Android mobile.

Why would it need to switch APIs to work on Mobile? Android TV and Android aren't fundamentally different enough that it would break it on Mobile all that it needs to work on Mobile is a different UI. That should be easy enough as it already uses a mostly custom UI.

KAMiKAZOW commented 2 years ago

https://github.com/VueTubeApp/VueTube is aiming to become what this request aims for, ie. a FOSS client with YT login support, SponsorBlock, and so on. It's just still in early development right now. Wouldn't mind some cross-polination where possible, though.

aelfwyne commented 2 years ago

Lack of touchscreen support.... After seeing this app RECOMMENDED for Fire HD 10 installed it and it seems perfect, except that the touchscreen controls... don't seem to work 90% of the time. Sometimes they work. Managed to get to the sidebar, get everything set up.... but it's just wonky and half the time you can't do things with the touchscreen.

Huge miss on this app. There are no alternatives that have this featureset for a dedicated media tablet.

EDIT: "Vuetube" is worthless at this stage of development as it does not support login.

astraetech commented 1 year ago

I've used Vanced Youtube and PocketTube on touch screens extensively. STN's UI is great and it's the only one that allows to play "uploads" or all videos in the channel in a sequence. It's definitely got a place on touch screens even with ReVanced and NewPipe out there.