|
Page 1 of 2 |
|
1
2
|
Next
Run a script to auto-play a chosen playlist and turn on fm-transmitter using Command desktop widget
So my reason for wanting this is so that I don't have to do so many touch input to open media player, select my playlist, autoplay, and turn on fm-tramsmitter all while driving. I would have the option to set the do shuffle/repeat/etc.
Would this be useful? I mean I can always do this before driving but sometime, you're already on the road when you realize you want to listen to your own music. A widget of this would be awesome. Much thanks for reading... |
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
maemo is open source, you can make that kind of widget rather ask.
|
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
I am not sure what you mean by "rather ask" but I am no coder so I can't do any coding even if my life depends on it...I feel that this is a rather easy task but it may be useful to have an automate widget to get the media player start quickly... As of now, you have to open the app, select music, select your playlist, tell it to play, turn on fm-transmitter, and then finally your radio.
This is FIVE steps you will have to do (which isn't much) but imagine a person driving while trying to get all these input in (and on a touch screen phone too). It's rather annoying and potentially dangerous. |
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
I too would like such functionality. Virtually all of my usage is listening to podcasts in a playlist I generate with a script. It always has the same name, so "running" AllPods.m4u would be a nice button on my Desktop. I don' see how to do that without quitting my job and going back to school to learn programming.
|
How to properly do this, instead of asking
Steps:
1. Install Desktop Command Execution Widget or Queen Beecon Widget. 2. Read Phone Control to know how to control the media player, activate the FM transmitter and so on through the command line. 3. Learn shell script. 4. Make a shell script to do these tasks and link it to a button in Queen Beecon Widget or Desktop Command Execution Widget. Or look in the scripts thread to see if you find something like the one you want. |
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
Quote:
If someone posts a request, and you aren't interested in it, just ignore it. If there is no interest it will go away. I'm guessing with this, because it's a nice idea, someone who has the time/knowhow will whip something up for everyone to benefit from. I'm definitely interested. |
Re: How to properly do this, instead of asking
Quote:
|
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
So after search around a bit (thanks Patola), I found some information but still unable to get it to run. Here's what I found so far:
"Enable FM Transmitter" /usr/bin/fmtx_client -p 1 "sample of script to run Media player + radio1_bergen file" dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"file:////home/user/MyDocs/.sounds/radio1_bergen.ogg" (thanks to Morten-Christian Bernson - found via google) "Location of Playlist I want Media Player to open" /home/user/.mafw-playlists/17 (Use openssh for the first time to find the playlist, awesome app..don't know why I never try this app...so much better then the phone file browser...anyway, found my playlist saved under the file "17". Right-click to edit it and all my songs are there. PC software I used to connect to openssh was WinSCP as recommended by the website nokia900applications) So I combine the sample script with my files (/home/user/.mafw-playlists/17). It open media player as it should but media player doesn't know how to play the file "17". I am not really sure what else to do as I have mentioned in previous post that I don't really no jack *****. If I close media player, it will loop again trying to open the file. So if you are just interest in having media player play the same audio files over and over again, it is possible to just create that script but I want the playlist. Hope you guys out there (who actually knows these things) can help me. Thanks.:D |
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
You need to inclube the format of the playlist, usually .m3u or .playlist
|
Re: I would like an widget that will run a script to auto-play a chosen playlist and turn on fm-transmitter...is it doable?
well.......???
|
| All times are GMT. The time now is 08:26. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8