I'm writing a Spotify app. It generates a playlist of songs which appear onscreen using the default playlist view. How can I allow the user to go in and delete songs from this list? Selecting a track and pressing the delete button does not do it.
Thanks
Bob
I cannot understand what you mean. Please share screenshots / code of what you are doing. Moreover, what is the "default playlist"? Do you mean the play queue? I have also written an application that edits playlists but do not have the problem you describe. Remember also to specify what API version you are using.
Giacecco
Related
first post here so I hope I'm not breaking any rules.
So, the situation I'm faced with is a bit complicated. I'm basically trying to login into a hangouts call without having the ability to use the browser itself. I can only insert the URL. Why is that you may ask?
I'm trying to show a hangouts call on my twitch stream using a OBS plugin called CLR browser. This plugin only allows to rezise the window and add a URL from where it'll take information from. It's great for notifications but not so great for what I'm trying to do. But after investigating alot I came to the conclusion that I'm out of options.
I do know you can login to gmail by only using the url like here:
How do I login into Google Apps via a URL?
If, for example I have a hangouts link like this:
https://plus.google.com/hangouts/_/gruxore63cq34fwddtcwwe64raa
Can I add something at the end so it logs in automatically?
Thank you.
Hate to disappoint, but you cannot auto-login using a link. OBS does allow you to screen share a window, though, so you should be able to open your favorite web browser, enter the Hangout, then share the window.
Failing that, XSplit has very flexible screen/region-sharing abilities.
Here's a YouTube video demonstrating exactly how to do this in OBS, and the link is time-coded right to the good-stuff.
This is the first time I've ever seen a button like this (see right side). Clicking on that button launches Spotify. How is Spotify able to do this for their emails? Can this be done with other applications right now?
Disclaimer: I am a Spotify employee, but I haven't worked on this feature personally.
Google recently added support for markup that lets you embed interactive actions in your messages. You can see the blog post about this or the developer reference. The basic concept is that you embed some structured JSON data in your message, as in this example.
We embed markup in our notification emails that links to the Spotify Open site. For example, here's a link for Passenger — Holes: http://open.spotify.com/track/33lol6G1GUj0d3DyE1QzLw
If you have the Spotify desktop app installed, a redirect on that page to a spotify:track: URI will open the linked track in the desktop.
I would say that it is probably either a feature of Gmail or Spotify has installed some kind of browser plugin that inserts this button onto any page that it wants.
Just like torrents, browsers can associate certain header types with specific programs for example torrents use the magnet:// url which the browser associates with an installed bit torrent client.
So I would assume that this button launches a url like spotify://this-is-a-song-name-987897/ which launches the Spotify program on your computer.
Could you please help me this point
Is there any way to control track playback using web controlls for example I have
play
on my webpage
is there a way to stop playback with something like
stop
go to next track with
next
or something lke this or any other way
thanks in advance
No, this is not possible with Spotify Uri's, it is however possible to add the Spotify Play Button to your website, the Spotify Play Button supports songs, albums and playlists. You could also try to find out how it works and you might be able implement it that way.
https://developer.spotify.com/technologies/spotify-play-button/
I found a node module that may help!
https://www.npmjs.com/package/node-spotify-webhelper
You can get the status of the Desktop Player and you can control it.
Pause, Play etc
I don't know if you can do next or prev I am trying to find myself for this.
I'm current building a spotify playlist app. There are currently multiple playlists that surface on one page, but when a user loads a playlist, I'd like to update the one subscribe button on the page with the playlist that's currently playing.
I'm able to use the player model to determine the currently playing track. What's the best way to do the same for the playlist?
Unfortunately, at the moment user playlists aren't accessible through the Spotify Apps API unless the user directly provides them to you by dropping them on your application. This includes seeing which playlist is currently playing, if any.
Good morning, eveyrone
I'm working on an application using Google Earth and I had two questions.
The first question involves the pop up window. I want to get an external website to appear in this bubble. I can either hardcode the website into the description of the placemark or use an iFrame. Are there any other options I can use to get a website into Google Earth?
Second question: I want to ensure that the user, at all times while using my kml, has access to certain buttons. Is there a way without querying web application every few seconds to ensure that the button remains available to the user?
Thank you for your time.
The answer to you first question is no - other than loading the html directly or using an IFRAME there is no way to display markup in the content balloons.
I am not sure what you mean in you second question, are you developing a web-based application using the Google Earth Plugin - or a kml layer for use in the google earth application. Either way you should not have to query anything to make sure a button is visible.