![]() |
[HELP]Script to load Media Player and FM Transmitter
Hello.
When I want to listen to music in my car I have to: - Select Menu - Open Media Player - Press the resume button - Press "Now Playing" button - Select FM Transmitter - Enable FM Transmitter - Save - Press the play button. This sucks! I'm trying to do this with a script. Here's my (crappy) code: Code:
#!/bin/sh I'd like to create a script that enable FM Transmitter, open Media Player, load my playlist and resume playing. After that I'd create a desktop button. I could listen to music in my car pressing only two buttons! Is it possible? Can you help me? |
Re: [HELP]Script to load Media Player and FM Transmitter
Why not just use the FM widget and the Music player widget, then just two button pressing does give you music via your car music player?
I use them every day without any problems. |
Re: [HELP]Script to load Media Player and FM Transmitter
I use this very simple script:
phone-control --fmtxon phone-control --mp-resume launch Of course you must have phone-control installed from the repos. |
Re: [HELP]Script to load Media Player and FM Transmitter
@droitwichgas
I've several widgets installed and I didn't want to install more but I'll install media player widget. @Keneraali I hadn't heard about phone-control, I'll give it a try. Thank you. |
Re: [HELP]Script to load Media Player and FM Transmitter
Quote:
|
All times are GMT. The time now is 21:43. |
vBulletin® Version 3.8.8