Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to be able to allow people using the field to paste in their soundcloud artist page and get a set of their music, making it a bit more flexible then just a track or a set link.
For example pasting in http://soundcloud.com/mrbillstunes will give a set of all Mr Bills tunes.
I've already fixed this in the dev version and am now making a patch. I've never done this before, hopefully it goes well.
Comment | File | Size | Author |
---|---|---|---|
#1 | soundcloudfield-Added_support_for_artists_page-1766184-1.patch | 2.63 KB | Chappo |
Comments
Comment #1
Chappo CreditAttribution: Chappo commentedHere is the patch, I swapped the order of the 'if' around and added an isset clause so that if there is no 2nd part of the url we treat it as a set.
Comment #2
Chappo CreditAttribution: Chappo commentedComment #3
attila.fekete CreditAttribution: attila.fekete commentedHi,
that could be a good idea to implement such a feature, i'll check your patch. Thanks
Comment #4
kingfisher64 CreditAttribution: kingfisher64 commentedFor the latest stable version and the 7.x-1.x-dev dated the 11th March 2013 applying the patch in #1 outputs:
$ patch < soundcloudfield-Added_support_for_artists_page-1766184-1.patch
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
Comment #5
attila.fekete CreditAttribution: attila.fekete commented@Chappo: thanks for the patch. With a slight change I applied your code to latest dev.
--
http://drupalcode.org/project/soundcloudfield.git/commitdiff/086c32151d5...