Display Extra Metadata as Tree

This forum is about all development around libVLC.
MyKey_
Blank Cone
Blank Cone
Posts: 13
Joined: 20 May 2009 14:15

Display Extra Metadata as Tree

Postby MyKey_ » 15 Jun 2009 16:24

Hi there,

Is it possible to display the "Extra Metadata" tab of "Media Information" panel as a tree similar to the "Statistics" or "Codec Details" tab?

Or do I have to rewrite the function ExtraMetaPanel::update in modules/gui/qt4/components/info_panels.cpp?


Thanks in advance!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Display Extra Metadata as Tree

Postby Jean-Baptiste Kempf » 15 Jun 2009 23:46

You have to rewrite.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

MyKey_
Blank Cone
Blank Cone
Posts: 13
Joined: 20 May 2009 14:15

Re: Display Extra Metadata as Tree

Postby MyKey_ » 03 Jul 2009 23:12

Hi,

thanks for the reply. Since it's not my priority, I think I'll just have to stay with the unordered dictionary for now.
However, I do plan on implementing this feature. But I'd prefer implementing it as a plugin because I think that I am not yet ready to hack into libVLC.
So, If any one has idea's on how the "Extra Metadata" could be implemented as a tree in a plugin, please let me know!

One a related note: I noticed that the length of the value of "Extra Metadata" items seems to be limited. The string of more than 1000 characters (I don't know the exact limit) will not be displayed. How can I avoid this limitation?

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Display Extra Metadata as Tree

Postby Jean-Baptiste Kempf » 06 Jul 2009 00:34

A plugin? What do you want to do?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

MyKey_
Blank Cone
Blank Cone
Posts: 13
Joined: 20 May 2009 14:15

Re: Display Extra Metadata as Tree

Postby MyKey_ » 06 Jul 2009 01:25

There are two reasons for that:

1) I just don't feel ready to code directly into VLC. Or at least I don't know the formalities of contributing to VLC. So I think, a plugin would be an easier way for a proof-of-concept.

2) I want to display lyrics (among others) in the "Media Information" panel. My current approach is to put it into the "Extra Metadata" tab, but that is ugly. I am currently working on a demux plugin for the MPEG-21 File Format, or, to be more precise, a hybrid version of MPEG-21 FF and MPEG-4 FF. And these audio files contain lyrics. I only want to display the lyrics for this file format, so a full implementation into VLC is out of scope for now. I found that also other people are asking how to display lyrics (Topic: playlist feature requests), but there seems to be no solution yet.

[EDIT: So, the plugin I am proposing would show the "Extra Metadata" tab with a tree structure and would add a "Lyrics" tab to the panel.]

[EDIT: On the length limitation of the mentioned items: Could that be a bug or limitation in QT?]

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Display Extra Metadata as Tree

Postby Jean-Baptiste Kempf » 06 Jul 2009 10:58

Well, I don't think the interface is your problem.
First hack a VLC plugin/module to get this data outside of the core. Then, I'll do your interface integration.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

MyKey_
Blank Cone
Blank Cone
Posts: 13
Joined: 20 May 2009 14:15

Re: Display Extra Metadata as Tree

Postby MyKey_ » 11 Jul 2009 10:43

Ok, thanks, I'll do that and let you know when it's ready.

Btw, I discovered that the claimed length limitation in the "Extra Metadata" is not actually happening. I only had to maximise the "Media Information" panel to make larger texts magically appear.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests