Don’t you think it’s quite annoying to have to fire up your web browser and query Youtube just to find out the corresponding video-clip of your top favorite super song which is just currently playing in Amarok ?
Well I do, so here comes the video-clip applet
A data-engine will fetch some video-clip info for the currently playing song from youtube, dailymotion and vimeo, order them and show them in the applet. The cool thing is that we can play it directly inside Amarok context view, a click on the image will append the video to the playlist, and then you can watch them directly in the context view
Here is a small video which shows the applet in action (no sound, sorry …)
And 2 screenshots :
Any comment/question/proposition will be greatly appreciated as this stuff is still in the playground repository but is expected to reach trunk soon !
Tags: Amarok


June 5, 2009 at 2:16 pm |
Hi, looks nice, i often wished to have a plugin like this. But why did you add the videos to playlist? Wouldn’t it be better to play it directly? Maybe you had a reason to do it like you did?
June 5, 2009 at 2:26 pm |
To me it makes sense. You don’t want to play the video while you play your local track. An interesting feature would be “swap track” that replaces the current playlist item with the YouTube video.
All in all it looks promising.
June 5, 2009 at 2:31 pm |
This was discussed with some others developers, we didn’t know which was the best solution. If we start to play directly the video, we have to stop the currently playing songs etc… And with this solution, the global control works for the video (volume, stop pause etc)
Anyway, I will probably add a right click menu on the image, which shows :
1 – Add to playlist
2 – Queue
3 – Add to playlist and play
And also automatically add and play on double click so that it will be easier to navigate
Thx for you comment !
June 5, 2009 at 2:33 pm |
Awesome!
June 5, 2009 at 2:33 pm |
sound realy good, can’t wait to see it.. nice work ..
June 5, 2009 at 3:42 pm |
Great! This will be extremely useful.
I think it would be cool to unify this with the visualization system (once it is working, after this year’s GSOC hopefully). You have a visualization playing but you want to watch a video instead. So you click a button in the visualization applet and it pulls up the list videos, you select one, and it plays where the visualization once was.
June 5, 2009 at 3:43 pm |
[...] Enlace | Video-clip applet « Takahani’s Blog. [...]
June 5, 2009 at 3:44 pm |
[...] VIA | takahani.wordpress.com [...]
June 5, 2009 at 4:08 pm |
This is a very cool applet. Another cool thing is that it brings back the ability to play video podcasts directly within amarok. If playing a stream that is actually a video, it will be shown in this applet.
June 5, 2009 at 5:35 pm |
Yeah!
Eat this, all of you “uuh, Amarok1 was way better!/”the new GUI is ugly”/”I don’t like the plasma stuff” whiners!
Please bring this in 2.1.2!
June 5, 2009 at 8:32 pm |
Awesome! I used to envy totem a bit for that feature, since dragonplayer is rather lame atm. Great job dude.
June 5, 2009 at 11:01 pm |
That’s really great, I just checked it out and it is truly amazing;
The video seems to be a little sloppy if on powersave, it flickers a lot, and seems to jump back and forth; audio is fine, though
June 6, 2009 at 12:23 pm |
For this, I won’t be able to change this behavior, b/c it’s linked to Phonon::VideoWidget which is not optimized, sorry
June 6, 2009 at 11:39 am |
Looks really promising, but would this not be a bit of a resource hog for those that don’t use it? Like memory and bandwidth?
June 6, 2009 at 3:12 pm |
You can enable or disable the applet, which will enable or disable the query thing. It’s just a plugin
June 6, 2009 at 10:57 pm |
I just compiled Amarok from SVN but the video applet does not appear in the Add Applet menu. Do I have to change some cmake option to compile it or something?
June 7, 2009 at 1:14 am |
Yop, for now it’s in the playground, so you need to build it from there, will be something like :
cd amarok/src/playground
mkdir build
cd build
ccmake .. (configure the install dir the same as amarok install dir)
make
sudo make install
Any feed back will be appreciated
June 8, 2009 at 11:26 am |
I would like to tets it, but i cant get playground to work – it doesn’t find -lamarok
my current makeamarok.sh script:
#!/bin/bash
cd $HOME/kde/src/amarok
svn up
cd $HOME/kde/build/amarok
cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=debugfull $HOME/kde/src/amarok/
make install
how can i add playground to it?
June 8, 2009 at 12:17 pm |
Not sure, but i think you need to do something like this
cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=debugfull $HOME/kde/src/amarok/playground
make install
But not sure it will work because it’s expected to be built in
$HOME/kde/src/amarok/playground/build
Anyway, it will be merged in trunk as soon as 2.1.1 is tagged, IE in a few days/week …
Otherwise, you can still copy the folder playground/src/context/applets/videoclip and playground/src/context/engines/videoclip in amarok/src/context/ …
And modidy just a bit the cmakelist.txt (remove or add some ../..) and it will build.
Or ask for help on irc, I’m usually there
Good luck
June 11, 2009 at 11:45 am |
thanks this post. I made some adjustments
June 19, 2009 at 5:04 am |
I’m sorry. I’ve been trying to find the video applet on google but it doesn’t show. I saw that you said to check in playground, but I don’t have that folder. I looked for it in usr/share/kde as well as in my home folder for kde.
Can you help me out please?
June 19, 2009 at 9:07 am |
Hello,
hmm, you need to compile amarok from trunk, have a look there :
http://amarok.kde.org/wiki/2.0_Development_HowTo
But it’s not easy because of the dependencies.
Otherwise, wait for 2.2, will be in a few month
Good luck
June 19, 2009 at 9:07 pm |
Thank you soo much!
October 2, 2009 at 8:04 am |
Hi,
verry cool stuff!
Have you ever thought about adding a small searchbar to the bottom/top of the applet?
October 2, 2009 at 9:00 am |
Thx !
Yes we may add this functionnality later for 2.2.1 or 2.2.2
-Simon