Get Saved Album Tracks using rangeTracks based on release date #182
-
I am having a disconnect filtering my saved album tracks based on album release date. I imagine it is a fairly simple script, but I am having a difficult time getting it to work. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Show the code and write your description about fail/expected behavior upd: added fix, try to update goofy with new code |
Beta Was this translation helpful? Give feedback.
-
function BeforeKidsMix() {
let tracks = Source.getSavedAlbumTracks()
Filter.rangeTracks(tracks, {
album: {
release_date: { startDate: new Date('1950.02.29'), endDate: new Date('1988.02.29') }
}
})
Playlist.saveWithReplace({
name: 'Before Kids Mix',
tracks: tracks,
})
}
|
Beta Was this translation helpful? Give feedback.
-
thank you. |
Beta Was this translation helpful? Give feedback.
-
Since I updated the library, I am receiving this error from the updateRecentTracks trigger
|
Beta Was this translation helpful? Give feedback.
-
Not sure this even matters. |
Beta Was this translation helpful? Give feedback.
Show the code and write your description about fail/expected behavior
upd: added fix, try to update goofy with new code