On 3rd June 2014, Plasma Media Center 1.3 beta was released. This post is for openSUSE users to get Plasma Media Center work on their machine. Nothing much change have been observed from the package installation mentioned here. In case if you are not able to play songs or videos, then my suggestion would be to install the multimedia codecs from here. You can download Plasma Media Center from here. Follow the README file carefully to install Plasma Media Center in your machine.
If you want to disable the tests in PMC ( Plasma Media Center), then pass this argument -DKDE4_BUILD_TESTS=OFF to the cmake command. Or else you can use the cmake command mentioned in README as it is. Let me assure you one thing, the performance of PMC has been improved tremendously. And there are good bunch of features available. Here are some of the screenshots which I think would be good for a kickstart:
Awesome!!! MPRIS’s working with now playing plasmoid
We consider every user of PMC as contributors. So on behalf of team, I would request you all to use it and feel free to share areas of improvements or file bugs here.
Me, Shantanu and Smit reached Gandhinagar(Gujarat, India) on 21st Feb 2014. I was almost out of events from 2010 and hence this event was so special for me. On the same day I met Jos Poortvliet and Kevin Ottens. After having dinner our room became the adda ( meaning: place where everyone joined ) where I met Rishab and Shubham .
Day 1: Feb 21 2014
My room mate was Smit and we woke up early. I heard a familiar sound from next room, “Arey shantanu …”. Hey it was our Pradeepto. I felt so good to meet him after 4 years!!! After having some normal chat we were ready for breakfast. I met one of the old friends Prashanth Udupa for breakfast. Prashanth and Shantanu were discussing over Qt workshop for the day. After breakfast we moved to DA-IICT. To be honest its one of the awesome colleges I had ever seen till date. In the registration area I met Peter Grasch. Spent couple of hours there and moved ahead for lunch.
After lunch Pradeepto gave inauguration speech. He did a good job. And then on Prashanth started the Qt workshop. Prashanth kicked off the workshop with small example and went further. During workshop we helped students by fixing the problems they faced. Some had linker issues, GL files missing, fail to compille the code. Many had windows laptop and being a GNU/Linux user I felt bit difficult to tackle some of the issues they faced. But then some of the rockstars of KDE were ready to tackle them. Kudos to team KDE
After day one event we reached hotel. It was time to have dinner. And we decided to have some pizza’s. Except cold noodles and pasta ( I don’t prefer cold noodles and pasta ) the pizzas served were awesome. After dinner we came back to hotel. Had lots of fun in discussing some of the old stories, politics and what not.
Day 2: Feb 22 2014
Start of day 2 was with Smit’s talk. He shared with students how he got into KDE and how it had helped him in his career. How good KDE community. He also shared example of communities which helped students to understand how easy is to get into KDE community. And hence KDE community isn’t hard as a coconut Nikhil gave the second talk on Qt C++ idioms. This was a technical talk. He helped students realize about QPointer, QWeakPointer etc. And hence he did a good job. I had to give the third talk. After 4 years I am on stage. So I was very nervous. I described how I got into KDE community by contributing to Klettres. I also showed students how to find a problem and reach solution for the same. The fourth talk was given by Siteshwar and Shantanu on Mer project. They described how to have a common build system for different mobile vendors. After each talk we got good bunch of questions from audience.
Lunch was provided in the front of the hall ( not exactly in the front ).
After lunch, Vishesh got into stage for his talk. His talk helped students to understand that its essential to have knowledge on the underlying technology of the project. He described how he had faced the hurdles while working on Nepomuk. Next talk was delivered by Samikshan. His talk was on how to use KDE edu packages like parley and to learn language using the edu packages. Next talk was given by Sinny on plasma-mediacenter. She showed how plasma-mediacenter was used to play songs,videos etc. She also demonstrated on how plasma-mediacenter was used for viewing youtube videos. She didn’t forget to mention about contributing back to plasma-mediacenter Next it was Chandan’s talk on localization. He emphasized more on the tools used for localization.
Next was Shubham’s turn. Shubham described about his SoK experience. Shubham also described how he enjoyed working on KDE Multimedia. The day ended with Kevin’s talk. He described how FOSS works. There were points regarding cultural reasons for its shortcomings and how it can be improvised etc. When everyone emphasized on word “Open Source”, I really loved the way Kevin used word “Free Software”.
The second day’s talks were over and we moved ahead to our hotel rooms. There was already plan made to go out for dinner as a team. It was far away from the hotel and for commute, vehicles were ready. We had lots of PJ’s and fun during the drive. We had kind of Gujarati+Rajasthani style dinner. After dinner we came back to hotel.
Day 3: Feb 23 2014
First talk of the day started with Jos. He helped the audience to understand about how and where KDE is going ahead with KDE5, Plasma 2 etc. There were quite interesting questions form the audience as well. Next talk was by Kevin on C++11. It was purely technical talk on the new changes brought in to C++ like lambda, auto etc. He tried his best showing sample snippet code to students and demonstrating the old way of writing and new style with c++11. Next talk was given by Prashanth on GCF. He explained some of the IPC mechanisms used in GCF and how it can be used in local network.
We had lunch in front of the hall.
Post lunch talk was kicked off with Avnee. Avnee showed how she contributed to KDiamond game during GSoC. She showed about components in QML and how to reuse them. She also showed about custom components which user can create and use them. Next talk was given by Peter. He started of with architectural diagram of Simon. He demonstrated how to play songs in amarok using simon. He also shared ideas on how to integrate simon to specific applications like plasma-mediacenter. Next was Bhushan’s talk on Plasma2. He showed the video of plasma workspace 2. He showed students on development and porting phases of Plasma 2. Next was Rishab’s turn. Rishab demonstrated a bug in kstars UI and how to fix it. He also asked students to file a bug or send a patch to kick off contributing to kstars. I missed Puneet’s talk as I went outside to take snaps. And finally we all gave a big round of applause to the volunteers who were involved in the event.
Me, Shantanu, Smit and Prashant returned back to Bangalore on the same flight. So when I look back at the event I got an opportunity to meet old friends, make new friends, had lot of fun, learned new stuff. I would thank DA-IICT for providing the venue and all speakers and audiences who came. I also give special thank to Digia and VCreate Logic for sponsoring the event. My special thanks to KDE e.V too
Here is the link to photo’s I captured during the event in flickr.
Download the installable image from here. I used kde image for installation. Once the image is installed you would be popped up for software updates ( assuming that you are connected to internet ). For installation of packages I prefer yast. Lets start installing packages one-by-one before cloning and building plasma-mediacenter.
Select yast -> Software Management
1) Search for git. Attaching the screenshot below:Always do click on “Accept” to install.
2) Now install nepomuk-core-devel. See the screenshot below:
3) Install libtag-devel.
4) Installing qt-mobility is bit tricky but the screenshots and steps will help you out.
a) Open up the web page as shown:
b) Now click on “Show unstable packages”. You would land up in the following screen:
c) Click on “Continue”. Below mentioned screen would be popped up.
d) You can select KDE:Qt’s “1 Click Install”. Now user will be popped up in the browser( I am using firefox) as shown below:
Proceed by clicking “OK” and follow up installation of adding KDE:Qt repo. And finally you end up installing qt-mobility.
e) Install kdebase4-workspace-devel.
f) Install plasma-theme-oxygen.
All packages are installed now its time to clone and build the plasma-mediacenter repo:
$ git clone git://anongit.kde.org/plasma-mediacenter.git
$ cd plasma-mediacenter
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix`
$ make -j(n+1) // n = number of cores
$ sudo make install
Screenshot of PMC:
So now you have got Plasma Media Center installed for opensuse 13.1. Try it and let the Plasma Media Center team know if you have any concerns/bugs by raising your issue here. Now don’t wait. You have your cake ready hence serve it hot!!!
Last weekend I tried to grab some time for PMC(Plasma Media Center). While browsing through mediabrowser, I came across the popup menu section. When user right clicks on the media file, popup menu comes up. All the mouse events, like clicks work properly. But one thing which missed was keyboard navigation. Initial agenda was to have Esc key work on popup menu. For this I provided a simple hack which later Shantanu asked me to get it done with pagestack. And yes implementing the same with pagestack was better solution because it does the job of view and hide (not exactly ) respectively. So when user right clicks on media file popup menu pops up and it gets pushed into the pagestack. And when user presses Esc key or any other alternative mouse clicks on menu its popped off from the stack. So after popup menu is popped off from the stack it goes back to the previous state except for playing a song/video.
After this implementation I moved on with keyboard navigation’s like Up arrow and Down arrow key support for popup menu. I thought of implementing it in a different way. But then qml’s FocusScope really helped me. And by this now user can move up/down and move away from popup menu with Esc key. Hence the keyboard navigation, the missing factor, is now implemented and available in the master branch.
Its been long time I had blogged. Majorly because my daughter is only 8 months old and she still needs my attention
Its been long time that I had blogged anything about me or my work. I entered into next phase of life. Became a father. Named my daughter as ‘krithi’.
Now about Plasma-mediacenter (PMC) updates. Worked on the shuffling the playlist. Earlier we randomized the index. Now the complete playlist is shuffled. The song highlight for the shuffled playlist is also done. PMC had moved onto a new implementation of pagestack. Considering the pagestack implementation, I had added feature of hiding playlist button when user is on the playlist page and displaying the playbutton when the user is not on the media player page. This helps user to access playlist and media player instantly rather than going through different pages. In precise its a matter of one click
Yesterday I was informed by Akshay R that PMC was crashing when user clicked on the shuffle/random button when no songs are playing. I had sent the code for review. Shantanu had informed me that there are good feedbacks from Akademy and lots to implement to make PMC the best. Awaiting to get the feedbacks, to start next level of work.
Oh by the way I missed Akademy, because my visa got rejected. So hope to see you all next time. disfrutar ( with the help of google translate )