Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube: add APIs to query the playback queue progress (e.g. currently playing stream 5 or 17) #380

Closed
juanrubio opened this issue Oct 15, 2017 · 0 comments
Assignees
Milestone

Comments

@juanrubio
Copy link
Member

/**
 * Retrieve the index in the playback queue of the stream currently selected.
 *
 * @ingroup libtizyoutube
 *
 * @param ap_gmusic The tiz_youtube handle.
 */
const char *tiz_youtube_get_current_audio_stream_index (tiz_youtube_t *ap_youtube);

/**
 * Retrieve the current length of playback queue.
 *
 * @ingroup libtizyoutube
 *
 * @param ap_gmusic The tiz_youtube handle.
 */
const char *tiz_youtube_get_current_queue_length (tiz_youtube_t *ap_youtube);

/**
 * Retrieve the current queue progress (e.g. '5 of 17', where 5 is the current
 * stream index, and 17 is the total streams in the queue).
 *
 * @ingroup libtizyoutube
 *
 * @param ap_gmusic The tiz_youtube handle.
 */
const char *tiz_youtube_get_current_queue_progress (tiz_youtube_t *ap_youtube);
@juanrubio juanrubio added this to the v0.10.0 milestone Oct 15, 2017
@juanrubio juanrubio self-assigned this Oct 15, 2017
@juanrubio juanrubio changed the title youtube: add APIs to display queue progress (e.g. currently playing stream 5 or 17) youtube: add APIs to query the playback queue progress (e.g. currently playing stream 5 or 17) Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant