Coder Social home page Coder Social logo

Comments (7)

Dabbadoeber avatar Dabbadoeber commented on July 20, 2024

Hi did you solved the issue ?

from node-red-contrib-cast.

thomasvjohansen avatar thomasvjohansen commented on July 20, 2024

no unfortunately not

from node-red-contrib-cast.

stale avatar stale commented on July 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from node-red-contrib-cast.

stale avatar stale commented on July 20, 2024

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

from node-red-contrib-cast.

thomasvjohansen avatar thomasvjohansen commented on July 20, 2024

Still a problem.
From node-red log:
28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] getting message { payload: #033[32m'P6 beat'#033[39m, socketid: #033[32m'Nx6nmjtP5P6Ik1sVAAAB'#033[39m, _msgid: #033[32m'98559ecb.c907e'#033[39m, url: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m } Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] { url: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m, language: #033[32m'en'#033[39m, ip: #033[32m'192.168.0.4'#033[39m, port: #033[32m'8009'#033[39m, topic: #033[32m'cast'#033[39m, message: #033[32m'P6 beat'#033[39m, delay: #033[33m250#033[39m, media: { contentId: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m } } Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] initialize playing Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] connect to client { url: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m, language: #033[32m'en'#033[39m, ip: #033[32m'192.168.0.4'#033[39m, port: #033[32m'8009'#033[39m, topic: #033[32m'cast'#033[39m, message: #033[32m'P6 beat'#033[39m, delay: #033[33m250#033[39m, media: { contentId: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m }, host: #033[32m'192.168.0.4'#033[39m } Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] launchDefCallback Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] checkVolume { url: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m, language: #033[32m'en'#033[39m, ip: #033[32m'192.168.0.4'#033[39m, port: #033[32m'8009'#033[39m, topic: #033[32m'cast'#033[39m, message: #033[32m'P6 beat'#033[39m, delay: #033[33m250#033[39m, media: { contentId: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m }, host: #033[32m'192.168.0.4'#033[39m, rejectUnauthorized: #033[31mfalse#033[39m } Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] loading player with media='{ contentId: #033[32m'http://live-icy.dr.dk/A/A29H.mp3'#033[39m, contentType: #033[32m'audio/mp4'#033[39m, contentTitle: #033[32m'P6 beat'#033[39m, streamType: #033[32m'BUFFERED'#033[39m }' streamType=BUFFERED Sep 28 21:12:21 raspberrypi Node-RED[31064]: 28 Sep 21:12:21 - [debug] [cast-to-client:a21f1807.41d7f8] onStatus { applications: [ { appId: #033[32m'CC1AD845'#033[39m, appType: #033[32m'WEB'#033[39m, displayName: #033[32m'Default Media Receiver'#033[39m, iconUrl: #033[32m''#033[39m, isIdleScreen: #033[31mfalse#033[39m, launchedFromCloud: #033[31mfalse#033[39m, namespaces: #033[36m[Array]#033[39m, sessionId: #033[32m'cc58be06-5544-4407-8302-cc1c1513092a'#033[39m, statusText: #033[32m'Casting: P6 beat'#033[39m, transportId: #033[32m'cc58be06-5544-4407-8302-cc1c1513092a'#033[39m, universalAppId: #033[32m'CC1AD845'#033[39m } ], userEq: { high_shelf: { frequency: #033[33m4500#033[39m, gain_db: #033[33m0#033[39m, quality: #033[33m0.707#033[39m }, low_shelf: { frequency: #033[33m150#033[39m, gain_db: #033[33m2#033[39m, quality: #033[33m0.707#033[39m }, max_peaking_eqs: #033[33m0#033[39m, peaking_eqs: [] }, volume: { controlType: #033[32m'master'#033[39m, level: #033[33m0.3199999928474426#033[39m, muted: #033[31mfalse#033[39m, stepInterval: #033[33m0.019999999552965164#033[39m } } Sep 28 21:12:22 raspberrypi Node-RED[31064]: 28 Sep 21:12:22 - [red] Uncaught Exception: Sep 28 21:12:22 raspberrypi Node-RED[31064]: 28 Sep 21:12:22 - TypeError: node.error is not a function Sep 28 21:12:22 raspberrypi Node-RED[31064]: at errorHandler (/home/pi/.node-red/node_modules/node-red-contrib-cast/cast-to-client.js:52:10) Sep 28 21:12:22 raspberrypi Node-RED[31064]: at getSpeechUrl (/home/pi/.node-red/node_modules/node-red-contrib-cast/cast-to-client.js:192:9) Sep 28 21:12:22 raspberrypi Node-RED[31064]: at Timeout._onTimeout (/home/pi/.node-red/node_modules/node-red-contrib-cast/cast-to-client.js:836:33) Sep 28 21:12:22 raspberrypi Node-RED[31064]: at listOnTimeout (internal/timers.js:556:17) Sep 28 21:12:22 raspberrypi Node-RED[31064]: at processTimers (internal/timers.js:497:7) Sep 28 21:12:22 raspberrypi systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE Sep 28 21:12:22 raspberrypi systemd[1]: nodered.service: Failed with result 'exit-code'.

from node-red-contrib-cast.

thomasvjohansen avatar thomasvjohansen commented on July 20, 2024

28 Sep 21:35:02 - [red] Uncaught Exception: 28 Sep 21:35:02 - TypeError: node.error is not a function at errorHandler (/home/pi/.node-red/node_modules/node-red-contrib-cast/cast-to-client.js:52:10) at getSpeechUrl (/home/pi/.node-red/node_modules/node-red-contrib-cast/cast-to-client.js:192:9) at Timeout._onTimeout (/home/pi/.node-red/node_modules/node-red-contrib-cast/cast-to-client.js:836:33) at listOnTimeout (internal/timers.js:556:17) at processTimers (internal/timers.js:497:7) nodered.service: Main process exited, code=exited, status=1/FAILURE

from node-red-contrib-cast.

mastix avatar mastix commented on July 20, 2024

Experiencing the same issue. Larger mp3 files cause node-red stall for a while. Therefore it's also impossible to stop casting as node-red won't accept requests.

from node-red-contrib-cast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.