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