tuned TagLib to use M4A and ASF
15 files changed:
Depends: ${shlibs:Depends}, ${misc:Depends}, gstreamer0.10-plugins-good-extra
Description: Alternate audioplayer for Maemo 5
Qt4- and Phonon-based player with compiled in TagLib library
Depends: ${shlibs:Depends}, ${misc:Depends}, gstreamer0.10-plugins-good-extra
Description: Alternate audioplayer for Maemo 5
Qt4- and Phonon-based player with compiled in TagLib library
- supports mp3, flac, ogg, wma, aac formats
+ supports mp3, flac, ogg, wma, aac, asf, ape, wav, m4a formats
XSBC-Maemo-Display-Name: SomePlayer
XSBC-Bugtracker: http://someplayer.some-body.ru/bt/
XB-Maemo-Icon-26: iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHBy
XSBC-Maemo-Display-Name: SomePlayer
XSBC-Bugtracker: http://someplayer.some-body.ru/bt/
XB-Maemo-Icon-26: iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHBy
ui->setupUi(this);
Config config;
_icons_theme = config.getValue("ui/iconstheme").toString();
ui->setupUi(this);
Config config;
_icons_theme = config.getValue("ui/iconstheme").toString();
- REGISTERED_FILE_EXTENSIONS << "mp3" << "flac" << "wma" << "aac" << "ogg" << "asf" << "ape" << "wav";
+ REGISTERED_FILE_EXTENSIONS << "mp3" << "flac" << "wma" << "aac" << "ogg" << "asf" << "ape" << "wav" << "m4a";
setWindowFlags(windowFlags() | Qt::Window);
setAttribute(Qt::WA_Maemo5StackedWindow);
_model = new QStandardItemModel(0, 2, this);
setWindowFlags(windowFlags() | Qt::Window);
setAttribute(Qt::WA_Maemo5StackedWindow);
_model = new QStandardItemModel(0, 2, this);
MediaScanner::MediaScanner(QObject *parent) :
QThread(parent), _stopped(false), _initialized(false)
{
MediaScanner::MediaScanner(QObject *parent) :
QThread(parent), _stopped(false), _initialized(false)
{
- REGISTERED_FILE_EXTENSIONS << "mp3" << "flac" << "wma" << "aac" << "ogg" << "asf" << "ape" << "wav";
+ REGISTERED_FILE_EXTENSIONS << "mp3" << "flac" << "wma" << "aac" << "ogg" << "asf" << "ape" << "wav" << "m4a";
}
void MediaScanner::run() {
}
void MediaScanner::run() {
#include <config.h>
#endif
#include <config.h>
#endif
#include <taglib.h>
#include <tdebug.h>
#include <taglib.h>
#include <tdebug.h>
#include <config.h>
#endif
#include <config.h>
#endif
#include <tdebug.h>
#include <tbytevectorlist.h>
#include <tdebug.h>
#include <tbytevectorlist.h>
#include <config.h>
#endif
#include <config.h>
#endif
#include <tdebug.h>
#include <tstring.h>
#include "asfproperties.h"
#include <tdebug.h>
#include <tstring.h>
#include "asfproperties.h"
#include <config.h>
#endif
#include <config.h>
#endif
#include "asftag.h"
using namespace TagLib;
#include "asftag.h"
using namespace TagLib;
d->attributeListMap.isEmpty();
}
d->attributeListMap.isEmpty();
}
l.append("wv");
l.append("spx");
l.append("tta");
l.append("wv");
l.append("spx");
l.append("tta");
l.append("m4a");
l.append("m4b");
l.append("m4p");
l.append("3g2");
l.append("mp4");
l.append("m4a");
l.append("m4b");
l.append("m4p");
l.append("3g2");
l.append("mp4");
-#endif
-#ifdef TAGLIB_WITH_ASF
l.append("wma");
l.append("asf");
l.append("wma");
l.append("asf");
l.append("aif");
l.append("aiff");
l.append("wav");
l.append("aif");
l.append("aiff");
l.append("wav");
return new Ogg::Speex::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "TTA")
return new TrueAudio::File(fileName, readAudioProperties, audioPropertiesStyle);
return new Ogg::Speex::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "TTA")
return new TrueAudio::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "M4A" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2")
return new MP4::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "M4A" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2")
return new MP4::File(fileName, readAudioProperties, audioPropertiesStyle);
-#endif
-#ifdef TAGLIB_WITH_ASF
if(ext == "WMA" || ext == "ASF")
return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "WMA" || ext == "ASF")
return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "AIF")
return new RIFF::AIFF::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "WAV")
if(ext == "AIF")
return new RIFF::AIFF::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "WAV")
#include <config.h>
#endif
#include <config.h>
#endif
#include <tdebug.h>
#include <tstring.h>
#include "mp4atom.h"
#include <tdebug.h>
#include <tstring.h>
#include "mp4atom.h"
#include <config.h>
#endif
#include <config.h>
#endif
#include <taglib.h>
#include <tdebug.h>
#include "mp4coverart.h"
#include <taglib.h>
#include <tdebug.h>
#include "mp4coverart.h"
#include <config.h>
#endif
#include <config.h>
#endif
#include <tdebug.h>
#include <tstring.h>
#include "mp4atom.h"
#include <tdebug.h>
#include <tstring.h>
#include "mp4atom.h"
#include <config.h>
#endif
#include <config.h>
#endif
#include <taglib.h>
#include <tdebug.h>
#include "mp4item.h"
#include <taglib.h>
#include <tdebug.h>
#include "mp4item.h"
#include <config.h>
#endif
#include <config.h>
#endif
#include <tdebug.h>
#include <tstring.h>
#include "mp4file.h"
#include <tdebug.h>
#include <tstring.h>
#include "mp4file.h"
return d->bitsPerSample;
}
return d->bitsPerSample;
}
#include <config.h>
#endif
#include <config.h>
#endif
#include <tdebug.h>
#include <tstring.h>
#include "mp4atom.h"
#include <tdebug.h>
#include <tstring.h>
#include "mp4atom.h"
+// #undef TAGLIB_WITH_ASF
+// #undef TAGLIB_WITH_MP4