mtp

Merge lp:~cyphermox/mtp/books into lp:mtp

Proposed by Mathieu Trudel-Lapierre on 2013-09-18
Status: Needs review
Proposed branch: lp:~cyphermox/mtp/books
Merge into: lp:mtp
Diff against target: 14 lines (+4/-0)
1 file modified
server/UbuntuMtpDatabase.h (+4/-0)
To merge this branch: bzr merge lp:~cyphermox/mtp/books
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing on 2013-09-18
Ubuntu Phablet Team 2013-09-18 Pending
Review via email: mp+186331@code.launchpad.net

Commit message

Allow following the ~/Books directory, used by ebook readers such as Beru.

Description of the change

Allow following the ~/Books directory, used by ebook readers such as Beru.

To post a comment you must log in.
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

31. By Mathieu Trudel-Lapierre on 2013-09-18

Add a ~/Books directory to watch if it exists, would be used by ebook readers.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'server/UbuntuMtpDatabase.h'
2--- server/UbuntuMtpDatabase.h 2013-09-13 17:11:57 +0000
3+++ server/UbuntuMtpDatabase.h 2013-09-18 14:11:16 +0000
4@@ -138,6 +138,10 @@
5 readFiles(basedir + "/Videos");
6 readFiles(basedir + "/Pictures");
7 readFiles(basedir + "/Downloads");
8+
9+ /* Also include Books, which will be created automatically if
10+ * and ebook reader runs. */
11+ readFiles(basedir + "/Books");
12
13 std::cout << __PRETTY_FUNCTION__ << ": object count:" << db.size() << std::endl;
14 }

Subscribers

People subscribed via source and target branches