profile
viewpoint

captbaritone/webamp 7539

Winamp 2 reimplemented for the browser

jberg/butterchurn 522

Butterchurn is a WebGL implementation of the Milkdrop Visualizer

captbaritone/eel-wasm 10

Compile Nullsoft's EEL code to Web Assembly

jberg/butterchurn-presets 10

Presets for Butterchurn Visualizer, converted from Milkdrop presets

jberg/butterchurn-video-creator 9

Create videos of Milkdrop presets using Butterchurn

jberg/butterchurn-chrome-extension 6

Butterchurn chrome extension

jberg/milkdrop-preset-converter 6

Convert Milkdrop presets to Butterchurn JSON format

jberg/milkdrop-preset-converter-aws 3

Convert Milkdrop presets to Butterchurn JSON format using AWS Lambda

jberg/glsl-optimizer-js 2

Port of glsl-optimizer to JavaScript using Emscripten

jberg/milkdrop-editor-electron 2

Edit Milkdrop presets with Butterchurn visualizer

startedDustinBrett/x

started time in 22 minutes

startedelbywan/hyperactiv

started time in 12 hours

startedanbox/anbox

started time in 16 hours

created repositoryrevmischa/serverless-lambda-wasmtime

AWS Lambda WasmTime runtime with Serverless

created time in 20 hours

startedanbox/anbox

started time in 21 hours

startedgeeks-r-us/anbox-playstore-installer

started time in 21 hours

push eventcaptbaritone/webamp

Jordan Eldredge

commit sha 8faea644b27f5e6b9d447fa47b08689fcddfc22a

Add missing semi

view details

push time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

https://github.com/captbaritone/webamp/commit/fb7f702793898c1adb3285cf1701981f858964b1

lexterror

comment created time in a day

push eventcaptbaritone/webamp

Jordan Eldredge

commit sha fb7f702793898c1adb3285cf1701981f858964b1

Make it a little more clear that `renderWhenReady` does not return the Webamp instance.

view details

push time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

Ah yes. renderWhenReady() does not return the webamp instance, so you can't call close on the return value of that.

I'll update the minimal example to make that a little more clear.

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

It finally worked! Thank you!

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

https://ibb.co/HDKfcYW

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

Could you try using <script src="https://unpkg.com/webamp@1.4.2/built/webamp.bundle.min.js"></script> instead and see if that works?

I just tried:

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
</head>

<body>
    <div id="app" style="height: 100vh">
        <!-- Webamp will attempt to center itself within this div -->
    </div>
    <script src="https://unpkg.com/webamp@1.4.2/built/webamp.bundle.min.js"></script>
    <script>
        const Webamp = window.Webamp;
        const webamp = new Webamp({
            initialTracks: [{
                metaData: {
                    artist: "DJ Mike Llama",
                    title: "Llama Whippin' Intro"
                },
                url: "https://cdn.jsdelivr.net/gh/captbaritone/webamp@43434d82cfe0e37286dbbe0666072dc3190a83bc/mp3/llama-2.91.mp3",
                duration: 5.322286
            }],
        })
        webamp.renderWhenReady(document.getElementById('app'));
        webamp.close();
    </script>
</body>

</html>

And that works.

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

<script src="webamp.bundle.min.js"></script>

I'm using the latest version you posted yesterday.

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

Can you show me how you are importing Webamp? The only thing that immediately comes to mind is that you are somehow still getting the old version.

lexterror

comment created time in a day

startedknausj85/knausj_talon

started time in a day

issue closedcaptbaritone/webamp

Spotify support?

Hi!

Long time ago there was pair of implementations of Spotify client with Winamp skin (for Windows only). And I looked closed PRs in this repository - the questions of webamp integration with Spotify were closed many time ago (because there was some restrictions). Now open Spotify api exists (https://developer.spotify.com/documentation/web-api/), and there is a lot of full-working Spotify unofficial clients (like https://github.com/hrkfdn/ncspot). Typescript library exists too (https://www.npmjs.com/package/@types/spotify-api). So what about an idea to integrate webamp with Spotify, with playlists, search, user library, artist page and other features? I think it may be a excellent collaboration between eras:)

closed time in a day

egorgam

issue commentcaptbaritone/webamp

Spotify support?

Check out https://winampify.io by @remigallego. It can't use some aspects of Webamp (balance/visualizations) but it does work quite well.

egorgam

comment created time in a day

startedjberg/butterchurn

started time in a day

issue openedcaptbaritone/webamp

Spotify support?

Hi!

Long time ago there was pair of implementations of Spotify client with Winamp skin (for Windows only). And I looked closed PRs in this repository - the questions of webamp integration with Spotify were closed many time ago (because there was some restrictions). Now open Spotify api exists (https://developer.spotify.com/documentation/web-api/), and there is a lot of full-working Spotify unofficial clients (like https://github.com/hrkfdn/ncspot). Typescript library exists too (https://www.npmjs.com/package/@types/spotify-api). So what about an idea to integrate webamp with Spotify, with playlists, search, user library, artist page and other features? I think it may be a excellent collaboration between eras:)

created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

I tried that just now and chrome says webamp.close(); is not a function. It says the same thing for webamp.reopen();

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

Sure,

<script> const webamp = new Webamp({ initialTracks: [ { metaData: { artist: "VA", title: "Classic FM" }, url: "http://media-sov.musicradio.com:80/ClassicFM", duration: 0 }

        ],
    }).renderWhenReady(document.getElementById('app'));

webamp.renderWhenReady(domNode); webamp.close(); </script>

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

You'll need to call it on the variable that you get from new Webamp().

Something like:

const webamp = new Webamp(/* config options */);
webamp.renderWhenReady(domNode);
webamp.close();

Can you share any code with me?

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I would think I could just call webamp.close() webamp.reopen() from anywhere, but chrome says it's not a function...

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I'm using 1.4.2 (I just download it a few minutes ago)

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I've been looking at your example.. I'm trying to call reopen and close from outside const webamp...

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

Does the example here help at all? https://codesandbox.io/s/y0xypox60z?file=/src/index.js

Can you confirm that you are on version 1.4.2?

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

Do I need to call reopen and close from within: const webamp = new Webamp({ ... }) ?

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I'm getting webamp.reopen(); is not a function in the google chrome console.

lexterror

comment created time in 2 days

issue closedcaptbaritone/webamp

unable to close or reopen

Hi, I'm unable to create a close() or reopen() instance.

closed time in 2 days

lexterror
more