question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request for either built-in playback support, or a Wiki with examples.

Here’s one that handles both lossless and high quality with fluent-ffmpeg and speaker:

api.getStreamURL({id:22560696}, function (data) {
  var url = quality === 'lossless' ? data.url : 'rtmp://'+data.url;
  ffmpeg(url).format('wav').pipe(new Speaker(), {end:true}).on('finish', function () {
    console.log('track finished');
  });
});

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gyurobenjamincommented, Aug 27, 2017

Token was wrong. With some token the file will be encrypted. Check some possibilities here. https://github.com/arnesongit/plugin.audio.tidal2/blob/d633fc9b2d25acf728111460c796e405aece522a/resources/lib/koditidal.py#L733

0reactions
gyurobenjamincommented, Aug 26, 2017

AAC / High quality version works well via rtmp. But lossless/high-res doesn’t with FLAC. I downloaded the FLAC file and can’t do anything with that.

Any idea?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The best 59 playback sentence examples
How to use playback in a sentence. Example sentences with the word playback. The most voted sentence example for playback is It would...
Read more >
Answer, Playback, and Hangup Applications - Asterisk Wiki
The Playback() application loads a sound prompt from disk and plays ... For example, if the prompt you wanted to play was hello-world...
Read more >
spotify/spotify-web-playback-sdk-example - GitHub
React based example app that creates a new player in Spotify Connect to play music from in the browse using Spotify Web Playback...
Read more >
HTMLMediaElement.play() - Web APIs | MDN
Examples. This example demonstrates how to confirm that playback has begun and how to gracefully handle blocked automatic playback: let ...
Read more >
An example for Remote Playback API
A video element. device unavailable, callbackId is 3. Play Prompt Disable remote playback.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found