[mythtv-users] 0.25-fixes mythmusic "TagLib: Could not open file"

Paul Harrison mythtv at sky.com
Sun May 13 21:54:59 UTC 2012


On 13/05/12 05:57, Steven Adeff wrote:
> On Sat, May 12, 2012 at 1:57 PM, Paul Harrison <mythtv at sky.com> wrote:
>
>> It would still be good to know that taglib can read the tags outside of
>> MythTV before we start to dig any further. They are part of the taglib
>> source in the examples folder.
>> http://developer.kde.org/~wheeler/taglib.html. Some distros like Gentoo
>> will compile and install them for you looks like your distro doesn't
>> unfortunately. Shouldn't be difficult to download the source that is
>> closest to what you have installed an compile the examples yourself.
>> Shouldn't have to install anything just run them from the source
>> directory after you have compiled them.
> well, this is interesting...
>
> $ tagreader Wheat\ -\ Hope\ and\ Adams\ -\ 01\ -\ This\ Wheat.flac
> ******************** "Wheat - Hope and Adams - 01 - This Wheat.flac"
> ********************
> -- TAG --
> title   - "This Wheat"
> artist  - "Wheat"
> album   - "Hope and Adams"
> year    - "1999"
> comment - ""
> track   - "1"
> genre   - "Pop/Rock"
> -- AUDIO --
> bitrate     - 847
> sample rate - 44100
> channels    - 2
> length      - 1:51
>
> $ framelist Wheat\ -\ Hope\ and\ Adams\ -\ 01\ -\ This\ Wheat.flac
> ******************** "Wheat - Hope and Adams - 01 - This
> Wheat.flac"********************
> ID3v2.4.0, 0 bytes in tag
>
> ID3v1
> title   - ""
> artist  - ""
> album   - ""
> year    - "0"
> comment - ""
> track   - "0"
> genre   - ""
>
> APE
> file does not have a valid APE tag
>
>
> I've used Jaikoz to tag my music, all with id3 v24 ISO-8859-1, UTF-8 for unicode
>

I haven't been able to reproduce this with the few flac files I have. I
did spot an error in the way we tested if a id3 tag was available in
flac files which is the likely culprit. There was also a bug in the way
the tracks filename was being stored in the DB which was only confusing
the situation. Both are now fixed in my fork. I also added a button on
the general settings page to clear the music metadata tables and one to
show the file browser to help find the music directory.

Paul H.


More information about the mythtv-users mailing list