Skip to content

[Bug]: Since the update to node.js 16 playing radio stations via script does not work #124

@meistermopper

Description

@meistermopper

Contact Details

No response

What happened?

Actually i deleted the adapter and the object tree, but it did nothing.

Adapter Version

2.3.1

JS-Controller Version

4.0.23

Node JS Version

16.15.1

NPM Version

8.11.0

Operating System

Debian

Relevant log output

chromecast.0 	2022-06-20 15:56:20.789	error	Büro - Cannot play file "https://dispatcher.rndfnk.com/hr/hr1/live/mp3/high": TypeError: Cannot use 'in' operator to search for 'content-type' in undefined
chromecast.0 	2022-06-20 15:56:20.789	error	Büro - Error playing playlist - TypeError: Cannot use 'in' operator to search for 'content-type' in undefined at MediaInfo._parseIcyHeaderPromise (/opt/iobroker/node_modules/castv2-player/lib/mediaInfo.js:143:26) at /opt/iobroker/node_modules/castv2-player/lib/mediaInfo.js:47:43 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 1)
chromecast.0 	2022-06-20 15:56:20.788	info	Büro - Closing mediaInfo
chromecast.0 	2022-06-20 15:56:20.739	info	Büro - Player joint
chromecast.0 	2022-06-20 15:56:20.738	info	Büro - Connected player
chromecast.0 	2022-06-20 15:56:20.738	info	Büro - Default player lauched
chromecast.0 	2022-06-20 15:56:20.738	info	Büro - Connected player
chromecast.0	2022-06-20 15:56:20.737	info	Büro - Try to join player
chromecast.0	2022-06-20 15:56:20.709	info	Büro - Detected redirection (302) to https://f111.rndfnk.com/ard/hr/hr1/live/mp3/128/stream.mp3?sid=2AqNuq61lHCqV7iDkFNIpfOj64M&token=KeQegklbD60inl89eTSTmqoo2H4fKC4kJgWYEKMkBoQ&tvf=7jzw42Fs-hZmMTExLnJuZGZuay5jb20
chromecast.0	2022-06-20 15:56:20.660	info	Büro - Try to launch default player
chromecast.0	2022-06-20 15:56:20.654	info	Büro - Try to play url - https://dispatcher.rndfnk.com/hr/hr1/live/mp3/high
chromecast.0	2022-06-20 15:56:20.156	error	Büro - Sorry, update for Büro.media.contentId not supported!
javascript.0	2022-06-20 15:56:20.155	warn	Read-only state "chromecast.0.Büro.media.contentId" has been written without ack-flag with value "https://dispatcher.rndfnk.com/hr/hr1/live/mp3/high"

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions