Remote control of media players via web or Android phone. #Remote control #Media player #Android phone #Android #Player #Remote
carrie is a remote control tool to control media playback via network commands. The media player must be a Linux machine and the controller can be a web browser or Android device.
The players supported are:
- Youtube on Firefox or Chromium browser. - BBC iPlayer on Firefox or Chromium. - mplayer
This project is not a media center. There is no function to start media playback or change the file being played. carrie is used only to control a video which is already playing. The functions available are:
- Play/pause - Toggle full screen - Volume up annd down - Mute
If the client player is mplayer then these additional functions are available:
Skip forwards/backwards Toggle fullscreen, OSD, subtitle visibility Change audio and subtitle languages.
carrie is a process running on the machine doing the media playback. It opens a port (5505 by default) and supplies a simple web interface. Alternatively the carrie Android application can send commands to the same port from an Android phone or tablet..
When a command is received the server will attempt to control a web browser showing Flash video. If one is not found then the server will try to control mplayer via a FIFO object - this uses the 'slave mode' feature of mplayer. mplayer must be configured in advance to listen on the FIFO.
There are other remote controls for Android devices with more functions. carrie is for users who already have a method they use to start media playback, and just want to add some remote functions.
Other remote controls I would recommend are:
- sshmote: A media center for Android. Does not need any special server software except a Unix compatible OS running an SSH server. - teamviewer: Take control of a Windows or Linux machine from a web browser or phone.
First install the server software:
> sudo pip install carrie
or from source:
> python setup.py build > sudo python setup.py install
or without root access:
(download and uncompress tarball from http://pypi.python.org/pypi/carrie) > python setup.py build > virtualenv $HOME/.carrie-env > . $HOME/.carrie-env/bin/activate > python setup.py install
To configure mplayer to accept commands over a FIFO, edit $HOME/.mplayer/config and add this line:
input=file=/tmp/mplayer.fifo
Any new instances of mplayer will connect to the FIFO and listen to commands. This doesn't affect normal mplayer usage. The FIFO will be created by carrie on startup, or maually with:
> mkfifo /tmp/mplayer.fifo
Run:
> carrie
This will start the server and listen on port 5505, using a FIFO on /tmp/mplayer.fifo to communicate with mplayer. The FIFO will be created if it doesn't already exist.
Run:
> carrie -h
to see available options.
To run in the background detached from the terminal use:
> nohup carrie 2>&1 > /dev/null &
Control via browser
Open a web browser and visit:
http://< server >:5505
For controlling Flash video this should be done from a different window, or different computer, from the screen showing the video. It is not possible to control videos on one tab from a different tab.
Either download the full project from GitHub and compile the Android application, or search for Carrie on the Android marketplace.
System requirements
- Python
- xdotool
- xwininfo
Limitations in the unregistered version
- Since there is no API for communicating with Flash video, the server process sends fake mouse events for control. This has to be configured for each combination of browser and video site.
What's new in carrie 0.3:
- Added 'About' server page, release application to Android marketplace.
carrie 0.3
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- carrie-0.3.tar.gz
- main category:
- Multimedia
- developer:
- visit homepage
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
ShareX 16.0.1
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
Windows Sandbox Launcher 1.0.0
Bitdefender Antivirus Free 27.0.35.146
7-Zip 23.01 / 24.04 Beta
calibre 7.9.0
Zoom Client 6.0.0.37205
IrfanView 4.67
paint.net 5.0.13 (5.13.8830.42291)
- Zoom Client
- IrfanView
- paint.net
- 4k Video Downloader
- ShareX
- Microsoft Teams
- Windows Sandbox Launcher
- Bitdefender Antivirus Free
- 7-Zip
- calibre