[maemo-developers] What's wrong with folder browsing?
From: Gustavo Sverzut Barbieri barbieri at gmail.comDate: Mon May 21 19:31:14 EEST 2007
- Previous message: What's wrong with folder browsing?
- Next message: What's wrong with folder browsing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/21/07, nick loeve <trickie at gmail.com> wrote: > I use two 4gig SD cards. Once i stuffed them full of media canola-conf > would just take over my cpu ( i am taking a stab in the dark, that > this was the indexer) . I waited for quite a while, and even had to > charge my n800 again, and i still couldn't use it, as everything would > stop responding. > > I just uninstalled it as i got sick of doing 'killall -9 canola-conf' > via xterm everytime my device slowed right down. > > If there is anything i can do to help debug this, then let me know and > i will try again, but I am also using a modified kernel to support > SDHC cards, so I don't know if my debugging counts :) Just hack scripts (both init.d and dbus/service) and launch it with lower priority, it should be the default in next release. It basically works like this: - 1st time: readdir() + regexp (defined in gconf) + open() + parse (id3lib, shipped with device) + db insert - on reboot: consistency check: db select + stat(), readdir() + regexp + db query + parse (if not in db) - on SD removal: db delete from table where path like '/mnt/mmcX/%'. - on SD add: consider as first time. Points to consider: - collection can be restricted, just use configuration tool. Future versions will allow you to limit parsers (media type) per folder, like /mnt/mmcX/Audio is just for audio, leave my covers out of picture collection. - data is deleted when SD is removed in order to avoid DB growing indefinitely, maybe you'll not see the same card again (it was a friend's SD, for example) or data there will not be present anytime soon (you just deleted those files using PC or other device) it's always a trade off, you can also open xterm and execute gst-launch... or use any simple UI. -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: barbieri at gmail.com MSN: barbieri at gmail.com ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010
- Previous message: What's wrong with folder browsing?
- Next message: What's wrong with folder browsing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]