Giter Club home page Giter Club logo

youtubebackgroundplayback's Introduction

youtubebackgroundplayback's People

Contributors

abs96 avatar atakanb avatar besentv avatar brbsix avatar david082321 avatar electroz avatar esgie avatar hpnotiq56 avatar ihelp101 avatar ohyeah521 avatar phoenix09 avatar pylersm avatar sajito avatar sigv avatar th3an7 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

youtubebackgroundplayback's Issues

2 bugs

Hi
Have 2 bugs
1.i can play like 2 songs/videos(its doesnt matter)
and after that,i stuck on play button on the screen and cant play the song/video..
I think that i need close youtube and after that i open it again,its work-again for 2 songs and stuck after that,even i touch another video ,the play button stuck on the screen...
1.
I cant see on the status bar the play,stop,forwad ,you know all the button that show usually,i see gray background and doesnt see the butoons,even i touch when they need to be,anything works.. So that mean they do not work and arent displayed, this means that the technical and programmatic problems and not beacuse gray background display problem simply hides the same buttons ...
I will more than happy if can fix it and wait for comment.. Tnx

yt 10.14.56

new version
without haste, just to warn...tnx

aint workin =(

it is not working at all, it's just making bugs to YT app

Lock screen background doesn't reset after closing YouTube

Background of the lock screen is set according to the video playing. However this stays even after closing YouTube. Desired behavior would be to reset the background once the YouTube app is closed.

OS: CM12 Lollipop
Device: Nexus 4

support 10.02.3

hi any chance u could add support for youtube version 10.02.3 ? its just i use black youtube from team blackout and thats their latest,,everything is working fine on latest stock youtube, background playback and app switching loll, its friggin awesome !!!!!! big thanks

Stopped working with newest version of Youtube

The latest YouTube update broke this great module. The app updated to version 10.11.55 on March 27th. I tried updating to the newest version of this module (1.3.7 at the time of this thread) but the notification doesn't even appear when selecting a video as it did before the YouTube update.

I'm on a rooted HTC One M8 with android version 4.4.4 Kit Kat!

Cheers

1.4.4

I have latest version I can get, 10.14.56, and it isn't working.

It worked on previous versions, but when the module updated, I presume it broke.

Somehow update this, or fix?

chromecast confusion ?

Hi, i use your module on my tablet, but i found a problem recently. Whenever i start a video and press the chromecast button, the video appear on my TV just like it's suposed to be, but on my tablet, instead on having the back, pause ans next buttons, the loading circle keep going and keep going until it say "playing your video on [name of my chromecast] is taking an unusually long time" with a button "play here" to play the video on the tablet instead of the TV. But the video is casting well! Also, the progress bar is stuck to 0:00 and don't move, i can by the way move on the video by clicking randomly on the progress bar and it work, for exemple i click at 4:00 on the progress bar on my tablet, the video go at 4:00 on my TV and play just normal, but it keep stuck at 4:00 on the progress bar on my Tab and the loading circle keep going and keep going, then it say again "playing your video on [name of my chromecast] is taking an unusually long time", but it is working ! Sorry for my bad english, i hope you will understand my problem. Thanks, great module by the way.

Suport 10.10.52?

This module is great, you update to a new version of support for Youtube 10.10.52?

yt 10.11 and future versions

New yt version is out. Not compatibile with latest version of module.
Btw today i have received an update for the other module, youtube adaway by wanam. In the descripton there is an info that he has implemented some "brute force" method so now all past and future versions of yt should work with the module. Maybe you can implement something like that too?
Thank you for your time.

Causes ANR when starting video

Here's the logcat:

06-07 22:36:49.503 E/ActivityManager(4763): ANR in com.google.android.youtube
06-07 22:36:49.503 E/ActivityManager(4763): PID: 12030
06-07 22:36:49.503 E/ActivityManager(4763): Reason: executing service com.google.android.youtube/com.google.android.apps.youtube.core.player.BackgroundPlayerService
06-07 22:36:49.503 E/ActivityManager(4763): Load: 3.94 / 3.7 / 3.62
06-07 22:36:49.503 E/ActivityManager(4763): CPU usage from 3653ms to -5493ms ago:
06-07 22:36:49.503 E/ActivityManager(4763):   32% 4763/system_server: 19% user + 13% kernel / faults: 6179 minor 1 major
06-07 22:36:49.503 E/ActivityManager(4763):   32% 17148/de.robv.android.xposed.installer: 28% user + 3.3% kernel / faults: 3636 minor
06-07 22:36:49.503 E/ActivityManager(4763):   3.1% 12030/com.google.android.youtube: 1.6% user + 1.5% kernel / faults: 1656 minor
06-07 22:36:49.503 E/ActivityManager(4763):   5.9% 209/surfaceflinger: 3% user + 2.8% kernel / faults: 2669 minor
06-07 22:36:49.503 E/ActivityManager(4763):   0.9% 223/debuggerd: 0.1% user + 0.7% kernel / faults: 2793 minor
06-07 22:36:49.503 E/ActivityManager(4763):   2% 6297/com.android.phone: 1% user + 1% kernel / faults: 2052 minor
06-07 22:36:49.503 E/ActivityManager(4763):   4.8% 16878/com.android.systemui: 2.1% user + 2.6% kernel / faults: 1932 minor 1 major
06-07 22:36:49.503 E/ActivityManager(4763):   0.8% 6256/com.android.nfc: 0.5% user + 0.3% kernel / faults: 1240 minor
06-07 22:36:49.503 E/ActivityManager(4763):   2% 10668/com.google.process.gapps: 1.6% user + 0.4% kernel / faults: 352 minor
06-07 22:36:49.503 E/ActivityManager(4763):   1.9% 10699/com.google.android.gms: 1.7% user + 0.2% kernel / faults: 2873 minor 1 major
06-07 22:36:49.503 E/ActivityManager(4763):   0.2% 6238/org.cyanogenmod.audiofx: 0.1% user + 0.1% kernel / faults: 938 minor
06-07 22:36:49.503 E/ActivityManager(4763):   1.2% 204/logd: 1.2% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.1% 7462/com.android.incallui: 0% user + 0.1% kernel / faults: 942 minor
06-07 22:36:49.503 E/ActivityManager(4763):   0.8% 9635/kworker/u:0: 0% user + 0.8% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.7% 4486/netd: 0.6% user + 0.1% kernel / faults: 24 minor
06-07 22:36:49.503 E/ActivityManager(4763):   0.6% 15697/kworker/u:2: 0% user + 0.6% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.4% 16012/kworker/u:2H: 0% user + 0.4% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.4% 17176/de.Maxr1998.xposed.maxlock:MLLock: 0.4% user + 0% kernel / faults: 355 minor
06-07 22:36:49.503 E/ActivityManager(4763):   0.3% 137/mmcqd/0: 0% user + 0.3% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.1% 7621/com.google.android.googlequicksearchbox:search: 0.1% user + 0% kernel / faults: 634 minor
06-07 22:36:49.503 E/ActivityManager(4763):   0.3% 16819/kworker/0:5: 0% user + 0.3% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.2% 179/ueventd: 0% user + 0.2% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.2% 9910/kworker/0:2: 0% user + 0.2% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 13649/kworker/u:1H: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.2% 23254/kworker/2:5: 0% user + 0.2% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 3/ksoftirqd/0: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 9/migration/1: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 14/ksoftirqd/2: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 16/kworker/2:0H: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 206/lmkd: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.1% 228/keystore: 0% user + 0.1% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 5017/MC_Thread: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 5019/RX_Thread: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 5043/wpa_supplicant: 0% user + 0% kernel / faults: 1 minor
06-07 22:36:49.503 E/ActivityManager(4763):   0% 12737/daemonsu:10162:12734: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.1% 15443/kworker/u:1: 0% user + 0.1% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 17220/kworker/1:2: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 17269/kworker/2:2: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 19601/kworker/2:4: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0% 21226/kworker/1:4: 0% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763): 4.3% TOTAL: -1.-1% user + 0.-6% kernel + 0% softirq
06-07 22:36:49.503 E/ActivityManager(4763): CPU usage from 4700ms to 5263ms later:
06-07 22:36:49.503 E/ActivityManager(4763):   22% 17148/de.robv.android.xposed.installer: 20% user + 1.8% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     18% 17175/RenderThread: 16% user + 1.8% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     3.7% 17148/posed.installer: 1.8% user + 1.8% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   16% 4763/system_server: 9% user + 7.2% kernel / faults: 8 minor
06-07 22:36:49.503 E/ActivityManager(4763):     5.4% 4775/FinalizerDaemon: 5.4% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     5.4% 4787/ActivityManager: 0% user + 5.4% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     1.8% 4949/InputReader: 0% user + 1.8% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     1.8% 4987/WifiStateMachin: 1.8% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     1.8% 6733/Binder_D: 1.8% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   8.9% 209/surfaceflinger: 1.7% user + 7.1% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     5.3% 209/surfaceflinger: 3.5% user + 1.7% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     1.7% 282/Binder_1: 1.7% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     1.7% 485/EventControl: 0% user + 1.7% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     1.7% 2365/Binder_5: 1.7% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   0.9% 204/logd: 0.9% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):     0.9% 4508/logd.reader.per: 0.9% user + 0% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   1.1% 9635/kworker/u:0: 0% user + 1.1% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   1.2% 15443/kworker/u:1: 0% user + 1.2% kernel
06-07 22:36:49.503 E/ActivityManager(4763):   1.2% 16819/kworker/0:5: 0% user + 1.2% kernel
06-07 22:36:49.503 E/ActivityManager(4763): 26% TOTAL: 19% user + 5.6% kernel + 0.9% iowait
06-07 22:36:49.504 I/ActivityManager(4763): Killing 12030:com.google.android.youtube/u0a106 (adj 0): bg anr
06-07 22:36:49.559 W/DropBoxManagerService(4763): Dropping: data_app_anr (10 > 0 bytes)
06-07 22:36:49.585 W/MediaFocusControl(4763):   AudioFocus   audio focus client died
06-07 22:36:49.585 I/MediaFocusControl(4763): AudioFocus  removeFocusStackEntry(): removing entry for android.os.BinderProxy@2de6ed6
06-07 22:36:49.586 E/OMXNodeInstance(4487): !!! Observer died. Quickly, do something, ... anything...
06-07 22:36:49.694 D/Event   (6055): No subscribers registered for event class com.runtastic.android.events.bolt.music.MusicMetadataChangedEvent
06-07 22:36:49.695 D/Event   (6055): No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
06-07 22:36:49.695 D/Event   (6055): No subscribers registered for event class com.runtastic.android.events.bolt.music.MusicStateChangedEvent
06-07 22:36:49.695 D/Event   (6055): No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
06-07 22:36:49.709 D/ZWSleepReceiver(7235): Received: android.intent.action.BATTERY_CHANGED
06-07 22:36:49.720 E/OMX-VDEC-1080P(4487): 
06-07 22:36:49.720 E/OMX-VDEC-1080P(4487):  Error in ioctl read next msg
06-07 22:36:49.736 E/        (4487): 
06-07 22:36:49.736 E/        (4487):  Destroy C2D instance
06-07 22:36:49.736 E/        (4487): 
06-07 22:36:49.736 E/        (4487):  Destroy C2D instance
06-07 22:36:52.171 D/ConnectivityService(4763): updateNetworkScore for NetworkAgentInfo [WIFI () - 104] to 60
06-07 22:36:52.172 D/ConnectivityService(4763): rematching NetworkAgentInfo [WIFI () - 104]
06-07 22:36:52.172 D/ConnectivityService(4763): Network NetworkAgentInfo [WIFI () - 104] was already satisfying request 1. No change.
06-07 22:36:52.172 D/ConnectivityService(4763): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 104]
06-07 22:36:52.176 D/ConnectivityManager.CallbackHandler(16878): CM callback handler got msg 524290
06-07 22:36:53.862 W/BroadcastQueue(4763): Timeout of broadcast BroadcastRecord{29fcae0c u-1 android.intent.action.TIME_TICK} - receiver=android.os.BinderProxy@13167f03, started 10003ms ago
06-07 22:36:53.862 W/BroadcastQueue(4763): Receiver during timeout: BroadcastFilter{1663fcb9 u0 ReceiverList{3a992e80 7481 com.android.systemui/10012/u0 remote:13167f03}}
06-07 22:36:53.864 W/Binder  (16878): Binder call failed.
06-07 22:36:53.864 W/Binder  (16878): android.os.DeadObjectException
06-07 22:36:53.864 W/Binder  (16878):   at android.os.BinderProxy.transactNative(Native Method)
06-07 22:36:53.864 W/Binder  (16878):   at android.os.BinderProxy.transact(Binder.java:496)
06-07 22:36:53.864 W/Binder  (16878):   at android.content.IIntentReceiver$Stub$Proxy.performReceive(IIntentReceiver.java:124)
06-07 22:36:53.864 W/Binder  (16878):   at android.app.ActivityThread$ApplicationThread.scheduleRegisteredReceiver(ActivityThread.java:888)
06-07 22:36:53.864 W/Binder  (16878):   at android.app.ApplicationThreadNative.onTransact(ApplicationThreadNative.java:391)
06-07 22:36:53.864 W/Binder  (16878):   at android.os.Binder.execTransact(Binder.java:446)
06-07 22:36:56.409 D/ZWSleepReceiver(7235): Received: android.intent.action.BATTERY_CHANGED
06-07 22:36:58.198 D/ConnectivityService(4763): updateNetworkScore for NetworkAgentInfo [WIFI () - 104] to 56
06-07 22:36:58.198 D/ConnectivityService(4763): rematching NetworkAgentInfo [WIFI () - 104]
06-07 22:36:58.198 D/ConnectivityService(4763): Network NetworkAgentInfo [WIFI () - 104] was already satisfying request 1. No change.
06-07 22:36:58.198 D/ConnectivityService(4763): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 104]
06-07 22:36:58.200 D/ConnectivityManager.CallbackHandler(16878): CM callback handler got msg 524290
06-07 22:36:59.757 V/WindowManager(4763): Adding window Window{1f304844 u0 PopupWindow:1a78f9f9} at 6 of 12 (after Window{b59afac u0 de.robv.android.xposed.installer/de.robv.android.xposed.installer.XposedInstallerActivity})
06-07 22:37:01.046 W/InputMethodManagerService(4763): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@2420d84f attribute=null, token = android.os.BinderProxy@2668d95f
06-07 22:37:01.929 W/ResourceType(16878): No package identifier when getting value for resource number 0x00000000
06-07 22:37:01.930 W/PackageManager(16878): Failure retrieving resources for de.robv.android.xposed.installer: Resource ID #0x0
06-07 22:37:01.938 I/ActivityManager(4763): START u0 {act=com.android.systemui.recents.SHOW_RECENTS flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10012 on display 0

'screen off playback' works, 'home button playback' doesn't.

Hi,

I'm running YouTubeBackgroundPlayback 1.1.2 along with YouTube 10.08.52. The screen off playback works, but the home button playback does not. When I press the home button, YouTube just stops playing, like you'd expect without YouTubeBackgroundPlayback.

Am I doing something wrong here?

Doesn't seem to be compatible with 'Themer' on Android 5.0

I have official Android 5.0 on Samsung Galaxy S 5.

Using Samsung compatible Xposed Alpha this app barely works with Themer. There IS background playback and after a small break from minimising the app, it does start playing. However the launcher I use (Themer) crashes when Youtube is minimised and all I am left with is a black screen. I have to lock the device, and unlock it, as well as close all background apps for Themer to try to start up again.

Please make it compatible with Themer. Maybe it works with TouchWiz or something but I refuse to use that. As far as I am concerned this module doesn't work well enough to warrant using it because one way or another if I want to watch Youtube that is all I can do. If I minimise it, I can still hear the music but I can't use my phone normally.

Thanks.

Version 1.3.1 not working

I have a Samsug galaxy S3 with Cyanogenmod 11 and the proper version of YouTube installed same fore the background payback app but nothing works.

PS: It worked before for three to four updates.

Tiny Tweak Required

Hello,
Thank you for the best Xposed Module ever!
Works perfectly on S5 running CM12.

However,
There's this needed tweak because:

The background play notification doesn't show when I press the home button and go to home. The notification shows when I enter YouTube again after pressing the home button.

Will it be possible to show it immediately when the video starts or to show when pressing the home button immediately? And thanks!

Kind regards,
Eisa AlAwadhi

backround playback issues + other

With screen off it works, however it uses a lot of cpu when opening youtube app, reloads video previews, notification bar stutters when opening from there.
Backround playback does not work.
Lg G2 4.4.2.

Screen off playback issue & background playback not working

Hello,
Thanks for this amazing module firstly.

Sadly, I am not able to use the screen ofd playback because of AcDisplay. Maybe, there's some sort of conflict that makes screen off playback stops if AcDisplay is running.

The other thing is that Background playback doesn't work at all for me: I don't even get a notification.

I'm running Android 4.4.2 using Galaxy S5 (SM-G900F)

If there's anything I can provide to help fix the issue please let me know. This is one of the most interesting modules ever.

Thanks again!

Viral Pop-Up Player Support

Hey at first: Thanks for the nice framework! YouTube is really shitty right now on Lollipop, so I was wondering if you could kinda "port" Background Playback to Viral... Keep on developing! :)

Screen off playing not working

I tried both supported versions, 10.03.5 and 10.04.5 but none of them work.

Yt started playing song, I turned screen off and playback immediately stopped. After I turn screen back on, playing window displays "There was a problem while playing. Touch to retry" message.

No notification in drawer, anything. Module properly enabled in Xposed Installer.

Acer Liquid Z500, stock 4.4.2, MT6582

lollipop 5.1.0 support

not working for me, running

  • cynogenmod 12.1 (5.1.0)
  • youtube 10.18.55
  • xposed-sdk22-arm-20150514
  • on galaxy s5 mini (sm-g800f)
    what could be an issue?

YouTube crashes with Android 5.1, Xposed Super Alpha and YBP module

Logcat
I/System.out( 5791): YouTube MDX: MDX video stage moved to NEW
I/System.out( 5791): YouTube MDX: MDX video player state moved to UNSTARTED
I/System.out( 5791): YouTube MDX: MDX ad player state moved to UNSTARTED
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
I/ThermalEngine( 253): TM Id 'VDD_DIG_SWMODE_MONITOR-TSENS8' Sensor 'tsens_tz_sensor8' - alarm raised 1 at 86.0 degC
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/PowerManagerService( 911): acquireWakeLock: ignoring request from com.google.android.gms
D/AndroidRuntime( 5791): Shutting down VM
E/AndroidRuntime( 5791): FATAL EXCEPTION: main
E/AndroidRuntime( 5791): Process: com.google.android.youtube, PID: 5791
E/AndroidRuntime( 5791): java.lang.RuntimeException: Unable to instantiate service com.google.android.apps.youtube.core.player.BackgroundPlayerService: java.lang.IllegalArgumentException: Wrong number of arguments; expected 1, got 0
E/AndroidRuntime( 5791): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2762)
E/AndroidRuntime( 5791): at android.app.ActivityThread.access$1800(ActivityThread.java:154)
E/AndroidRuntime( 5791): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1389)
E/AndroidRuntime( 5791): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5791): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5791): at android.app.ActivityThread.main(ActivityThread.java:5274)
E/AndroidRuntime( 5791): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5791): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5791): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 5791): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 5791): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
E/AndroidRuntime( 5791): Caused by: java.lang.IllegalArgumentException: Wrong number of arguments; expected 1, got 0
E/AndroidRuntime( 5791): at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime( 5791): at java.lang.Class.newInstance(Class.java:1606)
E/AndroidRuntime( 5791): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2759)
E/AndroidRuntime( 5791): ... 10 more

YouTube Background Playback

Any method to make playback smoother when leaving and entering YouTube? I disabled this module and signed up for a trial of YouTube Music Key because the latest version of YouTube was not supported at the time. After trying YouTube Music Key; playback is really smooth, hardly notice any lag unlike this module. Probably because it has to go through a few different things before background playback resumes. But I still prefer this module since it plays all videos from YouTube. Great work.

1.5.0 semi-functional on Slimcat 4.4.2

I'm not entirely sure what's causing it, but background playback does work, only if I turn off the screen while running the YouTube app. If I switch from the app, the video pauses, and getting it to start from the notification shade doesn't seem to work. The video will resume once I pull up the app again though.

I just upgraded from my stock rom just the other day, which was 4.2.2, and it worked properly on that, so I'm wondering if it's the OS change that's causing issues, or if it's the ROM itself. If you want, I can grab a logcat while running a video for you if there's any important output that you can make use of.

As well, I probably won't make a merge request because I'm unsure as to how it works here yet, but I whipped up a French translation (It's not my first language, but I've learned enough in the past and I still need some practice every now and then) for you:

app_name: Lecture de Fond YouTube
app_description: Activer lecture de fond en YouTube

Notification not dismissable using swipe

Hi PylerSM!

First off, love this module! But just had one request: is it possible to make the notification dismissable by swiping (maybe only when the video is paused or something). Is kinda annoying that the notification only disappears (in my case) when the youtube app is closed.

Thanks!

Suggestions

Hello,

Nexus 5 user here, running Frank v.13 (http://forum.xda-developers.com/google-nexus-5/development/l-android-lpv-dev-n5-enhanced-t2856934) on franco kernel r.71.
Both the background and screen off playback work great for me.
Wanted to thank you and make some suggestions.
First of all, there's this small pause (delay) like 5 seconds or so between the moment i press home button and the moment the audio starts playing again. It would be great if the transmission from fore to background was smoother.
Second, can't seem to play playlists. What i mean is, after the first song is done playing and the screen is off, the second one doesn't start automatically, only by pressing the next button.
Anyways, great module and thanks for your awesome effort!

Small tweaks?

Just slapped android L on my HTC one and snagged this module. Mad props works mint. Just one small issue/question. When I leave YouTube to another application and this module takes over there is a three to four second pause. I know lots of users are having real issues but this is the ONLY issue I can find. keep up the great work look forward to seeing progress in the future.

(Suggestion) Notification X Stops Playback

First, I want to say thanks for the great module. I like the feature and it works great, and I don't mind that there is a small delay when starting playback, as it seems others have issue with. Thanks for the great work!

Now, for my suggestion, it would be with the notification. The notification is very much appreciated and very handy, so thanks for that. I would suggest, though, that if a video is playing, tapping the "X" in the upper right of the notification should also stop playback.

With other music app notifications, tapping the "X" stops playback and dismisses the notification. By having it not stop playback but still dismissing the notification, now the notification is gone and the only way to stop playback is to re-enter YouTube, or dismiss it from the overview (task switcher), closing YouTube completely.

If this is something you can implement, I feel it would be a great UX change to the notification. It would also mean I don't keep losing the notification with videos still playing and no simple way to control them. I can't get used to the fact that the "X" doesn't stop playback like media players so I keep losing the notification. I believe this minor change would bring the notification more in line with what a traditional music app's notification would be.

In the alternate, if you are unable or do not wish to implement this change as I have proposed it, could the notification be changed so that it is "ongoing," and therefore cannot be dismissed, until playback has been stopped? At least this will prevent dismissing the notification while playback is still in progress.

Thanks again and I do hope you consider this suggestion.

Cheers,
abqnm

Thank you!

It works very well on my HTC One m7 with the screen off, the playback and the button for playlist! Good job.

stopped working V1.3.8

Not working with the latest V1.3.8 -YT 10.13.54 . notification bar showing ! .when you click on ! mark (there was a problem while playing ,touch to retry ) mo matter what i do, i get the same error .
I hope you will find a fix soon .
Thanks in advance .

How to set this app up in general (...NO FUNCTION, maybe because of wrong handling)?

I installed the latest apk (v1.46) on a Samsung Galaxy S3 (i-9300) running CM11 (Snapshot 11-20141115) with YT (v10.18.55).
However after the installation, I do neither see any selectable icon of the app, nor did the behavior of YT change at all and the app itself is visible in Apps.Downloaded but not listed as "active".

Sorry for maybe asking a silly question but what else is required to start the "app" properly up? Am I supposed to start YT via the icon of the app or is all the magic done (automatically) in the background?

Anyway thanks for the great work that you guys have been doing - obviously the app is running fine on other devices (...with maybe smarter users).

Thank you very much and keep going!

not work for me

does not work with lollipop ?? or am I doing wrong someone can help me or should I set ??

Youtube for kids

Can you please add support for the new youtube kids app by google
Thanks

Lollipop

The module is compatible with Lollipop?

version 1.3.2 not working

Thank you for this great module ;) I have Galaxy Note 2 (android 4.4.2) + Youtube app 10.09.56 + Your module 1.3.2.

Themable notification

I'm running CM12 on my M8, and thus I've gone through a lot of themes, trying to get that perfect look. However, throughout all of the themes I've tried, I've noticed that the Youtube notification always stays the same dull grey colour, while everything else gets automatically themed (including persistent notifications, like PowerAmp).

Is this an issue with Youtube itself (as I heard you can...apparently have background playback with Google Play Music All Access?) or with the module?

In any case, is there a reason it doesn't get changed to the applied theme, like all other notifications? It being the only grey notification is a bit of an eyesore.

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.