-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using TagLib for opus file tags. #9930
Conversation
@beedaddy which information are you missing from FFmpeg Tagloader? |
@fritsch what is the FFmpeg equivalent of TagLoaderTagLib.cpp? |
@fritsch I was wondering... Please correct me if I'm wrong but the ffmpeg based tag reader only collects title, album, artist and tracknumber. But the taglib based tag reader already collects a lot more tags. So I thought switching to taglib is only a small change and thus it's on par with other file types which use xiphcomments. |
(But I'm very (!) new to Kodi, so I might have missed the reason why not to use the taglib approach.) |
@beedaddy the ffmpeg tag reader was implemented when taglib did not yet support opus, which gave us the advantage of having metadata also when taglib has no support for it. Do we need to bump taglib dependency for opus? Which version was the first version that supported it? |
@fritsch I think it was version 1.9. |
Yeah - that way we loose support for Ubuntu 14.04. Technically your commit is fine, but I fear we break on different platforms as kodi currently only depends on >= 1.8 @wsnipex do you have an overview where we have taglib 1.9.x ready and where not? |
@fritsch Ah, I haven't thought about that... Perhaps because taglib 1.9 is from 2013... |
@beedaddy some people run debian stable :p don't mess with them. |
@fritsch But even they (Jessie) use 1.9.1, don't they? :) |
@beedaddy it's on our chief packager to decide, you know as most likely also bumps in our depends need to happen, that's why I pinged him. Personally I also don't see an issue with bumping to 1.9.x but we need to ask before doing so. |
taglib is already 1.11 in depends (so that's used for android / windows / osx) we have taglib 1.9.1 in trusty and vivid stable ppas. EDIT: all ppas, unstable and nightly are also 1.9.1 |
|
@stefansaraev okay, then just bumping the configure should be good enough, right? |
yes, I backported taglib 1.9.1 to all ppas, so just bump min version in configure.ac and project/cmake/modules/FindTagLib.cmake |
jenkins build this please |
Beedaddy thanks for this, I have been vaguely aware that opus wasn't getting as much tag data as othe formats but then forgot all about it. But can anyone let me have some fully tagged opus files to test this with please? |
@DaveTBlake You could perhaps just convert a flac file with opusenc (from opus-tools). It transfers most of the tags. |
+1 Once I had an opus file I could generate more tagged variations for testing. All looks fine to me. |
Thus gathering opus tags is on par with, for example, ogg vorbis tags.