Giter Site home page Giter Site logo

yuliskov / smarttubelegacy Goto Github PK

View Code? Open in Web Editor NEW
4.4K 147.0 595.0 38.76 MB

Watch YouTube videos on your TV and set-top-box with comfort

License: Mozilla Public License 2.0

Java 21.14% CSS 0.05% JavaScript 49.57% Makefile 5.41% Shell 0.04% C 3.96% Assembly 0.15% C++ 0.25% HTML 19.43%
youtube android youtube-client webview android-tv exoplayer2

smarttubelegacy's Introduction

"[SmartYouTubeTV] is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial" GitAds

Logo of SmartYouTubeTV SmartYouTubeTV

MPLv2 License

SmartYouTubeTV: A YouTube client for set-top boxes and Android-based TVs:

Features:

  • 4K support.
  • Designed for TV screens.
  • Any remote controller support.
  • Login support.
  • Doesn't depend on Google Services.
  • Fully localized.
  • Multilingual search keyboard.
  • Automatic update mechanism.
  • No root required!

NOTE: SmartYouTubeTV provides internal login mechanism which allows you to keep content up to date in a very convenient way.

Screenshots:

Install SmartYouTubeTV:

Easy installation in less than 5 minutes with only the FireTV

Standard installation via ADB

How to change system language with only the MiTV3

Starting screen:

The device/resolution options at start launches different playing methods (as per #15 (comment))

  • 1080 Main - WebView
  • 1080 Alt - XWalk
  • 4K Main - Exoplayer + WebView
  • 4K Alt - Exoplayer + XWalk

Also important, it's possible to select max resolution and codec (ie 1080/AVC1) via the start screen that will be applied on video loading (Codec option).

The Remember tick box acts as a configuration saving for next app launches.

Contributors:

Screens:

Screenshot of SmartYouTubeTV

Screenshot of SmartYouTubeTV

Screenshot of SmartYouTubeTV

smarttubelegacy's People

Contributors

bubuleur avatar davide-acanfora avatar foreveryoungforty avatar javierpz avatar maikell84 avatar noexzti avatar otava5 avatar selectee avatar thermaverick avatar ubertao avatar waggbr avatar wolfganp avatar yoasif avatar yuliskov 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

smarttubelegacy's Issues

Cannot load TV adapted interface

Hello, thanks for great work.
I have problem from **.27 > **.30 versions.
I have alternative launcher on my mxq s905 (pro 4k) tv box
When i call your app directly from launcher, i have no errors, but if i use my own launcher first time tvbox ask me for youtube default app (SmartYouTubeTV or Browser)
I choose your app and click (always), after that i see menu about youtube version and when i choose any of that i see loading circle and error (baloon message)
"URL not supported https://www.youtube.com/?glRU&hl-ru"
before **.27 version, i have no errors.
When i see that message, i see web based standard youtube interface and can't quit from app (quit dialog no provided) only home button helps.
If i use other launcher, all works good.
You can say (use your standart launcher) but i need call your app from another launcher (just another app) can you help me?

6.8.41 bug?

xiaomi 4K tv。Select picture quality, but cannot enter.

60 fps playback

Hi,

I'm very pleased to have found this app as alternative for YouTube TV APP. It's much more consumer friendly by enabling to resume videos and disable auto playback. Thats nice. One thing I wonder whether it is possible to play videos in 60 fps? Well, on my device (Wetek Play 2 / Android 5.1) the YouTube TV app doesnt support that but the normal YouTube app can play 1080p60.

Therefore I am asking myself whether this is possible to integrate in your app?

The upgrade problem

1、The quality of the painting is selected for memory.
mitvscreenshot_613_1509242595511-com firsthash sm

2、Online upgrade , upgrade failure.
mitvscreenshot_613_1509242627277-com firsthash sm

Apkmirror

Is there any chance you could upload updates to Apkmirror? Then I can use APKupdater to keep up to date.

a bit little more lag when subtitle opened

I try the verstion 6.8.2 and the version 6.8.29, when subtitle(auto-generating english subtitle) is opened, the voice and the video is a little more lag.

My tv box is M8S+ which is using Amlogic S812 chipset.

Unable to Instantiate Amlogic Decoder

Hi,

I use a Mibox international and when i get into a video and push the back button to search for another and start the new vid sometimes it will throw up an unable to instantiate amlogic decoder and wont play again till I exit and stop the app.

Playback and performance issue

On the normal version of SmartYoutubeTV, the video would continuously buffer, non-stop.

On the beta version, the playback works normally, but the rendering with the CrossWalk browser library is so stupendously slow you can see the columns refresh one by one...

So, I have checked and it seems that crosswalk is just having fun with some of it's lib, but it's the native browser app that got me curious, since it was absolutely fine until you try to playback.

Wake up device on request

Hello,

I think it could be great if the device wakes up when you try to cast a video.

Amazon official app uses this function:

protected static void wakeUpDevice(final Context context) {
    final android.os.PowerManager.WakeLock wakeLock = ((PowerManager)context.getSystemService(Context.POWER_SERVICE))
            .newWakeLock(PowerManager.ACQUIRE_CAUSES_WAKEUP & PowerManager.ON_AFTER_RELEASE & PowerManager.SCREEN_BRIGHT_WAKE_LOCK, IntentHandler.class.getPackage().toString());
    Log.d("youtube", wakeLock.toString());
    wakeLock.acquire();
    wakeLock.release();
}

And in this case it's necessary to change shouldIgnoreIntents method in BrowserActivity because it checks if the device has the screen on.

Bad performance compared to official app

Hi, I'm running the app on my minix NEO U1.
An HD video won't be played smooth on my device, and sometimes audio goes out of sync.

I have noticed the CPU usage is higher than the official one.

Smart YouTube TV 6.5.1
image

com.google.android.youtube.tv 1.3.11
image

Build failure

Hi,
I cloned the source but the build failed at lint step:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':smartyoutubetv:lint'.
> Lint found errors in the project; aborting build.
  
  Fix the issues identified by lint, or add the following to your build script to proceed with errors:
  ...
  android {
      lintOptions {
          abortOnError false
      }
  }

I checked the lint report and found 5 NewApi errors like this:

Calling new methods on older versions
../../src/main/java/com/liskovsoft/smartyoutubetv/widgets/BootstrapBadgeButton.java:57: Call requires API level 21 (current min is 14): new android.widget.LinearLayout

  54   }
  55 
  56   public BootstrapBadgeButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
  57       super(context, attrs, defStyleAttr, defStyleRes);
                                          
  58       init();
  59   }
  60 

Please document the different releases

Hi, FOA, thanks a lot for this project, it gave more life to my generic Android 4.4 box improving the leanback experience.

Regarding the releases, could you please document what the diff version flavors (Original, Exoplayer, Xwalk) are intended for? And which one you recommend to start playing with? (ie this one is in active development, this one for fallback purposes if X doesn't work, etc)
Thanks again!

Crashes on LeEco TV super4 X40

I have the crosswalk runtime installed.
After I open the app and select 720p or 1080p, it crashes.
Tried with both 32 and 64 bit crosswalk versions.

Can someone help me how to debug so that I can share the crash logs.

SMART YOUTUBE TEST FAMILY T18 CHALLENGER

HELLO DEAR FRIEND
I AM ANDRES HAVE TIME WRITTEN YOU WITH THE MAIL [email protected]
First of all let me congratulate you for the great work you have done with this app I liked the way you can watch youtube on my tv and other friends who have the same tv challenger T18

The new apps you've made stopped working on the TV I would like to know if you would continue improving the app,And the app consumes a lot of RAM

Thanks a lot of success

I leave you an excel with the respective tests
TEST SMART YOUTUBE TV.xlsx

img_20170714_111959
img_20170714_112033
img_20170714_112020

Unified version selected resolution doesn't stay

Just a question regarding these latest unified versions: Should the selected resolution on first run stay as default for next runs or is it intended to select the resolution at start every time the app is invoked?
(because I have to select the resolution every time, and I don't know if it's the intended behavior or a bug that I need to provide logs for)
Thanks!

screen get dark when playing

apk version: SmartYouTubeTV_Exoplayer_v6.8.30_r.apk
TV: haier mooka U55H3
Hi, thank you for creating such a good app. I like it very much.
When playing video, screen often get dark for about 1 second and then recovered. Just like when playing video on pc, suddenly the screensaver begin to work, after moving the mouse, the video shows again. I tried several videos. It did not happen on older 6.8.14 version.

4K support?

Hi, May I know it is 4K video support on 4K TV ?

Crash Somtimes

Crash sometimes and jump to desktop while playing video.

Stats for nerds missing dropped frames information

Hi,

Problem:
In the version, 6.12.05 stats for nerds is missing dropped frames information. Can this be brought back as this is valuable information for debugging various other things.

Solution:
Introduce youtube.com/tv style stats for nerds

Many thanks

Screenshot taken from smart youtube 6.12.05
img_6008

Screenshot taken from youtube.com/tv
screen shot 2017-12-16 at 03 08 40

Not working well on MiBox Mini

In recent builds, the resolution doesn't look correct on MiBox Mini, only part of screen is in visible area.
I have tried version 6.8.6 which works good, and builds after 6.8.14 seems having above issue.

Large RAM consumption

Hi
We have some issues with the app.
We have Android Rockchip set-top box with 512 mb RAM.
When playing long videos, after ~15-30 minutes video starts to freeze, app consumes 60-65% of RAM and begins to displace other Aandroid processes.
Turning on webm or switching to WebView doesn't solve the problem.

Clearing webview cache every two minutes programmatically doesn't solve the problem.
It behaves better, but app freezes at the end anyway.
Is there any way to let this app consume less RAM?
Maybe, there is some memory leak?

1 gb RAM box works well, but we need to run this app on 512 mb box.

Language problem

The latest version, language is English, I need chinese.
6.8.53 The previous version was in Chinese

I like your software

I like your software very much.
I come from China, the software to solve the Chinese smart TV (Xiaomi TV) can not login YouTube account.
Use the SmartYouTubeTV_Exoplayer_v6.8.22_r.apk version now.
Question:
1, the interface is not the same as in the past, can not adjust the quality of the picture.
2, the statistical information is gone, as follows.
eahxz8qn_ nlza ouzkuaws

3, 4K 60fps support?.
4, YouTube live channel can not play

MITV4 No video when play video.

Dear Yuliskov,

I just bought the MiTV4, App is perfect except blank screen/black screen when play video.

Only sounds no video/graph.

Thank you.

Image Cut off on Nvidia ShieldTV

I'm running the app on a Nvidia ShieldTV. I tried all 4 versions; 720p and the first 4k works, 1080p and the second 4k do not work.

With the 720p version, the image is cut off around the edges. When I go to stats for nerds, it has a weird "viewport" line saying it's running at 1024x576 or 960x540x2, but clearly I'm seeing more of the image than that as only maybe 10-15% is cut off. Is this a bug, or should I be using a different version on the ShieldTV?

The first 4k version seems to work, but switches resolutions and is missing a bunch of features like recommended videos.

Recommended videos not selectedable

Hi,

Youtube video recommendations that show during or after video are not selectable anymore. Pressing up/down on remote recommendation don't open and pressing quickly at the end of the video does show recommendation but not enough time to select the videos as next video starts playing automatically.

I hope this can be fixed because this is an important feature for content discovery.

Many thanks

latest release has ruined 4k playback on MiTV 3 60"

Hi,

I have been using this app for some time but most recent version has forced me to install older version to get a smooth 4k playback. 4K playback was smooth until 6.12.05 but upon installing 6.12.09 started seeing 4k issues.

Here are details of my Hardware.

MITV 3 firmware version: 1.3.33
Online video version: 2.5.1(159b)
screen software version: 00.01.5A
Android version: 5.1.1
Kernal version: 3.10.23
Build number: 7.6.9.1426

You have developed a great app so, keep it up. I have posted this app in many Xiaomi forums as recommend app for MiTVs. 👍

Many thanks
img_5957
img_5958

Missing feature: Adjust cast volume

Missing feature, can't adjust volume when I cast to Smart YouTube app, guess it is permission issue that prohibit the system sound to change. Love the app otherwise, am using the latest version and app sound is working now too. Sometimes after a long time idle the app won't start playback just stays at "loading", changeing to another clip and same situation. A restart solves it!

Ability to set default video quality in settings

For users with metered connections, it would be great to able to set a default resolution for playback. For example, 360p. Even if someone selects 1080p as default and current video is max at 720p then default to max availavle.

Stop Auto-Updater?

Hi, is it possible to stop auto-updater with an option/setting?

You make an update almost every 5 hours and you have to select the dialog at every restart. ;-)

App chooses wrong stream quality (higher than device is capable of playing)

I have an Allwinner A33 - device with Android 5.1.1. It has a 7 inch screen which has a physical resolution of 1024x600:

root@astar-yh:/ # wm size
Physical size: 1024x600

I am using the "4k-profile", since the others don't work properly, or require Crosswalk, which is not installed.

When I install the app (latest version 6.10.17), it plays the videos. However it often takes the FullHD stream! I have verified this, by navigating to "Quality" -> "Video" while the video was playing. (Please see attached screenshot)

screen

  • It should not download a higher stream-quality, than the device is capable of playing.
  • While this is not fixed: Can you please tell me where I could insert a monkey patch, to fix this for my device?

Thank you!

This is an awesome app by the way.

Set region

Thanks for the great work with this app!

Is there some way to set the region within app? Would it be possible to add this to the settings menu?
Currently the language is set to EN but the region is not set.

Input method for search tv

Thanks for the great app. However, I would like to know if there is any way to use system input method instead of smart YouTube tv itself. Thanks.

Xiaomi Mi TV 3 60" (4K mode)

version 6.8.61 - when use both 4K mode - video is very slow(lagged)
on 1080 - all ok...

Xiaomi BAR MDZ-18-DA Specifications:
CPU - Mstar 6A928,Quad-core 1.4GHz Cortex-A17
GPU - Mali-760 MP4, 4 + 4-core
RAM - 2GB,Three-channel DDR3
Flash - 8GB,eMMC 5.0

No sound

No sound effect while enable sound from setting.

Unable to instantiate decoder OMX.amlogic.avc.decoder.awesome

Many videos are starts with shis error on buble. After more restarts same video it works so why not works immediatelly for first time ?
I tryes it on many Amlogic devices S905X and S912 Android 6.0.1, 7.1.1, 7.1.2 all have same issue in about half of videos. I have also boxes patched as MIBOX to watch 4K videos, but the issue with error in bubble is same.
Please provide solution how to fix it. Thank you.
smart youtube not awesome

changing resolution error

Error ID: 63-s-aeV_yTvNLQS after changing resolution from 1080 to 720 on Amazon FireTV Stick because of lacks while connected to Resurrection Remix Nougat Android-7.1.2_r36 - NJH47F

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.