RE: Media view
"Simon C" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <000a01c671af$4a105e40$0201a8c0@HOME> |
I've checked in the change to move the wallpaper/ringers into the database in the skyjunky/new_ringers branch if you want to try it out/test it. The code should convert from the old index schema, it will also delete the old files so make a backup if you value the data. You can also move from one origin to another and use the same filename in different origins (send data only) The database is storing the tansaction history of the media, this causes the database to grow fast. Is there a way to turn this off for media? I abandoned the idea of storing the thumbnail in the database, it took up too much space with no perceptable performance improvement, things are faster than before anyway with all the media data loaded into dicts in memory. The current way that the phones pass media data to the ringer/wallpaper widget means that the origin cannot be identified and the filenames have to be unique. Sending data to the phone does not have this limitation. To fix, the format of the dict passed from the phone class to the widget needs to changed so that the origin is included with the name. I'm going to use the same dict format as is used for sending data to the phone, the phone code will have to be changed to support this. The change will compatible with the existing mechanism so phones can be modified as time allows. The windows "copy" feature is broken because there are no files on the disk, I do not intend to fix any time soon, the new export feature will make up for this and work on more than just windows. There is also the "save" feature which does work with the new scheme, two ways of getting access to the data is probably enough. Remaining items before I merge back in with the main trunk: Skip image preview if image dimensions are already OK. Add some stats to media widget. Allow non-unique filenames for different origins (get phone data only). Add media export for bulk copying of media to disk. Add right click menus to media and origin nodes in tree. Convert imported media filenames to unicode. Fix mouse wheel scrolling in media views. Simon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642