[12:00] qtcreator says "attach your device" while with adb devices my phone is there... anyone experienced this? [12:28] snizzo: it might expect a different device, if you had used multiple before [12:28] at least that's what happened to me before [12:29] if you check the project setting, or the run setting, you'll see what it's using [12:29] kalikiana: ahh ok, got it thank you :) [13:16] popey: hey. Can you point me to the source of ubuntu components? [13:17] or better, appdevs is there documentation for music hub api (Playlist component)? [13:17] i mean autogenerated somewhere :) [13:42] snizzo: https://developer.ubuntu.com/en/apps/qml/ [13:43] or https://developer.ubuntu.com/api/apps/qml/development/ [13:45] ahh kalikiana that's lifesaving [14:07] ahayzen: should https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/QtMultimedia.Playlist/ be in 8.5? [14:08] 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:09] ah ok. I'm just trying to make it work again with 8.5 but I'm facing strange problems like [14:09] MediaControls.qml:86: TypeError: Property 'addSource' of object QDeclarativePlaylist_QML_77(0xfde5e8) is not a function [14:09] snizzo, note it was changed to addItem ;-) [14:09] and removeItem etc [14:09] ahhhhhhhhhh [14:09] 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:10] snizzo, yeah upstream changed it to that :-) [14:10] ahh yes [14:11] it is currentItemSource as well [14:11] thanks for being responsive also on sundays :D [14:11] haha :-) [14:12] I'm beginning to like your work on playlists however [14:13] 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:15] oh yes, I'm saying that as you as a team [14:15] :-) [14:16] I still hope in some code that could be executed in some ways in background but for now Playlist are evolving fast [14:17] yeah it should be able to run without us, then i'm hoping for a sync up function when we come back... [14:17] snizzo, bug 1518160 [14:17] 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:18] should cover all of the information we need to know while the app was suspended :-) [14:19] ahayzen: what if I actually need to do some http requests to obtain a new audio file streaming url to play onthefly? [14:20] snizzo, i'm not sure, there was work for improving streaming stuff [14:20] snizzo, karni maybe best to talk to about this when he is about [14:20] ah ok [14:21] my hope for a change in app lifecycle won't die like ever xD [14:21] hah :-) [14:21] i hope we can be intelligent enough so that we can be suspended, then we can have a super battery life :-) [14:22] 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] yeah I agree about battery life [14:23] 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] imho is useless to have a 4 day battery when I have to use my android phone because utouch has such restrictions [14:23] yeah, i think trusted services is the best way of doing this [14:23] so handing over the tasks to media-hub in our cases [14:26] 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] yeah but maybe a hook or a plugin for media-hub [14:26] I hope so :) [14:27] 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] hah ok :) [18:41] ahayzen: how can I iterate through playlist items? [18:41] I'm using a for loop but console.log(items[i]) returns undefined [18:43] oh there's current item once [19:18] snizzo, Playlist.itemSource(i) IIRC