How To: Use Your Command Line to Cast Almost Any Music or Video File Type

How To: Use Your Command Line to Cast Almost Any Music or Video File Type
Using a combination of my phone, laptop, and an arsenal of apps and plugins, I can send pretty much anything to my Chromecast. However, nothing is ever perfect, and the file type that was still giving me headaches were torrent and magnet files.Yes, I could download them to my phone or laptop and then cast them using any app I wanted, but the end result would be a lot of clutter and storage space used up for an episode I would only watch once.CastNow, a command line utility by Reddit user xatxat, can handle pretty much any file type you throw at it. Since this is based off of the Node.js runtime, it can run on any Mac, Windows, or Linux computer that has node and npm commands installed. Please enable JavaScript to watch this video.

Step 1: Install Node.jsIf you do not have the Node.js runtime already installed on your computer, you can use the linked package files below to install it.Windows Mac If you are using a Linux system, all you have to use is Terminal to install the necessary packages, using the following commands:sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm I will be using a Mac to perform this install, but don't worry, the same exact commands will work on Windows and Linux.

Step 2: Clone the CastNow RepoNow that you have the correct runtime to get CastNow started, you can copy over the install files. To do that, open up command prompt or Terminal window and issue the following command:git clone [https://github.com/xat/castnow.git You'll know you did it right when you see the "Checking connectivity... done" message.

Step 3: Install CastNowWith the files in place, it's time to start the install process with the following command:npm install castnow -g If that command gives you an error stating you need to try again as root or administrator, you will need to add the "sudo" prefix to it:sudo npm install castnow -g Immediately after inputting that command, you will need to enter your password and confirm with the Enter key.

Step 4: Cast Different File TypesCastNow comes with plenty of options for getting content to your Chromecast, so use the following list to get the most out of your new plugin.Play a Local File: castnow ./[location.of.file] Play All Files in a Directory: castnow ./[Directory/] Play Multiple Videos: castnow [video1.mp4 video2.mp4 video3.mp4] Play Online Videos: castnow [videourl.mp4] Play a YouTube Video: castnow [youtubevideo.url] Play Multiple YouTube Vids in Succession: castnow [youtubevideo1.url] \ [youtubevideo2.url] \ [youtubevideo3.url] Play Torrent/Magnet Video or Audio Files: castnow <[url to torrent OR magnet file]> If you ever find yourself disconnected from CastNow, you can reestablish the connection by typing "castnow" into a Terminal window.
Step 5: Control the PlaybackWhile a video or song is playing, a timeline will display underneath the last command you entered. From that timeline, you can control the playback of your media.Spacebar: play/pause M: mute/unmute Up arrow: volume up Down arrow: volume down Left arrow: rewind Right arrow: forward N: next item in playlist S: Stop Q: Quit
Additional OptionsThere are few additional suffixes that can be added to a CastNow command which will allow for additional functionality:Transcode Unsupported Video Formats to MP4 (requires ffmpeg): --tomp4 Select Which Chromecast to Cast To: --device [Chromecast Name] Hide Player Timeline: --verbose Also, you can Add Subtitles to a Video with the following two commands.--subtitles [path to local subtitle file] --subtitles [url to subtitle file] This may not be the prettiest option for casting, but if your aim is to keep your system as bloat-free and fast as possible, while also having the ability to cast nearly anything, this is definitely a Chromecast extension you need.Let us know what you think of CastNow in the comment section below.
Cover image modified from Shutterstock



Space Ape has soft-launched Go Race: Super Karts, giving you a fresh take on mobile racing games by blending in elements found within the classic Mario Kart series and RPGs for some seriously addicting gameplay. And while it's only available in Australia, Netherlands, and Philippines, there's a
Fancy a Mario Kart gaming experience on your iPhone? Give


Connect your light bar directly to the vehicle battery or another DC voltage source. If you going to use a power supply, make sure its voltage output is within the light bar's specifications. Also, make sure it can supply the maximum current your light bar draws. Use a wire gauge that matches or exceeds the maximum current of your LED light bar.
Police Light Bars - Police Officers, Cops & Law Enforcement


Bluetooth headsets are common accessories for modern people-on-the-go. Using a Bluetooth headset with your phone allows you to make and receive calls without needing to touch or hold a phone in your hand, which makes them super convenient for commuting, shopping, and even a morning run.
How to Use a Bluetooth Device: 6 Steps (with Pictures

How to Turn Your Own Photos into 3D Wallpapers for Android


How to Behave in Internet Chat Rooms. Cyberspace chat is a great way of connecting people with similar interests. It comes with its own etiquette, or "netiquette", which may confuse or even intimidate a novice.
How To Behave In Internet Chat Rooms - YouTube


No wait now. Win 10 Launcher is here for you (Inspired by Windows 10®). Customize your phone with unique look and feel with the fast, clean and energy efficient Launcher. Surprise your friends with new look of your Android and also share it with your loved ones.
7 Android Launchers That Completely Transform The Look of


How to Call Phones from Gmail. As of August 25, 2010, you can call landline phones or mobile phones from Gmail. All you need to do is ensure that the application that enables you to call is installed, and dial the number!
Make Free Phone Calls With Google Voice - lifewire.com


To add the branding watermark to your YouTube videos, navigate to "My Channel" and then click on the gear icon next to the subscribe button. Click on the blue "Advanced Settings" link. On the left hand side of the screen, click on "Branding" under the "Channel" header and then click the blue "Add a watermark" button.
How to Add Logo/Watermark to YouTube Video - Wondershare


How to Repair an iPhone from Water Damage. This wikiHow teaches you how to attempt to dry out or repair a water-damaged iPhone. While these methods have been known to improve an iPhone's chances of working again, there is no way to
Brand New Fix Iphone Water Damage on eBay | Great deals on Fix Iphone Water Damage
AD


You should keep in mind that recording phone calls is illegal in some states and countries without explicit consent of the other party. Just something to keep in mind if you ever decide to record your phone conversations because doing so might land you into legal trouble, or your recording could be denied as legal evidence in court.


Security researchers have found that 95% of Android devices running version 2.2 to 5.1 of operating system, which includes Lollipop and KitKat, are vulnerable to a security bug, affecting more than 950 Million Android smartphones and tablets.
15 Best Free Hacking Apps For Android [2019 Edition APKs]


The first step is to find the menu. To find the Android Quick Settings menu, just drag your finger from the top of your screen downward. If your phone is unlocked, you'll see an abbreviated menu (the screen to the left) that you can either use as-is or drag down to see an expanded quick settings tray (the screen to the right) for more options.
Android Basics: How to Use the Share Menu - Gadget Hacks


In this tutorial, I'll be showing you how to boost the headphone volume on your Galaxy S6 Edge by about 10%. This mod is only intended for use on the S6 Edge, and you'll need to be rooted with a
Boost Headphone and Speaker Volume on Galaxy S6 & S6 Edge

to 172.217.5.228 are not able to access Google, Gmail, etc. Their access is being blocked by Meraki. I don't want Meraki to block Google.
Top 10 Ways to Access Blocked Stuff on The Web


Mobile 5 reasons why Windows on ARM could change computing -- and 3 reasons it won't. Microsoft cracked the code for putting full Windows on tablets and phones.
T-Mobile 5G: phones, coverage map and cities rollout | TechRadar

0 comments:

Post a Comment