View Single Post
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#138
If someone gets youtube-dl to work on Sailfish, I suppose the video downloading part wouldn't be very difficult to implement.
As for downloading it is already included. When you open up a youtube video just press and hold longer on the video to reveal a drawer with two buttons. One to add as bookmark and one to download the video in the detected format.
This should work on 90% of the videos.
I really like to make it work on 100% of the videos. If someone wants to step up and help the yt.js file is the javascript I use to get the correct url and the downloadmanager.qml and cpp for downloading the file. You can find all sources on git.

- Could you add a setting to not show any info about the video in the live preview?
Yeah I tried to integrate some kind of timer to hide the info after 5 seconds. However my tests there did not work after messing around it for an hour as I wanted to make it clever by showing the info again when video is paused and played again.
But this is definitely on the todo.

- Is it possible to make the play/pause icon in the live preview disappear after a couple of seconds but still keep it active? (I'm not sure if this is actually a good idea though)
I also don't really think this is a good idea. It would be the only app doing that. I don't want to introduce inconsistency.
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay

Last edited by llelectronics; 2014-11-17 at 21:52.
 

The Following 3 Users Say Thank You to llelectronics For This Useful Post: