GNOME Bugzilla – Bug 645799
Add support for soundcloud
Last modified: 2018-09-24 09:16:57 UTC
See API here: https://github.com/soundcloud/api/wiki/ totem-pl-parser with quvi support can give you metadata about particular entries, given a link to the song's page. For example: $ ./parser http://soundcloud.com/zinc/jungle-jezus-2004 ** Message: Added URI "http://media.soundcloud.com/stream/gUyalICXZwCJ?stream_token=bW810"... ** Message: image-url = 'http://i1.sndcdn.com/artworks-000005753021-hk83dv-t300x300.jpg?f18fb68' ** Message: id = 'gUyalICXZwCJ' ** Message: filesize = '5541301.000000' ** Message: title = 'Jungle jeZus 2004' ** Message: content-type = 'audio/mpeg' ** Message: moreinfo = 'http://soundcloud.com/zinc/jungle-jezus-2004' ** Message: duration = '346462.000000'
So, this would be a new media source to search (and possibly browse) SoundCloud.
Search API is available here: http://developers.soundcloud.com/docs/api/tracks
That's great. I'll take a look at the API.
Example plugin in Rhythmbox at: http://git.gnome.org/rhythmbox/tree/plugins/soundcloud/soundcloud.py
Created attachment 305197 [details] [review] grilo-test-ui: Add Soundcloud API key
Created attachment 305200 [details] [review] lua-factory: Add Soundcloud source It can only search, and only within "tracks".
(In reply to Bastien Nocera from comment #5) > Created attachment 305197 [details] [review] [review] > grilo-test-ui: Add Soundcloud API key This is moch's API key, so we'll need to change that (it's only used in the test app, other applications will need to get their own). (In reply to Bastien Nocera from comment #6) > Created attachment 305200 [details] [review] [review] > lua-factory: Add Soundcloud source > > It can only search, and only within "tracks". A bunch of properties still need parsing, and I need to figure out how to do pagination properly. We might want, in the future, to allow users to choose "categories" to search in, because, as on YouTube, you might want to look for tracks/videos, or users/artists/uploaders, or playlists/sets, etc.
Created attachment 305201 [details] [review] lua-factory: Add Soundcloud source It can only search, and only within "tracks".
Created attachment 305261 [details] [review] lua-factory: Add SoundCloud source It can only search, and only within "tracks".
Created attachment 305262 [details] [review] lua-factory: Add grl.encode() helper This can be used to encode search terms for constructing URIs.
Comment on attachment 305262 [details] [review] lua-factory: Add grl.encode() helper Attachment 305262 [details] pushed as 1c59631 - lua-factory: Add grl.encode() helper
Add to the "request" component.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/grilo/issues/16.