![]() |
Re: Fm transmitter + play music at specified time?
Quote:
|
Re: Fm transmitter + play music at specified time?
yeah still getting the "home directory home/user not ours" error. anyway timer sorted. script for turning on transmitter sorted. gonna get a bit more practice with xterm cos from what i can see i'm pointing it in the right direction, prob a little thing like a capital letter or space out of place. i'll be back crying for help tomorrow if i spend all night failing! thanks again guys!
|
Re: Fm transmitter + play music at specified time?
Well capitalization is important. If the extension is .MP3 then you can't write .mp3.
|
Re: Fm transmitter + play music at specified time?
theres a reason I like Linux/maemo so much!
in less than a day we have helped this guy acheive what would probably take months if it was using another OS - becuase he'd have to wait for an app to be made and approved! Tablet series rocks! |
Re: Fm transmitter + play music at specified time?
actually could the script be amended to kick in the media player and autoplay a playlist or artist, instead of just playing one file? i'm gonna keep hammering away n hopefully get a hang of this, while i'm here any links to a quick learn xterm guide?
|
Re: Fm transmitter + play music at specified time?
I'm quite tempted by all this cron jobbing xterminal typing to start writing some automated processes on my device now!
For example I might do a timed connection to the internet to do updates (Windows Update Style!) and reboots, that kinda thing. Nice one for bringing this up, might come in handy one day. |
Re: Fm transmitter + play music at specified time?
Playlists should be possible, but you need mplayer (MAFW is still something I don't know much about).
Use this instead of the play-sound line. mplayer -playlist <playlistfile> BUT, play-sound overrides volumes, mplayer doesn't, meaning you'd have to set the volume to 100 before going to bed (unless there's a command for changing volume, but I'm not sure about that) |
Re: Fm transmitter + play music at specified time?
Quote:
EDIT: Can you install the package "debianutils" to get cron? EDIT#2: Just read this if you need cron: http://wiki.maemo.org/Fcron |
Re: Fm transmitter + play music at specified time?
For anybody interested: there is now a "mafw-play-list" command in extras-devel (I've compiled a special version of the mafw-renderer-example.c). You can use that to launch a playlist playing from the command line ("mafw-play-list nameOfMyList").
|
All times are GMT. The time now is 14:37. |
vBulletin® Version 3.8.8