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:
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!
Attachment | Size | Date |
---|---|---|
harbour-ytplayer-0.6.9-1.armv7hl.rpm | 273.92 KB | 15/09/2019 - 14:19 |
harbour-ytplayer-0.6.9-1.i486.rpm | 295.42 KB | 15/09/2019 - 14:19 |
harbour-ytplayer-0.6.15-1.armv7hl.rpm | 696.52 KB | 01/06/2020 - 18:38 |
harbour-ytplayer-0.6.15-1.i486.rpm | 729.67 KB | 01/06/2020 - 18:38 |
harbour-ytplayer-0.6.16-1.armv7hl.rpm | 699.91 KB | 11/06/2020 - 09:23 |
harbour-ytplayer-0.6.16-1.i486.rpm | 732.38 KB | 11/06/2020 - 09:23 |
harbour-ytplayer-0.6.17-1.aarch64.rpm | 1.29 MB | 31/01/2021 - 04:07 |
harbour-ytplayer-0.6.17-1.armv7hl.rpm | 1.28 MB | 31/01/2021 - 04:07 |
harbour-ytplayer-0.6.17-1.i486.rpm | 1.31 MB | 31/01/2021 - 04:07 |
harbour-ytplayer-0.6.18-1.aarch64.rpm | 302.73 KB | 27/07/2021 - 21:43 |
harbour-ytplayer-0.6.18-1.armv7hl.rpm | 293.71 KB | 27/07/2021 - 21:43 |
harbour-ytplayer-0.6.18-1.i486.rpm | 327.82 KB | 27/07/2021 - 21:43 |
0.6.18-1
Full change log can be found in GitHub.
Comments
dumol
Sat, 2022/04/02 - 22:20
Permalink
Thank you, that would be great!
Would hate to stretch it too much, but maybe you'll find the time to also add URL associations? Looks like a minor thing... :D
dumol
Sat, 2022/04/02 - 20:42
Permalink
Nice job keeping this afloat!
Please consider making it work properly on Sailfish OS 4.4 regarding permissions.
While at it, would you consider https://github.com/yt-dlp/yt-dlp? In my experience it's a drop-in replacement for youtube-dl and works better. E.g. videos are buffered much faster, making the experience bearable again.
direc85
Sat, 2022/04/02 - 21:43
Permalink
Thanks! To be honest, I've been using the Browser for my mobile YouTube needs for a good while, but apparently YTPlayer still works! I haven't been able to use it for even longer while, because of the API key and quota issues.
I can sure fix the Sailjail support in and recompile it for 4.4, but until the API key stuff is as ridiculous as it is, I won't be investing too much time on this. (Okay, I have been dreaming about 1080p support, but the chances are slim...)
Edit: I can check out yt-dlp too, while I'm at it!
murfik
Wed, 2021/09/22 - 18:01
Permalink
or get example for past own api keys
Polecat2003
Sun, 2021/09/12 - 22:10
Permalink
Yes, please give instruction how to get json file. Thank you.
murfik
Fri, 2021/09/03 - 15:54
Permalink
doesn't found this
murfik
Thu, 2021/08/19 - 19:34
Permalink
i have api v3 keys from previous update. how to generate new json files? can I see some examples?
direc85
Thu, 2021/08/19 - 20:11
Permalink
You can export the files from the YouTube API portal where you created them.
Polecat2003
Tue, 2021/05/18 - 11:51
Permalink
Direc85, update youtube-dl, please.
direc85
Tue, 2021/05/18 - 14:24
Permalink
Thanks for letting me know. I'll try to get an update out soon.
martijntje
Tue, 2021/04/27 - 09:06
Permalink
For everybody having trouble viewing videos, there is a workaround we can use until direc85 updates the app again. Simply install https://openrepos.net/content/nephros/youtube-dl-2021 on your device and then copy /usr/bin/youtube-dl to /usr/share/harbour-ytplayer/youtube-dl/youtube-dl
This trick usually works great whenever google decides to break youtube again and there is an updated youtube-dl available.
Phoenix616
Tue, 2021/07/20 - 19:05
Permalink
Unfortunately it looks like even with that update it doesn't work anymore and just fails with no streams found. This might be an issue with youtube-dl itself though seeing as on their repo others experience a similar error regarding the (removed?) get_video_info endpoint.
usernamenotavailable
Tue, 2021/04/27 - 00:04
Permalink
Any plans to add comments section?
elkiaer
Fri, 2021/04/09 - 17:06
Permalink
"Unable to extract video data" . What does that mean. The app has been working up till some weeks ago.
campeon
Sun, 2021/04/04 - 01:11
Permalink
With the right APIs it does open your user. There is great guide for getting your own APIs in MyTube w10 app. But it does not play videos..
Ohhhh
inte
Fri, 2021/04/02 - 10:48
Permalink
Doesn't appear to work for me any longer. Cannot find streams?
Polecat2003
Sun, 2021/03/07 - 00:22
Permalink
Google account don't work. Error 401, invalid client.
Termitebug
Tue, 2021/03/09 - 17:16
Permalink
'Help me choose' in the Google developer API page is your friend. Use CLI API key and Desktop OAuth client keys. Those keys work for my YTP.
Polecat2003
Sun, 2021/04/04 - 00:46
Permalink
Where can I choose CLI API?
dumol
Thu, 2021/02/11 - 18:22
Permalink
Release early, release often? I miss this one. Thanks!Later edit: Working now with the new (very awkward) Google authorisation system. Thank you! ;-]
kuba77
Wed, 2021/01/06 - 12:49
Permalink
Did you try to use Invidious API to search and play videos from Youtube? I think this is how work desktop app FreeTube.
Polecat2003
Mon, 2020/12/07 - 01:31
Permalink
Any news?
Klaas
Tue, 2020/10/27 - 18:31
Permalink
The same with Mr.Magisters app and with NewPipe. I was allowed to use it for a while and suddenly it stopped. Its Google's fault. Google is a private company, not public.
direc85
Wed, 2020/10/28 - 18:16
Permalink
Yeah, Google is making it more and more difficult to view YouTube videos outside the Android app, web page and other officially supported methods.
TBH, I would not be suprised at all if Google removed or closed the APIv3 altogether... We native Sailfish users - not to mention us developers - are in a pinch. Luckily the updated Browser is capable of displaying the videos "just fine". I guess it's fair to admit my motivation to keep fighting for a functional YTPlayer is not that high anymore, but I'm still not giving up!
akikk88
Sun, 2020/10/25 - 17:30
Permalink
Any news?
direc85
Thu, 2020/10/29 - 01:52
Permalink
I have the first functional prototype of Sailfish Secrets implemented in YTPlayer to keep the keys and IDs safe. I consider this a huge stepstone! It still needs a lot of thought and rewriting parts of the original YTPlayer code, but I'd say I'm more than halfway there.
direc85
Wed, 2020/10/28 - 17:56
Permalink
My youtube-dl-lite repository was taken down by RIAA using DMCA, but luckily I had a backup of it. Took some time to dig it up, though...
I'm trying to get the update done soon, but no ETA... Things pour in left and right at the moment!
dumol
Tue, 2020/09/29 - 22:17
Permalink
Thanks! Missing your app, to be honest...
direc85
Sun, 2020/09/13 - 14:57
Permalink
Hello everybody! Sorry for the absence, let's just say life got in my way...
I'll start looking into providing your own API keys, and for some reason, it really looks like that the original API key (which was so old that it had a ridiculous quota) just doesn't work anymore - or the usage is so high, that it gets used up very quickly. I have no way to tell.
Edit 1: This doesn't look good. I tried my previous credentials, and it has a daily quota of 0 queries - can't use those even for testing. Then I created a new project, created the keys, and it also has a daily quota of 0 queries, rendering the whole APIv3+OAuth2 approach useless! I don't know what's going on, but it really, REALLY looks like Google is blocking users from YouTube using this approach. If anyone has any details about this, please help me out.
Edit 2: Okay, I created again a new project, and now I have the default quota of 10000 units per day. Go figure... So, it looks like the approach could still work, so it's all in the implementation now.
akikk88
Wed, 2020/09/02 - 16:46
Permalink
Coming any update to fix app?
Pages