This set of patches modify the tag scanners to use an InputStream. That way you can use these scanners with a remote input like NFS and SMB.
Waiting for your comments. Best regards, Thomas Guillem Thomas Guillem (6): InputStream: add ReadFull method tag: Ape/Riff/Aiff/Id3 now use an InputStream SongUpdate: use an InputStream to scan from decoders and tag scanners FileCommands: use one InputStream for both scanners EmbeddedCuePlaylist: use one InputStream for both scanners Remove unused TagFile.cxx Makefile.am | 2 - src/SongUpdate.cxx | 83 +++++++++-------- src/TagFile.cxx | 100 --------------------- src/TagFile.hxx | 38 -------- src/command/FileCommands.cxx | 21 +++-- src/input/InputStream.cxx | 31 ++++++- src/input/InputStream.hxx | 21 +++++ src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx | 22 +++-- src/tag/Aiff.cxx | 29 ++---- src/tag/Aiff.hxx | 4 +- src/tag/ApeLoader.cxx | 43 ++++++--- src/tag/ApeLoader.hxx | 11 +++ src/tag/ApeTag.cxx | 19 ++++ src/tag/ApeTag.hxx | 10 +++ src/tag/Riff.cxx | 29 ++---- src/tag/Riff.hxx | 4 +- src/tag/TagId3.cxx | 100 ++++++++++++++------- src/tag/TagId3.hxx | 11 ++- 18 files changed, 299 insertions(+), 279 deletions(-) delete mode 100644 src/TagFile.cxx delete mode 100644 src/TagFile.hxx -- 2.1.4 _______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
