After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645799 - Add support for soundcloud
Add support for soundcloud
Status: RESOLVED OBSOLETE
Product: grilo
Classification: Other
Component: source requests
git master
Other Linux
: Normal enhancement
: ---
Assigned To: grilo-maint
grilo-maint
Depends on: 750903
Blocks: 787180
 
 
Reported: 2011-03-27 04:33 UTC by Bastien Nocera
Modified: 2018-09-24 09:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
grilo-test-ui: Add Soundcloud API key (1.47 KB, patch)
2015-06-13 15:31 UTC, Bastien Nocera
none Details | Review
lua-factory: Add Soundcloud source (897 bytes, patch)
2015-06-13 15:33 UTC, Bastien Nocera
none Details | Review
lua-factory: Add Soundcloud source (6.70 KB, patch)
2015-06-13 15:42 UTC, Bastien Nocera
none Details | Review
lua-factory: Add SoundCloud source (4.90 KB, patch)
2015-06-14 21:58 UTC, Bastien Nocera
none Details | Review
lua-factory: Add grl.encode() helper (1.45 KB, patch)
2015-06-14 22:00 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2011-03-27 04:33:14 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'
Comment 1 Juan A. Suarez Romero 2011-03-29 10:01:35 UTC
So, this would be a new media source to search (and possibly browse) SoundCloud.
Comment 2 Bastien Nocera 2012-03-27 14:59:01 UTC
Search API is available here:
http://developers.soundcloud.com/docs/api/tracks
Comment 3 Juan A. Suarez Romero 2012-03-27 15:35:49 UTC
That's great.

I'll take a look at the API.
Comment 4 Bastien Nocera 2015-05-20 13:40:20 UTC
Example plugin in Rhythmbox at:
http://git.gnome.org/rhythmbox/tree/plugins/soundcloud/soundcloud.py
Comment 5 Bastien Nocera 2015-06-13 15:31:17 UTC
Created attachment 305197 [details] [review]
grilo-test-ui: Add Soundcloud API key
Comment 6 Bastien Nocera 2015-06-13 15:33:00 UTC
Created attachment 305200 [details] [review]
lua-factory: Add Soundcloud source

It can only search, and only within "tracks".
Comment 7 Bastien Nocera 2015-06-13 15:35:20 UTC
(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.
Comment 8 Bastien Nocera 2015-06-13 15:42:55 UTC
Created attachment 305201 [details] [review]
lua-factory: Add Soundcloud source

It can only search, and only within "tracks".
Comment 9 Bastien Nocera 2015-06-14 21:58:59 UTC
Created attachment 305261 [details] [review]
lua-factory: Add SoundCloud source

It can only search, and only within "tracks".
Comment 10 Bastien Nocera 2015-06-14 22:00:31 UTC
Created attachment 305262 [details] [review]
lua-factory: Add grl.encode() helper

This can be used to encode search terms for constructing URIs.
Comment 11 Bastien Nocera 2015-07-21 12:41:29 UTC
Comment on attachment 305262 [details] [review]
lua-factory: Add grl.encode() helper

Attachment 305262 [details] pushed as 1c59631 - lua-factory: Add grl.encode() helper
Comment 12 Bastien Nocera 2015-09-24 13:49:37 UTC
Add to the "request" component.
Comment 13 GNOME Infrastructure Team 2018-09-24 09:16:57 UTC
-- 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.