# Spotify in WinZik: the user's own account (their app's Client ID, Options), their playlists and liked songs imported: # each song downloaded from YouTube (Spotify never gives its sound) into Musique/WinZik and added to the play list. form: title: 'Mes playlists Spotify' dialog: true width: 600 theme: dark accent: '#1db954' gap: 8 children: - {type: label, id: status, text: '', style: small} - type: row gap: 8 children: - {type: button, id: options, text: 'Ouvrir les Options…', style: primary, visible: false, events: {click: onOptionsClick}} - {type: button, id: connect, text: 'Se connecter à Spotify', style: primary, events: {click: onConnectClick}} - {type: button, id: disconnect, text: 'Se déconnecter', style: flat, events: {click: onDisconnectClick}} - {type: spacer} - {type: button, id: reload, text: 'Actualiser', events: {click: onReloadClick}} - {type: listbox, id: lists, height: 260, events: {activate: onListsActivate}} - {type: progressbar, id: busy, value: 0, max: 100, height: 6, visible: false} - type: row gap: 8 children: - {type: label, text: 'Format :'} - {type: combobox, id: format, width: 200, items: ['MP3 (musique)', 'MP4 (vidéo)']} - {type: spacer} - {type: button, id: import, text: 'Importer la playlist', style: primary, events: {click: onImportClick}} - {type: label, text: "Chaque morceau est cherché sur YouTube et téléchargé (Spotify ne donne jamais le son) ; il s'ajoute à la playlist quand il est là.", style: small} - type: row children: - {type: spacer} - {type: button, id: done, text: Fermer, cancel: true, events: {click: onDoneClick}}