[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KIO-MTP development
From:       Philipp Schmidt <philschmidt () gmx ! net>
Date:       2012-01-13 14:52:59
Message-ID: 9476418.WyKrkkY7Df () sam
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all,

this week I started developing a KIO-Slave for MTP since I now have a Galaxy 
Nexus and like accessing it via Dolphin and not having to use mtpfs. You can 
find it on github: 

https://github.com/hefeweiz3n/kio-mtp

So far it can do very little (Basically listing devices, storages and files 
works, if the right kio-instance gets the cache), but I am working on that.

Since concurrent access to the devices using libmtp is buggy at best I would 
like to introduce a persistent cache that gets updated when changing 
operations occur or devices get plugged in/removed. Is there any preferred way 
in KDE to do that, or an infrastructure already in place?

Also, if you have any other ideas or things to say (for example regarding the 
coding style), please do ;). My long term goal is to get this integrated into 
KDELibs, together with a Solid-Component that detects MTP-Devices and shows 
them in Dolphin etc. Help is also appreciated :).

Regards
Philipp Schmidt
[Attachment #5 (unknown)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans Mono'; font-size:9pt; \
font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Hi all,</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">this week I started developing a KIO-Slave for MTP since I now \
have a Galaxy Nexus and like accessing it via Dolphin and not having to use mtpfs. \
You can find it on github: </p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">https://github.com/hefeweiz3n/kio-mtp</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">So far it can do very little \
(Basically listing devices, storages and files works, if the right kio-instance gets \
the cache), but I am working on that.</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Since concurrent access to the devices using \
libmtp is buggy at best I would like to introduce a persistent cache that gets \
updated when changing operations occur or devices get plugged in/removed. Is there \
any preferred way in KDE to do that, or an infrastructure already in place?</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Also, if you have any other \
ideas or things to say (for example regarding the coding style), please do ;). My \
long term goal is to get this integrated into KDELibs, together with a \
Solid-Component that detects MTP-Devices and shows them in Dolphin etc. Help is also \
appreciated :).</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Regards</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Philipp Schmidt</p></body></html>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic