Commit Graph

49 Commits

Author SHA1 Message Date
John Maguire b5f906a88e Add missing header for std::reverse. 2011-12-21 12:29:38 +01:00
John Maguire cdbaf9b235 Reverse the order of the spotify starred playlist.
Fixes issue #2498
2011-12-21 12:14:34 +01:00
David Sansome 332aeadec0 Keep the appsrc half full to prevent tiny stalls when libspotify is waiting to send us audio data 2011-11-29 11:10:31 +00:00
David Sansome 86363d8b63 Set appsrc's flow control callbacks, and throttle data from libspotify when the buffer gets full. 2011-11-28 18:45:12 +00:00
David Sansome 22e6a649b7 Remove the custom gstspotifytcpsrc and use tcpserversrc ! gdpdepay to receive data. Use a gstreamer pipeline on the other end as well to send data. 2011-11-28 18:45:12 +00:00
John Maguire 7542949e2b Fix clang warning about unhandled enum value. 2011-11-28 14:08:22 +01:00
David Sansome 89e8634928 Treat relogin failed messages from spotify differently, and only show the error dialog once. 2011-11-28 12:32:45 +00:00
John Maguire cb211190c7 Always flush the spotify socket on Mac. 2011-11-28 12:17:47 +01:00
David Sansome c38043b7e7 Require libspotify 10, update the windows installer to use the new libspotify.dll filename, add libspotify ldflags properly. 2011-11-27 18:47:02 +00:00
David Sansome 62c3cb77cd Add settings for spotify bitrate and volume normalisation 2011-11-27 17:29:33 +00:00
John Maguire fafcef8918 Proper spotify settings path on Mac. 2011-11-24 17:31:18 +01:00
John Maguire ec6d511b29 Add start & stop spotify callbacks for debugging. 2011-11-24 14:19:10 +01:00
John Maguire 0d82889225 Fix double free in SpotifyClient destructor. 2011-11-24 14:14:32 +01:00
John Maguire d14bbeb7a5 Use a proper directory for spotify settings and add a couple more
callbacks.
2011-11-24 13:40:05 +01:00
John Maguire e32bb5cc89 Don't store the spotify password and instead use sp_session_relogin(). 2011-11-24 12:17:19 +01:00
David Sansome c05a2ee182 Add a spotify gstreamer source element instead of hacking about with gsttcpserversrc. Implement seeking on spotify tracks. 2011-09-25 19:24:44 +01:00
David Sansome 4ac16f0dd4 Add a "tooltip" that shows the songs within each album in the global search results 2011-09-18 00:06:07 +01:00
David Sansome 9e8b29c86a Get track counts for Spotify albums 2011-09-17 15:57:34 +01:00
David Sansome 19e3aa365c Fix compilation on libspotify 9. Fixes issue 2203 2011-09-01 20:56:40 +01:00
David Sansome 8d068f857f Oops, uncomment the protobuf option 2011-08-29 03:41:52 +01:00
David Sansome 5aca9b7984 Support for playing tracks from Spotify 2011-08-29 03:32:50 +01:00
David Sansome 21be90a941 Change spotify protobuf namespace to something that isn't reserved, and do album loading in spotify 2011-08-29 03:32:37 +01:00
David Sansome 5dc053827a Fix spotify image loading 2011-08-29 03:32:35 +01:00
David Sansome 27e837a8bb Fix spotify audio stuttering on Linux 2011-08-28 01:30:32 +01:00
David Sansome 13fc24f6c6 Refactor the last.fm, magnatune, spotify and di.fm settings pages - moving the login state display into a separate widget. 2011-08-27 22:01:28 +01:00
John Maguire b6ee23dc43 Prefer 320kbps spotify streams. 2011-07-22 15:32:08 +02:00
John Maguire 21d01c484e Adding a flush() to the spotify media socket seems to help on OS X. 2011-07-21 15:50:50 +02:00
John Maguire 32af513e83 Use proper cache location for spotify on Mac too. 2011-07-07 15:12:29 +00:00
John Maguire 712745c605 Use a proper cache directory for spotify on windows and Linux. 2011-07-07 14:54:22 +00:00
John Maguire 6a10d2a3dc Quit spotify blob if it gets disconnected. 2011-05-25 14:29:10 +00:00
John Maguire f246e44b92 Support making spotify playlists available offline. 2011-05-25 14:22:49 +00:00
David Sansome 9158214d72 Try that again... 2011-05-07 22:53:50 +00:00
David Sansome fe14be38c3 Install spotifyblob in the right place on mac 2011-05-07 22:46:44 +00:00
John Maguire b0f49f4660 Blind attempt at fixing the windows release build. 2011-05-05 21:24:09 +00:00
David Sansome 1bf7577764 Install libspotify, protobuf and gsttcp in the Windows installer. Also fix a build error on linux 2011-04-30 18:32:39 +00:00
David Sansome e6032a7c51 Use __stdcall for libspotify callbacks on windows, call the right executable 2011-04-30 18:22:14 +00:00
David Sansome 1720fb3506 Oops, fix the name of the locally installed blob 2011-04-29 20:01:04 +00:00
David Sansome 3deb371537 If the spotify blob isn't installed, try to download it from the Clementine website. Also, make the blob separate from the core Spotify code in Clementine so you can build the core code without building the blob 2011-04-29 19:44:51 +00:00
David Sansome 5efe63462c Get album art for Spotify tracks 2011-04-29 13:41:42 +00:00
David Sansome 02e2a84e70 Make the Spotify client load a track before starting to play it 2011-04-28 15:11:10 +00:00
David Sansome b15156a7a3 Handle bigger protobuf messages, add spotify searching to the UI 2011-04-27 16:38:28 +00:00
John Maguire 455a3f001a Spotify playback works on mac. 2011-04-26 22:35:31 +00:00
David Sansome 8ba5e2c275 Fix the WAVE header again 2011-04-26 18:51:41 +00:00
David Sansome 6f1f4484f4 Allow songs from the spotify service to be added to the playlist, and bodge a tcpserversrc into GstEnginePipeline 2011-04-26 18:39:38 +00:00
David Sansome 232e1c2335 Send media over a socket from spotify (backend code only) 2011-04-26 17:06:46 +00:00
David Sansome 3a34d416f9 Get playlist contents from Spotify and display them in the UI 2011-04-26 17:06:36 +00:00
David Sansome 2bec9a00fc Add license headers to all the spotify source files and obfuscate the API key 2011-04-26 13:43:13 +00:00
David Sansome c4f1b3f002 Get the list of playlists from spotify. Also clean up the logging in the client, rename and refactor some classes. 2011-04-26 13:42:58 +00:00
David Sansome e152e3a3e3 Start of some spotify support - builds a binary blob linked against libspotify that Clementine starts as a separate process. 2011-04-25 19:16:26 +00:00