![]() Registered Member ![]()
|
Hello, some mkv movies embed DVD cover. I am looking for getting this cover and displaying as icon for this movie in Dolphin. For that, I got source code from mplayerthumbs and I attempt to modify it to add this feature. My main problem is I have only some notions in c++ but not in qt, nor about KDE libraries. However, I started. For the moment, I added GetMkvCover method in videopreview.cpp file. This is the code
I have also added few things in create methode at the end to take into account this new possibility. And also little modifications in the GUI to add a button to toggle this option. My problem is the actual code does not work and I do not why. So to start, I woulg like to debug my code veriying step by step. Usually, I put cout a bit everywhere. Here, it looks we use kdebug but I did not understand how it works. Could you explain to me this point. Thanks in advance. |
![]() Administrator ![]()
|
kDebug() will output the message in question if the debug area is enabled. You can enable debug areas using "kdebugdialog".
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for your answer. I got now some messages when I run mplayerthumbsconfig but only if I change something in the GUI. I do not see anything about the thumbnail generation. How can I show message about thumbnail. For example, I never see
whereas thumbnails are generated by mplayerthumbs. Sorry if it is a stupid question... |
![]() Registered Member ![]()
|
Absence of this in KDE (and XFCE) is the sole cause of my imprisonment in otherwise ridiculous Gnome 3. Without a visual cue (embedded DVD covers in MKV files) you can't have a functional video library. This would be a much better feature than bouncing icons. Yet sadly even someone's help request in implementing this is not answered.
|
![]() Administrator ![]()
|
Sorry, I missed the response for some reason.
You may need to enable KDebug output. The easiest way to do this is by using "kdebugdialog". Make sure to enable all areas, then try.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Glad to hear that it was not intentional. Hopefully the original poster makes use of this.
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]