SONOS API Question: AudioClip can you queue up more than one clip? - sonos

If I try to load back 2 back clips, it appears that they interupt each other. The documentation seems to suggest that by using audioClipStatus you get an array of audioClips, suggesting they can be queued.
Anyone has any info on this?
Secondly, I like the "Chime" audioclip and would love to be able to concatenate an audioClip preceeded by a Chime to announce an announcement. It would be great if there was an option like that.
One suggestion to the Sonos Dev team, perhaps allow the loadAudioClip to have an array of clips as opposed to a single clip.
Any reaction from the Sonos Dev team?

Related

Sonos Cloud API: audioClip synchronised playing in group

Will it be possible in the future to be able to play a audioClip for a whole group?
Now one should iterate all players manually, by which the triggered audioClip is not being played in sync.
Is it planned to be added to the groups (or even the households) API as well?
https://developer.sonos.com/reference/control-api/audioclip/loadaudioclip/
Thanks for your interest in the platform. We're excited to see what our developers are building. We can't comment on future plans, but we'll take your suggestion back to the dev team. We can share that we're adding the ability to play audio clips on bonded players. Keep an eye on the Sonos developer portal blog for updates.

Sonos Cloud API Queues

I want to develop a Sonos Controller that is capable of:
Playing a playlist or album now, or next (after currently playing song) or by appending it to the end of the queue.
However I can't see a way to control how the playlist is added to a queue. The documentation at https://developer.sonos.com/reference/control-api/playlists/loadplaylist/ doesn't suggest that it is possible,but there is a reference to the queue in the description for the shuffle playmode "Play the tracks in the queue in a randomly shuffled order."
There is documentation for "Cloud Queues" but this seems to be targeted at Music Services.
Is it possible to create a Cloud Queue that just holds references to tracks in other services?
Not that I would really want to implement that, I would rather just access the queue that is on the players.
The Sonos Control API does not currently allow for direct access to the player queue. Third party integrations can get content on to the queue via the playlists and favorites namespaces, but they can't touch the queue directly.
As you noted, the Cloud Queue API is intended for Content Partners. It is not directly possible to reference third party content in personal CQs, there are authentication issues involved.
This squares with my user experience of the Sonos queue being very basic and unintelligent. There have been a number of times I've been forced to clear the queue and start over, rather than being able to reorder items, etc. FWIW, the closest thing I've seen in their documentation to what it sounds like you're looking for, is under a different API. Sonos Music API > reorderContainer as documented here: https://developer.sonos.com/reference/sonos-music-api/reordercontainer/
I don't see any similar functionality documented in the Sonos Cloud Queue API. With regard to random order, I believe that's on playback, not anything that modifies the queue.

Advertising Platform

I'm 100% sure that this isn't the right form to post a question like this, but I hope someone on here has the answer to my question.
Is there advertising platform that sends a true or false response dependent on if the user finishes the ad video to the server so I can add points to the users account.
(I don't need help adding points, or creating a point system, just an advertising platform that would be easy to integrate with the videos on my site)
I understand if this isn't the right forum for this, if someone could point me in the right direction. Before you say anything, yes I have googled, just can't find anything that suits my needs.
You need a video player that supports the VAST protocol
VAST provides a common protocol that enables ad servers to use a
single ad response format across multiple publishers/video players
This format allows to specify the so-called tracking elements - URIs that would be called once a particular events occurs. You can manually provide a VAST xml response with a tracking element for a video completion event.
Also consider using DFP to serve your video ads - it's free up until a certain traffic volume and would track everything you might need

Play podcast episode via iTunes from web

I want to make the podcast player on our website register plays with iTunes, to get a better ranking on iTunes. I figured this could be possible if iTunes provided an iTunes URL for every episode, but I cannot find one. I've tried looking at the search/lookup API, but it seems to me it doesn't output individual episodes.
Anyone know if this is possible? Registering/tracking plays to iTunes.
iTunes does not provide usage or download statistics. See their explanation from http://www.apple.com/itunes/podcasts/specs.html#tracking :
Please note that iTunes does not provide usage statistics, because we do not host feeds or episodes. Some podcasters have created
mechanisms for tracking the number of times that each episode has been
downloaded.
If the goal is to get better ranking, encourage your podcast listeners to subscribe, review, and rate for your podcast. Those things are more visible in the iTunes store and to potential new listeners & subscribers.
If you are using a CMS like WP there are plenty of plugins that will give you the analytical data that iTunes (stitcher et al) dosn't provide.
of course, all itunes does is provide a nifty UI for listeners to find your cast; it PLAYS off of your site. I wasn't satisfied with the "popularity bar" on my 'cast...cuz the what is it popular relative to? other casts in same category? all of them? ...
anyway I was already using "seriously simple podcasting" - a wp plugin to properly config my 1400x1400 jpg, my cast and all its meta-data so itunes could
crawl & play it.
make no mistake, this is not a plug; just the way I found that works easy; they have a tracking plugin as well - it tells me number of unique downloads and whether the users are using mobile or desktop to access (not much but way better than nothing) - number of downloads was mainly what I wanted to know.
As for improving your ranking; max-out quality and quantity, make it something people (not just in your specific peer group) would WANT to listen to. Same deal for blogs, be funny, be informative, be creative, be unique, be scandalous, above all BE INTERESTING or your newest listener won't rate, subscribe, or even comeback. QUALITY is the only legit SEO for pages, 'casts, etc.

Vimeo - videos.getChannels

How can I efficiently retrieve a list of channels that a Vimeo video is listed in from the Advanced Vimeo API?
The Advanced Vimeo API provides the methods channels.addVideo and channels.removeVideo for managing the channels a video belongs to. Also, the channels.getVideos method is provided for retrieving the list of videos belonging to a channel.
However, there is no videos.getChannels method. This means that in order to find all the channels a video is included in one would need to call channels.getVideos (possibly more than once if the channel has more than 50 videos) for each channel of interest. This seems terribly inefficient.
From what I have seen so far it has not been implemented into v1, but will be added into v2. I am still looking to see if there is an alternative
edit*
take a look at this page because they have this method vimeo.channels.getAll
VIMEO
I know this will get you a list of channels, from there I dont know if you can compare that to the video to make a list of channels that the video is in. I'm still looking.