How to maintain YouTube playback when my phone is in sleep mode? - Android Apps and Games

Hi all,
Due to the lack of storage space on my Moto G 3rd generation, I am unable to hold a large quantity of music on my phone. I have sorted all my music in playlists on YouTube which is great when I am using my laptop as there is a shuffle feature. But when I use my phone, I cannot listen to music on YouTube unless the phone is unlocked and the screen active. This causes problems when my phone is in my pocket as the app sometimes closes or some songs are accidentally skipped. As soon as I lock my phone, YouTube playback stops instantly and I have to unlock the phone to play the video again.
Is there anyway that I can enable playback on YouTube while my phone is locked? Ideally, the playlist would continue to play in order while my phone is locked. Or alternatively, is there a way of keeping the phone unlocked and making it so that the app is not affected? Is there an app that can be installed which will allow this?
Unfortunately, YouTube Red is not available in my country so that is not an option.

http://forum.xda-developers.com/android/apps-games/app-youtube-music-sound-stream-youtubes-t3399722
or if u are rooted and xposed..youtubebackgroundplayback module.

Related

Stock Video Player & Media Scanner Questions

Guys,
Couple of Questions.
1. The stock video player is fine, except it doesn't remember the location in the video. Everytime you start the player, it starts from the begining. Any way to make it remember the location, or other alternatives?
2. How to stop the Media Scanner from running when you disconnect from PC or restart the phone. It takes a good 5-6mins, and stops you from using the Gallery during that time?
Thanks for your input.
1) can't really help you there with the defaults, try DoubleTwist ?
2) Media scanner will run as long as TouchWiz is running, AFAIK
The newer ROMs seem to have fixed the Media Scanner issue - but since they have other issues, I am going to wait for an official release - I rarely reboot my phone or mount my SD card.
There are other Video players in the market - try some of them. If I pause a video and exit the video player, but come back later - the video i was watching starts at the spot i paused it. I guess this probably doesn't stay across a power cycle. I am not sure if any video player will.
I've been using Meridian for both video and music and have been pretty happy. For video it will remember where you stopped (per video, and across power cycles). It even has an option to always rewind 3 seconds when coming back from another app.
Sent from my SAMSUNG-SGH-I897 using XDA App
Thanks for the replies. Will try Meridian.
As for the Media Scanner, it's not just after power cycle that it comes up, but also after I disconnect from PC.
I remember seeing a video that showed how to disable TW on Epic and Fascinate, but that didn't work for Captivate. Anyone else know how to disable TW, and what other things does that change? (contacts, messaging???)

Music Player that only pauses for phone calls?

Is there a player out there that will pause only for phone calls? When I had a hero, the player worked great...would only pause for phone calls or if I was using navigator and a new turn was coming up. Since getting an Evo, the player pauses for everything, often times, I can't even tell what caused the pause in the music, just something that hit the processor I suppose.
I dont have a suggestion, but totally agree with you. I wish all music apps would allow us to have settings for Notifications, Phone Calls, Navigations, etc. It is sadly overlooked on all the media players that I have tried so far.
If you went to download a music player and then saw it say "controls phone,data,mms,internet,sd card, and had root. Most people would be worried fo ssecurity to download such an app. Its not attractive when an app practicaly needs ur entire phone open to use.
Voodoo sound has a Mod to disable all those notifications if I'm not mistaken.

[Q] Lock screen interface bug

Hello, I've noticed something with the Moto G (It may happen with other KK devices, but this is the only one I have to test) When I play a Netflix movie thru my phone to the chromecast on the TV, the Netflix lockscreen interface shows on my phone, as it should. But when I also turn on another app the uses the lockscreen interface, say Pandora radio, there is a conflict for what to play and what to display on the lockscreen. It happen frequently that I am playing a Netflix for a family member thru chromcast while running around the house or taking the dogs for a walk etc when I would also want to stream music from the phone. The phone will only play music for a couple of seconds then pauses. Also the lockscreen interface frequently switches between Netflix and Pandora. Does anyone know a way around this?
Don't know a way around it other than only running either netflix or pandora at one time, not both.
On a related note, I can't get the navigation (pause,play, fwd) controls on the pandora locksreen widget to work. Any ideas?

Bluetooth headphones resume playback not working

Hello,
I use a pair of true wireless Soul X-shock earphones to listen to seminars when out jogging etc using background playback. (Samsung Galaxy S7 and MX Player Pro)
The play/pause function (on the earphones) works as it should if there is less than an approx 5 minute delay between button presses...
However, when the video is pause is longer than 5 minutes I find the resume function on my earphones no longer operate and background playback of the video is completely halted.
Not only that, when resuming playback on my phone screen and then pressing the home button or lock screen the video does not play in the background as it should.
I have found the only way to remedy this is to force quit MX Player Pro directly and start it up again. That way the background playback function behaves like normal again.
The problem also happens immediately if I put my ear phones back into the charging case and take them out to use them again.
I am able to use spotify without issue taking my ear phones on and off but MX Player Pro behaves very differently.
I have also noticed the background playback for MX Player Pro on the notifications bar gets killed after about 5 minutes of no playback, requiring a full restart of the app before it can come back again.
I have already added MX Player Pro to the power saving exceptions list but the issue still happens.
Is there anyway to fix this via settings or via new update?
Kiwidude333 said:
Hello,
I use a pair of true wireless Soul X-shock earphones to listen to seminars when out jogging etc using background playback. (Samsung Galaxy S7 and MX Player Pro)
The play/pause function (on the earphones) works as it should if there is less than an approx 5 minute delay between button presses...
However, when the video is pause is longer than 5 minutes I find the resume function on my earphones no longer operate and background playback of the video is completely halted.
Not only that, when resuming playback on my phone screen and then pressing the home button or lock screen the video does not play in the background as it should.
I have found the only way to remedy this is to force quit MX Player Pro directly and start it up again. That way the background playback function behaves like normal again.
The problem also happens immediately if I put my ear phones back into the charging case and take them out to use them again.
I am able to use spotify without issue taking my ear phones on and off but MX Player Pro behaves very differently.
I have also noticed the background playback for MX Player Pro on the notifications bar gets killed after about 5 minutes of no playback, requiring a full restart of the app before it can come back again.
I have already added MX Player Pro to the power saving exceptions list but the issue still happens.
Is there anyway to fix this via settings or via new update?
Click to expand...
Click to collapse
Thanks for your feedback. When you pause the playback manually, MX Player will no longer use the foreground service. So, the system may kill the app to reclaim the resources if it is required for some other process. Once it's killed by the system, it may not be able to receive the media button controls. So, you can't resume the playback from the headset. However, everything should work as expected when you open the app again. If you found any abnormal behaviour, kindly provide us with more info so that we can investigate it further for you.

Question Media Player with locked screen

Hi all, I noticed that if I play audio files, present on the phone and accessible via "My files", therefore via the player supplied with the Nord 2T, after 30 seconds in which the screen is active, playback stops and upon unlocking the screen the track returned to the beginning.
Do you know if there is a way to allow media playback even after screen lock?

Categories

Resources