mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Disable Dropbox
Relates to https://github.com/captbaritone/webamp/issues/750
This commit is contained in:
parent
c70c271b31
commit
7f98705363
2 changed files with 6 additions and 0 deletions
|
|
@ -90,7 +90,9 @@
|
|||
}
|
||||
}, 500)
|
||||
</script>
|
||||
<!-- https://github.com/captbaritone/webamp/issues/750
|
||||
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="7py29249dpeddu8" async></script>
|
||||
-->
|
||||
<!-- Scripts get injected by html-webpack-plugin -->
|
||||
</body>
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@ function genAudioFileUrlsFromDropbox(): Promise<DropboxFile[]> {
|
|||
const dropboxFilePicker: FilePicker = {
|
||||
contextMenuName: "Dropbox...",
|
||||
filePicker: async () => {
|
||||
alert(
|
||||
`Dropbox integration is currently disabled. See https://github.com/captbaritone/webamp/issues/750 for more information.`
|
||||
);
|
||||
// https://github.com/captbaritone/webamp/issues/750
|
||||
const files = await genAudioFileUrlsFromDropbox();
|
||||
return files.map(file => ({
|
||||
url: file.link,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue