=== Noskcaj10 is now known as Noskcaj [09:20] zoopster: you around? [09:21] any reason a desktop app published in the software center wouldn't be available for saucy? [09:46] is jdstrand here? [10:05] mhall119, ping [13:51] presumably all the containment stuff around click packages prevents unrestricted writing to the disk? What's the correct way to request a writable file path? [14:11] Elleo: I think it is better to use a Sqlite storage or Ubuntu One database for this. They write automatically to the correct location. [14:11] Elleo: although if you want to write to a specific location nonethless, jdstrand is the person you should talk to about this. [14:14] nik90: yeah, I have to have a real file path; it gets passed to libspotify for its caching so I don't have any real choice [14:15] I guess I'll wait for jdstrand to be around :) [14:16] ah, he's in #ubuntu-touch [14:19] Elleo: are you making a spotify client or something? [14:19] nik90: yep, porting meespot: https://www.youtube.com/watch?v=ErscrflfQKI [14:21] Elleo: wow awesome! [14:21] :) [14:22] main challenge now is getting it playing nicely with all the security stuff on the device [14:22] Elleo: I am guessing I need spotify premium though to stream it on the mobile [14:22] yeah [14:23] all apps using libspotify can only work for premium users unfortunately [14:23] hmm I need to upgrade fom Spotify unlimited to premium..but having Spotify on ubuntu touch would be awesome [14:23] looking forward to seeing it :) [14:23] :) [14:23] the code's all up on github if you fancy hacking around with it at all: https://github.com/Elleo/cutespotify [14:24] but at the moment it doesn't work reliably on the device, so it's not much use for general users yet [14:24] plus you have to go through all the hassle of signing up for api keys and such [14:26] Elleo: I work on the ubuntu clock app. I can help with the UI when possible [14:26] cool :) [14:26] Elleo: I will create a g+ post on the ubuntu app developer community to get more eyes on this project [14:27] thanks :) [15:53] Hallo [18:53] nik90: for future reference it seems that apps are allowed to write to .local/share// without any restrictions :) [19:56] Elleo: yup I knew that..infact the sqlite storage actually writes the database into .local/share/package-name [19:57] Elleo: however since you wanted to write to a specific location, I figured you would run into app confinement issues. [20:14] nik90: nah, I just needed a path that I could write to, libspotify allows you to specify the path it uses [20:15] now I just have to figure out why it crashes after login on the device (but not on my desktop) and it'll be vaguely usable :) [22:03] Elleo: is there a click package I can test? ☻ [22:04] Where is the gtk# widget for windows forms in mono? | http://askubuntu.com/q/366418 [22:08] popey: well there's this: http://mikeasoft.com/~mike/com.mikeasoft.cutespotify_1.3_all.click but it's not really much fun to test yet, for some reason it crashes immediately after login when used on a real device (but works fine on a desktop machine) [22:09] I did have it logging in without problems on the device before I "fixed" a bunch of other things, so it should be sortable [22:09] just having a bit of trouble tracking down where exactly things are breaking [22:10] minor niggles.... [22:10] "lint_control_architecture_valid_contents": "found binaries for architecture 'all': CuteSpotify, lib/libspotify.so, lib/libspotify.so.12.1.103, lib/libspotify.so.12", [22:10] "lint_maintainer_format": "invalid format for maintainer: Michael Sheldon" [22:10] "desktop_Exec (cutespotify)": "found unexpected Exec with architecture 'all': ./CuteSpotify" [22:10] unrelated to your crash issues of course [22:10] how to get user HOME dir in QLM? [22:10] yeah, I know nothing about click packaging and just mangled something together quickly [22:11] heh [22:12] how do you get lint checking of click data? [22:13] 22:12:41.430 I [offline_authorizer.cpp:297] Unable to login offline: no such user [22:13] thats odd [22:13] popey: I believe that's expected [22:13] Log in: "No error" [22:13] last thing in the log... [22:14] once you've logged in correctly and have offline storage the offline authorizer will let you login that way [22:14] but on first login it doesn't have offline credentials for you, so then goes on to online auth [22:15] yeah, running with gdb results in a corrupted stack that ends somewhere in libspotify [22:15] oof [22:15] unfortunately the stack corruption means I can't see what part of cutespotify is calling libspotify at that moment [22:16] although libspotify does a bunch of async stuff internally, so that might not help anyway [22:16] time to engage insane levels of logging in the app [22:16] yeah [22:16] I'm currently peppering everything with qDebug() statements