Skip to content

Commit

Permalink
Add support for symbols in Chromecast names. Fix #22. Fix #28. Fix #16.
Browse files Browse the repository at this point in the history
Fix #29.
  • Loading branch information
andresgottlieb committed Dec 19, 2015
1 parent b948567 commit ba837dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ mb.on('ready', function ready () {
//Spawns new subprocess that bridges system audio to the first chromecast found
//We use a custom node binary because the chromecast-osx-audio module only works
//on node v0.10
chromecastProcess = exec(path.join(__dirname,'/node ',__dirname,'/node_modules/chromecast-osx-audio/bin/chromecast.js -n '+caption+' -p '+port+' -d '+chromecast.name), function (err, stdout, stderr){
chromecastProcess = exec(path.join(__dirname,'/node ',__dirname,'/node_modules/chromecast-osx-audio/bin/chromecast.js -n '+caption+' -p '+port+' -d "'+chromecast.name+'"'), function (err, stdout, stderr){
if (err) {
console.log("child processes failed with error code: "+err.code);
}
Expand Down Expand Up @@ -176,7 +176,7 @@ mb.on('ready', function ready () {
click: function(){
dialog.showMessageBox({
title: 'About',
message: 'SoundCast v1.4. Created by Andres Gottlieb.',
message: 'SoundCast v1.6. Created by Andres Gottlieb.',
detail: 'https://www.github.com/andresgottlieb/soundcast',
buttons: ["OK"] });
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "soundcast",
"version": "1.4.0",
"version": "1.6.0",
"description": "Cast OSX audio to Chromecast menubar app",
"author": "Andres Gottlieb",
"repository": {
Expand Down

0 comments on commit ba837dc

Please sign in to comment.