snizzo | qtcreator says "attach your device" while with adb devices my phone is there... anyone experienced this? | 12:00 |
---|---|---|
kalikiana | snizzo: it might expect a different device, if you had used multiple before | 12:28 |
kalikiana | at least that's what happened to me before | 12:28 |
kalikiana | if you check the project setting, or the run setting, you'll see what it's using | 12:29 |
snizzo | kalikiana: ahh ok, got it thank you :) | 12:29 |
snizzo | popey: hey. Can you point me to the source of ubuntu components? | 13:16 |
snizzo | or better, appdevs is there documentation for music hub api (Playlist component)? | 13:17 |
snizzo | i mean autogenerated somewhere :) | 13:17 |
kalikiana | snizzo: https://developer.ubuntu.com/en/apps/qml/ | 13:42 |
kalikiana | or https://developer.ubuntu.com/api/apps/qml/development/ | 13:43 |
snizzo | ahh kalikiana that's lifesaving | 13:45 |
snizzo | ahayzen: should https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/QtMultimedia.Playlist/ be in 8.5? | 14:07 |
ahayzen | snizzo, ooo there are docs \o/ and I think parts/most of it is in 8.5 i'm just waiting for some extra fixes before music can fully move :-/ | 14:08 |
snizzo | ah ok. I'm just trying to make it work again with 8.5 but I'm facing strange problems like | 14:09 |
snizzo | MediaControls.qml:86: TypeError: Property 'addSource' of object QDeclarativePlaylist_QML_77(0xfde5e8) is not a function | 14:09 |
ahayzen | snizzo, note it was changed to addItem ;-) | 14:09 |
ahayzen | and removeItem etc | 14:09 |
snizzo | ahhhhhhhhhh | 14:09 |
ahayzen | snizzo, use this as a reference http://bazaar.launchpad.net/~music-app-dev/music-app/media-hub-bg-playlists-rework/view/head:/app/components/NewPlayer.qml | 14:09 |
ahayzen | snizzo, yeah upstream changed it to that :-) | 14:10 |
snizzo | ahh yes | 14:10 |
ahayzen | it is currentItemSource as well | 14:11 |
snizzo | thanks for being responsive also on sundays :D | 14:11 |
ahayzen | haha :-) | 14:11 |
snizzo | I'm beginning to like your work on playlists however | 14:12 |
ahayzen | snizzo, hah, i'm just linking the music-app to the QML part, its the media-hub guys (abeato and jhodapp) that have done most of the work :-) | 14:13 |
snizzo | oh yes, I'm saying that as you as a team | 14:15 |
ahayzen | :-) | 14:15 |
snizzo | I still hope in some code that could be executed in some ways in background but for now Playlist are evolving fast | 14:16 |
ahayzen | yeah it should be able to run without us, then i'm hoping for a sync up function when we come back... | 14:17 |
ahayzen | snizzo, bug 1518160 | 14:17 |
ubot5 | bug 1518160 in qtubuntu-media (Ubuntu RTM) "Once the music-app has a normal app lifecycle there needs to be a mechanism to sync the info lost during the suspend period" [Medium,Triaged] https://launchpad.net/bugs/1518160 | 14:17 |
ahayzen | should cover all of the information we need to know while the app was suspended :-) | 14:18 |
snizzo | ahayzen: what if I actually need to do some http requests to obtain a new audio file streaming url to play onthefly? | 14:19 |
ahayzen | snizzo, i'm not sure, there was work for improving streaming stuff | 14:20 |
ahayzen | snizzo, karni maybe best to talk to about this when he is about | 14:20 |
snizzo | ah ok | 14:20 |
snizzo | my hope for a change in app lifecycle won't die like ever xD | 14:21 |
ahayzen | hah :-) | 14:21 |
ahayzen | i hope we can be intelligent enough so that we can be suspended, then we can have a super battery life :-) | 14:21 |
snizzo | mostly because I have the same exact application on qt android and hasn't any problem about battery drain or something... and do radio streaming | 14:22 |
snizzo | yeah I agree about battery life | 14:22 |
snizzo | but I, as a user, would love to spend my battery for features, instead of having a super battery defensive phone that at the end of the story, isn't capable of certain actions | 14:23 |
snizzo | imho is useless to have a 4 day battery when I have to use my android phone because utouch has such restrictions | 14:23 |
ahayzen | yeah, i think trusted services is the best way of doing this | 14:23 |
ahayzen | so handing over the tasks to media-hub in our cases | 14:23 |
snizzo | what if I have my own service that gives me streaming url on the fly depending on my music history? I should query the server at the end of a song, and I should be capable of doing it while the screen is off (and I'm driving). That's custom code that can't be handled by services I think... | 14:26 |
ahayzen | yeah but maybe a hook or a plugin for media-hub | 14:26 |
snizzo | I hope so :) | 14:26 |
ahayzen | snizzo, i would talk to the media-hub guys when they are around as this will likely be a usecase they might want to know about while designing the streaming part | 14:27 |
snizzo | hah ok :) | 14:27 |
snizzo | ahayzen: how can I iterate through playlist items? | 18:41 |
snizzo | I'm using a for loop but console.log(items[i]) returns undefined | 18:41 |
snizzo | oh there's current item once | 18:43 |
ahayzen | snizzo, Playlist.itemSource(i) IIRC | 19:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!