Search found 7 matches

by StefWe
October 19th, 2018, 9:09 am
Forum: Developers' Corner
Topic: mpd_connection_new() only works onces
Replies: 4
Views: 819

Re: mpd_connection_new() only works onces

Thank you very much for the detailed explanation.

Now I got what I did wrong.
by StefWe
October 19th, 2018, 8:30 am
Forum: Developers' Corner
Topic: mpd_connection_new() only works onces
Replies: 4
Views: 819

Re: mpd_connection_new() only works onces

i try to call the function mpd_connection_new() once at the start of my program. Later in the program i used the object i get from mpd_connection_new() and run the mpd_send_play(). This is working. But after that nothing else is working with this object. I need to call the function mpd_connection_ne...
by StefWe
October 18th, 2018, 9:15 pm
Forum: Developers' Corner
Topic: mpd_connection_new() only works onces
Replies: 4
Views: 819

mpd_connection_new() only works onces

I call the function and can then play or pause successfully. But after that I cannot execute a second command without calling mpd_connection_new() again. Is that normal or i'm doing something wrong? I would have expected the mpd_connection object to remain valid as long as my program is running or I...
by StefWe
October 18th, 2018, 9:04 pm
Forum: Developers' Corner
Topic: Read actual playlist
Replies: 5
Views: 448

Re: Read actual playlist

Works now! Thank you for this hint!
by StefWe
October 6th, 2018, 11:36 pm
Forum: Developers' Corner
Topic: Read actual playlist
Replies: 5
Views: 448

Re: Read actual playlist

is it correct that in the entity i get with mpd_recv_entity is only the first item? For example a song?
How can i get the rest of the playlist?

thanks for your help.
by StefWe
September 11th, 2018, 11:00 am
Forum: Developers' Corner
Topic: Read actual playlist
Replies: 5
Views: 448

Re: Read actual playlist

thank you for your fast answer. i will look on the mpc source code
by StefWe
September 8th, 2018, 8:26 pm
Forum: Developers' Corner
Topic: Read actual playlist
Replies: 5
Views: 448

Read actual playlist

Hello,

i try to build a mpdclient for ubuntu touch. I made my first steps and play, stop or setVolume works.

Now i want to read the actual playlist items. But i have no idea which function i need to call to get this informations.
I use lib version 2.9

I would appreciate any help.