Results 1 to 2 of 2

Thread: QFile and TagLib::FileRef for the same file

  1. #1

    Default QFile and TagLib::FileRef for the same file

    Hello

    I have a little problem with my Qt program.
    There is a function which downloads a mp3 file (using QFile) and is called each time new datas are available to be written.
    Once these datas have been written, I 'd like to construct a TagLib::FileRef variable, to read the bitrate of the file.
    The problem is this variable is always null (maybe because the file is already opened).

    How can I fix that, without having to close and re-open the file each time ?

    Thanks

  2. #2

    Default Re: QFile and TagLib::FileRef for the same file

    Downgrading to taglib 1.7.2 have fixed the problem... I'd prefer a solution working with the last version though.

Similar Threads

  1. Taglib: Performance and crashes problems
    By monkazer in forum Qt Programming
    Replies: 1
    Last Post: 1st July 2012, 22:34
  2. TagLib polish alfababet issue
    By spinax in forum Qt Programming
    Replies: 0
    Last Post: 9th May 2012, 18:03
  3. Save TagLib tags while playing music
    By barteksch in forum Qt Programming
    Replies: 0
    Last Post: 8th January 2012, 20:22
  4. Replies: 4
    Last Post: 9th May 2011, 09:52
  5. Replies: 3
    Last Post: 28th March 2009, 15:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.