YTPlayer

Rating: 
4.863635
Your rating: None Average: 4.9 (44 votes)

YTPlayer is an unofficial YouTube client for SailfishOS. With it you can - you guessed it - watch YouTube videos! You can log in, like and dislike videos, subscribe and unsubscribe to channels among other things.

I forked and bundled a minimal version of youtube-dl to increase speed and increase YTPlayer user experience. YouTube now works on your old trusty Jolla Phone without any issues! At this time the update functionality is disabled; this version is bundled with youtube-dl-lite 2020.05.08.

This version is for SailfishOS 3.3.0 Rokua and newer. For older SailfishOS versions (tested with 2.2.1 Nurmonjoki) please download the legacy release below.

harbour-ytplayer-0.6.16-1.armv7hl.rpm

arbour-ytplayer-0.6.16-1.i486.rpm

Known limitations:

  • 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.10-1.armv7hl.rpm274.41 KB25/09/2019 - 01:07
File harbour-ytplayer-0.6.10-1.i486.rpm295.72 KB25/09/2019 - 01:07
File harbour-ytplayer-0.6.11-1.armv7hl.rpm274.7 KB23/02/2020 - 14:54
File harbour-ytplayer-0.6.11-1.i486.rpm296.09 KB23/02/2020 - 14:54
File harbour-ytplayer-0.6.12-1.armv7hl.rpm684.44 KB25/02/2020 - 01:39
File harbour-ytplayer-0.6.12-1.i486.rpm705.2 KB25/02/2020 - 01:39
File harbour-ytplayer-0.6.13-1.armv7hl.rpm683.85 KB22/03/2020 - 00:01
File harbour-ytplayer-0.6.13-1.i486.rpm704.84 KB22/03/2020 - 00:01
File harbour-ytplayer-0.6.14-1.armv7hl.rpm697.16 KB01/06/2020 - 00:22
File harbour-ytplayer-0.6.14-1.i486.rpm729.48 KB01/06/2020 - 00:22
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
Changelog: 

0.6.16-1

  • Update youtube-dl-lite to 2020.05.08

Full change log can be found in GitHub.

Comments

lxmx's picture

I was getting random search failures with no results. Checked the logs and saw 403: quotaExceeded errors. Wonder if you've encountered these.

direc85's picture

Once you hit the quota, the only way out is to wait until until the daily limit resets. This also witnesses the popularity of the app, yay!

I will implement a way to let the user know without log digging that the quota has been met.

I will also implement a method to use different API credentials instead of the internal ones. That relieves the pressure of the default account quota by letting people use their own quota instead. But that's not going to happen this week at least.

lxmx's picture

Another option could be rotating through API keys. I mean, lowering the API limit from 1 mln hits to 10k hits on the YouTube site is really prohibitive. And asking each user to register as a developer isn't great UX and a privacy concern.

direc85's picture

Rotating API keys is not allowed by terms of usage. Also you have to login again when the key changes. What's more, 1M quota points divided to 10k hits per user results in 100 users, and I think YTPlayer has more daily users than that. So, I think a "hard" limit of 10k/user is very acceptable - even more so because it would be voluntary.

TMavica's picture

Now click every page, it show a blank page except watch recently page

TMavica's picture

Yes. It loaded, but clicked recommendation, it came out with lastest video

TMavica's picture

Now recommendation shows 'latest video'

direc85's picture

Does the content load? Because I did the change to fix the empty view in my device... If there's content, ther must be something wrong with my device...

Edit: Something's funny in my XA2 I did this testing with. I'll revert the change.

kevencopeland's picture

Recommendations do not load

Bsingleto's picture

Yeah, your right. The recommendations do not load. I prefer the Utube player because it plays my youtube subscriptions from recently uploaded.

I think this app/program does a real disservice when you click SUBSCRIPTIONS, it loads all of your subbed to channels. But when you do a 'pull down' under your subscriptions to 'Latest' , it has the nerve to show you trending videos instead of the LATEST of Your Own Subscriptions Feed.!. i dont want to watch youtube trending. i want to watch what i am subscribed too.

Lastest/trending is so useless. I want to watch what im subscribed to which is a carefully currated list of over one thousand subbed channels.

Please update My Subscriptions to Latest of Only My Subscriptions. Please,....

direc85's picture

Thanks for the feedback.

You are correct; fetching latest subscribed videos feature is embarrassingly broken, but this is because of changes in YouTube API. This is to make third party apps (like YTPlayer) less usable. It's in Googles intrest to have users only use the official app, since it shows ads - YTPlayer does not.

AFAIK there is no simple method to just fetch the latest videos from your subscribed channels. There is little I can do to fix it (without exeeding quota by performing massive amounts of searches, so at this point I consider it unfixable). I think I'll disable the menu entry in the next release to lessen confusion - but as always, suggestions, workarounds and PRs for fixing the issue are welcome.

daniloplay's picture

eu não consigo instalar nada no meu nokia n9

direc85's picture

Esta aplicação móvel é para Sailfish. N9 é coisa diferente. (Google Translate, yay!)

TMavica's picture

It still very slow to find the source and buffering

direc85's picture

Thanks for feedback!

Finding the source is slow because of both the script startup and YouTube, so there's nothing more I can really do. Buffering (and media streaming) are done using Qt assets, and that is only slow because of YouTube.

How about seeking within the video once the playback starts? That should work the same way at least - to me, seeking is very fast (and was before this version, too).

direc85's picture

I just released a beta version which comes bundled with a minimal version of youtube-dl, which executes a lot faster. If you ever wondered why testing the local version of youtube-dl was taking so long - this fixes exactly that. Just running `youtube-dl --version` took 12 seconds on my original Jolla Phone - now it takes about 1.1 seconds.

If you are curious and like testing new stuff, please install this update and let me know what you think. Thanks!

JacekJagosz's picture

Subscribed videos to me show just random recommended ones. Could you try to fix it? It has been reported on the original project https://github.com/tworaz/sailfish-ytplayer/issues/52

direc85's picture

You mean the topmost "Subscriptions" item? To me it displays the channels I've subscribed to.

Listing new videos from all the subscribed channels like this isn't possible anymore using YouTube APIv3. That's a feature I would like to have in the app, but it's a serious pain to implement, now that I actually think about it. Plus it would take ages to refresh the page and drain the API key quota fast, so at this point I'm not even going to look at it. Sorry, looks like it's a wontfix until the API changes...

rossholmes's picture

Thank you for the effort, this is a great and very functional app! Cheers

tabasko's picture

Great work man!

akikk88's picture

Thanks now works very well :)

Pohli's picture

Thanks for maintaining this app! I've found one issue: in Download Settings my choices of the Preferred video quality option are: 360p, 360p,1080p. I have a Jolla Phone with SFOS 3.0.1.11 and YTPlayer 0.6.8.

direc85's picture

Thanks for noticing that. That was a leftover from my failed attempt to implement 1080p support. As YouTube provides 1080p (and up) quality videos as separate audio and video streams now, I have no idea how to accomplish that using Sailfish/Qt/QML.

Version 0.6.9 published accordingly.

Pohli's picture

Thanks for quick fix! About page still says 0.6.8-1. ;-)

direc85's picture

Dang it! :D

Edit: That should have updated actually... Gotta look into it.

direc85's picture

As of writing this, the current youtube-dl version is 2019.09.12.1 which caused my version check sanity checks to fail. I updated the rules and released version 0.6.8 accordingly.

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.

Pages