GithubHelp home page GithubHelp logo

samdel / chromecast-device Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 201 KB

Turn a Linux device (e.g. Raspberry Pi) into a device that can be used by Desktop Audio Streamer to play audio.

License: MIT License

C# 100.00%
desktop-audio-streamer chromecast-device raspberry-pi play-audio csharp linux net5

chromecast-device's Introduction

Chromecast Device

With this software you can turn a Linux device (e.g. Raspberry Pi) into a device that can be used by Desktop Audio Streamer to play audio. I've tested on a Raspberry Pi 2 Model B Rev 1.1 with Raspbian GNU/Linux 10 (buster).

Install

  • Download the ChromeCast.Device file from releases
  • Copy the file to your Linux device
  • Change permission: chmod 777 ChromeCast.Device
  • Execute: ./ChromeCast.Device -l -n MyDeviceName
  • Use Desktop Audio Streamer on a Windows device to start streaming.

Arguments

The command-line arguments:

  • -l for logging
  • -n DeviceName for the name of the device

Utilities

Chromecast.Device uses these Linux applications, so make sure they are installed:

  • vlc/cvlc to start an audio stream: cvlc <url>
  • pkill to stop an audio stream: pkill vlc
  • amixer for the volume:
    • amixer get Master playback to get the level
    • amixer set Master <level (0-65536)> to set the level
    • amixer -q sset Master toggle to toggle mute

Dependencies

chromecast-device's People

Contributors

samdel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chromecast-device's Issues

ChromeCast.Device not visible

Hello I launched ChromeCast.Device as instructed on Raspberry Pi on local WiFi and I would expect that I can see the device by Deezer on mobile device connected to same network. Deezer allows to stream to ChromeCast device. However the device is not found by Deezer mobile app.

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.