diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-10 02:38:31 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-10 02:38:31 +0000 |
commit | ec234e985563316d725c7a8b8873f2c34e4d4635 (patch) | |
tree | a91cc7765db20d0a5c1815d211246cad3abb438f /src/audiofile_decode.h | |
parent | 1459ee22fe0aee6aa754d3bbb56e76840f4ee1c1 (diff) | |
download | mpd-ec234e985563316d725c7a8b8873f2c34e4d4635.tar.gz mpd-ec234e985563316d725c7a8b8873f2c34e4d4635.tar.xz mpd-ec234e985563316d725c7a8b8873f2c34e4d4635.zip |
move time from tag info to song info.
also, if we can't get the time, then don't add the song to the db!
git-svn-id: https://svn.musicpd.org/mpd/trunk@236 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/audiofile_decode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audiofile_decode.h b/src/audiofile_decode.h index 40296ad96..d0bc8d9be 100644 --- a/src/audiofile_decode.h +++ b/src/audiofile_decode.h @@ -25,7 +25,8 @@ #include "playerData.h" -int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc); +int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);; + int getAudiofileTotalTime(char * file); #endif /* HAVE_AUDIOFILE */ |