qtmtp
Audio
Score 54%
Description:

This is the second alpha release of qtmtp.

qtmtp is a small tool to manage files on mtp capable MP3-players - it allows upload, download and deleting with this devices in many cases in batch-mode too.

Attention:
This program must be run with root because of access limitations in underlaying usb-bus system.

Requirements:
- libmtp
- TagLib
- QT >= 4.4

Installation:
./configure --prefix=/usr
make
sudo make install

Hope, this small tool can help you :)
Last changelog:

8 years ago

qtmtp-0.2.0
- new dialog for importing music collections
- uploads are now in a separated thread
- removed unwanted 3th column in main view
- new small classes added


qtmtp-0.1.0.1
Fixed naming of "moc" program in configure and Makefile which could'nt found on some systems:

configure script checks now for proper version of "moc" and substitutes a variable in Makefile.

marcotangaro

8 years ago

[marco@Marco-Laptop qtmtp-0.2.0]$ make
make: *** No rule to make target `configure.in', needed by `Makefile.in'. Stop.

Report

C

duskman

8 years ago

oh shit *g*

have copied the devel directory and forgot the configure.in ^^

*fixed & new uploaded*

Report

marcotangaro

8 years ago

And now this :D
make[2]: Entering directory `/home/marco/Apps/qtmtp/src/qtmtp-0.2.0/src'
g++ -DPREFIX=\"/usr/share\" -Wall -pipe -fpermissive -I. -I/usr/include -I/usr/share/qt4/mkspecs/linux-g++ -g -D_REENTRANT -DDEBUG -g -O2 -D_REENTRANT -I/usr/share/qt4/mkspecs/linux-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -DQT_SHARED -I/usr/include/QtCore -I/usr/include/taglib -c qtmtp_upload.cpp -o qtmtp_upload.o
In file included from ./qtmtp_upload.h:8,
from qtmtp_upload.cpp:1:
./qtmtp_metainfo.h:33: error: ‘uint32_t’ does not name a type
./qtmtp_metainfo.h:34: error: ‘uint32_t’ does not name a type
./qtmtp_metainfo.h:42: warning: ISO C++ forbids declaration of ‘uint32_t’ with no type
./qtmtp_metainfo.h:43: warning: ISO C++ forbids declaration of ‘uint32_t’ with no type
./qtmtp_metainfo.h:52: error: ‘uint32_t’ does not name a type
./qtmtp_metainfo.h:53: error: ‘uint32_t’ does not name a type
qtmtp_upload.cpp: In member function ‘virtual void qtmtp_upload::run()’:
qtmtp_upload.cpp:26: error: ‘class qtmtp_metainfo’ has no member named ‘getFileSize’
qtmtp_upload.cpp:27: error: ‘class qtmtp_metainfo’ has no member named ‘getLength’
qtmtp_upload.cpp:32: warning: invalid conversion from ‘const char*’ to ‘char*’
qtmtp_upload.cpp:33: warning: invalid conversion from ‘const char*’ to ‘char*’
qtmtp_upload.cpp:34: warning: invalid conversion from ‘const char*’ to ‘char*’
qtmtp_upload.cpp:35: warning: invalid conversion from ‘const char*’ to ‘char*’
qtmtp_upload.cpp:40: warning: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [qtmtp_upload.o] Error 1
make[2]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.2.0'
make: *** [all] Error 2

Report

C

duskman

8 years ago

that error comes, when uint32_t is not defined.
seems, as is this only in libmtp.h defined... have this fixed and added this typedef in qtmtp_metainfo.h

sorry :/

Report

marcotangaro

8 years ago

here a Arch-Linux PKGBUILD
http://aur.archlinux.org/packages.php?ID=27112

thank you

Report

C

duskman

8 years ago

Thank you for submitting this tool at Arch Linux :)

greets
DuskMan

Report

C

duskman

8 years ago

configure & Makefile are fixed,
the configure script substitutes now "moc" in Makefile and all is fine without renaming or symlinking /usr/bin/moc.

Sorry ;)

Report

bitcrazy

8 years ago

No need to excuse. As you wrote, it's alpha, so who cares?
Unfortunately I don't have a mtp-device handy to test your app.
But looks promising.
Btw. I saw in the screenshot, that sizes are calculated and shown in bytes. Perhaps some routine to use kB or MB would be more comfortable to read. Just a suggestion.

Greetings
m0nk

Report

C

duskman

8 years ago

Do you use QT4.x ?

QT4.x is a requirement to install qtmtp,
moc-qt4 ships only with QT4 - sorry.

please try to upgrade - in ubuntu i've upgraded to QT4x
because of forwarding implentation of qtmtp which will be
support Phonon in later versions.

Report

bitcrazy

8 years ago

Not every distro calls moc in QT4 moc-qt4 like Ubuntu.

m0nk

Report

bitcrazy

8 years ago

make uninstall has no targets.
So you must uninstall manually.

m0nk

Report

marcotangaro

8 years ago

I've solved linking moc to moc-qt4:
ln -s /usr/bin/moc /usr/bin/moc-qt4
thank you.

@duskman
you are my hero, thank you for this utility

Report

bitcrazy

8 years ago

Shouldn't do that. One day your whole system consists of dead links and you can't remember, why you've added them.
Don't pollute your system.
Those methods are crutches.

m0nk

Report

marcotangaro

8 years ago

I've this error in make:

[marco@Marco-Laptop qtmtp-0.1.0]$ make
make all-recursive
make[1]: Entering directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0'
Making all in src
make[2]: Entering directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0/src'
/usr/bin/moc-qt4 -D_REENTRANT -I/usr/share/qt4/mkspecs/linux-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -DQT_SHARED -I/usr/include/QtCore qtmtp.h -o moc_qtmtp.cpp
make[2]: /usr/bin/moc-qt4: Command not found
make[2]: *** [moc_qtmtp.cpp] Error 127
make[2]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0'
make: *** [all] Error 2
[marco@Marco-Laptop qtmt

Report

marcotangaro

8 years ago

on my arch-linux I've only:

[marco@Marco-Laptop ~]$ which moc
/usr/bin/moc

Report

bitcrazy

8 years ago

Replace moc-qt4 in src/Makefile.in with moc and run configure again.
Shouldn't be hardcoded in Makefile.am.

m0nk

Report

8 years ago

qtmtp-0.2.0
- new dialog for importing music collections
- uploads are now in a separated thread
- removed unwanted 3th column in main view
- new small classes added


qtmtp-0.1.0.1
Fixed naming of "moc" program in configure and Makefile which could'nt found on some systems:

configure script checks now for proper version of "moc" and substitutes a variable in Makefile.

product-maker 6 8

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2.0
updated Jun 11 2009
added Jun 07 2009
downloads today
0
page views today 4