Update media S3 URL to include the year in the path.
This commit is contained in:
parent
d954557000
commit
ea817b2520
@ -11,7 +11,8 @@ public class NLSongsContext {
|
||||
public static String mediaBaseUrl
|
||||
|
||||
public static String makeUrl(Service service, Song song) {
|
||||
return mediaBaseUrl + '/' + service.localDate.toString('yyyy-MM-dd') + '_' +
|
||||
return mediaBaseUrl + '/' + service.localDate.toString('yyyy') + "/" +
|
||||
service.localDate.toString('yyyy-MM-dd') + '_' +
|
||||
service.serviceType.name().toLowerCase() + '_' +
|
||||
song.name.replaceAll(/[\s'"\\\/\?!]/, '') + '.mp3' }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user