Skip to content
Discussion options

You must be logged in to vote

It was bug. Update your library code.

And more readable example

function updateHeardLikedandForgotten() {
  const PLAYLIST_ID = '7BpAuAyoNGmEu3OLC65aCN';
  let recentTracks = RecentTracks.get(10000);
  let bannedTracks = Source.getPlaylistTracks('', '4Ep4JuDSqaIvd2OzraWRSt');

  let tracks = Selector.isDayOfWeek('monday') ? findTracks() : reorderTracks();
  Playlist.saveWithReplace({
    id: PLAYLIST_ID,
    name: 'heard, liked, them forgotten',
    tracks: tracks,
  });

  function findTracks() {
    let savedTracks = Cache.read('SavedTracks');
    Filter.removeTracks(savedTracks, Combiner.push(recentTracks, bannedTracks));
    let startDate = new Date('2006-01-01');
    let endDate = Fi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ladywhiskers
Comment options

@ladywhiskers
Comment options

@Chimildic
Comment options

Answer selected by ladywhiskers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants