From fb0845e8a1e179375ad9dec50cd6c0015d3be98e Mon Sep 17 00:00:00 2001 From: codestation Date: Fri, 30 Aug 2013 11:56:04 -0430 Subject: [PATCH] Include future options in settings dialog. Only send the file name to the progress dialog. --- README.md | 2 +- configwidget.ui | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ database.cpp | 2 +- 3 files changed, 104 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a932e10..b3b2900 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ official CMA and also offer some features missing in the original one. * Fix streaming for music. ## Planned features -* **DLNA bridge**: connect an existing DLNA server to interface with the Vita +* **UPNP bridge**: connect an existing UPNP server to interface with the Vita using the wireless streaming feature. #### Dependencies diff --git a/configwidget.ui b/configwidget.ui index c47a894..14f524d 100644 --- a/configwidget.ui +++ b/configwidget.ui @@ -191,6 +191,108 @@ Other + + + + + + + <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:600;">Advanced settings</span></p></body></html> + + + + + + + false + + + Offline Mode + + + true + + + + + + + false + + + Skip metadata extraction + + + + + + + false + + + Update database automatically when files on the PC are changed + + + + + + + false + + + Disable USB monitoring + + + + + + + false + + + Disable Wi-Fi monitoring + + + + + + + + + Database backend + + + + + + + false + + + + In Memory + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + diff --git a/database.cpp b/database.cpp index c410648..169da71 100644 --- a/database.cpp +++ b/database.cpp @@ -215,7 +215,7 @@ int Database::recursiveScanRootDirectory(root_list &list, CMAObject *parent, int } else { CMAObject *obj = new CMAObject(parent); obj->initObject(info); - emit fileAdded(obj->path); + emit fileAdded(obj->metadata.name); //qDebug("Added %s to database with OHFI %d", obj->metadata.name, obj->metadata.ohfi); list << obj; if(info.isDir()) {