YTPlayer

Rating: 
4.816325
Your rating: None Average: 4.8 (49 votes)

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

Skillmon's picture

Thank you very much. I have just one request, can you please change the icon back to purple? There is a logic behind the colors and multimedia is purple.

Shervrar's picture

Is this because the SFOS media app is purple, or is there something else that says so? For what it's worth, I like the red. It makes sense as YT is red.

Skillmon's picture

That's a convention from the Harmattan days which was followed at least in the early days of SFOS. If you take a look at the multimedia apps in the store or on OpenRepos many of them are in fact purple, e.g. Unplayer, YTPlayer (except this fork), Daedalus, many of the podcast/radio apps. Following such conventions adds to quick operation of the phone and gives the whole OS a more uniform and coherent look.

direc85's picture

Actually the icon was only partially in SVG format, so I'm considering the old logo for the Store release.

direc85's picture

Thanks for commenting.

This indeed seems to be a trend. If it doesn't turn out hideous - it shouldn't - I'll update the icon color in the next release, which should land in Jolla Store, too.

Skillmon's picture

Thank you very much for your answer (and all the work you're putting into this!). Sorry that it took me this long to finally notice your comments. Again, thank you very much!

carmenfdezb's picture

Thanks for the update, it works perfect now

Shervrar's picture

Going on 'subscriptions' lists the channels I am subscribed to, but selecting 'latest videos' shows some random videos from channels I definitely didn't subscribe to. Any Idea how I can see my subscription feed?

direc85's picture

I *think* it shows the latest uploads in general, not your subscriptions' latest videos. I'll check the API if it provides anything useful...

Shervrar's picture

Not sure how good this would be, but if the API does not provide a way to see subscription videos anymore there is another way: RSS.

Users can export a opml file from https://www.youtube.com/subscription_manager. I guess you could make users be able to import their opml file to show subscriptions?

That would admittedly raise the complexity of the program though.

 

Also, would it be possible to make the app open videos it got as an argument? I was considering just using an external RSS app as a workaround and opening youtube links with harbour-ytplayer, but `harbor-ytplayer https://youtube.com/watch?v=1234567` does not cause the video to open in the app.

akikk88's picture

I restart phone and now works :) thanks man

direc85's picture

Good to hear!

direc85's picture

Strange, I had no issues. I'll check it out tomorrow. I'm away until then.

akikk88's picture

I install again and now app don't open

direc85's picture

Whoops! I uploaded a wrong 0.6.2-1 build for armv7hl by accident, so please uninstall and install it again.

Sorry for the mixup!

akikk88's picture

Ok, thanks

akikk88's picture

1080p playback support?

direc85's picture

This has been on my mind, too. I'll see what I can do, once the current situation gets a bit more stable.

direc85's picture

I have a method for updating youtube-dl automatically, and it is high on my todo list. The quota issue comes first, though...

mugshot's picture

Nice! Thanks for the effort on maintaining the app, much appreciated! :)

mugshot's picture

Same issue. After updating, the app doesn't work. I'm back to using the Store version with manually updated youtube-dl, seems to work so far.

Could you check Vodman, and maybe implement an internal yt-dl update as the app itself works quite nicely? It's just the yt-dl that's the bottle neck here.

Bocephus's picture

Nothing works even with the latest update; log shows constant API quota errors. All pages are blank, including favorites and history. I'm not going to bother with this since Youtube works just fine in the stock browser.

direc85's picture

Sorry for the delays, I've been occupied by other things... Again, thanks for the feedback! I'll update youtube-dl and push the update soon!

direc85's picture

A quick note about the size increase: youtube-dl has grown that much since last update.

RodSeq's picture

Thanks for your indication, works again like a charm: Great App !

kuba77's picture

Via terminal:
devel-su

curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/share/harbour-ytplayer/bin/youtube-dl

chmod a+rx /usr/share/harbour-ytplayer/bin/youtube-dl

carmenfdezb's picture

Thanks!! I can watch all videos since I updated youtube-dl

akikk88's picture

How update youtube-dl?

kuba77's picture

It plays at least videos from favorites after download the latest youtube-dl.

carmenfdezb's picture

Is there any issue? It was working fine, but today it doesn't load any videos and categories are empty :/

Pages