Set install location to auto for better storage management - #25
Conversation
Added 'android:installLocation' attribute to the manifest. To allow devices with limited storage to move the application to the SD card.
|
@Trollhunters501 I'm curious--what sort of device will not have 1MB of free space? 😄 |
There might be a few; some users might want to move it to the SD card, so we should give them the option to do so 😅 |
|
I also have a question, @gohoski : can YouTube live streams be played? |
|
@Trollhunters501 no, I will add the support for them myself at some point of time. Currently notPipe expects a single video file that already has an audio track, while YouTube gives live streams only as separate video and audio tracks (files) to save space and processing power. Building a player that puts the video stream into VideoView (which is just MediaPlayer with built-in UI controls for videos) and plays the audio stream in MediaPlayer and somehow synchronizes them together would be cool but extremely prone to failure. In fact, YouTube already has separate video and audio streams for all non-360p qualities on normal videos, but notPipe utilizes yt2009 that joins those two streams together into one video file. That can't be done on the backend side for live streams. Maybe I will implement it but only as an experimental feature as there definitely will be synchronization issues. MediaPlayer in itself is extremely buggy, you can take a look at VideoActivity to see how many workarounds I have to do to maintain compatibility with every device. So I don't think I'll be able to stably implement live streams. I need to add a check to reject playing live streams (although the client can show information about a live stream) |
|
Ho, ok 😅 |
Added 'android:installLocation' attribute to the manifest. To allow devices with limited storage to move the application to the SD card.