YTPlayer [archived]

Rating: 
4.82
Your rating: None Average: 4.8 (50 votes)

YTPlayer is no longer developed. If you wish to continue development, please leave me a comment!

Unofficial YouTube client for Sailfish OS!

Two very important notices!

1) You must provide youtube-client-id.json and youtube-data-api-v3.key files in your Downloads folder in order to use the application. You will have to generate them yourself, and sadly It is a thing and a half to do, but you can follow this guide to generate and download the files. This may have implications to your Google account, so do this at your own risk. Once YTPlayer has started without complaining about the missing keys or files, you can delete the files from the Download folder.

2) Google restricts YouTube Data API v3 usage. I was greeted with the following message in the YTPlayer log: "We're sorry, but your computer or network may ben sending automated queries. To protect our users, we can't process your request right now." That happened to my keys during developement, I'll have to wait and see it they work after a few days of waiting.

This all means that I will soon halt developing YTPlayer, and will only provide builds of the application for new SFOS versions. Old SFOS versions are no longer supported after 0.6.18 release.

Known limitations:

  • Google restricts YouTube Data API v3 usage
  • Only 360p and 720p videos are supported
  • Some vides are available only at 360p
  • Fetching newest videos from all subscribed channels doesn't work
  • Recommened videos may not show relevant results

This version is a fork of YTPlayer by osetr, which is a fork of YTPlayer by tworaz.

Source code is available at GitHub. Pull requests and translations are welcome! Especially tweaks regarding YouTube API v3 and coping with its limitations are highly appreciated!

If you like this app and would like to support me maintaining it, you can buy my a cup of coffee!

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-ytplayer-0.6.9-1.armv7hl.rpm273.92 KB15/09/2019 - 14:19
File harbour-ytplayer-0.6.9-1.i486.rpm295.42 KB15/09/2019 - 14:19
File harbour-ytplayer-0.6.15-1.armv7hl.rpm696.52 KB01/06/2020 - 18:38
File harbour-ytplayer-0.6.15-1.i486.rpm729.67 KB01/06/2020 - 18:38
File harbour-ytplayer-0.6.16-1.armv7hl.rpm699.91 KB11/06/2020 - 09:23
File harbour-ytplayer-0.6.16-1.i486.rpm732.38 KB11/06/2020 - 09:23
File harbour-ytplayer-0.6.17-1.aarch64.rpm1.29 MB31/01/2021 - 04:07
File harbour-ytplayer-0.6.17-1.armv7hl.rpm1.28 MB31/01/2021 - 04:07
File harbour-ytplayer-0.6.17-1.i486.rpm1.31 MB31/01/2021 - 04:07
File harbour-ytplayer-0.6.18-1.aarch64.rpm302.73 KB27/07/2021 - 21:43
File harbour-ytplayer-0.6.18-1.armv7hl.rpm293.71 KB27/07/2021 - 21:43
File harbour-ytplayer-0.6.18-1.i486.rpm327.82 KB27/07/2021 - 21:43
Changelog: 

0.6.18-1

  • Added (restore) youtube-dl update functionality in Settings
  • Read youtube-client-id.json and youtube-data-api-v3.key from Downloads
  • Improve error reporting a bit

Full change log can be found in GitHub.

Comments

akikk88's picture

Can't play videos any more.. Because there is problem with youtube-dl.

akikk88's picture

Can`t update youtube-dl any more. If i try check update it fail every time. Where is the problem?

direc85's picture

That's right; tge update check fails. I'll fix it soon. Thanks for reporting!

predator2019's picture

Feature request: Beautful app. It would be helpful to install youtube-dl as an dependency when installing ytplayer similar to other linux distributions. Or a message at start that youtube-dl is needed to play youtube videos in ytplayer when youtube-dl is missing. For downloading videos is clear, but to play videos it's not obvious.

direc85's picture

Thanks for feedback. YTPlayer downloads youtube-dl automatically if its not present at startup, but its not updated automatically updated after that. You likely gave too old version of youtube-dl installed, please update it using the Settings menu.

Edit: There was a bug in youtube-dl update mechanism, please update YTPlayer first and then youtube-dl.

akikk88's picture

Lataa videota aika kauan aina aluksi ku laittaa videon pyörimään, pystyiskö sille tehdä mitään? Itse videot pyörii kyllä hienosti itsellä.

bionade24's picture

I get Buffer all the time, even though I have latest yt-dl and good network connection. Earlier, everything worked better. Has anyoone a solution for this problem?

lqramen's picture

Thank you. Works great.

Klaas's picture

Yesterday I downloaded this package. Got that new icon, but could not activate it.  Today the problems are solved like magic.  When I tried to open the icon everything worked well. Thank you for the good work!

 

Klaas's picture

After downloading and 'installing' of the second version (1.i486) nothing happened. I then downloaded the YTplayer from Jolla store and downloaded the first version  (armv7.hl) and the icon of YTplayer changed into the new icon as above on this page. When tapping on the icon it does not open, the wheel keeps turning for a while and then it disappears from my screen.

Klaas's picture

Hello Direc85, I downloaded the app on my Xperia XA2 (latest update), but installation did not work. The download appears in 'transfers' and when I tap on it nothing happens.

247's picture

Hi, we noticed that if you go to the sailfish home screen and play a video, the video is actually loading (as for searching the stream) much faster than just waiting inside the app, is this a bug?

direc85's picture

I can't reproduce this; both ways seem to be equally slow. I'm using mobile broadband, how about you? Could you provide step by step instructions so I could try to reproduce it again?

There really shouldn't be any difference if the app active or not regarding stream searching...

grucha's picture

Hi, good app.
You can also add playlist view.

wesbluemarine's picture

Hi, thanks for your update, now light themes are perfect with this App.
There's one thing I think is "wrong" for me... When I want to press "play" button on multitasking, it should not open the fullscreen window but stay minimized.

direc85's picture

When the video is already playing, and I minimize the app, the video pauses. Then if I click the play cover action, the video resumes and the app stays minimized. If the play cover action is clicked while the application is on the video details page however, the application is activated and video starts to play. This is intentional, and the cover action works for me.

wrwpoel's picture

When I try to install the application I get a "Nothing provides pyotherside-qml-plugin-python3-qt5 needed by harbour ytplayer-0.6.7-1.armv7hl" error.

direc85's picture

The old cure would be running `pkcon refresh` and try again...

What Sailfish version you are running? What device?

wrwpoel's picture

Thanks, that indeed solved the problem.

TMavica's picture

Also can add a refresh pull down option in lastest video large?

TMavica's picture

Is too dark to see

TMavica's picture

Using light ambience, the playing progress bar, i cant see the time and the bar

direc85's picture

That's true. I have no idea how I missed that. Thanks!

t0t3u's picture

Can you also include Subscribe option (like uTube has) whitout the need of an YouTube account?

Thank you!

akikk88's picture

Sounds good! :)

direc85's picture

Sailfish SDK 2.1 has been released and the Jolla Store release of YTPlayer is getting closer! Please report all issues as soon as possible! Thanks!

wesbluemarine's picture

I 've created a Pull Request for adding an audio only streaming, do you think is possible?

Thanks

direc85's picture

Actually I tried to implement 1080p support, which doesn't seem to be possible at the moment but I can still try a few things, and I stumbled upon audio only streams. It doesn't look complicated at all, so audio only might be way easier than I thought :) I'll check your PR if I can isolate your changes.

direc85's picture

I can have a look at it, but please make the pull request to my repo instead, now it's on tworaz's repo. It gets really difficult to figure out the changes this way...

wesbluemarine's picture

Great app!
With black text ambiences the play/pause button is not visible in the tasks grid.

Pages