Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/zanturik/plasmatube

Original
4
Become a Fan
7.6

Available as/for:
Description:
Plasmoid for viewing youtube videos on your desktop.
You should have google account to use this plasmoid.
Current version 3.2.0

Features:
* playing youtube video
* searching video, channels and playlist
* presets editing and sorting (settings -> youtube channels -> click and hold, than drag)
* folders for different categories of video/playlists
* number of videos for channels/playlists in search results
* pin to stay "always on top" when docked in a panel
* drag and drop youtube links to view them
* play list of video non-stop (stop at the last video)

How to use
* Add widget -> Enjoy...

Roadmap (when I`ll have time for a new release in future):
* a way to copy/share video url
* "recommended" videos from youtube
* preferred language for search

Troubleshooting
* Clicking on video recommendation (URL) make plasma crash. It is a QT version 5.15.(0-2) bug - https://bugreports.qt.io/browse/QTBUG-87378 just update QT if it's already fixed.
* Version 3.0.6 requires QT 5.14 (or higher). If you have lower QT version in your distro (or you see the message "module QtQml version 2.14 is not installed") - use 3.0.4 (or 2.8.2).
* Version 2.8.2 is the latest version using minimum of dependencies. v3.0 requires qt-webview (qml-module-qtwebview for ubuntu) and qt-localstorage (qml-module-qtquick-localstorage for ubuntu) modules (name can differ for different OS). If you don't want (couldn't) install/use these dependencies, please use v2.8.2.
* If you see the message "Your browser doesn't support any video format", but everything is working in your favorite Firefox/Chromium, please test in in Konqueror. Firefox/Chromium doesn't use qt-webkit, but Konqueror (and Plasmatube) does. So, if you are missing some configuration/modules in you Qt, Firefox/Chromium still could be able to play video. Search in Google "Konqueror html5 video %your-distro-name%" to find more detailed information about what you should do with it.
* If you see a message like "missing Qt module", "private is not supported" or "module not found", that means you have outdated version of Qt, or you don't have some qt-modules installed. Please, update your system and install all needed modules.

Don`t hesitate to leave your comments/feedback about usability/features.
Last changelog:

v.3.2.0

* switch to Google Api key
* fix metadata format
* update library versions


Ratings & Comments

65 Comments

anarcho-taoist

I cannot install in Kubunutu 20.04 Error loading QML file: file:///home/anarcho/.local/share/plasma/plasmoids/org.kde.plasmatube/contents/ui/main.qml:28:5: Type Content.DB unavailable file:///home/anarcho/.local/share/plasma/plasmoids/org.kde.plasmatube/contents/ui/content/DB.qml:1:1: module "QtQuick.LocalStorage" is not installed

zanturik

v3.0 requires qt-webview (qml-module-qtwebview for ubuntu) and qt-localstorage (qml-module-qtquick-localstorage for ubuntu) modules (name can differ for different OS).

anarcho-taoist

Hi, thanks for the reply. I have both qml-module-qtwebview for ubuntu and qml-module-qtquick-localstorage for ubuntu installed but I still get the same error.

zanturik

did you reboot/relogin after you installed these modules?

anarcho-taoist

Ok, it works! (blush) Is there a way for it to go full screeen? F does not work. Thanks.

zanturik

I'm not sure it's supported by plasma to switch widget to full screen mode.

benchile

10 10 the best Your 3.04 update is working a 100% cool Have a look here please. https://i.imgur.com/6akUFGq.png

benchile

Thanks a lot, it is woking 10 of 10 in Manjaro Linux KDE 2020, your update 3.04 solved many issues for loading all types of youtube videos.. thanks again. ( a picture with Plasmatube in Manjaro Linux https://i.imgur.com/6akUFGq.png )

jedziemyjedziemy

Thank you for creating a useful widget. For it to work properly on Ubuntu 19.04 it is necessary to install the package: qml-module-qtgstreamer

jedziemyjedziemy

10 10 the best

jamesamrundle

Hey is this broken for anyone else. No functionality at all on Manjaro 19.0.3. Running the app out of CLI I noticed the "import org.kde.plasma.plasmoid 2.0" line seems to not be working. Commenting that line out lets the applet run and it mirrors what you see when running it as a widget

zanturik

I don't use Manjaro and I have no idea how to update to 19.0.3 (the lastest stable release is 19.0.2 now). Just launched in virtual machine, v 2.8.2 is functional. Can you copy/paste your system information, please? KDE Plasma version, KDE Frameworks version and QT version.

jamesamrundle

Hi zanturik, thanks for the reply. I am on manjaro 19.0.2. The three was a mistype. I uninstalled v3 and reinstalled 2.8.2 using the plasma add on installer. I see the same behavior. Main "Plasmatube" video loads, but the "watch next" videos that show after I am unable to interact with. The search bar does not populate any new videos. I ran the applet with kpackagelauncherqml out of CLI and got " Error loading QML file.\n7: module \"org.kde.plasma.plasmoid\" is not installed " plasma version 5.17.5 frameworks version 5.66.0 qt version 5.14.1 thank you for your help :)

zanturik

Well, the "watch next" video, provided by Youtube is not clickable, that's true. It's not a bug, it's a feature :) Search bar shows the result of your search (or your "stored" channels/videos). I find out that starting from some QT version, plasmatube v3. is not working, because Webview require initialization, and it's impossible to do it in pure QML. I'll try to figure out something about it (maybe a temporary regression to Webkit with all issues that it has before).

jamesamrundle

Hey zanturik. I removed v3 and have 2.8.2 now :). Is there a versioning conflict in my case with QT? does the search feature only search the videos you have in your account? Because I havent logged in yet.

zanturik

Google API provides access to authenticated users only. You just can't use the API if you are not logged in. After you logged in, you are searching in all videos on YouTube. And you still may have some restrictions, like "This video can be viewed on YouTube only".

jamesamrundle

Hey looks like the roll back to v2.8.2 worked for me after I logged in! Thanks for your replies man! i appreciate it. Also just FYI my initial install with v3 i logged in it it wasnt able to search vids.

Python

Ciaoo Zanturik The management of the buttons would seem to need some more love, when the number of presets exceeds the maximum available size, these are no longer accessible, lacking a sort of scroll function .... the information band covers the buttons and I think it could be thought different, and given that space is not lacking, it could be a good solution to place it directly on the "Press to switch back to video list ..." button. ... furthermore, it would then be the top to have the possibility to organize presets in categories eg. if I am using the "development" activity, it would be useful to separate the presets based on specific themes like "C ++" "Python" "Bash" etc ... although in this regard, I suppose it requires a lot of effort and always that it is technically possible to do it in a plasmoid :) I noticed a strange thing, I do not know how to explain it or even how to replicate it ... perhaps during an accidental dragging of a video. I found the plasmoid covered by a transparent layer and there is no way to eliminate it except to change activity another thing, if I drag a video on the desktop, plasma offers me some typical actions like. - move - copy - link - addIcon do you think is it possible to change the that options in something more appropriate, like ... - download (youtube-dl script) - link ...maybe, adding a tab in the plasmatube configuration window to set the path to download and video / audio formats I take this opportunity to wish a Merry Christmas and a happy New Year to you and to all the fans of the Linux world Thank you guys

zanturik

Hello Python! I just added a new version of PlasmaTube. Now it has folders, but honestly it's not user-friendly how you should manage them now. To be able to do it properly, I need to use a normal DB to store folders/playlists, so in version 3.0 I'll add several new dependencies on qt-modules (so it might not work for someone :( ) and refactor playlists/folders. If you have ideas/suggestions, it's a good time to write them down :)

Python

For the docked plasmatube, is possible add a pin button to always keep its window open ?

zanturik

Hi.... Actually there is a pin button for this, it's in bottom right corner of window, when search panel is active. Should I move it to some other place? (where? I didn't find a better one, but I'm not a good designer :)

Python

Ciaoo the fact is that I can not find it anywhere ... I think I have installed the current version ... but I'm not sure ... in any case, from the form relating to the download of plasmoids under "plasmatube" it is not offered to me any option "update"

zanturik

I added new screenshot (last one). Please check, if you have the same pin icon, as I have on screenshot in the bottom right corner. Hint: It's not blue if it's not active. :)

Python

Sprry ...my browser cuts the screenshot slightly, however, I managed to see that blue button and can confirm, that on my system, I can not see that control

Python

Probably, it would be useful if somewhere, there was a button, to place an "About dialog" to show things like version, license and Authors

Pling
0 Affiliates
Details
license LGPLv2
version 3.2.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 5

Other Plasma 5 Multimedia:

PlayBar2
audoban
last update date: 8 years ago

Score 8.4

MPD Now Playing
marcel83
last update date: 4 years ago

Score 6.1

Win7 Volume Mixer
Zren
last update date: 4 years ago

Score 8.4

MCWS Remote Control Plasmoid
noee
last update date: 2 years ago

Score 6.1

Audio Device Switcher
andik92
last update date: 4 years ago

Score 7.4

Volume Slider
Zren
last update date: 7 years ago

Score 6.4