Skip to content

Commit

Permalink
Merge branch 'devel' of https://github.com/muammar/mkchromecast into …
Browse files Browse the repository at this point in the history
…devel

* 'devel' of https://github.com/muammar/mkchromecast:
  Updated README>
  Quotations are not needed for setting the name of devices.
  This commit is related to #40. Device names are not ordered the same in different systems.
  • Loading branch information
muammar committed Jan 31, 2017
2 parents 675d978 + 044bc81 commit 8fad9de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -7,7 +7,7 @@ mkchromecast
[![GitHub release](https://img.shields.io/github/release/muammar/mkchromecast.svg)](https://github.com/muammar/mkchromecast/releases/latest)

This is a program to cast your **macOS** audio, or **Linux** audio to your
Google Cast devices. It can also [cast video files](https://github.com/muammar/mkchromecast/tree/devel#video).
Google Cast devices. It can also [cast video files](#video).

It is written in Python, and it can stream via `node.js`, `parec` (**Linux**),
`ffmpeg`, or `avconv`. **mkchromecast** is capable of using lossy and lossless
Expand Down Expand Up @@ -572,8 +572,8 @@ References:

#### Video

You can now cast videos to your Google cast using **mkchromecast**. This feature is only working
with `ffmpeg` backend and from command line. In the future, they may be a graphical interface
You can now cast videos to your Google cast using **mkchromecast**. This feature is only working
with `ffmpeg` backend and from command line. In the future, they may be a graphical interface
for this process. [See this project](https://github.com/muammar/mkchromecast/projects/1).

* Cast a file from your computer to your chromecast:
Expand Down
15 changes: 5 additions & 10 deletions mkchromecast/audio.py
Expand Up @@ -329,8 +329,7 @@ def set_segmenttime():
command = [
backend,
'-f', 'avfoundation',
'-audio_device_index', '0',
'-i', '',
'-i', ':Soundflower (2ch)',
'-acodec', 'libmp3lame',
'-f', 'mp3',
'-ac', '2',
Expand Down Expand Up @@ -405,8 +404,7 @@ def set_segmenttime():
command = [
backend,
'-f', 'avfoundation',
'-audio_device_index', '0',
'-i', '',
'-i', ':Soundflower (2ch)',
'-acodec', 'libvorbis',
'-f', 'segment', '-segment_time', '2',
'-f', 'ogg',
Expand Down Expand Up @@ -478,8 +476,7 @@ def set_segmenttime():
command = [
backend,
'-f', 'avfoundation',
'-audio_device_index', '0',
'-i', '',
'-i', ':Soundflower (2ch)',
'-acodec', 'libfdk_aac',
'-f', 'adts',
'-ac', '2',
Expand Down Expand Up @@ -534,8 +531,7 @@ def set_segmenttime():
command = [
backend,
'-f', 'avfoundation',
'-audio_device_index', '0',
'-i', '',
'-i', ':Soundflower (2ch)',
'-acodec', 'pcm_s24le',
'-f', 'wav',
'-ac', '2',
Expand Down Expand Up @@ -584,8 +580,7 @@ def set_segmenttime():
command = [
backend,
'-f', 'avfoundation',
'-audio_device_index', '0',
'-i', '',
'-i', ':Soundflower (2ch)',
'-acodec', 'flac',
'-f', 'flac',
'-ac', '2',
Expand Down

0 comments on commit 8fad9de

Please sign in to comment.