1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-11 09:24:50 +01:00
Clementine-audio-player-Mac.../ext/libclementine-tagreader
Ulrich Spörlein 6e2506e94a Fix Clementine on FreeBSD/NFS files, where birthtime is always -1
As of Qt 5.10 the badly named created() which would fall back to POSIX
ctime if birthtime wasn't supported (as was the case on basically every
Unix filesystem up to some decades ago) is deprecated and replaced by
the better named birthTime or metadataChangeTime (yay!).

As of some years now, created() returns birthtime under FreeBSD, but
either due to the protocol or lack of implementation, this returns -1
under FreeBSD mounting a ZFS pool from a FreeBSD server with NFSv3.

This would render Clementine completely useless. Local filesystems are
not affected though. The fix is to catch the -1 birthtime and use mtime
instead, which is a more meaningful value anyway.

This closes issue #6423.
2019-10-27 22:52:36 +01:00
..
cloudstream.cpp Fix memory leaks (#6376) 2019-08-02 16:24:26 +01:00
cloudstream.h Fix memory leaks (#6376) 2019-08-02 16:24:26 +01:00
CMakeLists.txt Implemented SPC playback functionality. 2018-06-16 10:06:37 +01:00
fmpsparser.cpp
fmpsparser.h
gmereader.cpp Use QString fromLatin1 instead of fromAscii 2018-07-11 13:40:01 +01:00
gmereader.h Added basic VGM format playback and tag reading. (#6089) 2018-06-18 14:26:11 +01:00
tagreader.cpp Fix Clementine on FreeBSD/NFS files, where birthtime is always -1 2019-10-27 22:52:36 +01:00
tagreader.h Fix memory leaks (#6376) 2019-08-02 16:24:26 +01:00
tagreadermessages.proto Improved support for APEv2 tags. (#6280) 2019-02-14 17:37:44 +11:00