jgibbon / Talefish

Talefish is a simple directory based audio book player for SailfishOS
GNU General Public License v2.0
21 stars 10 forks source link

ID3 Tags #11

Closed bonanza123 closed 5 years ago

bonanza123 commented 6 years ago

Is it possible to add support for ID3 tags? I have the problem that several audio files are only numbered, but contain tags with titles etc. In talefish it's currently difficult to select the proper song therefore.

jgibbon commented 6 years ago

Hi! Because Talefish does not use the Sailfish media library in favour of being directory-based, none of the file infos are available without using external libraries. If someone had the time to make a working pull request with (optional!) ID3 info usage, I'd gladly check that out.

In the mean time I'd recommend for you to use some renaming tool to make your file names a bit more readable. Assuming Desktop Linux, something like id3ren might do the trick.

jgibbon commented 5 years ago

Short update on this: If mediainfo is installed, it is now used to gather file durations much more quickly than QML could. It should be possible to use it for title information, as well, in the future. Apart from some code for this, there are some more settings needed, though, because it'd be confusing if you get different results opening files just because another application is installed.

cheers!

jgibbon commented 5 years ago

ID3 tags are now (v0.1-1) displayed in the directory chooser if they are read correctly. It's in the tiny meta data line, but should help in finding the correct file to open. Thanks for the suggestion!

cheers!