--- Log opened Mon Aug 17 00:00:23 2015 00:48 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 00:48 -!- mode/#navit [+o KaZeR] by ChanServ 02:28 -!- xenos1984 [~xenos1984@127-166-191-90.dyn.estpak.ee] has joined #navit 02:31 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 03:18 -!- jjelen [jjelen@nat/redhat/x-jynylykvqdmvkhyl] has joined #navit 03:25 -!- robertp [bc5c2134@gateway/web/freenode/ip.188.92.33.52] has joined #navit 04:02 -!- jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #navit 07:38 -!- kapiteined [~chatzilla@sammie-wifi.kapitein.org] has quit [Remote host closed the connection] 09:09 -!- juse [~juse@b738.ip16.netikka.fi] has joined #navit 09:55 -!- latouche [~Latouche@reverse-169.fdn.fr] has quit [Ping timeout: 250 seconds] 10:47 -!- tim0123 [~kvirc@dslb-178-008-183-148.178.008.pools.vodafone-ip.de] has joined #navit 10:50 -!- tim0123 [~kvirc@dslb-178-008-183-148.178.008.pools.vodafone-ip.de] has left #navit ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"] 11:02 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit 11:02 -!- mode/#navit [+o KaZeR] by ChanServ 11:03 #navit: < robertp> hi KaZeR 11:03 #navit: <@KaZeR> hi robertp 11:04 #navit: < robertp> have you finished your audio framework? 11:08 -!- jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving] 11:08 -!- jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #navit 11:08 -!- jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] 11:13 #navit: <@KaZeR> i did not had time to work on it this week-end. i probably need a couple of more days. I've seen your message about your player being finished tho. that's great :) 11:13 #navit: <@KaZeR> actually we can already discuss the implementation of your player in the framework 11:14 #navit: < robertp> thats what i want. 11:14 #navit: < robertp> :D 11:16 #navit: < robertp> once the player and the framework is usable, i can start with the serial commands for (probably only) my setup 11:28 #navit: <@KaZeR> ok. i will write a proper doc in doxygen or the wiki, but in a nutshell : 11:29 #navit: <@KaZeR> https://github.com/pgrandin/navit/blob/audio_framework/navit/audio.h you need to define some methods for you player ( example : play/pause/next/previous/get a list of tracks ) 11:30 #navit: <@KaZeR> then in your plugin you can implement the methods like this : https://github.com/pgrandin/navit/blob/audio_framework/navit/audio/output-alsa/alsa.c#L232 11:32 #navit: <@KaZeR> and this block allows you to register your plugin method if it exists : https://github.com/pgrandin/navit/blob/audio_framework/navit/audio.c#L85-L89 11:33 #navit: <@KaZeR> that way, we can have different audio plugins with different purposes. example : output-alsa provides sound card enumeration and volume control, and your mpd plugin provides only audio playback control 11:33 #navit: <@KaZeR> makes sense? 11:34 #navit: < robertp> does 11:36 #navit: < robertp> how are you planning the gui for the different music players? all in one and for every active plugin a button in a toolbar? 11:38 #navit: <@KaZeR> yes that's how i'd like to do it indeed. it will simplify implementing the UI and it will make it easier to use 11:39 #navit: <@KaZeR> for gui internal i will probably just adapt the spotify ui. it's really not spotify specific, excepted that there is an "available offline" attribute per playlist that we can toggle 11:42 #navit: < robertp> ok thats what i wanted to suggest :D because my detailed gui wont work. 11:44 #navit: <@KaZeR> and also it avoids duplicating the UI work. There's enough to do already :) 11:49 #navit: < robertp> could you point me an example for access to the xml configuration. i'd like to make my player configurable. 11:50 #navit: <@KaZeR> sure. 11:51 #navit: <@KaZeR> https://github.com/pgrandin/navit/blob/audio_framework/navit/audio/player-spotify/spotify.c#L20-L41 11:52 #navit: <@KaZeR> use it like