2.1.3 • Published 2 years ago

castv2-player v2.1.3

Weekly downloads
289
License
MIT
Repository
github
Last release
2 years ago

cast2-player

NPM version Downloads

NPM

A Node.js Chromecast player library

A player based on the new (CASTV2) protocol used by Chromecast

Built as wrapper of the node-castv2-client library.

##Features

  • Scanner
    • for each device: name, IP, port, type (audio, video, audio group)
    • periodically scans for new devices
    • report updates in device such as new IP or port
  • Media Player
    • Automatically (re-) connects to device
    • Return live and cached status
    • Can start playing with an URL -> all required info is derived from it
      • detect media type
      • detect playlists (m3u, pls, etc)
    • Can play announcements
      • announcements are inserted in currently playing playlist
      • announcements can be played with a different volume (check the announcement example)
      • currently playing track is resumed at the same location it was before
    • Can jump between the playlist
    • Can update the playlist

##Examples Check the examples folder. The helloWorld.js should work out of the box. For the remaining testcases you will need to adjust the defines.js to point to your setup.

You can run all examples as testcases with npm test

Intefaces

Check the main class.

Changelog

2.1.3 (2022-08-19)

  • (Bjoern3003) set album name as song if provided in icy-name
  • (Apollon77/aortmannm) Make compatible with Node.js 16+
2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

4 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago