Code Monkey home page Code Monkey logo

smarttube's Introduction

SmartTube (old name SmartTubeNext)

logo

SmartTube is an advanced player for Android TVs and TV boxes, free & open source. You can play content from different public sources.

Features: no ads ‧ SponsorBlock ‧ adjustable playback speed ‧ 8k support ‧ 60fps ‧ HDR ‧ read live chat ‧ customizable buttons ‧ no Google Services ‧ helpful international community

Disadvantages: no support for phones and tablets, no comments stability, voice search and casting support might be worse than in the official apps, depending on your device; give it a try!

Do you have any question? Ctrl+F or ⌘F this readme first!

Installation | Official Site | Donation | FAQ | Support / Chat | Build | Translate the app | Changelog | Liability

Device support

:white_check_mark: supported: all Android TVs and TV boxes (incl. FireTV & NVIDIA Shield), even older ones with Android 4.3 (Kitkat). :x: not supported: Smartphones, non-Android plattforms like Samsung Tizen, LG webOS, iOS, etc.

Installation

video of the installation (note: download url changed to kutt.it/stn_beta or kutt.it/stn_stable)

Do not download SmartTube from any app store, APK websites or blogs; these were uploaded by other people and may contain malware or ads. SmartTube is not officially published on any app store. Sadly, the Google PlayStore does not allow ad-free Youtube apps using unofficial APIs.

There is a beta release (recommended) and a stable release. Beta gets new features and bugfixes faster than the stable release.

You can use either of the following methods to install the app:

  • (easiest) install Downloader by AFTVnews on your Android TV, open it and enter kutt.it/stn_beta or kutt.it/stn_stable, then read, understand and confirm the security prompts. (You can also enter 79015 (for beta) or 28544 (for stable), but this requires an extra step to install the AFTVnews Downloader browser addon if you haven't already.)
  • install a file transfer app on your Android TV, download the APK on your phone or computer and transfer it to your TV (e.g. Send Files to TV from the Google Play Store / Amazon AppStore)
  • download the APK onto a USB stick, put the USB stick into your TV and use a file manager app from the Google Play Store / Amazon AppStore (e.g. FX File Explorer or X-plore). Android's preinstalled file manager does not work! Do not get the ad-infested FileCommander.
  • if you are an advanced user, you can install it using ADB. guide | alternative guide

Troubleshooting: See device specific notes below. If installation fails, either your disk space is full or the APK file didn't download correctly; clear up space and try downloading again. If the app installed, but crashes when opening, make sure to install it to internal memory, not to an SD card / external storage.

The app has a built-in updater with changelog. You can also find all releases and the changelog on the Telegram channel @SmartTubeNewsEN (readable without account) or on Github.

latest beta download

latest stable download

Installation (Chromecast with Google TV)

On Chromecast with Google TV, installation of apps is blocked by default, so an extra step is required:

4.1. Enable Developer Options

On your Chromecast, open the side menu and go to Settings > System > About. Scroll down to the Android TV OS build section and click that repeatedly. A toast message will appear, explaining that you are a few steps away from being a developer. Continue clicking until you trigger it.

4.2. Turn on the "unknown sources" setting

Go back to the main Settings page and select Apps > Security & Restrictions > Unknown sources. Turn on the toggle for [Downloader by AFTVnews or] whichever file browser you decided to use [...].

[source & picture guide]

After this, you can follow the general installation guide above.

Installation (Xiaomi devices with Chinese firmware)

Xiaomi's Chinese firmware might block the installation of the beta version. The international firmware is not affected. Solutions:

  1. use SmartTube's stable version instead (recommended)
  2. use the international firmware for your device
  3. (if your device is from 2020 or before) You can do a factory reset and then install SmartTube beta before doing any system updates. You can then safely update your system, SmartTube should continue working.

Updating

The app has a built-in updater. You only need to follow the installation procedure once. A few seconds after launching SmartTube, it will notify you if there is any update and also show a changelog. You can disable automatic update checks or manually update in the settings under "about".

If the installation fails, either your disk space is full or the update didn't download correctly; clear up space and try updating again (Settings > About > Check for updates).

Compatibility

SmartTube requires Android 4.3 or above. It does not work on non-Android devices (incl. LG or Samsung TVs). On unsupported TVs, you can use a TV stick or TV box. Though this app technically runs on smartphones and tablets, it is not optimized for such and offers no official support!

It has been successfully tested on TVs, TV boxes and TV sticks that are based on Android, including:

  • Android TVs & Google TVs (e.g. Philips, Sony)
  • Chromecast with Google TV & TVs with Chromecast built-in
  • Amazon FireTV stick (all generations)
  • NVIDIA Shield
  • TV boxes running Android (many cheap chinese no-name boxes)
  • Xiaomi Mi Box

Features

Adblocking

SmartTube does not show any ad banners, preroll ads or ad intermissions. It not just tries to prevent them, it is literally programmed to be completely unable to display any ads, so YouTube cannot slip anything in. This also means you cannot allow ads or whitelist channels. Some YouTube channels include sponsored messages in their videos, these can also be skipped, see SponsorBlock below.

SponsorBlock

SmartTube includes a SponsorBlock integration. From the SponsorBlock website:

SponsorBlock is an open-source crowdsourced browser extension and open API for skipping sponsor segments in YouTube videos. [...] the extension automatically skips sponsors it knows about using a privacy preserving query system. It also supports skipping other categories, such as intros, outros and reminders to subscribe [and non-music parts in music videos].

You can select which categories you want to skip in the settings. Unlike the browser addon, in SmartTube you cannot submit new segments (TVs and TV remotes aren't great devices for such precise operations). Note that SponsorBlock is a free and voluntary project based on user submissions, so don't expect it to 100% work every time. Sometimes, sponsor segments are not yet submitted to the database, sometimes the SponsorBlock servers are offline/overloaded.

Casting

To cast videos from your phone (or other devices), you must link that device to your TV. Unlike the original YouTube app, SmartTube does not automatically show up when you are in the same wifi network. How to link your smartphone and TV:

  1. open SmartTube and go to settings
  2. go to "Remote control" (2nd option)
  3. open your YouTube app on your phone, go to settings > General > watch on TV
  4. click on connect using TV-code and enter the code from your TV

Screenshot guide

Due to technical limitations, you need to open the app on the TV before casting; SmartTube cannot automatically wake up the TV.

Picture-in-Picture (PiP)

SmartTube supports playing videos in PiP mode. This needs to be enabled under Settings > General > Background playback > Picture in picture. The video will go into PiP mode when you press home while playing a video, and also when you press back if enabled in Settings > General > Background playback (activation).

Adjust Speed

You can adjust the playback speed pressing the speed-indicator icon (gauge) in the top row of the player. This is remembered across videos. Some speeds may case frame drops, this is a known issue.

Voice Search

To enable global voice search, an additional app must be installed alongside SmartTube. This bridge app can intercept the System's attempts to open the original YouTube app and open SmartTube instead. For this to work, you must uninstall the original YouTube app. We know this sucks, but you can always reinstall it if you change your mind. The bridge app will not show up in your launcher and you cannot launch it directly; it is only used internally by the system's voice search. On some devices, you need to explicitly say "Youtube" when searching (e.g. say "youtube cute cats" instead of just "cute cats").

On Amazon Fire TV:

  1. uninstall the original YouTube app (no root required)
  2. download and install the Amazon Bridge SmartTube app: https://kutt.it/stn_bridge_amazon (e.g. via Downloader by AFTVnews)

On Google Chromecast with Google TV:

  1. uninstall the original YouTube app (no root required)
  2. download and install the ATV Bridge SmartTube app: https://kutt.it/stn_bridge_atv (e.g. via Downloader by AFTVnews)

On all other Android devices, sadly root is required to enable this:

  1. root your device (search for a guide for your specific device)
  2. uninstall the official YouTube app using root (adb shell pm uninstall com.google.android.youtube.tv)
  3. download and install the ATV Bridge SmartTube app: https://kutt.it/stn_bridge_atv (e.g. via Downloader by AFTVnews)

Donation

If you want to support my developments you are welcome to buy me a cup of coffee :)

Patreon (Visa, Mastercard, PayPal)
PayPal: [email protected]

BTC: 1JAT5VVWarVBkpVbNDn8UA8HXNdrukuBSx
LTC: ltc1qgc24eq9jl9cq78qnd5jpqhemkajg9vudwyd8pw
ETH: 0xe455E21a085ae195a097cd4F456051A9916A5064
ETC: 0x209eCd33Fa61fA92167595eB3Aea92EE1905c815
XMR: 48QsMjqfkeW54vkgKyRnjodtYxdmLk6HXfTWPSZoaFPEDpoHDwFUciGCe1QC9VAeGrgGw4PKNAksX9RW7myFqYJQDN5cHGT
USDT (ERC20): 0xe455e21a085ae195a097cd4f456051a9916a5064

Support

Please check the FAQ first! Also at least have a short look at the recent chat history.

You can report in our Telegram group or via issue tracker on Github (account required).

Telegram group (international): @SmartTubeEN
Telegram group (RU/UA): @SmartTubeUA
Email: first.hash at gmail dot com

The international group is in English only. But don't worry if your English is not perfect, we have a friendly international community.

Team

SmartTube is developed single-handedly; there is no larger team or company behind this. This is an open source, hobby project. Several others have helped with translations, some of which can be seen on Github, some have sent their translations directly to Yurii. There are also helpful people in the support chat.

Build

NOTE: OpenJDK 14 or older (!) is required. Newer JDK could cause app crash!
To build and install debug version, run these commands:

git clone https://github.com/yuliskov/SmartTube.git
cd SmartTube
git submodule update --init
adb connect <device_ip_address>
gradlew clean installStorigDebug

Video codecs

Video codecs are the algorithms used for video compression.

Which codec to choose / overview

recommendation hardware support compression, bitrate* quality
AV01 aka. AV1 best choice, if your device supports first devices started coming in 2020 best (e.g. 1.6 Mbps) same
VP9 best choice on most devices most devices since 2015 better (e.g. 2.1 Mbps) same
AVC only for old or slow hardware all devices good (e.g. 2.7 Mbps) same

* Examples taken from the video-only track at 1080p @ 25fps for this video: Dua Lipa - New Rules (Official Music Video)

At the same resolution, a lower bitrate is better! YouTube explicitly targets the same quality regardless of the codec. Older codecs have a higher bitrate only because they are less efficient. On Youtube, you do not get better quality by simply choosing a higher bitrate. Newer codecs have a better compression = lower bitrate = use less bandwidth = save the environment. This is a feature, not a bug. You should use the newest codec that works smoothly on your device, not the least efficient one. AVC usually has the highest bitrate. This is bad, not good.

Which quality to choose?

Currently, there is no automatic mode based on your bandwidth. But you can configure a default video preset yourself under settings > video player > video presets. The first option ("none") will remember your last selection within the video player. Any other preset is used initially for each video; if the selected profile is not available, the next best available option is used. You can still override the profile on each video individually within the player.

To decide the optional resolution / video quality for you, you need to consider a few limiting factors:

  • your bandwidth (choose only up to the bitrate that your bandwidth can handle; you can do a speedtest using fast.com by Netflix)
  • your TV's display resolution (the quality might slightly improve, if you select the next higher resolution, e.g. 1080p on a 720p display; but don't expect a big difference)
  • your TV's capabilities (e.g. HDR, 60fps)

Generally 60fps is an improvement, but if you personally don't notice (or mind) the difference, you can save bandwidth (and the environment) by not choosing 60fps.

HDR

HDR works only if your hardware supports it. It's a complicated mess.

  • Your TV must support it
  • If you use a TV box, that TV box and your TV cable and the TV must support HDR
  • Yes, there truly are different HDMI cable versions with different HDR-support, it's complicated
  • some devices (like the NVIDIA Shield) generally support HDR, but not the specific HDR format that is used on YouTube 😢

If HDR videos look looked dim or washed out, then check this article. If HDR is not working, it's probably not this app's fault. You might need to search on the web for "HDR" and your device name for any help.

Liability

We take no responsibility for the use of our tool, or external instances provided by third parties. We strongly recommend you abide by the valid official regulations in your country. Furthermore, we refuse liability for any inappropriate use of Invidious, such as illegal downloading. This tool is provided to you in the spirit of free, open software.

You may view the LICENSE in which this software is provided to you here.

  1. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

FAQ

Q: Videos buffer a LOT

A: Try to switch to encrypted DNS like NextDNS. You can set-up such DNS either automatically or manually. To automatic set-up you can use the Intra apk at fdroid and the "AutoStart - No root" apk to make it autolaunch after every TV restart. For manual set-up use this guide.

Q: There is no result for the search that I say (Android 11)

A: They're some reports that the latest update for "Google app for Android TV" could cause this bug. Deleting the update should fix the problem.

Q: AV01 does not play / Why is VP9 slow on my device?

A: Because AV01 is very new, most TVs and TV boxes not not offer hardware support and cannot play AV01 at all.

If your device has hardware support for a codec, videos using that codec should play smoothly. High resolutions might also be slow in VP9 on cheap TV boxes that don't officially support 4k. Your device probably can play VP9 videos even without hardware support, however this requires a powerful CPU to run smoothly. Fixing AV01 without hardware support is technically possible, but currently not planned and probably not efficient enough.

Q: Can you make SmartTube look like the original app?

A: Compared to SmartTube's UI, Stock Youtube and YT Kids are far ahead. However, we'd need someone who's skilled and willing to dedicate enough time and energy into making it. And into maintaining it longterm (incl. new features, bug fixes). All of this for free. If you are / got someone like that, please help. Not to mention that SmartTube follows Google's official template & recommendations for Android TV apps. It's Google's fault that the template is somewhat ugly. 😂

Q: Can the search page be improved?

A: It can be, but it takes someone to do it, similar to the above FAQ-entry. SmartTube is following Google's officially recommended design/template for TV apps and is using the official, preinstalled Android TV keyboard. Sadly, Google did a really bad job regarding the search page and keyboard. Maybe a future SmartTube update can add an embedded keyboard, similar to the original YouTube or other major Android TV apps. Maybe it can improve the looks to be as good or better than in the official YouTube app. But for now, it is the way it is due to lack of time and due to Google's official recommendations being bad.

Q: Can I install this on a Samsung Tizen TV / LG webOS TV / Roku / iOS / toaster?

A: No, this only works on Android devices. If you look at an Android TV's product page, it usually says clearly that it's based on Android. The app cannot easily be ported over to other plattforms and we have no plans to even try. Please do not ask. Instead, you can connect a separate TV stick or TV box to your TV.

Q: Can I install this on a smartphone? / Can you add portrait mode? / Scrolling doesn't work.

A: Big No. This app is not for smartphones, we offer zero support for that.

You can cast videos from your smartphone to a TV / TV box running SmartTube, though. Just use the official YouTube app or ReVanced, see the casting section for more information.

There will not be a phone version. You can use ReVanced, Pure Tuber, NewPipe, or NewPipe x SponsorBlock instead. Please go to their respective support chats for help.

Q: Can I install this on a tablet / car screen / smartphone with docking station?

Yes... maybe.. Requirements:

  • it is an Android device
  • it has a large screen
  • it has a TV remote, controller, or keyboard Touch input and is not supported. Mouse/touchpad scrolling neither. You cannot properly use SmartTube with only touch or mouse input.

Some users reported great success (incl. on a car entertainment system). Please share your success stories with us.

Q: I get "unknown codec" / "can't download video" errors

A: please wait 5 seconds for the video to play. If that doesn't help, press the play button. Some users reported, that this issue only appears when they have a USB audio device attached or if their disk storage is full.

Q: I get "the video profile is not supported"

A. Press the "HQ"-button in the bottom-left, select video formats and select anything other than AV01. AV01 is not supported on most devices (apparently including yours), so select VP9 instead. See the section on video codecs for more information.

Q: I get "video unavailable" when watching unlisted videos / my own videos

A: Right, that's currently a bug.

Q: It doesn't show up on my casting list

A: Please read the Casting section.

Q: The video is buffering a lot

A: The issue might not be specific to SmartTube, as other unofficial YouTube apps also report this issue. It seems uncommon nowadays, but was very present in the 2nd quarter of 2021. Some users or devices seem to be more affected then others. The official YouTube app & website are apparently only rarely affected. The root cause of the issue is currently unclear, but it appears to be a server-side thing on YouTube's end. Possibly, YouTube is discriminating 3rd party apps.

For now, try to see if it helps to:

  • reduce the resolution (or chance it back)
  • change the video format to AVC
  • increase the buffer in the settings
  • hit the back button and try playing the video again

Q: The debug information says my display is 1080p, but I have a 4k/UHD display!

A: Do not worry, the debug information is incorrect. SmartTube works fine even above 1080p and you should be able to see that, when you play a video in 4k or UHD. Also do not worry if it says "720p" and you have a 1080p display.

Q: Why does it not autoselect highest quality?

A: It does (by default). If you set a video profile under settings, that acts as a maximum for automatic selection. Check if you configured a video profile, you can unset it by choosing "none".

Please do not confuse quality with bitrate. See the section on video codecs for more information.

Q: Can I set a (maximum) resolution by default?

A: SmartTube automatically select the highest available quality for your video, up to a maximum resolution that you can set in the settings under "video profile". If available, SmartTube will pick the selected video profile, or otherwise the next best one available will be used. You can still always change the video profile while watching videos.

Q: Can it set the resolution to "auto", depending on my available bandwidth?

A: This is planned, but not available yet (sorry 🙇‍♀️). However, you can set a maximum resolution to something that should work for your bandwidth. See above for details.

Q: Why does it skip video segments?

A: SmartTube has a feature called SponsorBlock. You can select categories should be skipped, if any. See the SponsorBlock section for more details.

Q: How to start the next video automatically / stop after every video?

A: You can switch between different autoplay-modes using the loop-button 🔁

screenshot showing the loop-button

Q: How to remove recommended videos (e.g. news) that are unrelated to me?

A: Recommended videos are defined by YouTube and not by the app, we cannot change the algorithm. They are based on your country, which you can change in the settings. If you are logged in, they are based on your watch history, user profile data, and whatever else Google might use. If you are not logged in, you are like in "incognito mode", so your watch history does not influence your recommendations. Maybe a future version will add optional user profiling without logging in.

Q: Does HDR work?

A: Yes, HDR works if your hardware supports it. The NVIDIA Shield does not. See the section on HDR for more information.

Q: Why do some updates say "don't update if satisfied with the current version" in the changelog?

A: These updates change a lot of code, trying to fix bugs that only affect a few users/devices. Only the affected users should update. For anyone else, there is nothing to gain from updating; however there is the chance of causing new bugs. Do not worry if you updated anyways.

Q: When playing at other speeds, frames are skipped!

A: We currently cannot fix this, sorry.

Q: What is AFR?

A: "Auto Frame Rate". It adjusts the refresh rate of your TV to match the content you're watching. It can slightly improve the smoothness, but the difference is very small; most people barely notice it. It does not work well on every hardware. If you don't know what it does and don't want to test it out yourself, you can safely keep it off.

Recommendation: You can turn it on to see if it works on your device; if it causes issues (or if you don't care to test), turn it off.

Q: Should I choose high or low buffer?

A: The higher your buffer, the more of a video will be preloaded ahead of your current position. A low buffer might minimally reduce your bandwidth usage, if you often close videos before they end. A high buffer can smooth out network issues and prevent the video from pausing to buffer. A higher buffer increases RAM usage, however this shouldn't be an issue.

Recommendation: high.

Q: Can I retain the buffer when seeking back?

A: No, when you seek back (e.g. jump back 5 seconds), SmartTube will have to rebuffer. This might be improved in a future update.

Q: My device freezes when watching YouTube

A: That's a firmware or Android issue. If you are using a custom rom, maybe that rom is buggy. Because this issue is nearly impossible for the developer to debug, we cannot help you, sorry. You can try the usual workarounds: rebooting, clearing cache, reinstalling the app, or factory resetting the device.

Q: Can I remove videos from the history?

A: not yet

Q: Can I download videos?

A: not with SmartTube

Q: Can updates be installed automatically?

A: no, this is technically not possible. Only the preinstalled app manager (usually Google PlayStore, Amazon AppStore, etc) has the required permission. All other apps, incl. SmartTube can only show open installation prompt. A workaround using root would be possible, but hasn't been implemented yet.

Q: Can I whitelist ads on some channels?

A: no, this is not possible. SmartTube does not have any code to display ads. Adding this functionality would actually take time and effort, which is instead spent on adding useful features and fixing bugs.

smarttube's People

Contributors

abc0922001 avatar androidcoderr avatar b4byhuey avatar bubuleur avatar carlchina avatar cezbor avatar chechugamerxd avatar chuckmichael avatar cmhrky avatar ddinghoya avatar droideparanoico avatar foreveryoungforty avatar janowakps avatar johjohan avatar jtbrinkmann avatar kaigara1071 avatar kamilkurde avatar mapi68 avatar minhtamvn avatar mpama2016 avatar muzena avatar reindex-ot avatar resshi avatar sfaz38 avatar travel2here avatar tuyennn avatar tzagim avatar unnamed-orbert avatar yuliskov avatar zhephyr54 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smarttube's Issues

[Feature request] Mark video as watched

First, thank you very much for implementing features such as remembering the playback speed.

A way to quickly mark a video as watched, perhaps from the long press popup, would be welcome. This way I can teach the YouTube algorithm that I am interested in the video's topic and show me videos that others who watched that video watched, without having to watch the video again or manually skip to the end.

If this is not possible (to avoid fraudulent automated views), SmartYouTube has a way of marking a video as watched by pushing Channel Up right after starting playback. The same feature (whether done that way, or by a button on the UI, or both) would be very welcome.

Unable to save channels to subscriptions

When I first setup the app I was able to save channels to my subscriptions. Tried this morning and am unable. The icon turns blue but it does not show up in subscriptions. When going back to the video where the add to subscriptions was elected the icon remains white. Tried several times and also performed a force stop of smart tube next beta and a full restart of the device. Still the same behavior. Version is 4.9.

[Bug] Order of video views and upload date not consistent

On the home screen or any other screen with a catalog of videos, the order of video views and upload date is not consistent. For some videos, it is in the order Channel Name - Video Views - Upload Date, and for some Channel Name - Upload Date - Video Views.

Stop button does not exit playback

Also, a related feature request: Play button should start playback of the currently selected video. Support for the Previous and Next buttons as they work in Smart YouTube's Pro mode would be nice as well. But overall, using the existing Android TV UI is a very welcome move; I wish Google mandated such for all apps.

Unable to import to AndroidStudio

Hi @yuliskov ,

I'm trying to study on how you implemented the whole project (closedcaptioning in particular) and would like to debug and understand how it works in Android Studio. However, when I clone and open in Android Studio it says that **Could not read script 'C:\Users__\Downloads\SmartTubeNext-master\SharedModules\core_settings.gradle' as it does not exist.**

Sorry if this is wrong place to ask, Thanks for the wonderful app.

Watched videos are not updating

Watched videos are not counting as "watched", so they stay in the recommended section of the home page. Interestingly though, they appear as "watched" on the official YouTube application.

So somehow videos stay on recommended but the red bar at the thumbnails shows that they are watched.

Voice search should always start new search

When I push the voice search button on my remote, I still need to click OK on the remote to start voice search. The client should start listening to voice immediately, the way Smart YouTube and stock YouTube both behave.

(Bug) "Recently Uploaded" category occasionally includes old videos

On version Beta 6.8, running on a 2019 nVidia Sheild Pro. The Recently Uploaded category on the Home page often includes videos that are several months or even years old, as seen in the attached screenshot. The issue can usually be fixed by reloading the Home page, such as by navigating to the Subscriptions page and back again. The issue occurs intermittently, but fairly frequently. (This seems to be a separate issue from the "Categories get mixed up" bug I reported, as it's not just the latter half of the videos in the category that seem out of place, and the old videos don't seem to be pulled from another category row.)

Screenshot_20201102-234544

Feature request: Mouse control

Great and fast app. Love it so far.
Keyboard is fine for now and I can use a mouse to scroll but could full mouse control be implemented in a future release as I don't use a remote on my GT King ATV box as it's pretty much useless.
Regards and thanks for your time

Questions to ask.

Hi Yuriy,
Can you add the Google Account Login option? I have loads of subscribed channels on my account.
Thomaswcy

How are we supposed to go inside the video playing in the background

I really like to use the "play only audio in the background" option.

Yet, once enabled and we are back to the menu, we cannot reach the video anymore except leaving the app [The audio still plays] and reopen the app which leads us back in the video we were playing [which is still playing as it should].

Is there currently a way to go back to the video without leaving the app?

(Bug) Categories on Home are mixed up

I'm pretty sure I've noticed this occurring in both Smart YouTube TV and SmartTube Next (currently the most recent version, Beta 6.8), running on a 2019 nVidia Shield Pro, though I can't currently replicate the issue in Smart YouTube TV. The issue is itermittent but not uncommon when using SmartTube Next. When browsing the Home screen, videos appear in one category that belong in the category row below it. The videos in the first half of the row are correct, but the latter half should be in the next row down. Reloading the Home screen (such as by navigating to the Gaming or Subscriptions page and then back) usually fixes the issue temporarily.

[Edit: It's not necessarily the immediate next row. The problem happened again just now, with the last half of a category row populated by videos from a non-adjacent category row (and the latter half of that category row being populated by videos from yet another category row, and etc.). However, it does seem to be consistent that the first half of the videos in a row are appropriate to the row, while the last half are being pulled from a different category row on the Home page.]

Note that in the attached screenshots, the selected category row is "Trailers", while the next category row is "Felicia Day". The first few videos in the "Trailers" category are correct (as shown in the first screenshot), but as I scroll to the right (as shown in the second and third screenshot) the remaining videos in the row are being pulled from the "Felicia Day" category. While it is not shown in the screenshots, the same is true of the next few rows, with the latter half of the "Felicia Day" category being populated by videos from the category row beneath it.
Screenshot_20201102-220640
Screenshot_20201102-220648
Screenshot_20201102-220653

[Feature Request] Sponsorblock integration

I think it would be a good idea to have Sponsorblock integration added to SmartTubeNext because it would improve the user experience by blocking ads that can't be blocked by adblockers. Other YouTube clients like YouTube Vanced and NewPipe also have Sponsorblock support. Unfortunately there aren't any Android TV YouTube clients with Sponsorblock support which is a shame because unlike on mobile skipping portions of videos on Android TV is tedious due to the limited controls.
Bellow are some links to some information on Sponsorblock that might be useful.

Sponsorblock Resources

Sponsorblock Source

YTVanced Version

Feature request: hide sections

It would be cool to have an ability to hide sections eg. I am not using Games and News so I would like to hide them because I am mostly using recommended and subscribed so I have to jump over few sections.

Long press on section with hide/unhide option would be enough.

Video presets aren't applied automatically

I am choosing FHD 60fps avc preset, the video starts to play at matching (ot lower) setting with the avc codec, as expected, yet starting another video after it DOES NOT stick to the selected preset. Going to the presets again i can see the radio button near FHD 60fps avc still checked, yet i have to reselect it again in order for it to actually kick in on the second video.

Feature request - "blocktube" functionality

First of all: Thank you for your excellent work!

Would it be possible to add functionality to block channels and videos like in the firefox plugin "blocktube"? When watching videos involving, let us call it strong opinions, for instance about brexit, some very unpleasant channels keep popping op. It would be nice to able to block them for a more pleasant viewing experience.

Feature request - Casting

Like on the original project, it would be nice to have the casting option enabled. Other than that this is my new favorite YT app. Awesome work.

Build does not work

First, the build instructions fail to mention the Android SDK dependency. (Sort of a "duh", but a pain.) Once I resolved that, I ran the build instructions and got:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':smarttubetv:buildStbetaDebugPreBundle'.
> Could not resolve all task dependencies for configuration ':smarttubetv:stbetaDebugRuntimeClasspath'.
   > Could not find com.zlc.glide:webpdecoder:2.0.4.9.0.
...

I found SharedModules/constants.gradle: glideVersion = '4.9.0' and (https://github.com/zjupure/GlideWebpDecoder#dependency-integration) "If your project use glide version below 4.10.0, you can only use webpdecoder 1.6 version or below." So I patched it to version 1.6, tried again, and:

* What went wrong:
Execution failed for task ':smarttubetv:processStbetaDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.

So I have to define a Firebase project? Then I have to do it again because I didn't give the right package name. Then:

> Task :smarttubetv:processStbetaDebugGoogleServices
Parsing json file: C:\cygwin\home\t-bone\SmartTubeNext\smarttubetv\google-services.json

> Task :sharedutils:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sharedutils:compileDebugJavaWithJavac'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_261 contains a valid JDK installation.

Sigh. I've got a JRE but not a JDK installed. Install that. Now I've just got:

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

Ugh, I installed the wrong JDK (nothing said what was the right one). Uninstall, try again... Finally. It took over an hour but I completed the build.

... but where is the output? I don't have anything to install and run?

Maybe I need to run ./gradlew build to get something useful? But it dies on (untranslated string) lint errors! So try ./gradlew build -x lint?

...
> Task :common:compileStorigDebugJavaWithJavac FAILED
C:\cygwin\home\t-bone\SmartTubeNext\common\src\main\java\com\liskovsoft\smartyoutubetv2\common\app\models\update\AppUpdateManager.java:5: error: package com.liskovsoft.appupdatechecker2 does not exist
import com.liskovsoft.appupdatechecker2.AppUpdateChecker;
...
\SmartTubeNext\common\src\main\java\com\liskovsoft\smartyoutubetv2\common\app\models\update\AppUpdateManager.java:77: error: method does not override or implement a method from a supertype
    @Override
    ^
...

So remove those. Then

> Task :common:compileStorigDebugJavaWithJavac FAILED
C:\cygwin\home\t-bone\SmartTubeNext\common\src\main\java\com\liskovsoft\smartyoutubetv2\common\app\models\update\AppUpdateManager.java:5: error: package com.liskovsoft.appupdatechecker2 does not exist
import com.liskovsoft.appupdatechecker2.AppUpdateChecker;
                                       ^

Can you please just publish an APK?

Feature Request: Turn off animated thumbnails

Great project, I appreciate how much faster and more responsive it is than Smart Youtube TV.

In addition to other features I've seen brought up on this page, I'd like to have the ability to turn off the animated thumbnails that show up when you have a video thumbnail highlighted, because I find them distracting.

Thank you!

Question + feature requests

Hi!
Question: does the app have an auto updater (similar to the one from smartyoutubetv)?

If not, I request that feature!
Also:
It would be nice, if the video overlay (with all quality, timeline etc. options) would disappear automatically after a few seconds instead of requiring to click back to close it.
Also:
It would be nice, if there was a quality preset so I can always run the best possible quality available.

(Bug) Unable to sign in with Google Account

I have been unable to sign into SmartTube Next with my Google Account. I'm using a Nvidia Shield TV Pro 2019. I go to YouTube.com/Activate, put in the on screen code and click through Google's screens until it says I'm hooked up to that version of YouTube. But on my TV nothing happens. If I click Done it just goes back to the main screen. Unlike other apps that immediately log me in. What am I doing wrong? I'm on the current 5.3 Beta. I'd love to try this app since I use your other Smart YouTube app. But not unless I can link it to my Google account.

[Feature request] multi user

This is really an awesome project, love it! Particularly the features of browsing news, and like/dislike videos directly.

I'm missing the multi user functionality of smart youtube though. I hope you plan to implement this at some point too?

One more thing I realize I'm missing: In the SmartYoutube app when you go to subscriptions, you get a list of your subscription and you can see all releases from each. STN is missing this option and can only show all releases in a big pile. Not sure if this is planned to be fixed later or going to be like this.

(Bug) App crashing on back

Latest version 6.1 crashes the app to Android TV homescreen when backing out of any video (using back button) on my Mi Box S.

Speed changing is not possible

Speed changing is not possible on YouTube playback.
You can change it in the beta app but it do not work.
The speed jump directly back to 1x speed.
Tested on the classic firetv box.

Can you add a few features?

Love the app so far, but there are two things that could use Improvement. The first is allowing to browse subscriptions by individual channel instead of just most recently uploaded. The second is for a standard 10 second fast forward/rewind. For small videos, it ends up around 8-10 seconds. I was watching a video that was over one hour long and missed what someone said, hit rewind, and it backs up 35-40 seconds. Everything else works amazingly well. I love the animated preview and the scrolling title of the video. Thanks for developing this app. It's a great experience.

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.