/srv/irclogs.ubuntu.com/2011/01/10/#ubuntuone.txt

queuedmanHi, anyone here have any issues with music downloads staying in "Queued.." state?01:30
=== Othercirick is now known as Cibort
FiReSTaRTqueuedman: i do03:28
FiReSTaRTqueuedman: just came here to ask about it lol03:29
FiReSTaRTmy sync is also stuck at 0 while it worked like a charm before i tried buying a song03:29
FiReSTaRTqueuedman: it might have something to do with this bug https://bugs.launchpad.net/ubuntu/+source/rhythmbox-ubuntuone-music-store/+bug/596394 i'm not sure,b ut check it out just in case03:31
ubot4Launchpad bug 596394 in rhythmbox-ubuntuone-music-store (Ubuntu) (and 1 other project) "False "Internet connection is required to access the music store" message (affects: 11) (dups: 1) (heat: 38)" [Undecided,New]03:31
FiReSTaRTplus rhythmbox crashes on restart03:32
FiReSTaRTwow.. FINALLY download complete after like 10 restarts :O03:33
karniaquarius: Do you know why a single file modification causes server to broadcast 4 consecutive generations, while a folder rename causes only 1 generation broadcast? Or should I defer the question to verterok, too?11:27
karniaquarius: perhaps gedit uses some cache file. let me check that a lil bit smarter (just appending something to a file)11:28
ryekarni, gedit does atomic save, save to temp, remove, rename11:29
ryekarni, and good morning!11:29
karnirye: hello rye!11:29
karnirye: that would be 4 changes.. so it saves to a new file each time, is that right?11:30
ryekarni, hm, not sure about 4, first it saves to temporary file name, then unlinks the original one, then renames the temp file to original name, as far as I remember11:31
karniprobably appending to file with cat >> would not generate 4 generations then.11:31
karnirye: thanks, that's definitely useful info11:31
duanedesign__hello rye and karni11:31
karnihi duanedesign__11:31
ryeduanedesign__, morning!11:31
karnimorning everybody :)11:31
* mandel -> walking dog12:02
ralsinagood morning everyone12:09
pazoany devs online?12:25
Chipacasome12:25
Chipacapazo: what's up?12:26
pazoI've bought a song but the status keeps being "Queued..."12:26
Chipacapazo: can you see it on the web under files?12:27
pazonope12:27
pazoIt's really odd12:27
pazoand file sync is working12:28
Chipacahmm12:28
Chipacarye: ping12:28
ryeChipaca, pong12:29
pazoSearching the web, shows some examples of similar type but not with a solutuin sadly :(12:29
ryepazo, syncing logs and looking12:29
Chipacapazo: can you hang around for about half an hour more? east coast of usa will be working then (and I think this is one for somebody there)12:29
Chipacapazo: meanwhile, rye is on it :)12:30
pazoYep. No problem!12:30
pazoCool12:30
Chipacanow, stopping for a bit to have breakfast with my kids12:30
* Chipaca waves12:30
duanedesign__rye: if you get a chance. Couldd you take a look at this post, specifically the screenshot. I was wondering if you might have a guess to the problem. http://ubuntuforums.org/showthread.php?t=166253412:43
ryeduanedesign__, it looks like desktopcouch cannot be contacted for some reason which disables these items12:47
duanedesign__ahh, ok that would cause that..ok12:49
=== teknico is now known as teknico_away
=== zyga_ is now known as zyga-breakfast
ralsinaCardinalFang, vds I think I'll postpone the standup until the people that's at the sprint show up13:52
vdsralsina: sure13:53
ralsinaBut if you need anything, I am not there, so I can help ;-)13:53
CardinalFangThis is a Dallas sprint?13:54
pazoI've bought a song but the status keeps being "Queued...". Anyone who can help?13:55
CardinalFangralsina, of desktopcouch, btw, I found and fixed three bugs Friday / Saturday.  Landing them and releasing today, I promise.13:55
ralsinaCardinalFang: oh, great13:56
mandelralsina: when will that be, I mean the standup?13:57
ralsinamandel: I am thinking in 3 hours?13:57
ralsinaI hope that's not too early dallas-time13:57
vdsrye: pazo has problems with a song he bought can you help him?13:57
mandelralsina: ok, I might be able to make it, my dogs has some problems and I've got an apponintment with the vet13:57
mandelhere +3 == 6pm :P13:58
pazovds: he seems to be AFK13:58
ralsinamandel: if you don't just past it to me in private and I'll post it in your behalf :-)13:58
mandelralsina: ok, I'll give yu the status as late as possible so that it is up to date13:59
ralsinamandel: cool13:59
Chipacapazo: we're working on it right now14:04
Chipacapazo: sorry for the delay :-/14:04
pazoNo problem. :) Going afk for 1 hour14:09
=== teknico_away is now known as teknico
joshuahooverralsina, Chipaca: fyi...bug #673568 is causing maverick users to not be able to edit contacts in evolution...rye has been in touch with rodrigo about it but i don't think you guys were aware of this...kind of bad bug15:16
ubot4Launchpad bug 673568 in evolution-couchdb (and 1 other project) "Error modifying contact, other error when saving contacts (affects: 29) (dups: 4) (heat: 142)" [High,In progress] https://launchpad.net/bugs/67356815:16
ralsinajoshuahoover: yes, I had seen it, but after rodrigo was on holiday thanks15:17
tomlhey all15:59
tomlgot some trouble with contact sync15:59
tomlduplicate madness16:00
tomlon Ubuntu One16:00
ralsinaCardinalFang: kenvandine offered help with packaging desktopcouch if you need it16:05
CardinalFangralsina, I don't think I do.  The packaging is pretty easy.  Thanks, kenvandine.16:11
CardinalFangif kenvandine wants to maintain "upstream" project, I'd take that, ha ha.16:12
ralsinahahaha16:13
kenvandineCardinalFang, no way :-p16:16
CardinalFangDang.16:16
=== beuno is now known as beuno-lunch
ralsinamandel, vds, CardinalFang: Looks like I have to go to the bank, so no standup today guys16:22
ralsinaBright side, you will look much more productive tomorrow16:23
mandelralsina: as you wish :)16:23
vds:)16:25
karnihi (again) everyone16:35
karniaquarius: verterok: thank you for your mail response16:35
karniaquarius: lemme know when you have a moment to talk16:35
aquariuskarni, go for it16:35
karnigreat16:35
karniaquarius: i'd like to talk the selective sync for a moment16:35
aquariusok16:36
karniaquarius: main issue is that, since files are replaced instead of 'changed' (as a regular user would percieve)16:36
karniit'd take some skill/neat idea to cache those generations bumps and sync only when necessary not to loose the info about being a fav item16:36
karnihowever, it's not that easy. imagine a user has the service working on the phone at the moment16:37
aquariuskarni, but that's fine, if you're storing (folder id, path) as the key for favourites, as we discussed?16:37
karnisomebody changes a file in a share...16:37
karniaquarius: lemme finish, that works - but only for "invoked sync", rather than callbacks in realtime16:37
karniaquarius: the point is that, once we say 'hey, sync now' and we fetch some newer generation, that solution works fine16:38
karniand we don't loose that fav info16:38
hrwhi16:38
karnihowever, that works because we (possibly! that's not sure) have just jumped over that step 'file removed / file created'16:39
karniaquarius: to be precise, let me rephrase16:39
karniaquarius: we don't loose the fav info, if the delta for given generation contains, at the same time, 1. file deleted 2. file created -- that works fine16:39
hrwsomeone can tell me which exaclty packages I need to have installed to get u1 working in non-gnome?16:39
karnias I just update some values (nodeId, hash, etc)16:39
aquariuskarni, just don't delete things from the favourites list, *even if* the file is deleted16:40
karniaquarius: why didn't I think about that xD16:40
aquariusif the worry is that eventually the favourites list will get too big, then run a cleanup job on it when it gets too big and remove the oldest items which aren't there any more16:40
karniaquarius: this is just a column in the main 'files' table to avoid unnecessary joins16:41
tomlanyone around from the One team?16:41
karnihowever, that is sufficient.. right. I'll remove the old file copy if I receive isLive=false, but not the meta.16:41
CardinalFangPlenty.16:41
tomlaha16:41
tomlgood good ...16:41
karniaquarius: that way I can update it in the future with the new file, and it'll still be favourite. that makes sense.16:42
tomlso, funambol16:42
CardinalFangIck.16:42
tomlis creating duplicate contacts16:42
toml...now, this is from within Thunderbird16:42
toml(i know, i know, it's not supported in v 3)16:42
CardinalFangAnd that's a shame,  V3 rocks.16:42
tomlit does16:42
tomlit's a great improvement16:42
tomlv3 has  dragged me back to it in fact16:43
tomlbut16:43
tomlsync is required16:43
karniaquarius: lastly, i'd say (parent id, filename) instead of (parent id, path). that's shorter, and sufficient.16:43
tomlany ideas on how to get tbird syncing with couchdb etc16:43
aquariuskarni, does every folder have a folderid, or just UDF top-level folders? I wasn't sure about that, which is why I wasn't sure and passed it over to verterok :)16:44
ryetoml, i think I can create a simple exporter from CouchDB contacts to vcard format...16:44
tomlrye, hey16:44
ryenot autosync though16:44
verterokaquarius: yes, every node have a node_id (and directories are nodes ;) )16:44
karniaquarius: any folder (equally, parent of a file) has a nodeId that doensn't change, even upon folder rename16:45
tomlyeah, the autosync's gotta be the long term aim I guess16:45
karniverterok: perfect explanation :)16:45
aquariustoml, JamesTait has been working on Thunderbird contacts sync with Ubuntu One (not using Funambol, but working directly with CouchDB), but I don't know what stage that's at16:45
tomlrye, the thing is that the funambol plugin seems to mostly work16:45
tomlaquarius, I've tried out that ... doesnt' work with tb 316:45
tomlaquarius, hedera's the name16:46
aquariustoml, yeah, I was just attracting JamesTait's attention in case he said "I've fixed that in a branch" or something :P16:46
karniaquarius: ok, last question then (because this is seriously better sonner then later ;) )16:46
JamesTaitI have not finished that in a branch. :)16:46
ryewow16:46
tomlJamesTait, hey man - tried out your plugin16:46
ryeJamesTait, that is awesome!16:47
karniaquarius: looking from volumes perspective, this task is trivial. syncing a volume is like any sync in U1 - isLive=false? fine, delete file. isLive=true? great, download it.16:47
tomlJamesTait, thanks for putting it together ... def meets a need, but does't play well with v3 on firefox16:47
tomlJamesTait, that's Thunderbird, not firefox  oops16:47
JamesTaittoml :) I guessed that.16:48
karniaquarius: however making only volumes syncable - we loose the grantulity of the sync to file level. i.e. you wouldn't be able to sync a single file from a volume, which sounds like a cool feature.16:48
tomlJamesTait, just acknoledging my idiocy ;)16:48
karniaquarius: (i.e. sync only this UDF, that UDF, and this Share)16:48
tomlJamesTait, are you thinking of carrying on work in the plugin?16:48
hrwsomeone can tell me which exaclty packages I need to have installed to get u1 working in non-gnome?16:49
JamesTaittoml: I'm working exclusively on TB3 now, unless someone asks for TB2 in which case I'll invite patches. :)16:49
aquariuskarni, yep, OK16:49
aquariushrw, I'm not sure, but I imagine that rye will know :)16:49
tomlJamesTait, ah cool ... you making progress?16:49
JamesTaittoml: Work has begin again the last week or so, and progress is being made, yes. :)16:50
ryehrw, you will need to have ubuntuone-client, it will bring the dependencies such as gnome-keyring with it (well, depending on the version though)16:50
tomlJamesTait, so I'd better just cut to the chase: eta on an update?16:50
karniaquarius: that ACK means exactly.. ? should we stick to file-level sync, or volume-level sync (which is trivial, and more desktop syncdaemon like)?16:50
hrwrye: natty16:51
JamesTaittoml: I'll be landing a branch very soon that adds some UI elements for visual feedback and to enable/disable debug via preferences.16:51
JamesTaittoml: Very soon being today or tomorrow, most likely.16:52
ryehrw, ubuntuone-client will bring everything in. ubuntuone-client-gnome provides nautilus and preferences applets16:52
aquariuskarni, ah, that wasn't an ACK, that was "I understand what you've said, thus far". I, personally, do not believe that turning on sync for a whole UDF is a good idea on Android. I think favourites should be files only, or maybe files and folders, but not a whole UDF. But I'm open to suggestions from beuno on that; I can see an argument for UDF-level sync (specifically, I create a UDF named "sync to my phone", and16:52
hrwrye: I have both16:52
aquariusthen drop things in it to have them appear on my phone with no effort)16:52
karniaquarius: oh good, sorry. I'm glad you expanded on that :D16:53
hrwState: READY16:53
JamesTaittoml: Pushing contacts is failing in some circumstances at present, so that's next. I haven't investigated so I don't know how big a problem it is.16:53
hrw    connection: Not User With Network16:53
hrw    description: ready to connect16:53
hrw    is_connected: False16:53
hrw    is_error: False16:53
hrw    is_online: False16:53
hrw    queues: IDLE16:53
hrwthats what u1sdtool -s says16:53
tomlJamesTait, ah very cool indeed James. I think it's a key missing piece in the puzzle for ubuntuone - you going to be updating through launchpad?16:54
hrw~/.config/ubuntuone/ dir is empty16:54
JamesTaittoml: Absolutely. :)16:54
tomlJamesTait, okay, great ... will test for you on it16:54
JamesTaittoml: Fantastic, I can use all the feedback I can get!16:54
hrwbtw - bug 70109916:55
ubot4Launchpad bug 701099 in ubuntuone-android-contacts "Ubuntu One Contacts should use Ubuntu logo (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/70109916:55
tomlJamesTait, okay, I'll watch for it. Thanks for the update.16:55
karniaquarius: ok then, thanks a bundle. I'll wait for beuno-lunch to speak his mind on the topic. however, looks like file-level sync is more resonable from a user's perspective16:55
aquariuskarni, I like the idea of having a UDF I can just drop things in, though. Can you reasonably easily calculate the size of a UDF?16:56
aquariuskarni, so that if I favourite a UDF you can check the size and say "that'll sync 12GB to your phone; are you sure you want to do that?"16:57
karniaquarius: AFAIK we get the file synce once we download that, but I'll double check if it's not in the delta. if it is, that'd be possible. 1 sec16:57
JamesTaittoml: The UI elements piece got brought forward, because I got quite a few questions along the lines of "I installed it, how do I know it's installed/working?"17:00
karniaquarius: I meant *size. I see that the size is provided in the delta, which would mean yes. however, since I don't display the size until the file is downloaded - I must have had a reason for that. I'm looking at the sources.17:00
ryehrw, u1sdtool --connect ?17:03
hrwrye: did that few times. problem is that u1 is still not configured17:04
* hrw goes to search for note taker which uses dropbox or ssh/sftp17:04
JamesTaittoml: but work basically stopped around September due to lack of time, until last week or so. I'm actively hacking again now.17:05
ryehrw, by not configured - was it prompting you to register?17:05
hrwrye: no, it didnt. thats the problem I think17:05
ryehrw, ok, could you please check whether you have ubuntu-sso-client installed?17:06
hrwrye: 1.1.7-0ubuntu1 is present17:06
tomlJamesTait, aye, it's hard enough making these things off your own back anyhow, so I appreciate the work ...17:07
ryehrw, ok, could you please try running env DEBUG /usr/lib/ubuntu-sso-client/ubuntu-sso-login17:08
rye?17:08
hrw11:10 hrw@lucek:.config$ DEBUG=1 /usr/lib/ubuntu-sso-client/ubuntu-sso-login17:11
hrwUbuntu SSO login manager already running, quitting.17:11
hrwkilled, restarts17:11
hrwrye: http://hrw.pastebin.com/D7xC79zm is effect of running it and "u1sdtool -c" in other shell17:12
* hrw installs gnome-keyring by hand17:13
hrwnow it works...17:13
hrwfor years I thought that Debian packages have proper dependencies. looks like it does not applies to Ubuntu packages17:15
karniaquarius: so: FileInfoDelta (item in a requested delta) does have a method getSize(). However, initially it returns zero. I fetch the file size from getContent request, nodeAttr.getSize() -- that'd mean we only know the size of downloaded files.17:15
karniverterok: Should a FileInfoDelta contain a proper size of a file? (it does have a getSize() method, but it returns 0 )17:15
karniverterok: I fetch the file size from nodeAttr once I got the file with getContent(..)17:16
verterokkarni: it should be in the FileInfoDelta, let me check the code17:16
verterokkarni: the protocol code looks ok...are you sure that the file size != 0? :)17:17
karniverterok: Thank you for checking. Now let me brutally output that to stderr and make sure (SQL insert didn't complain, and it was indeed 0).17:18
verterokkarni: brb, need to step out for a bit17:19
karniverterok: ok17:19
karniverterok: once you're back -- yes, it's all zeros (line 43 logs) http://paste.ubuntu.com/552521/17:23
karniaquarius: once we resolve that - yes, a simple sql query will provide a Volume size.17:23
ryehrw, the only thing that was missing was gnome-keyring daemon. org.freedesktop.secrets is provided by gnome-keyring and it is possible that it was not started17:28
pazo`rye: do you know ca. when the song will be ready? :)17:28
karnibeuno-lunch: i'll be back in ~1h17:28
hrwrye: but ubuntuone-client does not depends on gnome-keyring so for non-gnome installations u1 is just purely broken?17:30
ryehrw, python-gnomekeyring is brought in by ubuntu-sso-client17:32
hrwrye: not here17:32
hrw11:33 hrw@lucek:~$ apt-cache show ubuntu-sso-client|grep Depends17:33
hrwDepends: python (<< 2.8), python (>= 2.7), python-support (>= 0.90.0), python-dbus, python-gtk2, python-lazr.restfulclient, python-oauth, python-twisted-core, python-twisted-web, python-webkit, python-xdg17:33
ryehrw, you are using standard natty packages, right?17:33
verterokkarni: weird, I'll try to debug that while I take a look to the connection/IOException handling17:34
verteroknow, lunch!17:34
hrwrye: right17:34
ryehrw, there are nightlies ppa which contain the code that will be merged to natty/main later on which contains fixes and features that are not yet in main17:34
karniverterok: bon apetit! (you're awesome verterok )17:35
hrwrye: I used u1 just to sync gnote notes from desktop to n900 with conboy. now, when I moved to android it looks like there is no use for u1 for me anymore (I do not keep files there)17:36
=== beuno-lunch is now known as beuno
pazo`rye?17:54
=== Franxesk is now known as Franxesk_afk
* CardinalFang listens to approaching thunderstorm and hastily appends "Acquire UPS" to his new-year's resolutions.18:43
ryepazo`, hi could you please re-check My DOwnloads page?18:44
* karni is back18:46
=== teknico_ is now known as teknico
karnibeuno: 17:50-18:00 we talked together with aquarius on what granurality should the sync have. could you have a look at that and let me know what you think? :)18:48
beunokarni, sure18:49
beunolet me convert that into my TZ and look it up18:49
karnibac: oh, sorry ^ ^ it's been about 1:50h ago18:50
pazo`rye: it worked! Thanks!18:51
beunokarni, right, I agree with aquarius18:52
aquariusbeuno, aquarius is not sure what he thinks :)18:52
beunosyncing full volumes will make little sense on phones18:52
* karni nods18:52
aquariusbeuno, but if you know what you're doing, wouldn't it be great? Just create a folder called "Nexus S" and make it a UDF, and then drop things into it. Music, comic books, videos, photos, games, ringtones, books...18:53
aquariusbeuno, that's pretty compelling, I think18:53
beunoaquarius, of course18:53
aquariusbeuno, although I suppose the workaround is to create a "Nexus S" UDF, create a folder in it called "Everything", and then mark Everything as synced ;)18:53
karniaquarius: exactly18:54
aquariusthis is why I wondered whether we can detect the size of a UDF/folder when someone favourites it, and warn "this will sync X GB to your phone" if it's more than a few hundred MB18:54
beunoaquarius, karni, does it have to be one or the other?18:54
beunoalso18:54
beunolets design for people who don't know what they're doing first18:54
* aquarius laughs18:54
karniaquarius: yup, seems like a bug in the storage protocol java impl didn't let us do that. once that fixed, we're there.18:55
aquariusI still think that warning people about large syncs should be done even if just at folder level (not whole-volume level). And once we've got that warning at folder level, then there's no real reason to not offer whole-volume sync either, is there?18:55
karnibeuno: not really, no. what I meant is18:55
beunoright, always warn18:55
karnibeuno: implementing per-volume sync only is much more trivial then per-file sync18:56
beunokarni, then lets do it in that order18:56
aquariusno-one's suggesting *only* per-volume sync, are they? I think we should have all of per-volume, per-folder, and per-file18:56
karniaquarius: I was sensing what can we go for ;)18:57
beunoso we all agree18:57
aquariusI'd really like per-content-type as well, and per-search, and possibly per-time, but then again I'd like someone to invent a pie with no calories in it too :)18:57
karnibeuno: we'll do it per-file and go up from there. per-file involves much delicate measures then per-volume.18:57
karniaquarius: hahah18:57
beunoaquarius, well, we're >< this close to being able to implement per-content thingies, since the low-level api to do that is done18:57
karniok, so we've cleared that up.18:58
aquariusbeuno, per-content-type for *any* content type? I didn't know that. Why didn't I know that?18:58
* karni is a lil'bit lost right now18:58
beunoaquarius, yeah, we can filter by mimetype18:58
beunokarni, ignore this part of the conversation for now  :)18:58
karnihehehe18:58
beunoaquarius, we try to not tell you certain things, to keep you focused!  ;)18:59
aquariuscor. It's amazing the things you find out. I shall slap myself for not already knowing this :)18:59
karnibah, I'll use the moment and recall my other suggestion about auto-magic media content sync18:59
beunoaquarius, basically, this is how we do music scanning. Only look at files with certain mimetypes18:59
aquariusbeuno, yeah, but I didn't think that API was exposed (even in the syncdaemon protocol)19:00
beunoaquarius, probably a days' work to expose it19:00
karnihaving scheduled content sync - we can use this time (or little bit more often) to check what media has been captured in the mean time19:00
aquariusoh, right, gotcha, I get it now.19:00
beunoit's in the DAL19:00
karnias media is timestamped19:00
aquariusbeuno, right, good, then I did know about it. I was worried, there:)19:00
karniby doing so - the services doesn't have to run all the time, and we can adjust how often it should poll for new media content (i.e. new pictures/videos, etc)19:01
karnithat's just a thought for CardinalFang, but we'll get there sooner or later.19:01
beunokarni, right, I think that's something between you and CardinalFang to figure out19:01
aquariuskarni, by "poll", there, you mean "how often the Android service should start up and talk to the server to see what's new", yes?19:01
karniok, so I'll use the (parentId, filename) trick to track favourite items19:01
karniaquarius: no no, we're talking about sync-ing up users pictures (not lying under /sdcard/u1/*),19:02
karniaquarius: this is what CardinalFang was working in the mean time19:02
aquariuskarni, I thought there was a NewPicture intent or something like that?19:03
CardinalFangThere may be.  I haven't seen it in testing yet.  It could be useful to catch a broadcast intent, as a way on ensuring code is running soon after a photo lands.19:04
beunoaquarius, karni's irc session died19:04
karni__aquarius: sorry, got disconnected19:06
aquariusCardinalFang, ah, OK. Catching a broadcast intent is obviously the best approach -- being event-driven is good for power, as you know :)19:07
karni__although it looks like i'm still around ;D19:07
karni__aquarius: right. however (sad news) I have verified what I wrote before, and it turns out19:07
karni__aquarius: MediaScanner was invoked on events such as boot and sd card mounted19:07
karni__aquarius: which means - the broadcast is not sent when a regular picture is taken (it's just saved directly to media content provider, instead of invoking the media scanner)19:08
=== karni__ is now known as karni
aquariusalso...aren't pictures *always* saved to SD? Can't we just watch the folder, with some sort of inotify-ish thing?19:08
aquarius(er, saved to the filesystem, whatever that is)19:08
CardinalFangaquarius, yes.  This requires running code, though.19:09
aquariusCardinalFang, a good point and well argued. :)19:09
karniCardinalFang: or timed Alarm with a single sql query19:09
karnitoo bad I didn't see what Chad wrote :<19:09
karniok, getting back to work19:10
aquariusand you can't receive intents if you're paused anyway, afaicr19:10
karniaquarius: you're talking about broadcast receivers? these can wake up the app.19:11
aquariusoh, you can if you statically register a broadcastReceiver in AndroidManifest. Good.19:13
aquariusnot that it matters if there *is* no Intent for "just taken a picture". Damn.19:13
karniuhm :<19:13
CardinalFangYeah, broadcast receivers are only hooked from what reads the AndroidManifest, I'm pretty sure.19:19
aquariushttp://developer.android.com/reference/android/content/Intent.html#ACTION_CAMERA_BUTTON, although that might be only for a hardware camera button :)19:19
CardinalFangYeah, that's how the camera app knows to begin running.19:19
aquariusoh, that's not the camera button to *take* a picture, it's the one to start the camera app? bah.19:19
aquariusmy phone doesn't have a hardware camera button19:20
CardinalFangWell, it may do both.19:20
CardinalFangMine either.19:20
aquariusbe interesting to see if that intent is fired when taking a picture, though19:21
karniI'm 99.5% sure I've been there and checked that.19:21
karniI've really tried to find a broadcast action for what we needed.19:21
* karni just had an Ubuntu 10.10 server failure, doh19:23
CardinalFangI've been thinking of making a Cron app or firmware hack.  It figures out some way of running all the time.  It broadasts intents for time.  You could register to hear  org.chad.Cron.MINUTE_20  to get run every hour.19:29
aquariusisn't this what AlarmManager is for?19:30
CardinalFangDunno.19:30
aquariushttp://developer.android.com/reference/android/app/AlarmManager.html19:30
CardinalFangThese are not user-level events I have in mind.  Some service gets started.19:30
CardinalFangAh.  Not bad.  Repeating, too.  Hmm!19:31
CardinalFangOkay.  Now I don't have to write that.  Yay!19:32
aquarius:)19:32
karniYou guys head what I was saying ^ ^? Something sounding like... Alarm ;)19:36
karniYes, that's exactly what I was talking about.19:37
karniWe could see if there's new content in MediaProvider19:37
karniSince the last time we checked.19:37
aquariusyeah. If we can't be event-driven then we have to poll. Which sucks.19:37
aquariuswould be worth pinging some android people and saying "there *must* be a way of doing this! surely! what is it?"19:38
karniaquarius: Still, this is relatively lightweight. Just one query using Alarms (which are adives way of doing repetitive work on Android)19:38
* CardinalFang yells at bzr.21:28
mptnessita, hi, https://wiki.ubuntu.com/NotificationDesignGuidelines may be relevant to the discussion I heard you having earlier21:52
nessitampt: thanks! I'll take a look21:52
beunoCardinalFang, FWIW, song ids are md5s of the title+album+artist (IIRC)22:13
beunoer22:14
beunoCardinalFang, ignore that22:14
CardinalFangbeuno, haha.  You're everywhere.22:14
beunothey are our own hashes from our DB22:14
* beuno spies everything22:14
beunoCardinalFang, so, what I discussed with aquarius is that people need to make sure the files are in U1 anyway, so they may as well "verify" that by using our ID22:15
CardinalFangbeuno, er, that's no good.22:15
beunoalbum ids are what we md5 to generate22:15
beunoCardinalFang, tell me more about this not good22:15
CardinalFangbeuno, I think it's wrong to assume all the user's music files are going to be stored on Ubuntu One.22:19
CardinalFangbeuno, would you like to rename this to be "ubuntuoneplaylists"?22:19
beunoCardinalFang, ah, that is probably the right thing to do22:21
* CardinalFang notes that for tomorrow.22:22
CardinalFangG'night, all.22:22
beunonight CardinalFang22:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!