diff --git a/resources/translations/qcma_es.ts b/resources/translations/qcma_es.ts
index 652f427..2259ce7 100644
--- a/resources/translations/qcma_es.ts
+++ b/resources/translations/qcma_es.ts
@@ -83,12 +83,12 @@
-
+ FilterFiltro
-
+ Default accountCuenta por defecto
@@ -98,7 +98,7 @@
¿Estas seguro de borrar la siguiente entrada?
-
+ Backup disk usage: %1Uso de disco en respaldos: %1
@@ -134,32 +134,31 @@
Agregadas %1 entradas a la base de datos
-
+ Added %1 items to the databaseAgregadas %1 entradas a la base de datos
-
+ Database indexing aborted by userActualización de la base de datos cancelada por el usuario
-
+ Cannot initialize VitaMTP libraryNo se pudo inicializar VitaMTP
-
+ You must enable at least USB or Wireless monitoringDebe habilitar por lo menos el monitoreo USB o inalámbrico
- Cannot refresh the database while is in use
- No se puede actualizar la base de datos mientras se encuentre en uso
+ No se puede actualizar la base de datos mientras se encuentre en uso
-
+ No PS Vita system has been registeredNigún sistema PS Vita ha sido registrado
@@ -171,8 +170,8 @@
Conectado a
-
-
+
+ Connected to %1 (PS Vita)Conectado a %1 (PS Vita)
@@ -287,6 +286,26 @@
Update database automatically when files on the PC are changedActualizar la base de datos automaticamente
+
+
+ SQLite
+
+
+
+
+ Skip photo scanning
+ Omitir el escaneo de fotos
+
+
+
+ Skip video scanning
+ Omitir el escaneo de vídeos
+
+
+
+ Skip music scanning
+ Omitir el escaneo de música
+ Disable USB monitoring
@@ -308,27 +327,27 @@
En memoria
-
+ Select the folder to be used as a photo sourceSeleccione el directorio a ser utilizado como origen de fotos
-
+ Select the folder to be used as a music sourceSeleccione el directorio a ser utilizado como origen de música
-
+ Select the folder to be used as a video sourceSeleccione el directorio a ser utilizado como origen de videos
-
+ Select the folder to be used to save PS Vita games and backupsSeleccione el directorio a ser utilizado para guardar juegos y respaldos
-
+ Select the folder to be used to fetch software updatesSeleccione el directorio a ser utilizado para extraer actualizaciones de software
@@ -350,8 +369,8 @@
FilterLineEdit
-
-
+
+ FilterFiltro
@@ -359,7 +378,7 @@
HTTPDownloader
-
+ Network error: %1Error de red: %1
@@ -367,7 +386,7 @@
MainWidget
-
+ Shutting down...Cerrando...
@@ -376,49 +395,64 @@
Deteniendo QCMA...
-
+ Stopping QCMA (disconnect your PS Vita)Deteniendo QCMA (desconecte su PS Vita)
-
-
+
+ DisconnectedDesconectado
-
+ The device has been disconnectedEl dispositivo se ha desconectado
-
+ About QCMAAcerca de QCMA
-
- Copyright (C) 2013 Codestation
- Copyright (C) 2013 Codestation
+
+ Copyright (C) 2014 Codestation
+ Copyright (C) 2013 Codestation {2014 ?}
+
+
+
+ Copyright (C) 2014 Codestation
+
+build hash: %1
+build branch: %2
+ Copyright (C) 2013 Codestation
+
+Hash de compilación: %1
+Rama de compilación: %2 {2014 ?} {1
+?}
+
+
+ Copyright (C) 2013 Codestation
+ Copyright (C) 2013 Codestation
- Copyright (C) 2013 Codestation
build hash: %1
build branch: %2
- Copyright (C) 2013 Codestation
+ Copyright (C) 2013 Codestation
Hash de compilación: %1
Rama de compilación: %2
-
+ &About QCMA&Acerca de QCMA
-
+ Qcma - InformationQcma - Información
@@ -428,7 +462,7 @@ Rama de compilación: %2
Copyright (C) 2013 Codestation\n
-
+ &Backup Manager&Gestor de Respaldos
@@ -437,7 +471,7 @@ Rama de compilación: %2
&Acerca de
-
+ Abou&t QtA&cerca de Qt
@@ -446,12 +480,12 @@ Rama de compilación: %2
PIN recibido: %1
-
+ &Settings&Ajustes
-
+ &Refresh database&Refrescar base de datos
@@ -460,17 +494,17 @@ Rama de compilación: %2
Gestor de Respaldos
-
+ &Quit&Salir
-
+ Qcma statusEstado de Qcma
-
+ InformationInformación
@@ -573,7 +607,8 @@ Rama de compilación: %2
QObject
-
+
+ A instance of QCMA is already runningOtra instancia de QCMA ya se encuentra en ejecución
diff --git a/resources/translations/qcma_ja.ts b/resources/translations/qcma_ja.ts
index c1168b0..13b203c 100644
--- a/resources/translations/qcma_ja.ts
+++ b/resources/translations/qcma_ja.ts
@@ -87,12 +87,12 @@
-
+ Filter
-
+ Default account標準アカウント
@@ -102,7 +102,7 @@
次の項目のバックアップを削除してもよろしいですか?
-
+ Backup disk usage: %1バックアップディスク使用容量: %1
@@ -138,32 +138,31 @@
%1個の項目をデータベースに追加しました
-
+ Added %1 items to the database%1個の項目をデータベースに追加しました
-
+ Database indexing aborted by userデータベース構築がユーザーにより中止されました
-
+ Cannot initialize VitaMTP library
-
+ You must enable at least USB or Wireless monitoring
- Cannot refresh the database while is in use
- 使用中にはデータベースを更新できません
+ 使用中にはデータベースを更新できません
-
+ No PS Vita system has been registered
@@ -175,8 +174,8 @@
次のデバイスに接続しました
-
-
+
+ Connected to %1 (PS Vita)
@@ -291,6 +290,26 @@
Update database automatically when files on the PC are changedPCのファイルが変更された際にデータベースを自動的に更新する
+
+
+ SQLite
+
+
+
+
+ Skip photo scanning
+
+
+
+
+ Skip video scanning
+
+
+
+
+ Skip music scanning
+
+ Disable USB monitoring
@@ -312,27 +331,27 @@
メモリ内
-
+ Select the folder to be used as a photo sourceフォトの参照先として使用されるフォルダを選択してください
-
+ Select the folder to be used as a music sourceミュージックの参照先として使用されるフォルダを選択してください
-
+ Select the folder to be used as a video sourceビデオの参照先として使用されるフォルダを選択してください
-
+ Select the folder to be used to save PS Vita games and backupsPS Vitaのゲームとバックアップの保存に使用されるフォルダを選択してください
-
+ Select the folder to be used to fetch software updatesソフトウェアアップデートの取得に使用されるフォルダを選択してください
@@ -355,8 +374,8 @@
FilterLineEdit
-
-
+
+ Filter
@@ -364,7 +383,7 @@
HTTPDownloader
-
+ Network error: %1
@@ -372,7 +391,7 @@
MainWidget
-
+ Shutting down...終了しています...
@@ -381,56 +400,56 @@
QCMAを停止しています...
-
+ Stopping QCMA (disconnect your PS Vita)
-
-
+
+ Disconnected切断されました
-
+ The device has been disconnectedデバイスが切断されました
-
+ About QCMA
-
- Copyright (C) 2013 Codestation
+
+ Copyright (C) 2014 Codestation
-
- Copyright (C) 2013 Codestation
+
+ Copyright (C) 2014 Codestation
build hash: %1
build branch: %2
-
+ &Backup Manager
-
+ &About QCMA
-
+ Abou&t Qt
-
+ Qcma - Information
@@ -439,12 +458,12 @@ build branch: %2
受信したPIN: %1
-
+ &Settings&設定
-
+ &Refresh database&データベースを更新する
@@ -453,17 +472,17 @@ build branch: %2
バックアップマネージャー
-
+ &Quit&終了
-
+ Qcma status
-
+ Information情報
@@ -566,7 +585,8 @@ build branch: %2
QObject
-
+
+ A instance of QCMA is already runningQCMAのプロセスがすでに実行しています
diff --git a/src/forms/configwidget.cpp b/src/forms/configwidget.cpp
index 6f5b14a..006db55 100644
--- a/src/forms/configwidget.cpp
+++ b/src/forms/configwidget.cpp
@@ -84,6 +84,10 @@ void ConfigWidget::setDefaultData()
ui->usbCheck->setChecked(settings.value("disableUSB", false).toBool());
ui->wifiCheck->setChecked(settings.value("disableWireless", false).toBool());
ui->databaseSelect->setCurrentIndex(settings.value("useMemoryStorage", true).toBool() ? 0 : 1);
+
+ ui->photoSkipCheck->setChecked(settings.value("photoSkip", false).toBool());
+ ui->videoSkipCheck->setChecked(settings.value("videoSkip", false).toBool());
+ ui->musicSkipCheck->setChecked(settings.value("musicSkip", false).toBool());
}
ConfigWidget::~ConfigWidget()
@@ -156,6 +160,9 @@ void ConfigWidget::accept()
settings.setValue("disableUSB", ui->usbCheck->isChecked());
settings.setValue("disableWireless", ui->wifiCheck->isChecked());
settings.setValue("useMemoryStorage", ui->databaseSelect->currentIndex() == 0);
+ settings.setValue("photoSkip", ui->photoSkipCheck->isChecked());
+ settings.setValue("videoSkip", ui->videoSkipCheck->isChecked());
+ settings.setValue("musicSkip", ui->musicSkipCheck->isChecked());
settings.sync();
done(Accepted);
diff --git a/src/forms/configwidget.ui b/src/forms/configwidget.ui
index 3e3d5fd..725967d 100644
--- a/src/forms/configwidget.ui
+++ b/src/forms/configwidget.ui
@@ -300,6 +300,27 @@
+
+
+
+ Skip photo scanning
+
+
+
+
+
+
+ Skip video scanning
+
+
+
+
+
+
+ Skip music scanning
+
+
+
diff --git a/src/qlistdb.cpp b/src/qlistdb.cpp
index 538354a..1d0303c 100644
--- a/src/qlistdb.cpp
+++ b/src/qlistdb.cpp
@@ -103,18 +103,23 @@ int QListDB::create()
for(int i = 0, max = sizeof(ohfi_array) / sizeof(int); i < max; i++) {
CMARootObject *obj = new CMARootObject(ohfi_array[i]);
+ bool skipCurrent = false;
+ int dir_count;
switch(ohfi_array[i]) {
case VITA_OHFI_MUSIC:
obj->initObject(settings.value("musicPath").toString());
+ skipCurrent = settings.value("musicSkip", false).toBool();
break;
case VITA_OHFI_PHOTO:
obj->initObject(settings.value("photoPath").toString());
+ skipCurrent = settings.value("photoSkip", false).toBool();
break;
case VITA_OHFI_VIDEO:
obj->initObject(settings.value("videoPath").toString());
+ skipCurrent = settings.value("videoSkip", false).toBool();
break;
case VITA_OHFI_BACKUP:
@@ -129,7 +134,12 @@ int QListDB::create()
root_list list;
list << obj;
emit directoryAdded(obj->path);
- int dir_count = recursiveScanRootDirectory(list, obj, ohfi_array[i]);
+
+ if(!skipCurrent) {
+ dir_count = recursiveScanRootDirectory(list, obj, ohfi_array[i]);
+ } else {
+ dir_count = 0;
+ }
if(dir_count < 0) {
return -1;