Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Fill some metadata with the file metadata #62

Open
ochurlaud opened this issue Nov 20, 2014 · 5 comments
Open

Fill some metadata with the file metadata #62

ochurlaud opened this issue Nov 20, 2014 · 5 comments

Comments

@ochurlaud
Copy link
Owner

The file might contain some basic metadata (duration, format, resolution....).

We should get it and save it somewhere.

@SebastienTouze
Copy link
Contributor

I think wwe can look at the QMediaObject::metaData() for this

@ochurlaud ochurlaud added this to the 0.1.0 milestone Feb 22, 2015
@ochurlaud
Copy link
Owner Author

//main.cpp
#include <QMediaPlayer>

int main(int argv, char **args)
{
   QMediaPlayer *player1 = new QMediaPlayer;
   player1->setMedia(QUrl::fromLocalFile(filepath));
   qDebug()<<player1->metaData("Title").toString();
   qDebug()<<player1->availableMetaData();
}
//macaw-movies.pro
QT       += multimedia

@ochurlaud
Copy link
Owner Author

I remove the milestone because it's not so important and I don't want to delay the release for such a feature

@ochurlaud ochurlaud removed this from the 0.1.0 milestone Mar 17, 2015
@SebastienTouze
Copy link
Contributor

OK with that point.
To include in a v0.2 ? =p

@ochurlaud
Copy link
Owner Author

OK ...

@SebastienTouze SebastienTouze added this to the 0.2.0 milestone Apr 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants